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

--- Comment #7 from Buovjaga <[email protected]> ---
I looked inside the styles.xml file after extracting the .odp (as zip). It had
this style definition for the problematic text box:

<style:style style:name="Mgr4" style:family="graphic"
style:parent-style-name="standard" style:list-style-name="ML3">
      <style:graphic-properties draw:stroke="none" svg:stroke-color="#000000"
draw:fill="none" draw:fill-color="#ffffff"
draw:textarea-horizontal-align="left" draw:auto-grow-height="true"
draw:auto-grow-width="false" fo:min-height="0cm" fo:min-width="0cm" />
</style:style>

When I changed the value of draw:textarea-horizontal-align to "right", the text
alignment worked as expected.

So I went about trying to achieve the same in the LibreOffice UI. I succeeded
by:
1. Selecting the text box (not entering text edit mode)
2. Right-clicking and selecting Text
3. Changing Text anchor to be in the top right position

After saving the changed file and unzipping again, I could see that
draw:textarea-horizontal-align had indeed changed to "right" in the style!

Well, it is still a problem that it does not work with simple paragraph
formatting (as it does with new documents), but at least you have a workaround.

Anyway, it is confirmed in the latest master.

If you want a simple way to test newer versions, try the AppImage builds:
http://libreoffice.soluzioniopen.com/

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha1+
Build ID: d73225119476de1826f648acca9e93bf6797e813
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 12th 2017

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to