Review Request: in Kpr import filter store all automatic styles from the master page in styles.xml

Friedrich W. H. Kossebau kossebau at kde.org
Sun Jan 6 20:04:16 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108231/
-----------------------------------------------------------

Review request for Calligra and Thorsten Zachmann.


Description
-------

I found an old kpr file where the header and footer text styles were not correctly imported.
Reason was that the related generated automatic styles are stored in content.xml, not styles.xml, so they are not seen on loading the created .odp file.

Attached patch fixes that by calling for all generated automatic styles setAutoStyleInStylesDotXml() with that m_sticky flag, which tells if the object is part of the master page.

Okay to backport to 2.6?


Diffs
-----

  filters/stage/kpr2odf/StylesFilterkpr2odf.cpp fc14030 

Diff: http://git.reviewboard.kde.org/r/108231/diff/


Testing
-------


Thanks,

Friedrich W. H. Kossebau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130106/c1d85c93/attachment.htm>


More information about the calligra-devel mailing list