Apache OpenOffice (AOO) Bugzilla – Issue 95589
Flash: Plugin misplaced in notes view
Last modified: 2017-05-20 11:08:52 UTC
Open a new impress, insert a flash file. Switch to notes view.The flash appears misplaced to the left lower corner.
retarget, changed owner
AW: Checked, accepting for 3.2. Positioning of VCL-Windows using primitives.
AW: qstests/writer/internet/plugins/testfile/flower.spl using insert/drawingobject/plugin. AW->CL: An SdrOle2Obj is used. Is this wanted? When in normal view, the VCL window does not follow moving the object. When acivating the object (DoubleClick) it jumps where it should be. I have no idea who is doing the connection between VCl_Window playing the flash file and the SdrOle2Obj. I also have no idea who/how a position change should be handled and where to change that position. Do You have?
Yes this is wanted. No I don't have. I think perfect would be to have a static preview image of the plugin when displayed either in preview or inside a SdrPageShape. PL sits next to you, he might now more about plugins.
AW: Basic spot seems to be the virtual void DoConnect(SdrOle2Obj* pOleObj); call at the SdrView whcih is overloaded in SC and SD. There, a SfxInplaceClient is directly created (and deleted on BasicViewFactory::releaseRessource(), also in sfx). It looks like this should be done in the pixel renderer, but there is no view context (no way to detect SC or SD), and no embed::XEmbeddedObject (OLE) currently. Maybe it's possible to handle this in a common way, to add a embed::XEmbeddedObject information to the primitives and to get rid of the current DoConnect call which was formally part of the paint and is now part of ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence (where it works, but is not the optimal place regarding model/view/controller paradigm). This is a bigger task, setting to 3.x...
Reset assigne to the default "issues@openoffice.apache.org".