|
Description
NISZ LibreOffice Team
2020-05-12 12:18:56 UTC
Created attachment 160719 [details]
Shape size settings in Word
Created attachment 160720 [details]
Screenshot of the original document side by side in Word and Writer
Reproduced in Version: 7.0.0.0.alpha0+ Build ID: b540e8bc7111ba03ee675a507c098e140a5e81dc CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded Adding Cc to: Miklos Vajna Created attachment 161839 [details] Page number frame in the right page margin (In reply to NISZ LibreOffice Team from comment #0) > Created attachment 160718 [details] > Same preset has a right side variant, which works: relative width from right > margin opens with correct size. I see the same error with the page number in the right margin. It is an import error. Neither ODF (current 1.3) nor LibreOffice have means to express the width relative to the page margin, but the width is always a fixed length. So the relative value of Word should be transformed in a fixed length during import. You might keep the fact, that it is relative in Word in the operability bag, so that you can recreate the percent value on export to docx. The position as relative to "right margin" is interpreted correctly and can be written to ODF without problems. In case you intend to extend LibreOffice so, that width of objects (which objects?) can be set relative to a reference (which references?) please write a feature request for ODF for review here before finishing the implementation. @Szabolcs, Balázs: it seems, LO has already supported this in most of the use cases, see lo-ext "layout-attribute" in https://issues.oasis-open.org/browse/OFFICE-3854, and the related code parts. Szabolcs Toth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7380905abc0833d9e4c4fe731d76174db8a8724c tdf#132976 DOCX import: fix shape width relative to left margin 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. Szabolcs Toth committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/5451833f3af5582a8cab7e4b3da402f083f56908 tdf#132976 DOCX import: fix shape width relative to left margin It will be available in 7.0.0.1. 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. |