On Mon, Feb 07, 2005 at 12:58:16PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
> 
> Andre> mbox needs access to a buffer pretty much the same way as
> Andre> LyXText does. So do some preparation.
> 
> Where is this information needed?  Can't it be added to OutputParams if
> only latex() needs it?

If that would be possible... this also bites in the tabular code IIRC

> I really do not like the idea of adding this to
> a stream...
> 
> Another idea that I had recently was to pas a LCursor object the
> various inset methods (like latex() or draw()) so that they can get
> all the necessary information about where they live. I guess this
> would make OutputParams mostly obsolete.

Hm.. DocIterator + BufferView would be the Right thing, but we/I already
abuse LCursor for excatly that purpose...

Andre'

Reply via email to