Re: [libreoffice-users] close application/document

2013-06-30 Thread Vieri
Hi, Sorry for the late reply but I just submitted a bug report: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=66419 Thanks, Vieri --- On Fri, 6/21/13, Andrew Douglas Pitonyak and...@pitonyak.org wrote: Off hand, it sounds like a bug... If I close a document from the GUI, it opens

[libreoffice-users] close application/document

2013-06-21 Thread Vieri
wrong with .dispose()? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@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

Re: [libreoffice-users] close application/document

2013-06-21 Thread Vieri
--- On Fri, 6/21/13, Vieri rentor...@yahoo.com wrote: Hi, When I close my document/application with a java macro such as: XModel xDocModel = xScriptContext.getDocument(); xDocModel.dispose(); then the doc and application close but I notice that the soffice.bin and .exe (Windows 7

Re: [libreoffice-users] close application/document

2013-06-21 Thread Vieri
don't want the extra memory footprint). So could this be a bug? Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette

[libreoffice-users] disable save as in menu

2013-06-19 Thread Vieri
the save as entry but it's at the global application level, not at document level). Can this be done even if I were to hack the .odt file content? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists

[libreoffice-users] close application event

2013-06-19 Thread Vieri
Hi, The close application event doesn't seem to fire my macro when I exit LO. Does anyone know why? My macro is quite simple: Print Exiting... and I associated the close application event to this macro. When I exit LO the message isn't displayed. Thanks, Vieri -- To unsubscribe e-mail

[libreoffice-users] disable quit application

2013-06-19 Thread Vieri
macro call (checks stuff, closes document and quits app). Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette

[libreoffice-users] save state

2013-06-19 Thread Vieri
( ); How can I remove the space? Or is there a better way to change the doc's save state? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http

[libreoffice-users] msgbox with timeout

2013-06-17 Thread Vieri
Hi, I'd like to know how to write a macro that displays a message box for x seconds and closes without user interaction. msgbox or print don't seem to support timeouts. Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org

Re: [libreoffice-users] msgbox with timeout

2013-06-17 Thread Vieri
Thanks. I just saw a more portable way by using custom dialogs. Vieri --- On Mon, 6/17/13, Walther Koehler w.koeh...@onlinemed.de wrote: Hi, while using linux/kde you could use makro command shell() to call a shell script (bash) to run kdialog. Walther Am Montag, 17. Juni 2013

Re: [libreoffice-users] create custom macro within share location (program files)

2013-06-14 Thread Vieri
macros. I can combine both methods to do what I need (ie. install custom Basic and Java macros in the global share) but that doesn't sound clean or efficient. Any more ideas? Thanks, Vieri --- On Thu, 6/13/13, Andrew Douglas Pitonyak and...@pitonyak.org wrote: Openoffice stores individual macros

[libreoffice-users] macro not found when it's there

2013-06-14 Thread Vieri
Basic macro: library: 'HMAN_SaveDoc' module: 'HMAN' method: 'SaySomething' location: 'share' However, as you can see in the screenshots I'm attaching, that macro is available (I can run it manually). Does anyone have any suggestions before I file a bug report? Thanks, Vieri -- To unsubscribe

Re: [libreoffice-users] create custom macro within share location (program files)

2013-06-14 Thread Vieri
/Administration_Guide/Using_Custom_Macros_and_Libraries needs significant updating?  It doesn't fully address what I'm trying to do. Regards, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how

[libreoffice-users] java macro and multiple class methods

2013-06-13 Thread Vieri
on the internet or in the docs where a parcel-descriptor defines more than one method to call. Surely I could duplicate the jar and parcel-descriptor files and define one method in each of them but that seems too inefficient. Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr

Re: [libreoffice-users] java macro and multiple class methods

2013-06-13 Thread Vieri
Never mind... Right after posting this e-mail it started to work correctly. I don't know what I was doing wrong before. Sorry for the noise. Vieri --- On Thu, 6/13/13, Vieri rentor...@yahoo.com wrote: Hi, I have a java macro and a parcel-descriptor.xml with just one method declared

[libreoffice-users] packaging a Java macro class in an extension (.oxt)

2013-06-13 Thread Vieri
#Uno_Jar_Components Does anyone know of an extension out there (http://extensions.libreoffice.org) that I could download that actually has Java macros? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how

Re: [libreoffice-users] disable save as in odt document

2013-06-12 Thread Vieri
my wish list? Thanks, Vieri --- On Tue, 6/11/13, Tom Davies tomdavie...@yahoo.co.uk wrote: Hi :)  I think it's just to block morons from doing stupid things without really knowing what they are doing.  If someone knows how to circumvent stuff like this then they probably understand

