<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING can't change text alignment"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=95175#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING can't change text alignment"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=95175">bug 95175</a>
from <span class="vcard"><a class="email" href="mailto:todventtu@suomi24.fi" title="Buovjaga <todventtu@suomi24.fi>"> <span class="fn">Buovjaga</span></a>
</span></b>
<pre>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:
<a href="http://libreoffice.soluzioniopen.com/">http://libreoffice.soluzioniopen.com/</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>