Difference between revisions of "Documentation/DevGuide/Extensions/Extension Description"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
Line 7: Line 7:
 
The Extension Manager can display a small text for each extension in the dialog. The full text will become visible when the extension is being selected. Originally, this text was displayed in a 'tool tip' in versions of OOo previous v3.0.
 
The Extension Manager can display a small text for each extension in the dialog. The full text will become visible when the extension is being selected. Originally, this text was displayed in a 'tool tip' in versions of OOo previous v3.0.
  
Currently the text file must be added in the [[Documentation/DevGuide/Extensions/File Format#Extension Tooltip Description| manifest.xml]]. However, this will be changed in the future, so that the respective entries will have to be put into the description.xml.
+
Versions of OOo earlier than 3.1 use the [[Documentation/DevGuide/Extensions/File Format#Extension Tooltip Description|"Tooltip Description"]] of an extension which is kept in the [[Documentation/DevGuide/Extensions/File Format#Extension Tooltip Description| manifest.xml]]. Using the "Tooltip Description" is '''deprecated''' as of OOo 3.1. Since then the description is specified in the [[Documentation/DevGuide/Extensions/Description of XML Elements|description.xml]]. It is similar to the [[Documentation/DevGuide/Extensions/Simple License|simple license]] feature. One can put a couple of localized description files into the extension and reference them in the description.xml. The description using a locale which matches that of the office will be displayed. See [[Documentation/DevGuide/Extensions/Localized XML Elements]] for how the localization works.
 +
The description files must contain '''UTF-8''' encoded text.
  
  
 +
'''See also'''
 +
*[[Documentation/DevGuide/Extensions/Description of XML Elements#Element /description/extension-description|XML description for description.xml]]
 +
*[[Documentation/DevGuide/Extensions/Example|Example of description.xml]]
  
  

Revision as of 14:16, 21 July 2008



The Extension Manager can display a small text for each extension in the dialog. The full text will become visible when the extension is being selected. Originally, this text was displayed in a 'tool tip' in versions of OOo previous v3.0.

Versions of OOo earlier than 3.1 use the "Tooltip Description" of an extension which is kept in the manifest.xml. Using the "Tooltip Description" is deprecated as of OOo 3.1. Since then the description is specified in the description.xml. It is similar to the simple license feature. One can put a couple of localized description files into the extension and reference them in the description.xml. The description using a locale which matches that of the office will be displayed. See Documentation/DevGuide/Extensions/Localized XML Elements for how the localization works. The description files must contain UTF-8 encoded text.


See also


Content on this page is licensed under the Public Documentation License (PDL).
Personal tools