Created attachment 135833 [details] RTL_table_indent.doc: table should be aligned 1cm from right, not -1cm from left Tables that are indented have "From Left" alignment. That gets a bit trickier when importing .DOC Right-To-Left tables - where a physical "Right" alignment needs to be converted into a "From Left" alignment. That ought to be starting at position = pageTextWidth - tableWidth - Indent. Currently it is starting at position = LeftMargin - Indent. The code section involved originally came from these OOo issues: https://bz.apache.org/ooo/attachment.cgi?id=58087&action=diff for bug https://bz.apache.org/ooo/show_bug.cgi?id=28656 and https://bz.apache.org/ooo/attachment.cgi?id=63705&action=diff for bug https://bz.apache.org/ooo/show_bug.cgi?id=103357
proposed fixes: https://gerrit.libreoffice.org/41664 tdf#112074 doc import: use real width if no preferred width https://gerrit.libreoffice.org/41665 tdf#112074 doc export: for RTL tables, LEFT_AND_WIDTH is RIGHT https://gerrit.libreoffice.org/41666 tdf#112074 doc export: re-calculate indent for RTL table
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=176a723876b0138debb20f824103b2ab0c910401 tdf#112074 doc import: use real width if no preferred width It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f091460837835033b10df7674210b0856cda0ec9 tdf#112074 doc export: for RTL tables, LEFT_AND_WIDTH is RIGHT It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3c29b0ad690c77b2ec9189981da73ffaa717e30c tdf#112074 doc export: re-calculate indent for RTL table It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7ed6bcc714ed0e4f23031c1cbc16176b3549e391 tdf#112074 ww8import: replace m_nOrgDxaLeft with GetMinLeft() It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.