How to get text attributes on Writer?

Cedric Bosdonnat cbosdonnat at suse.com
Tue Apr 24 02:14:38 PDT 2012


Hi Rodolfo,

On Mon, 2012-04-23 at 15:41 -0300, Rodolfo wrote:
> Given a certain cursor (or PaM) position on Writer, how can I get the
> current font height? Or check if two PaM have the same height/style?
> 
> I can't understand the pool model...

Your question forced me to have a look at it more deeply, thanks for
that: I should have done that much earlier probably ;)

I put it on a wiki page for everybody to be able to read it later
without searching painfully in email archives.

https://wiki.documentfoundation.org/User:Cbosdo#Getting_the_attributes_for_a_SwPaM

I hope this answers your question. Don't hesitate to raise other
questions if I didn't put enough details or wrote something wrong.

--
Cedric



More information about the LibreOffice mailing list