Hi,

Recently a user on the English forum inquired how one can change the font
size in a comment box in Draw [1].
He was given the obvious workaround tip and then the discussion started on
how to access the comment object via API.
Though the AOO's IDL reference says nothing in this regard, it turned out
the annotation can be handled
programmatically (at least in OpenOffice Basic).

Hence my questions:
1. Is the API in terms of annotations' handling fully operational?
2. Should the relevant AOO's IDL reference be amended?
see:
https://www.openoffice.org/api/docs/common/ref/com/sun/star/office/module-ix.html

------------------------------------------------------------------------------
"The OpenOffice.org 3 Draw Guide",
section "Adding comments to a drawing" (pp. 201-202)
states:
"Type or paste your comment into the text box.
You can optionally apply some basic formatting to parts of the text
by selecting it, right-clicking, and choosing from the pop-up menu."
------------------------------------------------------------------------------


My sincere thanks to Arrigo Marchiori for providing valuable hints on the
relevant source code and the SDK.

Regards,
Czesław



[1] "Changing the font size in a comment box...."
https://forum.openoffice.org/en/forum/viewtopic.php?f=11&t=106271

Reply via email to