Ok, thank you for your feedback. Any idea about the fix? Perhaps using "GetTextSize" instead? (with static_cast to convert returned SwPosSize to const sal_uInt16) If no idea, I'll put a TODO FIXME here. Julien -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html