Bug 296664 - Position of page number changes
Summary: Position of page number changes
Status: RESOLVED FIXED
Alias: None
Product: calligrastage
Classification: Applications
Component: opendocument (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 05:31 UTC by T Zachmann
Modified: 2012-03-25 04:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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