[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Gabor Kelemen (allotropia) changed: What|Removed |Added CC||tom1will...@yandex.com --- Comment #16 from Gabor Kelemen (allotropia) --- *** Bug 152633 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 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Aron Budea changed: What|Removed |Added Attachment #183220|application/zip |application/vnd.openxmlform mime type||ats-officedocument.presenta ||tionml.presentation -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Aron Budea changed: What|Removed |Added Attachment #183219|application/zip |application/vnd.openxmlform mime type||ats-officedocument.wordproc ||essingml.document -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #15 from Commit Notification --- Regina Henschel committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/59b44e72f46021c070095a75a0d7e0ae12c43399 tdf#150966 oox export avoid bottom above top for text area It will be available in 7.4.4. 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 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Commit Notification changed: What|Removed |Added Whiteboard|target:7.5.0|target:7.5.0 target:7.4.4 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Regina Henschel changed: What|Removed |Added Assignee|rb.hensc...@t-online.de |libreoffice-b...@lists.free ||desktop.org Resolution|--- |FIXED Status|ASSIGNED|RESOLVED -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Regina Henschel changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |rb.hensc...@t-online.de |desktop.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #13 from Regina Henschel --- I think in addition the 'then' part in # and #3334 is wrong. Reasoning is here: If the top and bottom indents are set so, that the calculated top edge of the resulting effective text area is below the calculated bottom edge, then LibreOffice normalizes the resulting rectangle. Example was LO does: Nominative text area rectangle height = 4cm, top indent = 3cm, bottom indent = 5cm. That means, that the calculated bottom edge (nominal bottom edge - bottom indent = height - bottom indent) is 1cm above the nominative top edge and the calculated top edge is 3cm below the nominative top edge. This is normalized so that the effective top edge is 1cm above the nominative top edge and the effective bottom edge is 3cm below the nominative top edge. Since bottom indents are measured from the nominative bottom edge, the effective used indents are top = -1cm and bottom = 1cm General: if (top + bottom >= height) then new top = height - bottom new bottom = height - top The new indents create a regular rectangle and can be directly exported to pptx. Export to docx has additional problems: Word does not show overflowing text and Word does not accept negative indents, although such can be described in OOXML file format. So perhaps export to docx needs special handling in case calculation of the indents results in such cases. The special problem with the docx document here should be already solved when the correct height is used, because it then no longer enters the if-then part. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #12 from Regina Henschel --- Or use UNO. The needed rectangle is in "TextFrames" in "EnhancedCustomShapePath". -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #11 from Regina Henschel --- The problem is in https://opengrok.libreoffice.org/xref/core/oox/source/export/drawingml.cxx?r=3d236177#3326 pCustomShape->TakeTextAnchorRect(aAnchorRect); If the nominal text area rectangle has height 5000, the top distance is 1500 and the bottom distance is 2500, then TakeTextAnchorRect gives the height of the remaining area after subtracting the distances: 5000-1500-2500=1000 TakeTextAnchorRect is surely not the rectangle do you want. You get the text area rectangle as defined in the shape geometry from the EnhancedCustomShape2d of the shape. You can use the seqTextFrames[0] or the GetTextRect() method. The latter considers flipping, but that effects only the position and not the height of the rectangle. Please keep in mind, that this part of code is not only used when you resave an imported OOXML-document, but also when an ODP-document is exported. There is another error in #3320, where Width is used instead of Height. But that has no impact as long as the code part works with custom shapes. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #10 from Regina Henschel --- Created attachment 183220 --> https://bugs.documentfoundation.org/attachment.cgi?id=183220=edit Same problem with pptx -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #9 from Regina Henschel --- Created attachment 183219 --> https://bugs.documentfoundation.org/attachment.cgi?id=183219=edit Example without VML The fact, that the problems does not become visible with the first but with the second resave, has its reason in that the shape is a VML shape. And the first resave only converts it to a OOXML shape. The attached file shows the problem with first saving. The problem is not only with shape in header. The attached file has a text box in body area and one in header. It seems to be a problem in saving. Opening has the padding values as defined in the file. The problem does not only exist in Writer, but in Impress too. Example file will follow. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Aron Budea changed: What|Removed |Added Hardware|x86-64 (AMD64) |All CC||aron.bu...@gmail.com Regression By||Tomaž Vajngerl See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=14 ||8321 Keywords|bibisectRequest |bibisected, bisected --- Comment #8 from Aron Budea --- This regression started with the following commit, bibisected to the following commit using repo bibisect-win64-7.4 and steps from comment 3. Adding CC: to Tomaž Vajngerl. author Tomaž Vajngerl 2022-06-06 22:53:23 +0200 committer Tomaž Vajngerl2022-06-08 11:36:12 +0200 tdf148321: convert OOXML inset values to text distance values -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 BogdanB changed: What|Removed |Added CC||buzea.bog...@libreoffice.or ||g Blocks||48741 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=48741 [Bug 48741] [META] Writer's page header and footer issues -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #7 from tom1willi...@yandex.com --- This is a serious problem for me so I upgraded from LO 7.3.5.2 to LO 7.4.1.2 hoping to solve the problem, but the bug was present in LO 7.4 also. If LO 7.5 really has this problem solved how soon will I be able to use it? (As an emergency work around I also installed OnlyOffice Desktop Editors and it did not have this problem.) My MSO using colleagues who receive all these files from me, do not see the flattened zero height textboxes at all, so they have to recreate the lost header and footer text. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #6 from Telesto --- (In reply to raal from comment #5) > No repro with Version: 7.5.0.0.alpha0+ / LibreOffice Community > Build ID: e46f9cc4b506c325cbe1060777bbc81fd1630f49 > CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 > Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US > Calc: threaded Comment 0 or comment 3 or both -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 raal changed: What|Removed |Added CC||r...@post.cz --- Comment #5 from raal --- No repro with Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: e46f9cc4b506c325cbe1060777bbc81fd1630f49 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Telesto changed: What|Removed |Added Keywords||bibisectRequest, regression OS|Linux (All) |All --- Comment #4 from Telesto --- Not in Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 Telesto changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Telesto --- Confirm, however in my case with different steps: 1. Open attachment 182458 2. Save 3. File -> Reload 4. Save 5. File -> Reload -> Broken Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: dc92a4d973086ce8a6a5f75ba0f4d4c9ca05537a CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #2 from tom1willi...@yandex.com --- Created attachment 182458 --> https://bugs.documentfoundation.org/attachment.cgi?id=182458=edit before and after .DOCX files showing the problem -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 150966] FILESAVE Editing this MSO file in LO Writer causes the header and footer contents to be corrupted
https://bugs.documentfoundation.org/show_bug.cgi?id=150966 --- Comment #1 from tom1willi...@yandex.com --- Created attachment 182457 --> https://bugs.documentfoundation.org/attachment.cgi?id=182457=edit before and after .DOCX files demonstrating the problem -- You are receiving this mail because: You are the assignee for the bug.