incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120619] [From Symphony]it's slow to open the simple xslx file
Date Fri, 24 Aug 2012 09:32:05 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120619

bjcheny <companycy@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79126|                            |review?
              Flags|                            |

--- Comment #2 from bjcheny <companycy@gmail.com> ---
Created attachment 79126
  --> https://issues.apache.org/ooo/attachment.cgi?id=79126&action=edit
patch for performance of importing cell style in xslx

The cause is StyleSheetChanged/PageStyleModified action much too frequently.
Thus the patch disables it, and will only do
StyleSheetChanged/PageStyleModified once after all properties are set.The
changes are:
1. Split the SetOnePropertyValue into SetOnePropertyValueWithoutUpdate and
StyleSheetChanged, 
2. Only invoke StyleSheetChanged once after all properties are set by
SetOnePropertyValueWithoutUpdate .

It can improve the performance of importing cell style significantly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message