>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Jean-Marc Lasgouttes wrote: What about this?
>>  What about hiding part of this code in a Dociterator::textInset
>> method? It could either be the current ugly special code, or use a
>> new   InsetText * InsetBase::getCell(int) const; that could maybe
>> replace InsetBase::getText(int).

Juergen> I will not have much time to dig very deep into this in the
Juergen> near future, so I just had a quick look at dociterator.
Juergen> Couldn't DocIterator::innerText() be used somehow?

No, because it does not give us a InsetText but a LyXText. We need
some cooperation from insettabular to do what we want.

At least, you could move your code that determines what the real text
inset is into dociterator.C.

JMarc

Reply via email to