UI Layout

From Apache OpenOffice Wiki
Revision as of 20:25, 30 January 2007 by Mox (Talk | contribs)

Jump to: navigation, search

Contributors

  • Mox Soini: Mox

Introduction and History

This page concerns itself with current and possible future UI Layout in OpenOffice.org, meaning the code methods and file formats used to programmatically create the locations, style and contents of Graphical User interface - the buttons, text boxes, toolbars, menus, dialogs etc.

Historically the UI layout has been hard-coded in individual applications (Writer, Impress, Calc etc.). Later this evolved into slightly de-coupled with the creation of VCL. While VCL makes porting easier for different platforms, such as Linux and Mac OS X, it also makes it very hard to get platform specific features and style into the UI. Some of this difficulty was lessened by the introduction (Since march 2003) of Native Widget Framework, which allows to glue the native widgets (e.g. the blue buttons in Mac OS X) over the OpenOffice.org's default widgets. This is accomplished by copying the look of the native button, while the interaction and the "feel" (how the button behaves) are coming from openoffice.org.

Before Native Widget Framework (pre-2003), OpenOffice.org more or less looked like Windows 95 on all platforms. Between 2004-2006 OpenOffice.org has begun to look more like native application, although purely in the look of widgets. The UI Layout (including menu structures, menu labels,

Complementary and Related projects

The possible future UI Layout work is complementary and not overlapping with:

  • Graphics Rendering re-work: [Mac_OS_X_Porting_-_Canvas|OOo Canvas]
  • [Uno/Effort/Uno_Runtime_Environment|UNO Runtime environment]
  • ODF Toolkit and
  • OOo Runner Separate Apps on Mac OS X

Goals

UI Examples and Comparison

Comparison between OpenOffice.org and platform-specific UI Layouts
     
<a href="kword.png"><img border=0 src="kword-tn.png"></a> <a href="linuxooo.png"><img border=0 src="linuxooo-tn.png"></a>
Enumeration
Getting and showing the list of available fonts to user
ATS NSFontManager
The only way to get identical font (family) listing as in Mac OS X native applications and in Font Book
Mouse/Keyboard grabs
a X11 feature where input field can grab the mouse/keyboard even when mouse is moved away from the area. Mac OS X does not natively have these
FIXME: needed for OOo?
Fonts
Personal tools