Using configuration files

Discussions about using 3rd party extension with

Using configuration files

Postby Emaïks » Thu Jan 11, 2018 10:45 am

Hello everyone !
I'm currently working on a python extension, and I want to make some config files.
For now my conf files are .yml files within my .oxt entension.
Here is the structure of my python extension :

Code: Select all   Expand viewCollapse view
  ├─ META-INF/
  │  └─ manifest.xml
  ├─ py/
  │  ├─
  │  ├─
  │  └─ ...
  ├─ conf/
  │   └─ conf1.yml
  ├─ Addons.xcu
  └─ description.xml

But this is not working, as I don't know how to access other files when working with extensions.

But is it even the right way to do it?

Thanks a lot for your help! :)
LibreOffice (x64) on Windows 10
Posts: 4
Joined: Wed Jan 03, 2018 1:06 pm

Re: Using configuration files

Postby musikai » Thu Jan 11, 2018 8:54 pm

You have to find out the path to your files after the extension is installed.
Similar: ... 47&t=91048
But I don't know if you can write into this place (?)
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
Posts: 232
Joined: Wed Nov 11, 2015 12:19 am

Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest