Revision 97e6698...

Go back to digest for 27th February 2011

Optimization in Office

Sebastian Sauer committed changes in [calligra/words-layout_performance-sebsau] /part:

Layout header/footer first and only once they are fully done layout the main text.
This addresses bug 211027 - [Performance] Time taken to launch the attached Word document is above the target value.

The patch follows an idea discussed with Casper a while back in another cold country :)
While the patch works great for the testdoc.doc it somehow does not for the ODF 1.1 specs.

File Changes

Modified 6 files
  • /part
  •   words/KWDocument.cpp
  •   words/KWDocument.h
  •   words/frames/KWFrameLayout.cpp
  •   words/frames/KWTextDocumentLayout.cpp
  •   words/frames/KWTextFrameSet.cpp
  •   words/frames/KWTextFrameSet.h
6 files changed in total