https://bugs.documentfoundation.org/show_bug.cgi?id=150930

            Bug ID: 150930
           Summary: writing-mode 'rl-tb' (RTL) in shape text is only
                    detected if in paragraph style of the text
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 182409
  --> https://bugs.documentfoundation.org/attachment.cgi?id=182409&action=edit
writing mode not by paragraph style of <text:p> element

A writing-mode for text in a shape can be defined by
(1) a paragraph style referenced by the text:style-name attribute in the
<text:p> element in the shape.
(2) a paragraph style referenced by the draw:text-style-name attribute in the
<draw:custom-shape> element.
(3) a <draw:paragraph-properties> element in the <style:style> element
referenced by the draw:style-name attribute in the <draw:custom-shape> element.
(4) a <draw:graphic-properties> element in the <style:style> element referenced
by the draw:style-name attribute in the <draw:custom-shape> element.

If a style:writing-mode attribute does not exist in (1) then that from (2) is
used, if that does not exist the one from (3) is used, and if that neither
exists the one from (4) is used.

That works if the shape is inside Impress, but it fails if the shape is inside
Writer. In Writer the RTL writing mode is only detected, if it is given in (1).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to