Thank you Andreas. Unfortunately I don't seem to be able to install either
version of the MRI tool -- the unreleased 1.1.4 appears not to be a valid
zipfile, whiel 1.1.2 throws this error:
(com.sun.star.uno.RuntimeException) { { Message = "<class 'SyntaxError'>:
invalid syntax (MRI.py, line 21), traceback follows\X000a
/usr/lib/libreoffice/program/pythonloader.py:102 in function
getModuleFromUrl() [codeobject = compile( src, encfile(filename), \"exec\"
)]\X000a /usr/lib/libreoffice/program/pythonloader.py:149 in function
writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl
)]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }
I suppose this could be a problem with python version? I'm not certain. In
any case, I'd really appreciate it if you could point me to a differnt
version or to some other tools. Much appreciated!
Matt
On Wed, Nov 19, 2014 at 2:50 PM, Andreas Säger <villeroy@t-online.de> wrote:
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
--
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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.