2.4.2 DocumentAtom

Referenced by: DocumentContainer

An atom record that specifies information about the entire document.


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

rh

...

slideSize

...

notesSize

...

serverZoom

...

notesMasterPersistIdRef

handoutMasterPersistIdRef

firstSlideNumber

slideSizeType

fSaveWithFonts

fOmitTitlePlace

fRightToLeft

fShowComments

rh (8 bytes): A RecordHeader structure (section 2.3.1) that specifies the header for this record. Sub-fields are further specified in the following table.

Field

Meaning

rh.recVer

MUST be 0x1.

rh.recInstance

MUST be 0x000.

rh.recType

MUST be RT_DocumentAtom (section 2.13.24).

rh.recLen

MUST be 0x00000028.

slideSize (8 bytes): A PointStruct structure (section 2.12.5) that specifies the dimensions of the presentation slides in master units. Sub-fields are further specified in the following table.

Field

Meaning

slideSize.x

Specifies the width. It MUST be greater than or equal to 0x00000240 and less than or equal to 0x00007E00.

slideSize.y

Specifies the height. It MUST be greater than or equal to 0x00000240 and less than or equal to 0x00007E00.

notesSize (8 bytes): A PointStruct structure that specifies the dimensions of the notes slides and handout slides in master units. Sub-fields are further specified in the following table.

Field

Meaning

notesSize.x

Specifies the width. It MUST be greater than or equal to 0x00000240 and less than or equal to 0x00007E00.

notesSize.y

Specifies the height. It MUST be greater than or equal to 0x00000240 and less than or equal to 0x00007E00.

serverZoom (8 bytes): A RatioStruct structure (section 2.12.6) that specifies a zoom level for visual representations of the document in Object Linking and Embedding (OLE) scenarios. The ratio specified by this field MUST be greater than zero.

notesMasterPersistIdRef (4 bytes): A PersistIdRef (section 2.2.21) that specifies the value to look up in the persist object directory to find the offset of a NotesContainer record (section 2.5.6) that specifies the notes master slide.

handoutMasterPersistIdRef (4 bytes): A PersistIdRef that specifies the value to look up in the persist object directory to find the offset of a HandoutContainer record (section 2.5.8) that specifies the handout master slide.

firstSlideNumber (2 bytes): An unsigned integer that specifies the starting number for numbering slides. It MUST be less than 10000.

slideSizeType (2 bytes): A SlideSizeEnum enumeration (section 2.13.26) that specifies the type of a presentation slide size.

fSaveWithFonts (1 byte): A bool1 (section 2.2.2) that specifies whether fonts are embedded in the document.

fOmitTitlePlace (1 byte): A bool1 that specifies whether placeholder shapes on the title slide are not displayed.

fRightToLeft (1 byte): A bool1 that specifies whether the user interface displays the document optimized for right-to-left languages.

fShowComments (1 byte): A bool1 that specifies whether presentation comments are displayed.