| Type | required |
| Title | sfx2 based statusbars are now defined by xml files |
| Posted by | [EMAIL PROTECTED] |
| Affected | [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],sfx2 svx sw sc sd sch |
| Effective from | SRC680m54 |
Summary
Programmability and customzation are one of our goals for OpenOffice.org 2.0. To provide a better customization of our default statusbars the Office now uses xml files by default. The old way to fill the statusbar through application code is not supported anymore. This is only related to statusbars which are controlled by the sfx2 and framework project.
Description
Every application project has a folder called "uiconfig" which stores
the default xml files of their statusbar. It's possible that a project
conatins more than one application module, like the sw or sd. The
structure of the folder is:
"uiconfig/<module shortcut>/<ui element type name>/<unique ui element
name>"
For example the statusbar xml file of the Writer can be found here:
sw/uiconfig/swriter/statusbar/statusbar.xml
ATTENTION:
All involved and existing statusbars have been converted, so no
developer action is currently required. NEW definitions must comply to
the new specification otherwise they can break code.
For more information about this change you can find the specification
for "Programmability of menu and toolbar items" here. It also has a
little "How to" that describes what must be done to create new UI
commands and statusbars. Please read it before you change
anything regarding statusbar.
http://specs.openoffice.org/ui_in_general/api/ProgrammaticControlOfMenuAndToolbarItems.sxw
The structure of the XML based statusbar file is explained inside the
XML file format specification:
http://xml.openoffice.org/xml_specification.pdf.
If you have questions, annotations, suggestions or need help to adapt
your changes to the changed class don't hesitate to ask me.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
