incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120030] optimize thumbnail saving to improve odt saving performance
Date Wed, 20 Jun 2012 08:25:31 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120030

lizh.fee@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Issue Type|DEFECT                      |ENHANCEMENT

--- Comment #2 from lizh.fee@gmail.com ---
Solution: do limit on swflyfrm::paint.
1. add a varible bIsInGenerateThumbnail in SfxObjectShell.
2. add a member function IsInGenerateAndStoreThumbnail in SfxObjectShell, used
to get value of bIsInGenerateThumbnail.
3. at beginning of SfxObjectShell::GenerateAndStoreThumbnail, set
bIsInGenerateThumbnail as true to indicate thumbnail is beening generated and
stored.
4. at beginning of SwFlyFrm::Paint, get value of bIsInGenerateThumbnail, if is
true,get current view area, compared with current fly frame's area, if the two
rectangle not intersect, no need repiant, return.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Mime
View raw message