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.

Formatting Spreadsheet Documents 138<br />

Page Properties<br />

Page properties are the formatting options that position document content on a page as<br />

well as visual elements that are repeated page after page. These include<br />

• Paper formats<br />

• Page margins<br />

• Headers and footers.<br />

The procedure for defining page formats differs from other forms of formatting. Whereas<br />

cell, paragraph, and character elements can be formatted directly, page formats can also be<br />

defined and indirectly applied using page styles. For example, headers or footers are added<br />

to the page style.<br />

The following sections describe the main formatting options for spreadsheet pages. Many of<br />

the styles that are described are also available for text documents. The page properties that<br />

are valid for both types of documents are defined in the<br />

com.sun.star.style.PageProperties<br />

service. The page properties that only apply to spreadsheet documents are defined in the<br />

service.<br />

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

The page properties (page margins, borders, and so on) for a Microsoft Office document are defined by<br />

means of a PageSetup object at the Worksheet object (Excel) or Document object (Word) level. In<br />

<strong>OpenOffice</strong>.<strong>org</strong>, these properties are defined using a page style which in turn is linked to the associated<br />

document.<br />

Page Background<br />

The<br />

com.sun.star.style.PageProperties<br />

service defines the following properties of a pages background:<br />

BackColor (long)<br />

color of background<br />

BackGraphicURL (String)<br />

URL of the background graphics that you want to use<br />

BackGraphicFilter (String)<br />

name of the filter for interpreting the background graphics<br />

BackGraphicLocation (Enum)<br />

position of the background graphics (value according to enumeration)<br />

BackTransparent (Boolean)<br />

makes the background transparent

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

Saved successfully!

Ooh no, something went wrong!