| Summary: | Fileopen DOCX: Block arrow shapes rotated | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Jorge <mtagyl> |
| Component: | Writer | Assignee: | Dániel Arató (NISZ) <arato.daniel> |
| Status: | VERIFIED FIXED | ||
| Severity: | minor | CC: | aron.budea, libreoffice |
| Priority: | medium | Keywords: | filter:docx, implementationError |
| Version: | 4.1.6.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 104442 | ||
| Attachments: |
Original Document
Expected Result Minimized test document The minimized example file in Word and Writer The minimized example file in Word and Writer |
||
Created attachment 160828 [details]
Expected Result
On pc Debian x86-64 with master sources updated today, I noticed these errors during conversion: warn:vcl.pdfwriter:25312:25312:vcl/source/gdi/pdfwriter_impl.cxx:7697: invalid conversion warn:vcl.pdfwriter:25312:25312:vcl/source/gdi/pdfwriter_impl.cxx:7697: invalid conversion warn:vcl.pdfwriter:25312:25312:vcl/source/gdi/pdfwriter_impl.cxx:7697: invalid conversion warn:vcl.pdfwriter:25312:25312:vcl/source/gdi/pdfwriter_impl.cxx:7697: invalid conversion warn:vcl.pdfwriter:25312:25312:vcl/source/gdi/pdfwriter_impl.cxx:7697: invalid conversion warn:vcl.pdfwriter:25312:25312:vcl/source/gdi/pdfwriter_impl.cxx:7697: invalid conversion There's a lacking frame in page 4 for "Annexe 1" Which words precisely? BTW, arrows in page 3 are indeed in the wrong direction. The problem is not with conversion from docx to pdf file, pdf file is only to show you how word display docx file properly: Open doxc file with libreoffice : see page 3 to 4, and compare with pdf. You will see : - 2 words not displayed - arrows in the wrong direction Thank you. Jorge Created attachment 164921 [details]
Minimized test document
Created attachment 164922 [details] The minimized example file in Word and Writer Version: 7.1.0.0.alpha0+ (x64) Build ID: c10ea0e903ee2aba126087fc81702233b3a509cf CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: CL Created attachment 164969 [details]
The minimized example file in Word and Writer
So these arrows have Spatial rotation set in Word in depth (Z?) direction: 80 degrees for the left one and 270 degrees for the right one.
In Writer I don't even find a similar option where such values could be set. The 3D-Settings toolbar has no enabled commands when I select these shape objects.
Removing see also bug, that one is about the VML rotation property. Where can I find the source code that rotates and renders an XShape? Daniel Arato (NISZ) committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a9c5c0d814a266096483572b84c72875ef8efd77 tdf#133037 OOXML shape import: camera rotation along Z It will be available in 7.1.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. This looks fixed. Unless you have a reason to keep it open, please set Fixed. Filesave seems also good to me. Please write (for us non-programmers) if there's unit test here included. Hello, Just tested with 7.1.0.0.alpha0+ https://git.libreoffice.org/core/+log/df74aef7159d7155addf78cfc4d139485945d794/?s=59cca1a28df4cdc94450d68cc1e247a8fb5ff6f3 Looks perfect, really thank you for your help !! I mark the ticket as resolved. Thank you. Jorge Verified in Version: 7.1.0.0.alpha1+ (x64) Build ID: a689cf1672e89cb78fbcfa14c505850927e71f58 CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-GB Calc: threaded Thanks, Dani :-) |
Created attachment 160827 [details] Original Document Good morning, Docx format, between page 3 and page 4: - 2 words not displayed - arrows in the wrong direction Thank you. Jorge