[Libreoffice] helpful debugging writer cut and paste stuff

Caolán McNamara caolanm at redhat.com
Tue Sep 13 02:38:45 PDT 2011


On Mon, 2011-09-12 at 19:02 +0200, Miklos Vajna wrote:
> On Mon, Sep 12, 2011 at 05:06:27PM +0100, Caolán McNamara <caolanm at redhat.com> wrote:
>
> Thanks, last time I had to debug that, I used a memory stream and just
> dumped the contents to stdout, but your solution is smarter. :)

*mumble*, for a moment I played with the idea of a "TeeStream" which
would take a two streams as an argument, writing/reading to both so
could wrap any stream and simultaneously mirror any changes to the
wrapped stream to a debugging file, but dismissed it as silly effort.

> > As an aside, is the "editengine" rtf parser going to be touched
> > by the rtf re-work[1], or was it just the writer im/export ?
> 
> The later. The editengine one is used by calc, right?

Yeah, the editengine (in "editeng" these days) is basically the drawing
layer's textbox text renderer which is used by draw, calc and so forth.

C.



More information about the LibreOffice mailing list