MiguelAngel schrieb:
Tom Davies schrieb:
Hi 
Again a bug-report seems like a good plan. DocX is apparently not
properly supported in MS Office and there are differences between the
way it is implemented in MSO 2007 and MSO 2010.
This sort of problem is one of the reasons that people here recommend
keeping an original in Odt format and only save a copy in some other
format when you need to share the document with someone else that
can't or won't install LibreOffice or OpenOffice or any of the other
office suites or programs that do support the OpenDocument Format.
People are quite happy to install all sorts of extra programs to read
Pdfs but then suddenly object to installing something to read Odfs.
This will change as the format is becoming more popular.
Regards from
Tom 
Well, it is not really my choice. I do have mixed environments, at work
it is MS-office and some LO. At home it is LO only. Since the work
environment has a higer priority any documents which are related to work
have to be .doc or .docx.
But: In this case it looks like an .odt bug too, the page break gets
saved even after it was deleted, I saw it in the source of the document.
I just have to extract it to make a usable bug report. It simply does
not show up if you repoen the .odt document.
Jou
I can't reproduce it in LibreOffice 3.5.2RC2 Win7x64.
Maybe something in default template or in the user profile.
Miguel Ángel
I deleted the appdata\libreoffice again, deleted the reg keys, and checked for openoffice remains and killed them too.
The problem still appears..
The relevant parts extracted from the odt..
This is the one with the normal five page breaks (content.xml):
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:break-before="page"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text text:use-soft-page-breaks="true">
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<text:p text:style-name="Standard">1</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">2</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">3</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">4</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">5</text:p>
<text:p text:style-name="Standard"/>
</office:text>
</office:body>
</office:document-content>
This is the one with the page breaks "removed", or rather hidden:
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="">
<style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/>
</style:style>
<style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="">
<style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/>
</style:style>
<style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="">
<style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/>
</style:style>
<style:style style:name="P4" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="">
<style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text>
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<text:p text:style-name="Standard">1</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">2</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">3</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">4</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">5</text:p>
<text:p text:style-name="Standard"/>
</office:text>
</office:body>
</office:document-content>
This is the way after the merry go round through word 2010 and re-save it as .odt, now the page breaks are REALLY removed:
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:break-before="page"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text text:use-soft-page-breaks="true">
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<text:p text:style-name="P1">1</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">2</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">3</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">4</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1">5</text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P1"/>
</office:text>
</office:body>
</office:document-content>
Jou