The simple answer for your question is that all my documents contain medical 
patient data. Any alteration on the document made by my converter will not pass 
the test to be a medical product. This also includes the updating of 
statistical fields.  

How can I open a document from Java in read-only mode?
I tried it, with a ReadOnly Property, but this does not seem to work either.

myProperties[4] = new PropertyValue();
myProperties[4].Name = "ReadOnly";
myProperties[4].Value = new Boolean(true);

Thanks for a reply
Robert

-----Ursprüngliche Nachricht-----
Von: Juergen Schmidt [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 13. August 2007 13:16
An: [email protected]
Betreff: Re: AW: [dev] Disable automatic field updating

Hi Robert,

the interesting question is for what do you need this feature. The 
fields that get updated always are mainly statistical fields and the 
question is why they shouldn't be updated if you change the document or 
print it. If you don't change the document, try to open them readonly. I 
assume that in this case the fields remain unchanged.

Juergen

Thullner, Robert wrote:
> Thank you for this information
> 
> However the fields still get updated.
> 
> The fields which are updated are:
> Modified - Author
> Created - Date
> Modified - Date
> LastPrinted - Date
> Statistics - Pages
> 
> When I look into the OpenOffice Help ("updating;fields and charts, 
> automatically
> (Writer)"), I find the information that these fields always get updated. 
> 
> Propably even the NO_UPDATE option in the API cannot override this.  
> 
> Perhaps there is still a way to disable the automatic updating. If anybody 
> still has hints, please tell me
> 
> Robert
> 
> -----Ursprüngliche Nachricht-----
> Von: Peter Eberlein [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 13. August 2007 11:28
> An: [email protected]
> Betreff: Re: [dev] Disable automatic field updating
> 
> Hi Robert,
> Thullner, Robert schrieb:
>> Hello
>>  
>>  
>> So my question is, if there is a way to disable the auto updating
>> function, using Java and the OOo API?
>>  
> Perhaps take a look at 
> http://api.openoffice.org/docs/common/ref/com/sun/star/document/UpdateDocMode.html
> 
> Peter
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to