Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
> Jean-Marc Lasgouttes wrote:
>
>> Instead of reinventing the wheel, it looks like you should move
>> findInset from BufferView.cpp to a place where other code can use it
>> and then use it with a DocIterator that initially contains only the
>> Floa
Jean-Marc Lasgouttes wrote:
> Instead of reinventing the wheel, it looks like you should move
> findInset from BufferView.cpp to a place where other code can use it
> and then use it with a DocIterator that initially contains only the
> Float inset as a slice.
Could you do this?
Jürgen
[EMAIL PROTECTED] writes:
> +docstring InsetFloat::getCaptionText(OutputParams const & runparams) const
> +{
> + if (paragraphs().empty())
> + return docstring();
> +
> + ParagraphList::const_iterator pit = paragraphs().begin();
> + for (; pit != paragraphs().end(); ++pit)