| Summary: | FILESAVE DOC: 2 columns section merge with next section | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Angel <angelb> |
| Component: | Writer | Assignee: | Justin L <jluth> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | 1yellowplane, jluth |
| Priority: | medium | Keywords: | filter:doc |
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=149313 | ||
| Whiteboard: | target:7.6.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 112762 | ||
| Attachments: |
Example file for teh bug
Final file without the last section 144362_pgBreakAfterColumns.odt: two sections, separated by page break |
||
|
Description
Angel
2021-09-07 17:41:22 UTC
Created attachment 174864 [details]
Example file for teh bug
Created attachment 174865 [details]
Final file without the last section
I can reproduce in Version: 7.3.0.0.alpha0+ (x86) / LibreOffice Community Build ID: d5e55d204b71710eb5eb5d2c683dd6698626df3c CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-GB (en_US); UI: en-US Calc: threaded repro 7.3+. Used bibisect-linux-43all to confirm the same is true already in LO 3.5, so likely inherited from OOo. Used Word 2003 to confirm this is a FILESAVE issue - since Word also imports the last page in column mode. None of this is really surprising, since LO and Word handle sections completely differently. Saving as DOCX format emphasizes the difference (probably because DOCX handles continuous sections differently from DOC to allow flexibility in desired results). There are several ways to do this differently that I noticed. One is to not insert a section, but just simply insert the desired columns directly. The other way is to change the regular page break to a "section page break" by also setting the page style to "Default Page Style". I suppose there could be some logic on export to emulate this a bit better, but this is a very tricky area. Setting to NEW since all the similar bug reports I can remember are related to import instead of export. Created attachment 187249 [details]
144362_pgBreakAfterColumns.odt: two sections, separated by page break
repro 7.6+
This is an easy minimal reproducer: simply open and save as DOC/DOCX.
The 7.4.2 fix for bug 149313 triggers this export bug on ooxmlexport9's tdf97648_relativeWidth.docx. Proposed fix at https://gerrit.libreoffice.org/c/core/+/151731 Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/67d4fe32713070be5688eef2da9377a91e2f6b81 tdf#144362 doc/x export: different columns mean new section It will be available in 7.6.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. |