|
|
This article or section contains information about scheduled or expected future software. The content may change as the software release approaches and more information becomes available. |
|
|
|
This article or section needs to be wikified to meet Wikipedia's quality standards. Please help improve this article with relevant internal links. (December 2007) |
{{ambox |type = style |image =
|text = This article may be too technical for a general audience.
Please help improve this article by providing more context and better explanations of technical details to make it more accessible, without removing technical details.}} Flake is a new programming library that will be used in the upcoming KOffice 2 series. Flake will provide the basic concept of a "shape". To the end user a shape will appear as some piece of content like an image or a text. A shape can be in any form (square, circle, etc) and contain any kind of media since the shapes as Flake knows them are responsible for drawing themselves. All components of KOffice are being overhauled to use Flake as much as possible.[1]
Functionality
The functionality of Flake is divided up between Shapes which display content, and Tools which manipulate content or the user interface. Different Shapes can be created to support different kinds of content, these Shapes will also be packaged with a set of tools to manipulate that kind of content and UI elements that expose the functionality to the user. This provides an application with all the features it needs and also allows for easy embedding of Shapes in other applications. If a text shape is embedded in an image, clicking on the text shape will bring up all the tools needed to manipulate text. Flake is the successor to the old design of embedding based on widgets in the KOffice 1 series. The widget embedding had three notable shortcomings, that widgets were always square, couldn't be rotated and were measured in pixels. All of which are corrected by Flake. Embedded document data can now be zoomed, rotated and skewed, be of any form and are measured in units like millimeters. Flake also improves on the original design in several areas, like its extensibility. For example in Google's Summer of Code 2007 Marijn Kruisselbrink created a MusicXML based music notation Shape and Tools[2] Shapes can be made aware of other Shapes positions, moving an image through text will result in the text dynamically wrapping around the images[3]. Shapes can even be grouped together and made to behave like a single Shape. Flake also supports printing to PDF and has full support for anti-aliased painting for smoother text.[4]
References
|
|
|
|---|---|
| Applications (List) | Amarok • K3b • Kate • KDevelop • KMail • Konsole • Kopete • Konqueror • KView • Kaffeine • Noatun • digiKam • Akregator • KTorrent • KPDF • KGet • Okular |
| Utilities | DCOP • KHTML • KIO • Kiosk • KWin • KPart • KSVG • KConfigXT • Qt • XMLGUI • KJS • KDOM • D-Bus |
| Packaging | aRts • Kdelibs • Kdebase • Kdeaccessibility • Kdeaddons • Kdeadmin • Kdeartwork • Kdeedu • Extragear • Kdegames • Kdegraphics • Kde-i18n • Kdemultimedia • kdenetwork • Kdepim • kdesdk • Kdetoys • Kdewebdev • KOffice |
| KDE 4 Core Technologies (under development) |
Akonadi • Decibel • Dolphin • Flake • Kross • NEPOMUK-KDE • Oxygen • Phonon • Plasma • Solid • Sonnet • Soprano • Strigi • ThreadWeaver |
| Related | GNOME · Freedesktop.org |


