07.05.2014 Views

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

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.

5 Worksheet/Workbook Records<br />

5.73 PAGESETUP<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

— — 00A1 H 00A1 H 00A1 H<br />

This record is part of the Page Settings Block (➜4.4). It stores the page format settings of the current sheet. <strong>The</strong> pages<br />

may be scaled in percent or by using an absolute number of pages. This setting is located in the SHEETPR record<br />

(➜5.97). If pages are scaled in percent, the scaling factor in this record is used, otherwise the “Fit to pages” values. One<br />

of the “Fit to pages” values may be 0. In this case the sheet is scaled to fit only to the other value.<br />

• Record Contents<br />

Record PAGESETUP, BIFF4:<br />

Offset Size Contents<br />

0 2 Paper size (see below)<br />

2 2 Scaling factor in percent<br />

4 2 Start page number<br />

6 2 Fit worksheet width to this number of pages (0 = use as many as needed)<br />

8 2 Fit worksheet height to this number of pages (0 = use as many as needed)<br />

10 2 Option flags:<br />

Bit Mask Contents<br />

0 0001 H 0 = Print pages in columns 1 = Print pages in rows<br />

1 0002 H 0 = Landscape 1 = Portrait<br />

2 0004 H 1 = Paper size, scaling factor, and paper orientation<br />

(portrait/landscape) are not initialised<br />

3 0008 H 0 = Print coloured 1 = Print black and white<br />

192

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

Saved successfully!

Ooh no, something went wrong!