Welcome beginner. Please answer all of the questions below which may provide information necessary to answer your question.
-----------------------------------------------------------------------------------------------------------
Which version of OpenOffice.org are you using? 2.3.1
What Operating System (version) are you using?MS windows XP family
What is your question or comment?
I tried to start ooo on a calc file with the -invisible argument
I do this thru a shortcut with the following command line:
"C:\Program Files\OpenOffice.org 2.3\program\soffice.exe" -invisible test.ods
the test.ods file is located within the working directory "E:\temp_bureau\Test automation saisie" as stated in "start in" of the the shortcut.
Result is: It does not work, I still have the UI windows that opens (even if the logo does not show up).
I tried the -nologo argument with the same shortcut and it works fine (no ooo logo showing)
Does somebody use this -invisible argument and have it working?
Thanks for help
launching ooo with -invisible argument
- gvanderschooten
- Posts: 15
- Joined: Sun Apr 20, 2008 6:45 pm
- Location: France
Re: launching ooo with -invisible argument
Have you tried -headless?
* Did you solve your problem? Do others a favor: Post the solution
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
OOo 3.0.X on Fedora 9 + XP
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
OOo 3.0.X on Fedora 9 + XP
- gvanderschooten
- Posts: 15
- Joined: Sun Apr 20, 2008 6:45 pm
- Location: France
Re: launching ooo with -invisible argument
I just did with
"C:\Program Files\OpenOffice.org 2.3\program\soffice.exe" -headless test.ods
Same thing, no logo..but UI windows opens!
Anyway..Thanks for your help
"C:\Program Files\OpenOffice.org 2.3\program\soffice.exe" -headless test.ods
Same thing, no logo..but UI windows opens!
Anyway..Thanks for your help
Re: launching ooo with -invisible argument
It works on Linux. Try all of them together.
Also, make sure you have the quickstarter closed.
Code: Select all
"C:\Program Files\OpenOffice.org 2.3\program\soffice.exe" -headless -invisible -nologo test.ods
* Did you solve your problem? Do others a favor: Post the solution
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
OOo 3.0.X on Fedora 9 + XP
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
OOo 3.0.X on Fedora 9 + XP
- gvanderschooten
- Posts: 15
- Joined: Sun Apr 20, 2008 6:45 pm
- Location: France
Re: launching ooo with -invisible argument
I tried it! Unfortunatly it does not work with MS windows
Always the same result: no logo, but UI windows shows up.
Damned MS, but I have no choice! I'll try to find an other way to get the required functionnality (opening a VBA grid, without showing the main window)
Thanks again
Always the same result: no logo, but UI windows shows up.
Damned MS, but I have no choice! I'll try to find an other way to get the required functionnality (opening a VBA grid, without showing the main window)
Thanks again
Re: launching ooo with -invisible argument
Try searching the bug tracker to see if it is reported. If so, there may be a workaround. Also, the "target milestone" would tell you when it will be fixed.
http://qa.openoffice.org/issues/query.cgi
http://qa.openoffice.org/issues/query.cgi
* Did you solve your problem? Do others a favor: Post the solution
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
OOo 3.0.X on Fedora 9 + XP
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
OOo 3.0.X on Fedora 9 + XP
- gvanderschooten
- Posts: 15
- Joined: Sun Apr 20, 2008 6:45 pm
- Location: France
Re: launching ooo with -invisible argument
Looking at QA issues tracking I just found one issue (28716) speaking about the -invisible arguments, but not addressing my problem.
I tried different ways to start the application; eather using directly scalc.exe or using soffice.exe, I got the same results.
Side effect is that when you use the -headless argument, ooo does not ask for macro authorisation..so the program does not work at all (VBA dialog not started)!
As a work around, I tried to start the application within a reduce window. But when I quit the VBA dialogbox and want to show the UI window, I do not know how to do it! I did not found the method that tell ooo to set the window from reduce mode to normal mode.
To set the UI window invisible/visible when starting in normal mode, I use:
thiscomponent.getCurrentController().getFrame().getContainerWindow().setVisible( True/False )
which works fine, except that problem of the UI main window showing at the beginning, before my macro sets it to invisible.
Conclusion: do I open an issue regarding this probem?
I tried different ways to start the application; eather using directly scalc.exe or using soffice.exe, I got the same results.
Side effect is that when you use the -headless argument, ooo does not ask for macro authorisation..so the program does not work at all (VBA dialog not started)!
As a work around, I tried to start the application within a reduce window. But when I quit the VBA dialogbox and want to show the UI window, I do not know how to do it! I did not found the method that tell ooo to set the window from reduce mode to normal mode.
To set the UI window invisible/visible when starting in normal mode, I use:
thiscomponent.getCurrentController().getFrame().getContainerWindow().setVisible( True/False )
which works fine, except that problem of the UI main window showing at the beginning, before my macro sets it to invisible.
Conclusion: do I open an issue regarding this probem?
Re: launching ooo with -invisible argument
You might take a look at these threads (Googled out of thin air)--if you've not already:
http://www.oooforum.org/forum/viewtopic.phtml?t=11220
http://www.oooforum.org/forum/viewtopic.phtml?t=17230
Many resource links there, and comments.
http://www.oooforum.org/forum/viewtopic.phtml?t=11220
http://www.oooforum.org/forum/viewtopic.phtml?t=17230
Many resource links there, and comments.
AOO4/LO5 • Linux • Fedora 23