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

From
Svante Schubert <>
Date
2017-03-27T10:26:46+00:00
ID
CAHNbw8=
Thread
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,

Svante

ᐧ

2017-03-26 20:41 GMT+02:00 Regina Henschel <>:
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

Regina

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 5.3.1.2 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:

https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 

Attachment:
pageBreaksV2.odt

Description: application/vnd.oasis.opendocument.text