[GSOC] ODS Styles Import Performance Work Update

Daniel Bankston daniel.dev.libreoffice at gmail.com
Wed Aug 15 20:45:13 PDT 2012


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


More information about the LibreOffice mailing list