https://bugs.documentfoundation.org/show_bug.cgi?id=151577

--- Comment #16 from Eyal Rozenberg <[email protected]> ---
(In reply to Lightsky from comment #15)
> But specifically for Writer even outputting text with new paragraphs (even
> if its 1 paragraph for each line of original PDF) instead of a textbox for
> each line would make it much easier to edit in Writer (as a 1st step).

That is actually not just a "first step" - it is already a big part of the
work. To do what you suggest, we would need to decide what the relative linear
order of most boxes is; and which of them start paragraphs. If you've done that
- you're already half way to complete document structure reconstruction (and
note that I didn't say _perfect_ document reconstruction).

> One could add another "behavior" parameter to a filter function in order not
> to split the code between Draw and Writer.

I'm not a developer working on this code; but I can still share experience from
other projects and note that making a single piece of code have multiple
configurable behaviors sometimes makes it more complicated than just splitting
the code into distinct somewhat-similar pieces. Think about, say, a pair of
smaller and larger knives, vs. a swiss-army-knife... I'm sure that if and when
developers start working on this, they'll make a good call regarding what parts
of the code to share and what parts to keep apart.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to