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


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.schaefer@godyo.com<mailto:philipp.schaefer@godyo.com>
Telefon:  +49 3641 287-0
Telefax:   +49 3641 287-287
Internet: www.godyo-p4.de<http://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+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.