[libreoffice-users] create custom macro within share location (program files)

2013-06-12 Thread Vieri
server, eg. something like location=url. This way, I'd maintain my macros on my web/ftp/webdav/whatever server (just one single copy) and forget about syncing them with each and every LO client installation. Any ideas? Vieri -- To unsubscribe e-mail to: users+unsubscr

[libreoffice-users] disable save as in odt document

2013-06-11 Thread Vieri
appreciated, Vieri -- To unsubscribe e-mail to: users+unsubscr...@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

Re: [libreoffice-users] disable save as in odt document

2013-06-11 Thread Vieri
clicks save toolbar button and macro prints a hello world message BUT file is not saved. Sounds simple... but haven't got the hang of it yet. Thanks, Vieri --- On Tue, 6/11/13, Tom Davies tomdavie...@yahoo.co.uk wrote: Hi :) Errr, that seems like a fairly crazy thing to do.  Surely

[libreoffice-users] java macro error

2013-05-31 Thread Vieri
? Is LibreOffice unloading the Java macro for some reason? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette

[libreoffice-users] event interceptor

2013-05-30 Thread Vieri
(vnd.sun.star.script:ComponentFactory.DispatchInterceptor.bsh?language=BeanShelllocation=document).invoke(Array(), Array(), Array()) I've seen this before when trying to call java macros from Basic. Why can't it find ComponentFactory? Did I create it where I should have? Is the path wrong? Thanks, Vieri -- To unsubscribe e-mail

Re: [libreoffice-users] event interceptor

2013-05-30 Thread Vieri
--- On Thu, 5/30/13, Vieri rentor...@yahoo.com wrote: Hi, I'm attaching a calc document with macros I took from oooforum.org. My goal is to have a macro intercept certain events such as underline or save. I'm supposing I need to somehow run the Basic macro register within the document

[libreoffice-users] macro to get option button values

2013-05-21 Thread Vieri
Next I GetTextFields = rep Come to think of it, one could have a set of 3 or more option buttons to choose from, eg. Option1: YES/NO/MAYBE In this case, I suppose I'd like to get results such as Option1=0 or =1 or =2. Any suggestions? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr

Re: [libreoffice-users] deploy java macro with document

2013-05-16 Thread Vieri
manifest:media-type=application/vnd.sun.star.uno-component;type=Java/ Then zip it up and rename it. Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http

Re: [libreoffice-users] deploy java macro with document

2013-05-16 Thread Vieri
types aren't (at least that's the case for Java). Vieri -- To unsubscribe e-mail to: users+unsubscr...@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

[libreoffice-users] deploy java macro with document

2013-05-15 Thread Vieri
/java/MYJAVAMACRO/MYJAVAMACRO.jar Clients would open the ODT files like this: soffice -o https://server.com/webdav/docs/doc1.odt I can't seem to load the Java macro in my webdav setup but I'd first like to see if I can load it in my local setup. Thanks, Vieri -- To unsubscribe e-mail to: users

Re: [libreoffice-users] deploy java macro with document

2013-05-15 Thread Vieri
macro. Anyway, thanks for the odt/zip info. Vieri --- On Wed, 5/15/13, Brian Barker b.m.bar...@btinternet.com wrote: I'd like to deploy a compiled Java macro with an ODT document. According to http://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Writing_Macros: If you

