<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE DOCX Several Writer shapes textbox saved incorrectly"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142398">bug 142398</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>rb.henschel@t-online.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE DOCX Several Writer shapes textbox saved incorrectly"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142398#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE DOCX Several Writer shapes textbox saved incorrectly"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142398">bug 142398</a>
from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
<pre>The example shapes do not have a text box, but a simple label text. The segment
is not a custom shape at all.
In case a custGeom is written, a <a:rect ...> has to be generated. For to get
the correct rectangle, it is needed to get the property "TextFrames" from
"Path" in CustomGeomety. But currently only the preset shape types l, t, r, b
are written:
<a href="https://opengrok.libreoffice.org/xref/core/oox/source/export/drawingml.cxx?r=af16aa62#3768">https://opengrok.libreoffice.org/xref/core/oox/source/export/drawingml.cxx?r=af16aa62#3768</a>
<a href="https://opengrok.libreoffice.org/xref/core/oox/source/export/drawingml.cxx?r=af16aa62&fi=WriteCustomGeometry#3557">https://opengrok.libreoffice.org/xref/core/oox/source/export/drawingml.cxx?r=af16aa62&fi=WriteCustomGeometry#3557</a>
In case of prstGeom there is no need for a <a:rect ...> element. So writing a
shape as ooxml-foo (if possible), would solve the <a:rect...> problem. But it
has the downside, that reload and export to binary MS formats will loose the
shape. And some of our mso-foo shapes do not have a directly corresponding
ooxml-shape.
It might help to sort the shapes currently in the floater in the UI in
categories
a) work with l, t, r, b
b) do not work with l, t, r, b, but have exactly corresponding ooxml preset
shape
c) do not work with l, t, r, b and need ooxml custGeom.</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>