https://bugs.documentfoundation.org/show_bug.cgi?id=169840
--- Comment #13 from Miklos Vajna <[email protected]> --- (In reply to Buovjaga from comment #6) > I examined the word/document.xml inside the unzipped .docx, but couldn't > figure out where the rotation for Line 7 is defined. The general definition > block starts with: For drawingML shapes in general, you have this markup <a:xfrm rot="..."> for rotation. It seems lines are special, since they just have 2 points, so when you save them, you can just give them a position and size, and that kind of determines the starting and ending point, or something like that. > Let's ask Miklós what he thinks. I *think* once these position/size/rotation problems happen, the root of the trouble is that you can't set these properties in a random order -- ideally you set up your transform matrix and you set that matrix only once during the import, I recall the xmloff/ import code for ODF does that. My thinking is that the DOCX import should do the same, I started to move towards that direction in commit 1bec1608a55c1b5096e7a9d06564c658bd5be1d5 (tdf#165132 DOCX import: fix unexpected rotation on entirely vertical line, 2025-02-26) already. The ideal would be to do that in more cases, and see if this case would also benefit from such a change. But that requires investigating why the two tests from the above commit fail when doing this in general. Thanks. -- You are receiving this mail because: You are the assignee for the bug.
