Resources on writing import/export file filters for Writer

Miklos Vajna vmiklos at collabora.co.uk
Tue May 22 10:25:03 UTC 2018


Hi,

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
> priorities…

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.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180522/4d417ed6/attachment.sig>


More information about the LibreOffice mailing list