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

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.

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