On 2/12/14 9:32 PM, jonasalfreds...@gmail.com wrote:
> I'm looking into this bug:
> https://issues.apache.org/ooo/show_bug.cgi?id=2771
> <https://issues.apache.org/ooo/show_bug.cgi?id=2771>  
> 
> Where can I find code that store user preferences. I want to store all
> hyperlinks the user has written into documents and use them to fill the
> receiver combobox in the 'Insert/Hyperlink' dialog? I understand the user
> data is stored in the file "~/.openoffice/4/user/registrymodifications.xcu".
> How do I access it from within the code?

I recommend the DevGuide [1] and the related configuration chapter. And
SDK contains a sample in Java that shows how to access the configuration.

You probably have to define a new schema first to store your data. For
testing you can do that via an extension and you can use Java to play
around with the API.


[1]
https://wiki.openoffice.org/wiki/Documentation/DevGuide/Config/Configuration_Management

Juergen

> 
> Anyone got a pointer? 
> 
> /Jonas
> 
> 
> 
> --
> View this message in context: 
> http://openoffice.2283327.n4.nabble.com/User-data-storage-tp4658954.html
> Sent from the Development mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to