Am 24.02.2010 09:02, schrieb Tobias Koenig:
On Tue, Feb 23, 2010 at 06:03:39PM +0100, Christian Lippka - Sun Microsystems
Gmbh - Hamburg wrote:
Hi Tobias,
Hej Christian,
thank you very much for the elaborate answer, I have created a patch
now that sets the default style on the object in the ImplSdPPTImport::ProcessObj
method and now the export finds the style as expected.
Cool, I bet sj loves to review this patch.
Be carefull not to set the styles for shapes created with the
CreatePresObj method as they need and
automatically get presentation styles.
How can I find out whether an object has been created by CreatePresObj
or not? Do these SdrObjects belong to a special category or do they
have some flag set?
These are the title, subtitle, outline, graphic or ole shapes that are
part of the presentation layout.
Therefore they have on of the presentation styles set not the graphic
styles. One can check
them out by calling IsPresObj on the slide they are inserted into. But
that should not be needed
if the ppt import does not call ProcessObj for such shapes. Maybe sven
can tell us a bit more
about this I put him on cc.
Regards,
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]