21.08.2013 Views

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Drawings and Presentations 153<br />

Drawings and Presentations<br />

Drawings and Presentations<br />

This chapter provides an introduction to the macro-controlled creation and editing of<br />

drawings and presentations.<br />

The first section describes the structure of drawings, including the basic elements that<br />

contain drawings. The second section addresses more complex editing functions, such as<br />

grouping, rotating, and scaling objects. The third section deals with presentations.<br />

Information about creating, opening, and saving drawings can be found in → Working With<br />

Documents.<br />

Source: http:/ / <strong>wiki</strong>. services. openoffice. <strong>org</strong>/ w/ index. php? title=Documentation/ <strong>BASIC</strong>_<br />

<strong>Guide</strong>/ Drawings_ Presentations&oldid=96882<br />

Principal Authors: Fpe, Ccornell<br />

The Structure of Drawings<br />

<strong>OpenOffice</strong>.<strong>org</strong> does not limit the number of pages in a drawing document. You can design<br />

each page separately. There is also no limit to the number of drawing elements that you can<br />

add to a page.<br />

Pages<br />

The pages of a drawing document are available through the DrawPages list. You can access<br />

individual pages either through their number or their name. If a document has one page<br />

and this is called Slide 1, then the following examples are identical.<br />

Example 1:<br />

Dim Doc As Object<br />

Dim Page As Object<br />

Doc = StarDesktop.CurrentComponent<br />

Page = Doc.drawPages(0)<br />

Example 2:<br />

Dim Doc As Object<br />

Dim Page As Object<br />

Doc = StarDesktop.CurrentComponent

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!