Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Replace metafiles with drawinglayer primitives for rendering the slideshow. | ||
---|---|---|---|
Product: | Impress | Reporter: | groucho266 |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | ACCEPTED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | arielch, Armin.Le.Grand, hanya.runo, issues, rb.henschel |
Version: | DEV300m95 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | 116983 | ||
Issue Blocks: |
Description
groucho266
2011-01-26 14:27:29 UTC
Changes are (mostly) done in drawinglayer and slideshow. In drawinglayer the new CanvasProces class can render drawinglayer primitives to an XCanvas. In slideshow there is a new directory slideshow/source/engine/primitives that contains tools to ease the handling primitives (corresponding header files can be found in slideshow/source/inc/primitives.) One of the new classes is PrimitiveNode which wraps a single primitives and makes the tree structure of primitives more easy to handle. The changes to the existing slide show code basically replace in DocTreeNode the use of indices into metafile actions with references to PrimitiveNodes. Submitted issue 116983 for master page content missing from primitives that are created by com.sun.star.graphic.PrimitiveFactory2D service for pages. Changing issue type to enhancement. Hi "groucho266@googlemail.com", your comments sounds as if you have already worked on it. You mention a directory slideshow/source/engine/primitives and slideshow/source/inc/primitives. But I do not find any of them in the current code. Please, was is the actual state of the work? ALG: Hi groucho266, I am also very interested in your work and success (I am the guy who did the primitives ;-). What exactly are you doing there? Maybe I can support you, I also plan to change slideshow, but also PDF export to primitives over time (where slideshow is possible today, others are not yet since the only app currently completely rendering on primitives is Draw/Impress). Some comments: - Why wrap primitives? They are uno objects, thus already refcounted and han be handed over UNO API. - Why own headers in slideshow? This is a no-go, please use the includes from drawinglayer. If not possible, please describe your reasons not doing so. - Missing MasterPageContent: There is a task already (submitted by Andre) for this, I am the owner and I can do this best probably. - Renderer: I am thinking about system-dependent renderers for primitives already, let's avoid double work. The PrimitiveRenderers are also UNO objects, thus making them accessible in a central place and using them for all purposes (the pixelrenderer, Metafilerenderer can stay on it's current implementation) would be much better. Looking forward to your stuff ;-) (In reply to Armin Le Grand from comment #5) > ALG: Hi groucho266 according to bug 118160 comment 15 groucho266 seems to be Andre ALG: Hi Ariel, thanks! I asked and got a yes ;-) Reset assigne to the default "issues@openoffice.apache.org". |