2.4.90 BrtBeginHeaderFooter

The BrtBeginHeaderFooter record specifies the header and footer information for a sheet and specifies the beginning of an empty collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF, the Chart Sheet (section 2.1.7.7) part ABNF, the Dialog Sheet (section 2.1.7.20) part ABNF, and the Macro Sheet (section 2.1.7.32) part ABNF.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

B

C

D

reserved

stHeader (variable)

...

stFooter (variable)

...

stHeaderEven (variable)

...

stFooterEven (variable)

...

stHeaderFirst (variable)

...

stFooterFirst (variable)

...

A - fHFDiffOddEven (1 bit):  A bit that specifies that the header and footer used on even-numbered printed pages are different from those used on odd-numbered printed pages.

B - fHFDiffFirst (1 bit):  A bit that specifies that the header and footer used on the first printed page are different from those used on subsequent pages.

C - fHFScaleWithDoc (1 bit):  A bit that specifies that the headers and footers scale with the print scale.

D - fHFAlignMargins (1 bit):  A bit that specifies that the headers and footers align with the page margins.

reserved (12 bits):  This value MUST be 0 and MUST be ignored.

stHeader (variable):  A HeaderFooterString (section 2.5.73) that specifies the contents of the header. This header is used for odd-numbered pages except for the first page. If fHFDiffOddEven is 0, this header also is used for even-numbered pages. If fHFDiffFirst is 0, this header also is used for the first page.

stFooter (variable):  A HeaderFooterString that specifies the contents of the footer. This footer is used for odd-numbered pages except for the first page. If fHFDiffOddEven is 0, this footer also used for even-numbered pages. If fHFDiffFirst is 0 this footer also is used for the first page.

stHeaderEven (variable):  A HeaderFooterString that specifies the contents of the header for even-numbered printed pages. This field MUST be ignored if fHFDiffOddEven is 0.

stFooterEven (variable):  A HeaderFooterString that specifies the contents of the footer for even-numbered printed pages. This field MUST be ignored if fHFDiffOddEven is 0.

stHeaderFirst (variable):  A HeaderFooterString (section 2.5.73) that specifies the contents of the header for the first printed page. This field MUST be ignored if fHFDiffFirst is 0.

stFooterFirst (variable):  A HeaderFooterString that specifies the contents of the footer for the first printed page. This field MUST be ignored if fHFDiffFirst is 0.