On 08/15/2012 09:36 PM, Daniel Bankston wrote:

These multiple calls to ScCellRangesBase::GetMarkData are happening because the data that ScCellRangesBase::GetMarkData gets is being reset every time a style range is added. I'm trying to see if we can stop resetting this data and just append instead.

While this is kind of true, actually I think the main cause of the "resetting" mark data is because of new objects of the ScCellRangesBase family are being created with no carry over or access to the previous found ranges. So I think using direct Sc calls and saving the mark data in a relevant Sc import object is the answer. (This is assuming I'm not completely wrong about all this and that we can just simply append the style ranges.)

--Daniel
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to