Resources on writing import/export file filters for Writer
vmiklos at collabora.co.uk
Tue May 22 10:25:03 UTC 2018
On Sat, May 19, 2018 at 09:26:18PM -0700, Jens Tröger <jens.troeger at light-speed.de> wrote:
> I haven’t yet had the time to dive into the topic yet—unfortunately. So
> perhaps my question is somewhat of a guess: compared to using the Python UNO
> interface to load and traverse a document, can I expect a performance
> improvement when I use a filter to save the information that I currently
> extract using UNO?
> If the guesstimated answer is “maybe/likely no” then I’d shift my current
Depends on how the import/export filter is implemented. Importers get an
empty doc model and populate it; exporters traverse an existing doc
model and write to a file. If you use the same python uno calls inside
the filter, then you don't gain much.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the LibreOffice