Jean-Marc Lasgouttes wrote: >>>>>> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: > > Alfredo> I really need the InsetText (not the LyXText). We would need > Alfredo> something like inset::getInset(int), similar to > Alfredo> inset::getText(int). > > what does Paragraph::inInset() return? The tabular?
Good point. No idea, hopefully the insettext. Anyway it would be pretty convoluted. In a document like this: par->tabular->insettext->par we would get the insettext by going par->tabular------------>par insettext<---+ [I think that all would be much easier if each inset offers an inset_begin(), inset_end() pair for iterating over their embedded insets. And we would not need the ParIterator longjump to paragraph. Ducking.] Alfredo (not complaining)