Page 1 of 1
Adding a new import file type
Posted: Wed Jun 15, 2016 8:57 pm
by _savage
If I wanted to tinker with a new import file type, so that OO Writer is able to read this particular file format—where's the right way to start? Documentation? Examples? Thanks
Re: Adding a new import file type
Posted: Thu Jun 16, 2016 12:13 am
by Villeroy
You need to know the file format. And you need to be a fairly proficient programmer. If it is some flavour of XML, you can transform it to Open Document XML via XSLT and integrate the XSLT script via Tools>XML Filters...
Re: Adding a new import file type
Posted: Thu Jun 16, 2016 12:22 am
by _savage
Villeroy wrote:You need to know the file format. And you need to be a fairly proficient programmer.
Assume both to a very proficient level
Villeroy wrote:If it is some flavour of XML, you can transform it to Open Document XML via XSLT and integrate the XSLT script via Tools>XML Filters...
Did anybody ever attempt to implement an HTML filter, maybe even with (some) CSS support?
What if it's not XML?
Re: Adding a new import file type
Posted: Thu Jun 16, 2016 12:25 am
by Villeroy
Re: Adding a new import file type
Posted: Thu Jun 16, 2016 4:19 pm
by _savage
I know Pandoc, but what about file formats that aren't supported by it or that aren't even XML derived?
Re: Adding a new import file type
Posted: Thu Jun 16, 2016 8:44 pm
by Villeroy
You are the programmer. Find out.