Revision 651432

Go back to digest for 8th April 2007

Features in Office

Thomas Zander committed changes in /trunk/koffice:

Provide a roughly working feature for inline objects. Which is (flake) shapes that get their position defined by an anchor in the text; the character (anchor) moves, then so does the shape.

This implementation aims to be a lot broader in scope than the one in KOffice1.

We now have horizontal and vertical alignments. So a shape can always stay left or right of the paragraph the marker is in. Or always top or bottom of frame / paragraph / line.

As well as a specified distance from the anchor-character.

File Changes

Added 2 files
  • /trunk/koffice/kword/part/frames
  •   /KWAnchorStrategy.cpp
  •   /KWAnchorStrategy.h
Modified 9 files
  • /trunk/koffice
  •   /kword/part/CMakeLists.txt
  •   /kword/part/kword.rc
  •   /kword/part/KWView.cpp
  •   /kword/part/KWView.h
  •   /libs/kotext/KoInlineObject.h
  •   /libs/kotext/KoTextAnchor.cpp
  •   /libs/kotext/KoTextDocumentLayout.h
  •   /kword/part/frames/KWTextDocumentLayout.cpp
  •   /kword/part/frames/KWTextDocumentLayout.h
11 files changed in total