Difference between revisions of "G11ntest/Documentation/BASIC Guide"

From Apache OpenOffice Wiki
Jump to: navigation, search
(修正错误)
Line 1: Line 1:
{{g11ntest/Documentation/BASICGuideTOC/v2
+
{{Documentation/BASICGuideTOC/v2
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|ShowPrevPage=none
 
|ShowPrevPage=none
 
|NextPage=Documentation/BASIC Guide/Language
 
|NextPage=Documentation/BASIC Guide/Language
 
}}
 
}}
{{DISPLAYTITLE:{{OOo}} Basic编程指南}}  
+
{{DISPLAYTITLE:{{OOo}}}}
____
+
 
 
{{Download_Collection|MediaWiki:Collections/BASIC_Guide}}
 
{{Download_Collection|MediaWiki:Collections/BASIC_Guide}}
  
  
  
本指南将介绍Programming with {{OOo}} Basic。 要获得充分利用本书,您应该熟悉其他编程语言。 提供了大量示例,帮助您快速开发自己的 {{OOo}} Basic程序。
+
中文 This guide provides an introduction to programming with {{OOo}} Basic. 中文 To get the most out of this book, you should be familiar with other programming languages. 中文 Extensive examples are provided to help you quickly develop your own {{OOo}} Basic programs.
  
  
本指南将关于 {{OOo}} 管理几个章节。 前三章介绍 {{OOo}} Basic:  
+
中文 This guide divides information about {{OOo}} administration into several chapters. 中文 The first three chapters introduce you to {{OOo}} Basic:
  
  
* [[Documentation/BASIC Guide/Language|The Language of {{OOo}} Basic]]
+
* [[Documentation/BASIC Guide/Language|多语言{{OOo}} Basic]]
* [[Documentation/BASIC Guide/Runtime_Library|Runtime Library]]
+
* [[Documentation/BASIC Guide/Runtime_Library|Runtime Library中文]]
* [[g11ntest/Documentation/BASIC Guide/API_Intro|Introduction to the API]]
+
* [[Documentation/BASIC Guide/API_Intro|介绍 API]]
  
  
这些章节概述了 {{OOo}} Basic及应该阅读这些任何有意编写 {{OOo}} Basic程序。 其余的章节介绍了各个组件 {{OOo}} API的详细信息,可以有选择地理解为必需的:  
+
中文 These chapters provide an overview of {{OOo}} Basic and should be read by anyone who intends to write {{OOo}} Basic programs. 中文 The remaining chapters describe the individual components of the {{OOo}} API in more detail and can be read selectively as required:
  
  
 
+
* [[Documentation/BASIC Guide/Documents|参照文档工作]]
* [[Documentation/BASIC Guide/Documents|Working with Documents]]
+
* [[Documentation/BASIC Guide/Text Documents|文本文档]]
* [[Documentation/BASIC Guide/Text Documents|Text Documents]]
+
* [[Documentation/BASIC Guide/Spreadsheets|数据表文档]]
* [[Documentation/BASIC Guide/Spreadsheets|Spreadsheet Documents]]
+
* [[Documentation/BASIC Guide/Drawings Presentations|绘图和演示]]
* [[Documentation/BASIC Guide/Drawings Presentations|Drawings and Presentations]]
+
 
* [[Documentation/BASIC Guide/Charts|Charts (Diagrams)]]
 
* [[Documentation/BASIC Guide/Charts|Charts (Diagrams)]]
* [[Documentation/BASIC Guide/Database|Databases]]
+
* [[Documentation/BASIC Guide/Database|数据库]]
 
* [[Documentation/BASIC Guide/Dialogs|Dialogs]]
 
* [[Documentation/BASIC Guide/Dialogs|Dialogs]]
 
* [[Documentation/BASIC Guide/Forms|Forms]]
 
* [[Documentation/BASIC Guide/Forms|Forms]]
  
  
== {{OOo}}  
+
=={{OOo}}==
 
+
  
在 {{OOo}} Basic编程语言开发特别是, {{OOo}} 并且被紧密地集成到Office软件包。
 
  
 +
中文 测试The {{OOo}} Basic programming language has been developed especially for {{OOo}} and is firmly integrated in the Office package.
  
