OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [office] OFFICE-2103 - Test document using automatic styles refering to page breaks

Testing it in Calligra I get the following results:


0 no break

1 breaks after

2 breaks before

3 breaks before

4 breaks before

5 no break

6 no break

7 break between lines A and B


Which to me looks exactly the same as when I view it in MS Word


Btw I won’t be able to attend today’s call either, but I hope you can use my info


Best regards



From: office@lists.oasis-open.org [mailto:office@lists.oasis-open.org] On Behalf Of Svante Schubert
Sent: 27. marts 2017 12:27
To: Regina Henschel <regina.henschel@libreoffice.org>
Cc: office@lists.oasis-open.org
Subject: Re: [office] OFFICE-2103 - Test document using automatic styles refering to page breaks


Hello all,


Regina is absolutely right about the problem with #5 and #6, I state the opposite now (for both apps) there is no page break when both attributes are being used.

It was of course just a little test to see if you are checking the test. :)

To enhance the usability of the test I have added a summary in the beginning of the test document and a number to refer to the correct test case.


Please find the second enhanced usability version attached.


Till soon,


Image removed by sender.


2017-03-26 20:41 GMT+02:00 Regina Henschel <regina.henschel@libreoffice.org>:

Hi all,

I have tested file 'pageBreak.odt' in SoftMaker 2016. It can read ODF but cannot write it.
Cases 1,2,3,4 and 7 are handled same as Svante has described.

In cases 5 and 6 (break-before and break-after in the same paragraph) my results are different from Svantes. In my tests, there is no page break at all. I have tested LibreOffice 5.2.6 and 5.4 master, Apache OpenOffice 4.1.2 and SoftMaker 2016, all on Windows 7.

Kind regards

Svante Schubert schrieb:

Dear TC,

according to our call today, I have developed a first test document for
page breaks, which I am not able to attach (seems nobody is) to our JIRA
issue OFFICE-2103 <https://issues.oasis-open.org/browse/OFFICE-2103>.
Therefore I wrote this email and attach the document.

I started the test document 'pageBreaks.odt' with LibreOffice, but
edited the content.xml of the document later with a text editor (JEdit
using Archive and XML exentension), therefore the test document is
artificial but still valid ODF according to our ODF validator
- odf-validator.rhcloud.com <http://odf-validator.rhcloud.com/>.

In this first document I have continued - as LibreOffice started it - to
use automatic styles to reference to master page and use
fo:break-before="page" and fo:break-after="page" attributes in paragraph
properties element.

I used two standard paragraphs as gap between every experiment, which
have been

 1. Automatic style with fo:break-after="page"
 2. Automatic style with fo:break-before="page"
 3. Automatic style referencing to Landscape page format
 4. Automatic style referencing (back) to Portrait page format
 5. Automatic style with both fo:break-after="page" & fo:break-before="page"
 6. Automatic style with both fo:break-before="page" & fo:break-after="page"
 7. Two sequential paragraphs: first having automatic style
    fo:break-after="page" & second with fo:break-before="page"

Most interesting are the results of last three experiments.

For my testing I have been using only LibreOffice 64bit (LO) and
Microsoft Office Professional Plus 2016 (MSO16) both under Windows 10
Home 64 bit.

Both office applications handled everything the same, when loaded.
When there are two attributes only the last attribute being given was
used (#5 used break-before, #6 used break-after) and at #7 no additional
empty page was added, allthough two page breaks came together.


To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail.  Follow this link to all your TCs in OASIS at:


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]