[libreoffice-users] Invoking cli while an instance already runs.
Hi I have written an xml filter (this page http://books.evc-cit.info/odbook/ch09.html has been very usefull). I run the script whith the following command : ${SOFFICE} --invisible --infilter=Thomas --convert-to odt input_file.xml It works fine if no instance of libreoffice already runs. But i have problems if one instance already runs : (1) the command hereabove returns without giving any results (2) if i run ${SOFFICE} --infilter=Thomas input_file.xml, the document is open without using any filter (as xml) Do you think it would be possible to run the command line conversion even if an instance of office already runs ? Thank for your help. Paul. -- For unsubscribe instructions e-mail to: users+h...@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
Re: [libreoffice-users] Invoking cli while an instance already runs.
I see that one of aims of this page is to explain how to have several versions running on parallel. I would like to run in parallel one single installation. Do you think i would only need to change the user directory (for example) for the cli run ? Thank you for this informative page. Regards. Paul. Le 11/12/2011 12:59 PM, Tom Davies a écrit : Hi :) I think that is one of the problems that created a need for this page http://wiki.documentfoundation.org/Installing_in_parallel Regards from Tom :) --- On Sat, 12/11/11, Paul Chaventpaul.chav...@fnac.net wrote: From: Paul Chaventpaul.chav...@fnac.net Subject: [libreoffice-users] Invoking cli while an instance already runs. To: users@global.libreoffice.org Date: Saturday, 12 November, 2011, 8:53 Hi I have written an xml filter (this page http://books.evc-cit.info/odbook/ch09.html has been very usefull). I run the script whith the following command : ${SOFFICE} --invisible --infilter=Thomas --convert-to odt input_file.xml It works fine if no instance of libreoffice already runs. But i have problems if one instance already runs : (1) the command hereabove returns without giving any results (2) if i run ${SOFFICE} --infilter=Thomas input_file.xml, the document is open without using any filter (as xml) Do you think it would be possible to run the command line conversion even if an instance of office already runs ? Thank for your help. Paul. -- For unsubscribe instructions e-mail to: users+h...@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 -- For unsubscribe instructions e-mail to: users+h...@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
Re: [libreoffice-users] Invoking cli while an instance already runs.
I would like to be able to launch LO in command line to convert a doc while a instance is already running. It seems to have two installations is the only way to do that !? Le 11/12/2011 02:37 PM, webmaster for Kracked Press Productions a écrit : May I ask you why you need to run two installations at the same time? You can have 2 Writer documents open at the same time, in separate windows. So why need to install two copies of LibreOffice? On 11/12/2011 08:28 AM, Paul Chavent wrote: I see that one of aims of this page is to explain how to have several versions running on parallel. I would like to run in parallel one single installation. Do you think i would only need to change the user directory (for example) for the cli run ? Thank you for this informative page. Regards. Paul. Le 11/12/2011 12:59 PM, Tom Davies a écrit : Hi :) I think that is one of the problems that created a need for this page http://wiki.documentfoundation.org/Installing_in_parallel Regards from Tom :) --- On Sat, 12/11/11, Paul Chaventpaul.chav...@fnac.net wrote: From: Paul Chaventpaul.chav...@fnac.net Subject: [libreoffice-users] Invoking cli while an instance already runs. To: users@global.libreoffice.org Date: Saturday, 12 November, 2011, 8:53 Hi I have written an xml filter (this page http://books.evc-cit.info/odbook/ch09.html has been very usefull). I run the script whith the following command : ${SOFFICE} --invisible --infilter=Thomas --convert-to odt input_file.xml It works fine if no instance of libreoffice already runs. But i have problems if one instance already runs : (1) the command hereabove returns without giving any results (2) if i run ${SOFFICE} --infilter=Thomas input_file.xml, the document is open without using any filter (as xml) Do you think it would be possible to run the command line conversion even if an instance of office already runs ? Thank for your help. Paul. -- For unsubscribe instructions e-mail to: users+h...@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 -- For unsubscribe instructions e-mail to: users+h...@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
Re: [libreoffice-users] Invoking cli while an instance already runs.
Thank you. I didn't notice this option with the -help switch. Le 11/12/2011 02:50 PM, Regina Henschel a écrit : Hi Paul, Paul Chavent schrieb: I see that one of aims of this page is to explain how to have several versions running on parallel. I would like to run in parallel one single installation. Try to use the start parameter -env:UserInstallation=. See help Starting the LibreOffice Software From the Command Line. Kind regards Regina -- For unsubscribe instructions e-mail to: users+h...@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
Re: [libreoffice-users] Invoking cli while an instance already runs.
With soffice.bin -env:UserInstallation=~/.libreoffice_cli/ --headles --infilter=Thomas --convert-to odt test.xml The application cannot be started. [context=shared] caught unexpected exception! Le 11/12/2011 02:50 PM, Regina Henschel a écrit : Hi Paul, Paul Chavent schrieb: I see that one of aims of this page is to explain how to have several versions running on parallel. I would like to run in parallel one single installation. Try to use the start parameter -env:UserInstallation=. See help Starting the LibreOffice Software From the Command Line. Kind regards Regina -- For unsubscribe instructions e-mail to: users+h...@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
Re: [libreoffice-users] Invoking cli while an instance already runs.
Thank Regina. I will try on those other lists... Le 11/13/2011 01:21 PM, Regina Henschel a écrit : Hi Paul, Paul Chavent schrieb: With soffice.bin -env:UserInstallation=~/.libreoffice_cli/ --headles --infilter=Thomas --convert-to odt test.xml The application cannot be started. [context=shared] caught unexpected exception! It seems, that -env does not work from command line. I have tried it with a Windows desktop link (WinXP), and there it works. I think, that you do not need --headless because that is automatically done in --convert-to. This is a very special question. So you might get a skilled help on the developer mailinglist [1] or on developer IRC [2]. [1] libreoff...@lists.freedesktop.org [2] irc://chat.freenode.net/libreoffice-dev Kind regards Regina -- For unsubscribe instructions e-mail to: users+h...@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