Re: [libreoffice-users] deploy java macro with document

2013-05-15 Thread Vieri
at the top-most level, under Basic-MacroName, etc. So I tried also putting java at the top-level (without Scripts) but the same error message came up. Vieri --- On Wed, 5/15/13, Vieri rentor...@yahoo.com wrote: Thanks to both Brian and Tom. I didn't know the odt files were compressed files

[libreoffice-users] override the default SAVE action so a custom macro can handle it

2013-05-12 Thread Vieri
to saveexit. Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@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

Re: [libreoffice-users] gettextfields

2013-05-10 Thread Vieri
Thanks Fernand. I'm currently using Java (HttpURLConnection) to do the HTTP stuff (easier). For things that are simpler to do with Basic, I run other macros from within my Java macro (with XScript). Thanks for your suggestion. Vieri --- On Fri, 5/10/13, Fernand Vanrie s...@pmgroup.be wrote

Re: [libreoffice-users] gettextfields

2013-05-09 Thread Vieri
--- On Thu, 5/9/13, mcmurchy1917-libreoff...@yahoo.co.uk mcmurchy1917-libreoff...@yahoo.co.uk wrote: Hi Vieri The form you've created contains a set of controls of which one or more of them are of the Text box variety. You may also have other controls on the form such as a Check

[libreoffice-users] java macro

2013-05-09 Thread Vieri
a message in my document. Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@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

Re: [libreoffice-users] java macro

2013-05-09 Thread Vieri
). Thanks, Vieri --- On Thu, 5/9/13, Tom Davies tomdavie...@yahoo.co.uk wrote: Hi :) Errr, now that you have learned about programming in a general way and looking to consolidate details would it be a good time to learn something more solid?  C++ or Python perhaps?  Oracle seem to be having

Re: [libreoffice-users] java macro

2013-05-09 Thread Vieri
--- On Thu, 5/9/13, Regina Henschel rb.hensc...@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

Re: [libreoffice-users] java macro

2013-05-09 Thread Vieri
--- On Thu, 5/9/13, Regina Henschel rb.hensc...@t-online.de wrote: Hi Vieri, Vieri schrieb: 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

Re: [libreoffice-users] gettextfields

2013-05-08 Thread Vieri
--- On Tue, 5/7/13, Vieri rentor...@yahoo.com wrote: --- On Mon, 5/6/13, Andrew Douglas Pitonyak and...@pitonyak.org wrote: On 05/06/2013 05:21 AM, Vieri wrote: Hi, I have an odt writer document with 2 input text fields (added with the form designer toolbar). I manually type

Re: [libreoffice-users] gettextfields

2013-05-08 Thread Vieri
don't work (maybe outdated OO or LO versions). BTW, is there an IDE that can auto-complete Basic code (eg. vVal.??? as in the example above). Thanks, Vieri --- On Wed, 5/8/13, mcmurchy1917-libreoff...@yahoo.co.uk mcmurchy1917-libreoff...@yahoo.co.uk wrote: I've created two Text Boxes

[libreoffice-users] POST data to URL

2013-05-08 Thread Vieri
' variable despite the fact that it does receive a POST request. What am I doing wrong? Are there other methods to do this? Thanks, Vieri -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe

Re: [libreoffice-users] gettextfields

2013-05-07 Thread Vieri
--- On Mon, 5/6/13, Andrew Douglas Pitonyak and...@pitonyak.org wrote: On 05/06/2013 05:21 AM, Vieri wrote: Hi, I have an odt writer document with 2 input text fields (added with the form designer toolbar). I manually type text into one of the fields. I copy/pasted a macro to see if I

[libreoffice-users] gettextfields

2013-05-06 Thread Vieri
is the correct way of getting the text field elements? Thanks Vieri -- To unsubscribe e-mail to: users+unsubscr...@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