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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Spreadsheet Documents 123<br />

Spreadsheet Documents<br />

Spreadsheet Documents<br />

<strong>OpenOffice</strong>.<strong>org</strong> Basic provides an extensive interface for program-controlled creation and<br />

editing of spreadsheets. This chapter describes how to control the relevant services,<br />

methods and properties of spreadsheet documents:<br />

• → The Structure of Spreadsheets<br />

• → Editing Spreadsheet Documents<br />

The first section addresses the basic structure of spreadsheet documents and shows you<br />

how to access and to edit the contents of individual cells.<br />

The second section concentrates on how to edit spreadsheets efficiently by focusing on cell<br />

areas and the options for searching and replacing cell contents.<br />

The Range object allows you to address any table area and has been extended in the new API.<br />

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

<strong>Guide</strong>/ Spreadsheets&oldid=96876<br />

Principal Authors: Fpe, Ccornell<br />

The Structure of Spreadsheets<br />

The document object of a spreadsheet is based on the<br />

com.sun.star.sheet.SpreadsheetDocument<br />

service. Each of these documents may contain several spreadsheets. In this guide, a<br />

table-based document or spreadsheet document is the entire document, whereas a<br />

spreadsheet (or sheet for short) is a sheet (table) in the document.<br />

Different terminology for spreadsheets and their content is used in VBA and <strong>OpenOffice</strong>.<strong>org</strong> Basic.<br />

Whereas the document object in VBA is called a Workbook and its individual pages Worksheets, they<br />

are called SpreadsheetDocument and Sheet in <strong>OpenOffice</strong>.<strong>org</strong> Basic.

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

Saved successfully!

Ooh no, something went wrong!