Bug 296664

Summary: Position of page number changes
Product: [Applications] calligrastage Reporter: T Zachmann <t.zachmann>
Component: opendocumentAssignee: T Zachmann <t.zachmann>
Status: RESOLVED FIXED    
Severity: grave    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description T Zachmann 2012-03-24 05:31:48 UTC
On a load, save and load cycle the position of the page number on the master page changes the position in the attached document.
Comment 1 T Zachmann 2012-03-24 06:12:17 UTC
Git commit c26b92c959324c9b5703255a5ee65b99bf2a82f4 by Thorsten Zachmann.
Committed on 24/03/2012 at 06:32.
Pushed by zachmann into branch 'master'.

Save autostyle in the correct file.

When KoShapeSavingContext::AutoStyleInStyleXml is set styles auto styles needed to be written
to the styles.xml. This fixes the problem that the style in bug 296664 for the list was saved to content.xml
instead styles.xml.

Please review so I can backport to 2.4 branch.

Roundtrip tested with my odp and odt test set.

CCMAIL: calligra-devel@kde.org

M  +4    -0    libs/kotext/opendocument/KoTextWriter_p.cpp

http://commits.kde.org/calligra/c26b92c959324c9b5703255a5ee65b99bf2a82f4
Comment 2 T Zachmann 2012-03-24 06:12:19 UTC
Git commit c26b92c959324c9b5703255a5ee65b99bf2a82f4 by Thorsten Zachmann.
Committed on 24/03/2012 at 06:32.
Pushed by zachmann into branch 'master'.

Save autostyle in the correct file.

When KoShapeSavingContext::AutoStyleInStyleXml is set styles auto styles needed to be written
to the styles.xml. This fixes the problem that the style in bug 296664 for the list was saved to content.xml
instead styles.xml.

Please review so I can backport to 2.4 branch.

Roundtrip tested with my odp and odt test set.

CCMAIL: calligra-devel@kde.org

M  +4    -0    libs/kotext/opendocument/KoTextWriter_p.cpp

http://commits.kde.org/calligra/c26b92c959324c9b5703255a5ee65b99bf2a82f4
Comment 3 T Zachmann 2012-03-25 04:39:34 UTC
Git commit f01a313b6a8d70d08735bd8b2c79f149aa0c23cb by Thorsten Zachmann.
Committed on 24/03/2012 at 06:32.
Pushed by zachmann into branch 'calligra/2.4'.

Save autostyle in the correct file.

When KoShapeSavingContext::AutoStyleInStyleXml is set styles auto styles needed to be written
to the styles.xml. This fixes the problem that the style in bug 296664 for the list was saved to content.xml
instead styles.xml.

Please review so I can backport to 2.4 branch.

Roundtrip tested with my odp and odt test set.

CCMAIL: calligra-devel@kde.org
Reviewed by: boemann
(cherry picked from commit c26b92c959324c9b5703255a5ee65b99bf2a82f4)

M  +4    -0    libs/kotext/opendocument/KoTextWriter_p.cpp

http://commits.kde.org/calligra/f01a313b6a8d70d08735bd8b2c79f149aa0c23cb