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

--- Comment #2 from Takenori Yasuda <[email protected]> ---
Regarding writing direction:
I created a sample file using text boxes and investigated the issue.
As a result, I suspect that the problem lies in the value of
"style:writing-mode" within "style:paragraph-properties" in the content.xml.
Specifically:
* writing-mode="tb-rl" → works as expected
* writing-mode="lr-tb" → causes the issue


In the attached file:

<style:style style:name="gr529" style:family="graphic">
    <style:graphic-properties fo:min-height="0cm" fo:min-width="0cm"
        style:writing-mode="lr-tb" loext:decorative="false"
style:run-through="foreground"
        style:wrap="run-through" style:number-wrapped-paragraphs="no-limit"
        style:vertical-pos="from-top" style:vertical-rel="paragraph"
        style:horizontal-pos="from-left" style:horizontal-rel="paragraph"
        draw:wrap-influence-on-position="once-concurrent"
loext:allow-overlap="true"
        style:flow-with-text="false" />
    <style:paragraph-properties style:writing-mode="lr-tb" /> <!-- This part
-->
</style:style>

<style:style style:name="gr531" style:family="graphic">
    <style:graphic-properties svg:stroke-color="#808080" draw:fill="none"
        draw:textarea-horizontal-align="justify"
draw:textarea-vertical-align="middle"
        draw:auto-grow-height="false" fo:min-height="14.924cm"
fo:min-width="10.555cm"
        loext:decorative="false" style:run-through="background"
style:wrap="run-through"
        style:number-wrapped-paragraphs="no-limit"
style:vertical-pos="from-top"
        style:vertical-rel="paragraph" style:horizontal-pos="from-left"
        style:horizontal-rel="paragraph"
draw:wrap-influence-on-position="once-concurrent"
        loext:allow-overlap="true" style:flow-with-text="false" />
    <!-- The expected paragraph-properties entry is missing here -->
</style:style>

However, I don't understand why this occurs.
While I was able to reproduce the issue by directly modifying content.xml, I
was not able to reproduce it by simply following the steps provided in the
original report.


My environment:
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo

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

Reply via email to