IntelligentGroup

From Apache OpenOffice Wiki
Revision as of 12:42, 26 September 2008 by Andre (Talk | contribs)

Jump to: navigation, search

Introduction

Intelligent Group(currently as working title), IG for short, aims to provide elegant graphics to illustrate user's content.

Status

The new feature is in early design phase.

Specification

Wish List

  • IntelligentGroup in Insert menu
    • A dialog that contains all kinds of graphics will pop up after hitting IntelligentGroup. Basically it is classified into seven sorts(list, process, cycle, hierarchy, relationship, matrix, pyramid). After any graphic is inserted it can provided an edit box beside it. Within the edit box user may input text he/she wants to express. At the same time the graphic ought to show the text. Additionally if user wants to add items of text that are beyond the scope of original graphics pressing ENTER once can extend the graphics by one. And user also can adapt the text by using ALT to make it in the same graphic or not.
  • IntelligentGroup Tools menu visible according to the context
    • When user finishes inserting a graphic the menu bar will extend by adding IntelligentGroup Tools which has two parts: Design and Format. Making use of them user can make any changes to the previous graphic. Design item includes “Create Graphic”, “layouts”, “IntelligentGroup Styles” and “Reset”. Format item includes “Shapes”, “Shape Styles”, “WorldArt Styles”, “Arrange” and “Size”. Meanwhile, animations can be also applied to these graphics.
  • Converting text into graphics
    • It can be a tool within tool bar. When user edits text in the edit area he/she may choose this tool to convert the text into the desired graphics. It is supposed to trigger a pop-up dialog which involves available graphics for user. It may put the text into the corresponding items of graphics automatically according to paragraph or bullets and numbering. Maybe it can only be used in Impress. For instance, input text in a slide and then select one sort of graphics in the list box to convert the text to graphics automatically.

Implementation

It is supposed to be implemented with UNO APIs.

Here is a list of the different parts that have to be taken care of.

  • Intelligent group wizard.
  • IG specific toolbar.
  • Task pane controls.
    • Style selection.
    • Color selection.
    • Layout selection.
  • Text edit pane. It has to support hierarchical bullet text. Can probably be based on the SVX outliner. This is a top level dialog like the navigator that may be partially or completely outside the Impress application window.
  • Group frame. This frame shows the outer boundary of the currently edited intelligent group. Display of the frame can be done via the new smart tag functionality. See the MotionPathTag in sd/source/ui/animations/motionpathtag.cxx for an example.
  • Loading and saving in ODF format. This involves a change of the file format.
  • Import of and export to PowerPoint XML format.
  • Shape interaction: listen and react to changes of geometry and selection of intelligent group shape and the shapes that belong to it.
    • Geometry changes trigger re-layouting.
    • Selection changes trigger display of frame, text edit window, all associated toolbars and other controls.
  • Live preview of styles, colors, layouts. There are different possible techniques:
    • Use undo to restore temporarily assigned styles.
    • Clone the shapes, hide the original, apply style to cloned copies. Restore old style by destroying the cloned shapes and displaying the originals.
    • Represent styles as collection of property values. While these are assigned to the shapes of an IG, remember the old values. Restore old styles by setting the properties of the affected shapes to the stored old values. (this is what the extension is doing)

Team and Contact

Mail to Liang Weike
Mail to Liu Jianli
Andre Fischer

ToDo

  • General Design

Submissions

Personal tools