[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #11 from Alvaro Segura --- Created attachment 185053 --> https://bugs.documentfoundation.org/attachment.cgi?id=185053=edit Arcs with arrows LO 7.4.5 vs Word The bug is still in LO 7.4.5. This attachment shows arcs with modified start and end angles (I use that often to represent angles, as in the picture) and with an arrow end. Notice the "pie" lines that go to the arc center have an arrow in one of the segments. The "camera" object also appears rotated 90 deg extra in LO, but that is a different issue. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #10 from Regina Henschel --- The wrong rotation is duplicate to bug 137314, which I have fixed now. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #9 from Regina Henschel --- (In reply to Valek Filippov from comment #8) > Could you look if tdf#142408 is solvable with less efforts? I'm not an expert for text related problems. But I knew, that there exist problems with text rotation and writing direction outside of drawing canvas too, so likely not "less efforts". -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #8 from Valek Filippov --- (In reply to Regina Henschel from comment #6) > Further analysis results: > The element is used for the drawing canvas. This is not > implemented at all in LibreOffice. So LibreOffice uses the > part of the element. It has the drawing canvas as > and the arc objects as . The geometry is given in the > 'style' and the 'path' attribute. Ok. I guess that could be the reason for tdf#142408 and few other issues in the original tdf#109129. Could you look if tdf#142408 is solvable with less efforts? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 Regina Henschel changed: What|Removed |Added Blocks||109129 --- Comment #7 from Regina Henschel --- (In reply to Valek Filippov from comment #5) > I've made an isolated case based on the problem observed in 109129. > I'm not an SME on MOOX. > If you believe this one is different from misplaced/"pie"-ed arcs in the > sample from 109129 -- you are probably right. No, you are right. The arcs in 'Figura 6' have the same problems as in your example document. I'll add the depedency again. Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=109129 [Bug 109129] FILEOPEN: DOCX - Red curved arrow lines not rendered correctly -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #6 from Regina Henschel --- Further analysis results: The element is used for the drawing canvas. This is not implemented at all in LibreOffice. So LibreOffice uses the part of the element. It has the drawing canvas as and the arc objects as . The geometry is given in the 'style' and the 'path' attribute. The 'path' attribute describes the path by commands followed by coordinates. They allow building subpaths and disabling fill and stroke for each individual subpath. Currently LibreOffice uses the SdrPathObj. That corresponds to ODF element 'draw:path' and that uses svd:d to describe the path. The SdrPathObj is unsuitable here, because svd:d does not allow to set 'filled' and 'stroked' for individual subpaths. The implementation of LibreOffice for 'draw:path' does not allow mixed open and closed subpaths. The needed path features are available in custom shapes. So that has to be used in case the vml path has ns or nf or mixed open and closed subpaths. But pure vml graphic occurs not often nowadays, because MSO uses it mostly as fallback. So priority should be to implement import of . From point of LibreOffice that element acts similar to a group. The has no information, that it is ersatz for an arc and does not know anything about handles. So improving that part would not result in the same object as in Word. The wrong rotation happens in https://opengrok.libreoffice.org/xref/core/oox/source/vml/vmlshape.cxx?r=a0656ec6#1089 The rotation angle in the example file is "2955973fd" and maRotation contains it as that. toDouble converts it to 2955973.0 "fd" means, that it in deg*2^16. The correct angle in deg100 is already in Prop_RotateAngle. Either that is used or here again the convertion from https://opengrok.libreoffice.org/xref/core/oox/source/vml/vmlshape.cxx?r=a0656ec6#696 has to be used again. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #5 from Valek Filippov --- (In reply to Regina Henschel from comment #4) > I see no connection to bug 109129, but use the META DOCX-Canvas-Shape > instead. If you do not agree with that change, please explain why this > should block bug 109129 I've made an isolated case based on the problem observed in 109129. I'm not an SME on MOOX. If you believe this one is different from misplaced/"pie"-ed arcs in the sample from 109129 -- you are probably right. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 Regina Henschel changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Blocks|109129 |136361 CC||rb.hensc...@t-online.de --- Comment #4 from Regina Henschel --- I confirm the problems. Problem 1: It is not an arc. I see that error already in version 5.4.7. It should be either an EllipseShape with CircleKind_ARC or a CustomShape with type ooxml-arc. Instead it is an OpenBezierShape. I get that error too, if I create such shapes from scratch in Word. Problem 2: The rotation is wrong. In version 6.4.5 was no rotation at all. If I create a new file, the rotation is correct. I do not see at a glance, what makes your file different. The problems do only occur, if the shapes are placed on a drawing canvas. If the shapes are used without drawing canvas, they are imported correctly as arc and with the correct rotation. [To use a drawing canvas in Word 365, open menu Insert, then drop-down list Shapes. As last item in that list you find "New Drawing Canvas".] I see no connection to bug 109129, but use the META DOCX-Canvas-Shape instead. If you do not agree with that change, please explain why this should block bug 109129 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=109129 [Bug 109129] FILEOPEN: DOCX - Red curved arrow lines not rendered correctly https://bugs.documentfoundation.org/show_bug.cgi?id=136361 [Bug 136361] [META] DOCX Canvas shape related issues -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 Valek Filippov changed: What|Removed |Added Blocks||109129 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=109129 [Bug 109129] FILEOPEN: DOCX - Red curved arrow lines not rendered correctly -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 Valek Filippov changed: What|Removed |Added Keywords||filter:docx -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #3 from Valek Filippov --- Created attachment 172250 --> https://bugs.documentfoundation.org/attachment.cgi?id=172250=edit How it looks in LO 7.2 master from May 22, 2021 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #2 from Valek Filippov --- Created attachment 172249 --> https://bugs.documentfoundation.org/attachment.cgi?id=172249=edit How it looks in MSO -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142432] [DOCX] Arc is rendered as Pie, rotation is incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=142432 --- Comment #1 from Valek Filippov --- Created attachment 172248 --> https://bugs.documentfoundation.org/attachment.cgi?id=172248=edit DOCX sample -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs