Description: Clear Direct Formatting should only change characters, paragraphs and other objects that aren't bond to a style. However using this feature will also unbind all page styles. Steps to Reproduce: 1.Open attached file 2.Clear the direct formatting 3.save the file 4.close and reopen the document Actual Results: Page styles and page breaks are removed Expected Results: Only direct formatting should be removed Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Version: 7.0.3.1 (x64) Build ID: d7547858d014d4cf69878db179d326fc3483e082 CPU threads: 8; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-US Calc: CL
Created attachment 168564 [details] Document
The direct formatting is to set a page break in a paragraph with a specific style. This isn't part of the format defined in paragraph format "Heading 5 intended". If there is set a page break in the style "Heading 5 intended" it won't be deleted. So the only possibility for the attached file is: Define two formats for paragraph: "Heading 5 intended left" and "Heading 5 intended right" and the page break won't be deleted with clear direct formatting. Clear direct formatting should clear all the formatting, which isn't defined in the format for the paragraph. Ans this is what has been done here. So I don't see a bug in this behavior.
Even while CDF does keep pagebreaks defined inside the text flow tab of paragraphs does it still clear all page styles.
Maybe the bug it's that the delete page break it's applied only after reload the document not after clear direct format.
(In reply to m.a.riosv from comment #4) > Maybe the bug it's that the delete page break it's applied only after reload > the document not after clear direct format. This is bug 73483
Created attachment 168573 [details] Open Document and reset direct formatting. Pagebreak is part of paragraph format.
(In reply to Robert Großkopf from comment #6) > Created attachment 168573 [details] > Open Document and reset direct formatting. Pagebreak is part of paragraph > format. Then we must close this one as dup?
(In reply to Robert Großkopf from comment #6) > Created attachment 168573 [details] > Open Document and reset direct formatting. Pagebreak is part of paragraph > format. I see it doesn't remove this way. But is it intended that CDF removes any page styles not declared in the text flow tab of paragraphs? What about documents with just one page? Using Clear Direct Formatting would always remove the page style.
Closing as dupe *** This bug has been marked as a duplicate of bug 73483 ***