Hej, I currently try to fix bug #100244 and need some information to get the overview of how things work together.
The core problem of this bug is, that the autostyle 'gr1' has no parent style set. As the custom shape, which has the gr1 style assigned, is imported from a PPT file, I guess the PPT import module does not setup the style information correctly. However after looking through the code for several hours now I still missing the overview how the style information from the PPT are propagated from the PPT import module through the impress application to the ODP export module. AFAIKS the PPT import module fills the content of PPT into instances of SfxStyleSheet and SdrObject classes. In the ODP output module, the data are read from a XShape instance. How and where are the data transfered from the SfxStyleSheet to the XShape? In xmloff/source/draw/shapeexport.cxx in the method collectShapeAutoStyles, the XShape that represents the text in the example document of #100244, has the property 'Style' in its XPropertySetInfo, however when the code tries to extract it via operator>>= the operator returns 'false'. However debug statements show that this property has the right type com.sun.star.style.XStyle. Any idea what the reason could be? Please CC me, I'm not subscribed to the list. Ciao, Tobias -- credativ GmbH, HRB Mönchengladbach 12080 Hohenzollernstr. 133, 41061 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
