Hi, On Sat, May 19, 2018 at 09:26:18PM -0700, Jens Tröger <jens.troeger@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
Attachment:
signature.asc
Description: Digital signature