Difference between revisions of "Zh/Documentation/DevGuide/AppendixA/OpenOffice.org API-Design-Guidelines"
From Apache OpenOffice Wiki
< Zh | Documentation
(New page: {{Documentation/DevGuide/AppendixATOC/Zh |ShowPrevNext=block |PrevPage=Zh/Documentation/DevGuide/GUI/Summarizing Example to Create a UNO Dialog |NextPage=Zh/Documentation/DevGuide/Appendix...) |
m |
||
Line 5: | Line 5: | ||
}} | }} | ||
[[en:Documentation/DevGuide/AppendixA/OpenOffice.org API-Design-Guidelines]] | [[en:Documentation/DevGuide/AppendixA/OpenOffice.org API-Design-Guidelines]] | ||
− | {{DISPLAYTITLE: | + | {{DISPLAYTITLE:附录 A: {{PRODUCTNAME}} API 设计规则}} |
以下规则适用于 OpenOffice 的所有外部编程接口规范。API 包含以下构造型或设计元素: | 以下规则适用于 OpenOffice 的所有外部编程接口规范。API 包含以下构造型或设计元素: |
Latest revision as of 02:56, 18 June 2008
- OpenOffice.org API 设计规则
以下规则适用于 OpenOffice 的所有外部编程接口规范。API 包含以下构造型或设计元素:
结构
- 结构用于指定简单组合的数据元素。(结构只包含数据,不包含方法。)
异常
- 异常用于错误处理。(可以使用any 抛出或传输异常。)
接口
- 接口用于指定行为的单个方面。(接口只包含方法,不包含数据。)
服务
- 服务用于指定抽象对象。(服务指定所支持接口的属性和交互性。)
类型定义
- 类型定义用于定义具有特定用途的基本类型。(应谨慎使用此结构型。)
Content on this page is licensed under the Public Documentation License (PDL). |