[libreoffice-users] Running two LibreOffice Processes

2016-08-03 Thread Schäfer , Philipp
Hi,

we are embedding LibreOffice into an Application using UNO. In order to do 
that, we start LibreOffice in headless mode. However, this results in a user 
not being able to use LibreOffice outside of our application. If he tries to 
open a document, nothing visible happens, because the headless process is 
handling it. Trying to start LibreOffice directly also has no visible effect, 
because the new process immediately exits, as it finds the already running 
process.

Is there a way, in which we can start our headless process, so that 
user-started LibreOffice process do not recognize it? It would be no problem, 
if a solution required two separate installations.

Cheers,

Philipp

-- 
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/users/
All messages sent to this list will be publicly archived and cannot be deleted



[libreoffice-users] Disabling the read-only bar

2016-02-24 Thread Schäfer , Philipp
Hi,

we are embedding LibreOffice into a Java (SWT) application using UNO and NOA 
(https://code.google.com/archive/p/noa-libre/) . We are in the process of 
updating the LibreOffice version we are using from 3.6 to 5.x. Currently, we 
control the read-only state from the surrounding application. We like to keep 
it that way. However, an info bar was introduced, that informs the user about 
the read-only state and shows a button, that lets the user exit the read-only 
mode.
Looking at the source ( 
https://github.com/LibreOffice/core/blob/f163745cca6627fd8de0a089a8c30b3c6e17193f/sfx2/source/view/viewfrm.cxx#L1319-L1345
 ) I can see, that there are two further conditions other than the document 
being read-only that prevent this bar from being shown. Can someone give me any 
pointers on how I can trigger any of the two other conditions?

Cheers,

Philipp




GODYO Business Solutions AG
Prüssingstraße 35
07745 Jena

Philip Schaefer


E-Mail: philipp.schae...@godyo.com
Telefon:  +49 3641 287-0
Telefax:   +49 3641 287-287
Internet: www.godyo-p4.de

[cid:image001.png@01D079C8.87609BE0]




GODYO Business Solutions AG, Prüssingstraße 35, 07745 Jena,
Vorstand: Hans-Uwe Schramm, Aufsichtsratsvorsitzender: Dirk Waltje,
Amtsgericht Jena HRB 502 129
Diese E-Mail ist vertraulich. Wenn Sie nicht der vorgesehene Empfänger sind, 
verwenden Sie bitte keine Inhalte dieser E-Mail und leiten sie diese auch nicht 
weiter. Wenn Sie fälschlicherweise diese E-Mail bekommen haben, informieren Sie 
uns bitte umgehend und löschen dieses Dokument.

This e-mail is confidential. If you are not the intended recipient, please do 
not disclose or use the contents of the e-mail. If you have erroneously 
received this e-mail, please inform us immediately by return e-mail and delete 
the document.



-- 
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/users/
All messages sent to this list will be publicly archived and cannot be deleted