<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [DOCUMENTATION] Please describe line spacing in detail"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=144542#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [DOCUMENTATION] Please describe line spacing in detail"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=144542">bug 144542</a>
from <span class="vcard"><a class="email" href="mailto:rafael.palma.lima@gmail.com" title="Rafael Lima <rafael.palma.lima@gmail.com>"> <span class="fn">Rafael Lima</span></a>
</span></b>
<pre>@Regina, can this information be found anywhere using a macro? Which property
of a Paragraph or TextPortion would store this information? I did my best
trying to find it, but was not successful.
I was trying to instantiate the Canvas service [1] to get a "XCanvasFont"
object [2] and call its getFontMetrics() object. Maybe this would reveal the
desired information.
This would return a FontMetrics struct [3] which contains information about
leading. However, I was not successful instantiating the Canvas service through
a macro, so the method was unreachable.
[1]
<a href="https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1rendering_1_1Canvas.html">https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1rendering_1_1Canvas.html</a>
[2]
<a href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1rendering_1_1XCanvasFont.html">https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1rendering_1_1XCanvasFont.html</a>
[3]
<a href="https://api.libreoffice.org/docs/idl/ref/structcom_1_1sun_1_1star_1_1rendering_1_1FontMetrics.html">https://api.libreoffice.org/docs/idl/ref/structcom_1_1sun_1_1star_1_1rendering_1_1FontMetrics.html</a></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>