Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index




--- On Thu, 5/9/13, Regina Henschel <rb.henschel@t-online.de> wrote:

Hi Vieri,

Vieri schrieb:
Hi,

I'm new to making Java macros. I compiled my Java
class, created the
parcel-descriptor.xml file and
placed the .xml, .jar and .class files within the following
folders I
also created:


C:\Users\<USERNAME>\AppData\Roaming\LibreOffice\4\user\Scripts\java\MACRO1



C:\Program Files\LibreOffice 4.0\share\Scripts\java\MACRO1

When I re-launch LO and go to Macros-> Run Macros, I
don't see my
MACRO1 java macro under "My Macros" or "LibreOffice
Macros".

Why is that? Shouldn't I at least see the listing?

Do you have used Tools > Macros > Organize Macros >
BeanShell... to add it?

Thanks Regina.
I didn't need to use BeanShell.
I edited the parcel descriptor xml file directly.

I finally found out why I wasn't seeing the macro (or at least I think so). I needed to create my 
class within "default package" (I'm using NetBeans IDE).

I'm able to launch my Java macros now.
Thanks,

Vieri


-- 
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.