Am 19.11.2014 um 18:59 schrieb Matt Price:
Jim, That was it! Or, almost. I changed the line to: oText.insertTextContent(oVC, oAnno, True)And the annotation now gets attached to the whole range. I wish I knew how to find the documentation for these functions! I don't know what the various parameters actually d -- what is the final Boolean doing there? How do you know? But in any case, many thanks for solving htis problem, it's actually pretty awesome to be able to do this with a single keystroke! m
It is self documenting. Every object tells everything about itself. All you need is a tool to browse the object hierarchy starting from a given object:
http://extensions.libreoffice.org/extension-center/mri-uno-object-inspection-tool
OpenOffice tutorial on object inspection with MRI:
https://forum.openoffice.org/en/forum/viewtopic.php?f=74&t=49294
-- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted