Hi,

Jean-Marc Lasgouttes ha scritto:
I found getInset(i)->textString() from Paragraph.cpp (advsearch branch)
now replaced by getInset(i)->tocString(), which AFAICU achieves a very
different task.

textString as always been documented as being for the TOC (look at 1.5 code). We ranmed it avoid
the confision (in particular, we want insets in short form).
Ok
If I wanted to use the current ->plaintext() method instead, how should I
initialize the OutputParams stuff ?

Just create an OutputParams object.

Where do you need that exactly?
I need to build a stringified version of the inset for search-related purposes. Actually, I need to stringify an entire pos range within a paragraph, comprising all the contained insets (recursively). However, in this case, not an entire latex
export, but just the textual contents would be sufficient for the purpose.

Thx,

   T.

Reply via email to