[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-07-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

Justin L  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |jl...@mail.com
   |desktop.org |

--- Comment #11 from Justin L  ---
(In reply to Justin L from comment #6)
> Perhaps we can be smarter on export?
Three improvements made here (one more on the way) so I'm going to mark this as
fixed.

Please do not backport any of this. I want lots of space to back-pedal.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-07-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

--- Comment #10 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fa5d80106080fa305479758dd43d0defb684376a

related tdf#145998 docx export: fix writing blank headers/footers

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-07-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

--- Comment #9 from Commit Notification 
 ---
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c37f62b71fa59917ef85ff98480dff18aa936e41

tdf#145998 sw ms export: use page break, not section break

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-07-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.5.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-07-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

--- Comment #8 from Justin L  ---
Created attachment 181350
  --> https://bugs.documentfoundation.org/attachment.cgi?id=181350=edit
145998_unnecessarySectionBreaks.odt: proofs and caveats

Alwas exporting a "new" page style is also messing up "first header". In ODT,
specifying a repeated page style doesn't impact the "first header" status, but
of course if it is a different (converted) style, then it comes into effect.

A "section break" cannot be replaced by a "page break" if:
-the new section does not match the current page style's "follow style".
-resets the page number

Proposal at http://gerrit.libreoffice.org/c/core/+/137273

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-06-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

Justin L  changed:

   What|Removed |Added

 CC||tele...@surfxs.nl

--- Comment #7 from Justin L  ---
*** Bug 144947 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2022-06-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

Justin L  changed:

   What|Removed |Added

 CC||jl...@mail.com
Version|6.4.7.2 release |Inherited From OOo

--- Comment #6 from Justin L  ---
DOCX has no concept of page styles. Everything here is based on emulation, so
it is impossible to keep the page style names.

In your specific document, you are using "section page breaks" - specifying a
style to use. Change that to a normal page break, and you will be fine. [It is
virtually impossible to compare equality with a existing page styles.]

Perhaps we can be smarter on export?  If the "section page break" is to the
same style as the current page, could we just change that into a normal page
break? Likely not, since everything "smartly" done about page styles backfires.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 145998] Page styles in docx-file revert to previous settings after reopening the document

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145998

Dieter  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||4947
 OS|Linux (All) |All
 Blocks||108576, 108760
 Ever confirmed|0   |1
Summary|Page styles in Writer   |Page styles in docx-file
   |document revert to previous |revert to previous settings
   |settings after reopening|after reopening the
   |the document|document
 Status|UNCONFIRMED |NEW
 CC||dgp-m...@gmx.de

--- Comment #5 from Dieter  ---
I confirm it with provided document and

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c95415de877af1430ab5b7123e11dedd0ea622c
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Bug only occurs, if you save it as docx-file. Saving as odt works.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108576
[Bug 108576] [META] Writer page style bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=108760
[Bug 108760] [META] DOCX (OOXML) style bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.