Bug 99278 - Enable adding page break style options to position After in Format > Paragraph
Summary: Enable adding page break style options to position After in Format > Paragraph
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Dialog ODF-spec Writer-Page-Break
  Show dependency treegraph
 
Reported: 2016-04-13 21:56 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-06-14 19:27 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-04-13 21:56:42 UTC
Steps:
1) Open Writer
2) Format > Paragraph > Text Flow
3) Under Breaks, enable Insert and select After in Position
4) Notice that 'With page style' checkbox and 'page number' spinbox are disabled
5) Press OK
6) Press enter and see that page break is created and the cursor is now at the top of the following page.

My question is, why cant we set the page style and page number of the following page break that will be created and only limited to assigning it when the Position is Before? If the page style and page number values cant be retained by as a property of the paragraph, let it be added as a property of the following paragraph as Position = Before.

Version: 5.2.0.0.alpha0+
Build ID: 02fb3fd0533222dfea5b6b9232425a5e28cd340f
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2016-03-29_06:02:35
Locale: en-US (en_US.UTF-8)
Comment 1 Cor Nouws 2016-04-14 06:38:57 UTC
Interesting behaviour indeed.
Note that also changing these paragraph properties afterwards is not possible. But when you create a new hard page break with Ctrl+Enter, it is possible to change the paragr. properties setting page style/number.

So I would expect this having a link with the ODF specs.. ?
Comment 2 Cor Nouws 2016-04-14 06:44:27 UTC
(In reply to Cor Nouws from comment #1)
> 
> So I would expect this having a link with the ODF specs.. ?

Hmm would be rather strange if the specs describe that the properties of a page break depend on the way it was created.

Set to New .. Let's see.
Comment 3 Regina Henschel 2017-05-28 21:55:05 UTC
A page break after is done by a fo:break-after attribute. That does not have any page style information. The only way to force a page style is the attribute style:master-page-name. But that generates a page break before the paragraph which uses it.

Find the specifications in 20.177, 20.178 and 19.497. ODF 1.2, part 1.
Notice in addition the discussion about https://issues.oasis-open.org/browse/OFFICE-2103 in the issue and on the TC mailing list.