incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120030] optimize thumbnail saving to improve odt saving performance
Date Wed, 20 Jun 2012 08:25:31 GMT changed:

           What    |Removed                     |Added
         Issue Type|DEFECT                      |ENHANCEMENT

--- Comment #2 from ---
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
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.

View raw message