顾名思义, {{OOo}} Basic编程语言Basic系列。 以前使用过其他Basic语言〉(尤其是Visual Basic或Visual Basic for Applications(VBA)的Microsoft-将很快就能熟悉 {{OOo}} Basic。 较大的基本结构 {{OOo}} Basic与Visual Basic兼容。
 
  
 +
中文 As the name suggests, {{OOo}} Basic is a programming language from the Basic family. Anyone who has previously worked with other Basic languages — in particular with Visual Basic or Visual Basic for Applications (VBA) from Microsoft — will quickly become accustomed to {{OOo}} Basic. Large sections of the basic constructs of {{OOo}} Basic are compatible with Visual Basic.
  
在 {{OOo}} Basic编程语言分为四个部分:
 
  
 +
The {{OOo}} Basic programming language can be divided into four components:
  
* 该语言 {{OOo}} Basic:定义基本语言结构,例如,变量声明、循环和函数。
 
* 运行时库:提供标准函数不直接引用 {{OOo}},例如,函数用于编辑数字、字串、日期值和文件。
 
* 此 {{OOo}} API(应用程序编程接口):允许访问 {{OOo}} 文档,并允许将这些创建、保存、修改和打印。
 
* 对话框编辑器:创建个人对话窗口并提供范围加入控制元素和事件处理程序。
 
  
 +
* The language of {{OOo}} Basic: Defines the elementary linguistic constructs, for example, for variable declarations, loops, and functions.
 +
* The runtime library: Provides standard functions which have no direct reference to {{OOo}}, for example, functions for editing numbers, strings, date values, and files.
 +
* The {{OOo}} API (Application Programming Interface): Permits access to {{OOo}} documents and allows these to be created, saved, modified, and printed.
 +
* The Dialog Editor: Creates personal dialog windows and provides scope for the adding of control elements and event handlers.
  
{{Documentation/Note|Compatibility between {{OOo}} Basic和VBA与 {{OOo}} Basic语言和运行时库。 此 {{OOo}} API和对话框编辑器不兼容的VBA(标准化这些接口会有很多的概念提供 {{OOo}} 无法实现)。 }}
 
  
 +
{{Documentation/Note|{{OOo}}{{OOo}}{{OOo}}{{OOo}}}}
  
用户 {{OOo}}
 
  
 +
=={{OOo}}==
  
使用的范围, {{OOo}} Basic开始标准功能的 {{OOo}} 结束 例程任务可自动在 {{OOo}} Basic中,链接可以建立与其他程序,例如数据库服务器,复杂活动可执行的按钮使用预设脚本。
 
  
 +
The scope of application for {{OOo}} Basic begins where the standard functions of {{OOo}} end. Routine tasks can therefore be automated in {{OOo}} Basic, links can be made to other programs — for example to a database server — and complex activities can be performed at the press of a button by using predefined scripts.
  
{{OOo}} Basic可以完全访问所有 {{OOo}} 功能,支持所有功能,还可以修改文档类型,以及提供选项建立个人对话窗口。
 
  
 +
{{OOo}} Basic offers complete access to all {{OOo}} functions, supports all functions, modifies document types, and provides options for creating personal dialog windows.
  
== {{OOo}}
 
  
 +
=={{OOo}}==
  
{{OOo}} 基本可由所有 {{OOo}} 用户,而没有任何附加程序和辅助工具。 即使在标准安装中, {{OOo}} Basic具有所有组件所需创建自己的Basic宏,其中包括:
 
  
 +
{{OOo}} Basic can be used by any {{OOo}} user without any additional programs or aids. Even in the standard installation, {{OOo}} Basic has all the components needed to create its own Basic macros, including:
  
* 集成开发环境(IDE),它提供了编辑器用于创建和测试宏。
 
* 解释程序,时需要该运行 {{OOo}} Basic宏。
 
* 接口各种 {{OOo}} 应用程序,允许直接访问Office文档。
 
  
 +
* The integrated development environment (IDE) which provides an editor for creating and testing macros.
 +
* The interpreter, which is needed to run {{OOo}} Basic macros.
 +
* The interfaces to various {{OOo}} applications, which allow for direct access to Office documents.
  
  
 +
====
  
  
组件的 {{OOo}} API将介绍本指南中选择根据其实际价值的 {{OOo}} Basic程序员。 一般只部分接口进行了讨论。 有关详细图像,请参见 [http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html the API reference]。  
+
The components of the {{OOo}} API that are discussed in this guide were selected based on their practical benefits for the {{OOo}} Basic programmer. In general, only parts of the interfaces are discussed. 有关详细图像,请参见 [http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html 《API参考]。  
  
  
[[文档//OpenOffice.org_开发者_指南|Developer's Guide]]介绍了 {{OOo}} API更详细的情况指南》,而是主要适用于Java和C++ 程序员。 任何已经熟悉了 {{OOo}} Basic编程可以查找其他信息Developer's Guide的 {{OOo}} 基本功能和 {{OOo}} 编程。
+
[[Documentation/DevGuide/OpenOffice.org_Developers_Guide|Documentation/DevGuide/OpenOffice.org_Developers_Guide]]{{OOo}}Anyone who is already familiar with {{OOo}} Basic programming can find additional information in the Developer's Guide on {{OOo}} Basic and {{OOo}} programming.
  
  
程序员希望直接在Java或C++ (而不是 {{OOo}} 基本应查阅《 {{OOo}} 开发者指南》,而此指南。 {{OOo}} 编程Java或C++ 是一个相当较复杂的进程编程 {{OOo}} Basic。
+
{{OOo}}{{OOo}}{{OOo}}{{OOo}}
  
  
{{InterWiki Languages BasicGuide|articletitle=Documentation/BASIC Guide}}
+
{{InterWiki Languages BasicGuide|articletitle=}}
 +
{{PDL1}}
  
{{PDL1}}[[Category:G11n Wiki Translation Testing]]
+
[[Category:G11n Wiki Translation]]

Revision as of 14:44, 21 October 2009


PDF Icon.gif Download as a PDF or ODT



中文 This guide provides an introduction to programming with Apache OpenOffice Basic. 中文 To get the most out of this book, you should be familiar with other programming languages. 中文 Extensive examples are provided to help you quickly develop your own Apache OpenOffice Basic programs.


中文 This guide divides information about Apache OpenOffice administration into several chapters. 中文 The first three chapters introduce you to Apache OpenOffice Basic:



中文 These chapters provide an overview of Apache OpenOffice Basic and should be read by anyone who intends to write Apache OpenOffice Basic programs. 中文 The remaining chapters describe the individual components of the Apache OpenOffice API in more detail and can be read selectively as required:



Apache OpenOffice

中文 测试The Apache OpenOffice Basic programming language has been developed especially for Apache OpenOffice and is firmly integrated in the Office package.


中文 As the name suggests, Apache OpenOffice Basic is a programming language from the Basic family. Anyone who has previously worked with other Basic languages — in particular with Visual Basic or Visual Basic for Applications (VBA) from Microsoft — will quickly become accustomed to Apache OpenOffice Basic. Large sections of the basic constructs of Apache OpenOffice Basic are compatible with Visual Basic.


The Apache OpenOffice Basic programming language can be divided into four components:


  • The language of Apache OpenOffice Basic: Defines the elementary linguistic constructs, for example, for variable declarations, loops, and functions.
  • The runtime library: Provides standard functions which have no direct reference to Apache OpenOffice, for example, functions for editing numbers, strings, date values, and files.
  • The Apache OpenOffice API (Application Programming Interface): Permits access to Apache OpenOffice documents and allows these to be created, saved, modified, and printed.
  • The Dialog Editor: Creates personal dialog windows and provides scope for the adding of control elements and event handlers.


Template:Documentation/Note


Apache OpenOffice

The scope of application for Apache OpenOffice Basic begins where the standard functions of Apache OpenOffice end. Routine tasks can therefore be automated in Apache OpenOffice Basic, links can be made to other programs — for example to a database server — and complex activities can be performed at the press of a button by using predefined scripts.


Apache OpenOffice Basic offers complete access to all Apache OpenOffice functions, supports all functions, modifies document types, and provides options for creating personal dialog windows.


Apache OpenOffice

Apache OpenOffice Basic can be used by any Apache OpenOffice user without any additional programs or aids. Even in the standard installation, Apache OpenOffice Basic has all the components needed to create its own Basic macros, including:


  • The integrated development environment (IDE) which provides an editor for creating and testing macros.
  • The interpreter, which is needed to run Apache OpenOffice Basic macros.
  • The interfaces to various Apache OpenOffice applications, which allow for direct access to Office documents.


==

The components of the Apache OpenOffice API that are discussed in this guide were selected based on their practical benefits for the Apache OpenOffice Basic programmer. In general, only parts of the interfaces are discussed. 有关详细图像,请参见 《API参考


Documentation/DevGuide/OpenOffice.org_Developers_GuideApache OpenOfficeAnyone who is already familiar with Apache OpenOffice Basic programming can find additional information in the Developer's Guide on Apache OpenOffice Basic and Apache OpenOffice programming.


Apache OpenOfficeApache OpenOfficeApache OpenOfficeApache OpenOffice


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