Section Properties (SEP)

b10b16fieldtypecomments
00bkcuns charbreak code:
0 No break
1 New column
2 New page
3 Even page
4 Odd page
11fTitlePageuns charset to 1 when a title page is to be displayed
22fAutoPgncharonly for Mac compatibility, used only during open, when 1, sep.dxaPgn and sep.dyaPgn are valid page number locations
33nfcPgnuns charpage number format code:
0 Arabic
1 Roman (upper case)
2 Roman (lower case)
3 Letter (upper case)
4 Letter (lower case)
44fUnlockeduns char set to 1, when a section in a locked document is unlocked
55cnsPgnuns charchapter number separator for page numbers
66fPgnRestartuns charset to 1 when page numbering should be restarted at the beginning of this section
77fEndNoteuns charwhen 1, footnotes placed at end of section. When 0, footnotes are placed at bottom of page.
88lnccharline numbering code:
0 Per page
1 Restart
2 Continue
99grpfIhdtcharspecification of which headers and footers are included in this section. See explanation in Headers and Footers topic. No longer used.
10AnLnnModuns shortif 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.)
12CdxaLnnlongdistance of
1610dxaPgnshortwhen fAutoPgn ==1, gives the x position of auto page number on page in twips (for Mac compatibility only)
1812dyaPgnshortwhen fAutoPgn ==1, gives the y position of auto page number on page in twips (for Mac compatibility only)
2014fLBetweencharwhen ==1, draw vertical lines between columns
2115vjccharvertical justification code
0 top justified
1 centered
2 fully justified vertically
3 bottom justified
2216dmBinFirstuns shortbin number supplied from windows printer driver indicating which bin the first page of section will be printed.
2418dmBinOtheruns shortbin number supplied from windows printer driver indicating which bin the pages other than the first page of section will be printed.
261AdmPaperRequns shortdmPaper code for form selected by user
281CbrcTopBRCtop page border
3220brcLeftBRCleft page border
3624brcBottomBRCbottom page border
4028brcRightBRCright page border
442CfPropRMarkshortwhen 1, properties have been changed with revision marking on
462EibstPropRMarkshortindex to author IDs stored in hsttbfRMark. used when properties have been changed when revision marking was enabled
4830dttmPropRMarkDTTMDate/time at which properties of this were changed for this run of text by the author. (Only recorded when revision marking is on.)
5234dxtCharSpacelong 
5638dyaLinePitchlong 
603Cclmuns short 
623E shortreserved
6440dmOrientPageuns charorientation of pages in that section. set to 0 when portrait, 1 when landscape
6541iHeadingPgnuns charheading number level for page number
6642pgnStartuns shortuser specified starting page number.
6844lnnMinshortbeginning line number for section
7046wTextFlowuns short 
7248 shortreserved
744ApgbPropshort  page border properties
744ApgbApplyToshort:30007page 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)
  pgbPageDepthshort:20018page border depth:
0 in front
1 in back
  pgbOffsetFromshort:300E0page border offset from:
0 offset from text
1 offset from edge of page
   short:8FF00reserved
764CxaPageuns long  default value is 12240 twips
width of page
8050yaPageuns long  default value is 15840 twips
height of page
8454xaPageNUpuns long  used internally by Word
8858yaPageNUpuns long  used internally by Word
925CdxaLeftuns long  default value is 1800 twips
left margin
9660dxaRightuns long  default value is 1800 twips
right margin
10064dyaToplong  default value is 1440 twips
top margin
10468dyaBottomlong  default value is 1440 twips
bottom margin
1086CdzaGutteruns long  default value is 0 twips
gutter width
11270dyaHdrTopuns long  y position of top header measured from top edge of page.
11674dyaHdrBottomuns long  y position of bottom header measured from top edge of page.
12078ccolM1short  number of columns in section - 1.
1227AfEvenlySpacedchar  when == 1, columns are evenly spaced. Default value is 1.
1237B char  reserved
1247CfBiDiuns char  Section direction. 0 is LTR section, 1 is RTL section.
1257DfFacingColuns char  Facing columns. Obsolete.
1267EfRTLGutteruns char  Gutter placement. 0 is normal (Latin) placement, 1 is reversed (BiDi) placement.
1277FfRTLAlignmentuns char 1 Alignment is Right to Left.
128 80dxaColumnslong  distance that will be maintained between columns

132

84 rgdxaColumnWidthSpacing array of XA   array of 89 longs that determine bounds of irregular width columns

488

1E8dxaColumnWidthlong  used internally by Word

492

1ECdmOrientFirstuns char   
4931EDfLayoutuns char  used internally by Word

494

1EEshort   reserved
496 1F0olstAnmOLST  multilevel autonumbering list data (see OLST definition)

The standard SEP is all zeros except as follows:

bkc2 (new page)

dyaPgn720 twips (equivalent to .5 in)

dxaPgn720 twips

fEndnote1 (True)

fEvenlySpaced1 (True)

xaPage12240 twips

yaPage15840 twips

xaPageNUp12240 twips

yaPageNUp15840 twips

dyaHdrTop720 twips

dyaHdrBottom720 twips

dmOrientPage1 (portrait orientation)

dxaColumns720 twips

dyaTop1440 twips

dxaLeft 1800 twips

dyaBottom1440 twips

dxaRight1800 twips

pgnStart1

cbSEP (count of bytes of SEP) is 708(decimal), 2C4(hex).