Section Properties (SEP)

b10

b16

field

type

size

bitfield

comments

0

0

bkc

uns char

break code:
0 No break
1 New column
2 New page
3 Even page
4 Odd page

1

1

fTitlePage

uns char

set to 1 when a title page is to be displayed

2

2

fAutoPgn

char

only for Mac compatibility, used only during open, when 1, sep.dxaPgn and sep.dyaPgn are valid page number locations

3

3

nfcPgn

uns char

page number format code:
0 Arabic
1 Roman (upper case)
2 Roman (lower case)
3 Letter (upper case)
4 Letter (lower case)

4

4

fUnlocked

uns char

set to 1, when a section in a locked document is unlocked

5

5

cnsPgn

uns char

chapter number separator for page numbers

6

6

fPgnRestart

uns char

set to 1 when page numbering should be restarted at the beginning of this section

7

7

fEndNote

uns char

when 1, footnotes placed at end of section. When 0, footnotes are placed at bottom of page.

8

8

lnc

char

line numbering code:
0 Per page
1 Restart
2 Continue

9

9

grpfIhdt

char

specification of which headers and footers are included in this section. See explanation in Headers and Footers topic. No longer used.

10

A

nLnnMod

uns short

if 0, no line numbering, otherwise this is the line number modulus (e.g. if nLnnMod is 5, line numbers appear on line 5, 10, etc.)

12

C

dxaLnn

long

distance of

16

10

dxaPgn

short

when fAutoPgn ==1, gives the x position of auto page number on page in twips (for Mac compatibility only)

18

12

dyaPgn

short

when fAutoPgn ==1, gives the y position of auto page number on page in twips (for Mac compatibility only)

20

14

fLBetween

char

when ==1, draw vertical lines between columns

21

15

vjc

char

vertical justification code
0 top justified
1 centered
2 fully justified vertically

3

bottom justified

22

16

dmBinFirst

uns short

bin number supplied from windows printer driver indicating which bin the first page of section will be printed.

24

18

dmBinOther

uns short

bin number supplied from windows printer driver indicating which bin the pages other than the first page of section will be printed.

26

1A

dmPaperReq

uns short

dmPaper code for form selected by user

28

1C

brcTop

BRC

top page border

32

20

brcLeft

BRC

left page border

36

24

brcBottom

BRC

bottom page border

40

28

brcRight

BRC

right page border

44

2C

fPropRMark

short

when 1, properties have been changed with revision marking on

46

2E

ibstPropRMark

short

index to author IDs stored in hsttbfRMark. used when properties have been changed when revision marking was enabled

48

30

dttmPropRMark

DTTM

Date/time at which properties of this were changed for this run of text by the author. (Only recorded when revision marking is on.)

52

34

dxtCharSpace

long

56

38

dyaLinePitch

long

60

3C

clm

uns short

62

3E

short

reserved

64

40

dmOrientPage

uns char

orientation of pages in that section. set to 0 when portrait, 1 when landscape

65

41

iHeadingPgn

uns char

heading number level for page number

66

42

pgnStart

uns short

user specified starting page number.

68

44

lnnMin

short

beginning line number for section

70

46

wTextFlow

uns short

72

48

short

reserved

74

4A

pgbProp

short

page border properties

74

4A

pgbApplyTo

short

:3

0007

page border applies to:
0 all pages in this section
1 first page in this section
2 all pages in this section but first
3 whole document (all sections)

pgbPageDepth

short

:2

0018

page border depth:
0 in front
1 in back

pgbOffsetFrom

short

:3

00E0

page border offset from:
0 offset from text
1 offset from edge of page

short

:8

FF00

reserved

76

4C

xaPage

uns long

default value is 12240 twipswidth of page

80

50

yaPage

uns long

default value is 15840 twipsheight of page

84

54

xaPageNUp

uns long

used internally by Word

88

58

yaPageNUp

uns long

used internally by Word

92

5C

dxaLeft

uns long

default value is 1800 twipsleft margin

96

60

dxaRight

uns long

default value is 1800 twipsright margin

100

64

dyaTop

long

default value is 1440 twipstop margin

104

68

dyaBottom

long

default value is 1440 twipsbottom margin

108

6C

dzaGutter

uns long

default value is 0 twips gutter width

112

70

dyaHdrTop

uns long

y position of top header measured from top edge of page.

116

74

dyaHdrBottom

uns long

y position of bottom header measured from top edge of page.

120

78

ccolM1

short

number of columns in section - 1.

122

7A

fEvenlySpaced

char

when == 1, columns are evenly spaced. Default value is 1.

123

7B

char

reserved

124

7C

dxaColumns

long

distance that will be maintained between columns

128

80

rgdxaColumnWidthSpacing array of XA

array of 89 longs that determine bounds of irregular width columns

484

1E4

dxaColumnWidth

long

used internally by Word

488

1E8

dmOrientFirst

uns char

489

1E9

fLayout

uns char

used internally by Word

490

1EA

short

reserved

492

1EC

olstAnm

OLST

multilevel autonumbering list data (see OLST definition)


The standard SEP is all zeros except as follows:

bkc

2 (new page)

dyaPgn

720 twips (equivalent to .5 in)

dxaPgn

720 twips

fEndnote

1 (True)

fEvenlySpaced

1 (True)

xaPage

12240 twips

yaPage

15840 twips

xaPageNUp

12240 twips

yaPageNUp

15840 twips

dyaHdrTop

720 twips

dyaHdrBottom

720 twips

dmOrientPage

1 (portrait orientation)

dxaColumns

720 twips

dyaTop

1440 twips

dxaLeft

1800 twips

dyaBottom

1440 twips

dxaRight

1800 twips

pgnStart

1


cbSEP (count of bytes of SEP) is 704(decimal), 2C0(hex).