编写扩展的注意事项

From Apache OpenOffice Wiki
< Zh‎ | Documentation
Revision as of 09:30, 4 September 2008 by Jirong (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


这里简要概括在开发扩展时需要注意重要事项:

  1. 使用 .oxt 作为文件扩展名和提供 description.xml这里说明了为什么需要使用.oxt的原因。
  2. 提供一个扩展标识符[查看 XML 元素描述]
  3. 提供一个 version. [查看 XML 元素描述]
  4. Provide a display name. [查看 XML 元素描述]
  5. 提供一个 icon. [查看 XML 元素描述]
  6. 提供一个 description. [查看 XML 元素描述]
  7. 说明 目标平台[查看 XML 元素描述]
  8. 或提供 依赖关系说明。 [查看 XML 元素描述]。例如,如果扩展所需求的 OOo '最低版本应使用 OpenOffice.org-minimal-version 的依赖性。
  9. 或提供 license. [查看 XML 元素描述]
  10. 除非 OOo 扩展仓库 不适用,也许可以考虑为扩展定制 '在线更新' 功能。[查看 XML 元素描述].
  11. 如果扩展需要配置的话,或许可以提供 选项页[查看 XML 元素描述].
  12. 提供 发行商信息[查看 XML 元素描述].
  13. Provide a link for release notes (TODO: more documentation) in the description.xml. Currently only used within the 'update dialog'. When using the OOo extension repository, then the link to the release notes is automatically generated from the information entered on the web site. That is, when using the repository one does not need to provide this information in the description.xml.
  14. 如果需要,为 帮组系统 提供内容。


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