MICROSOFT OFFICE WORD 97-2007 BINARY FILE FORMAT ...
[Pages:210]MICROSOFT OFFICE WORD 97-2007 BINARY FILE FORMAT SPECIFICATION
[*.doc]
Includes Binary File Format Documentation Relevant To:
Microsoft Office Word 2007 Microsoft Office Word 2003 Microsoft Office Word 2002 Microsoft Office Word 2000 Microsoft Office Word 1997
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 1 of 210
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
NOTICE
This specification is provided under the Microsoft Open Specification Promise. For further details on the Microsoft Open Specification Promise, please refer to: . You are free to copy, display and perform this specification, to make derivative works of this specification, and to distribute the specification, however distribution rights are limited to unmodified copies of the original specification and any redistributed copies of the specification must retain its attribution of Microsoft's rights in the copyright of the specification, this full notice, and the URL to the webpage containing the most current version of the specification as provided by Microsoft.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in these materials. Except as expressly provided in the Microsoft Open Specification Promise and this notice, the furnishing of these materials does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
The information contained in this document represents the point-in-time view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of authoring.
Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, email address, logo, person, place or event is intended or should be inferred.
?2007 Microsoft Corporation. All rights reserved.
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 2 of 210
Microsoft, Windows, Windows NT, Windows Server, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 3 of 210
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 4 of 210
Table of Contents
Table of Contents .......................................................................................................4 Note .........................................................................................................................8 Additions to Word 2007...............................................................................................8 Word and .Doc Files....................................................................................................8 Definitions............................................................................................................... 10 Naming Conventions................................................................................................. 20 Format of the Summary Info Stream in a Word File ...................................................... 21 Format of the Main Stream in a Word Non-Complex File................................................ 21 Format of the Main Stream in a Complex File ............................................................... 22 Format of the Table Stream ....................................................................................... 22 Format of the Data Stream ........................................................................................ 27 Format of the Custom XML Storage (Added in Word 2007) ............................................ 28 FIB ......................................................................................................................... 28 Text ....................................................................................................................... 29 Character and Paragraph Formatting Properties ........................................................... 32 Bin Tables ............................................................................................................... 34 Style Sheet ............................................................................................................. 34
STSHI ....................................................................................................... 36 Introduced in Word 2003: ........................................................................... 37 STD .......................................................................................................... 38 List Tables............................................................................................................... 47 LST Records and the rglst .............................................................................. 47 List Names and the sttbListNames................................................................... 48 LFO Records and the pllfo .............................................................................. 48 Paragraph List Formatting .............................................................................. 48 SPRM Definitions ...................................................................................................... 49 Paragraph SPRMs .......................................................................................... 50 Character SPRMs .......................................................................................... 56 Picture SPRMs .............................................................................................. 62 Section SPRMs .............................................................................................. 63 Table sprms ................................................................................................. 66 Complex SPRMs ............................................................................................ 72 Complex Paragraph SPRMs .......................................................................... 72 Complex Character SPRMs........................................................................... 75 Complex Picture SPRMs............................................................................... 78 Complex Section SPRMs .............................................................................. 78
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 5 of 210
Complex Table SPRMs ................................................................................. 79
Complex File Format ................................................................................................. 83
Algorithm to determine the BOUNDS OF A PARAGRAPH containing a certain character in a complex file ........................................................................................... 84 Algorithm to determine PARAGRAPH PROPERTIES for a paragraph in a complex file .................................................................................................................. 84 Algorithm to determine TABLE PROPERTIES for a table row in a complex file ........ 85 Algorithm to determine the CHARACTER PROPERTIES of a character in a complex file .................................................................................................................. 85 Algorithm to determine the SECTION PROPERTIES of a section in a complex file ... 86 Algorithm to determine the PIC of a picture in a complex file. ............................. 86 Footnotes & Endnotes ............................................................................................... 86
Headers and Footers................................................................................................. 87
Page Table .............................................................................................................. 88
Glossary Files .......................................................................................................... 88
Routing Slip............................................................................................................. 89
Auto Summary......................................................................................................... 89
STTBFASSOC (Table of Associated Strings).................................................................. 89
Structure Definitions................................................................................................. 90
AnnoTation Reference Descriptor for Word 2000 (ATRDPre10) ............................ 90 AnnoTation Reference Descriptor Additions for Word 2002 (ATRDPost10) ............. 90 AnnoTation Reference Descriptor (ATRD) ......................................................... 92 Auto Numbered List Data Descriptor (ANLD)..................................................... 92 Auto Numbered List Data Descriptor for Word 97 (ANLD80) ............................... 92 Auto Number Level Descriptor (ANLV) ............................................................. 92
Number Format Table ................................................................................. 94
Auto Number Level Descriptor for Word 97 (ANLV80) ........................................ 95 AutoSummary Analysis (ASUMY)..................................................................... 95 AutoSummary Info (ASUMYI) ......................................................................... 96 Bin Table Entry (BTE) .................................................................................... 96 BreaK Descriptor (BKD) ................................................................................. 96 BooKmark First descriptor (BKF) ..................................................................... 97 BooKmark Lim descriptor (BKL) ...................................................................... 97 Border Code (BRC) ........................................................................................ 97 Border Code for Word 97 (BRC80)................................................................... 99 Border Code for Windows Word 95 (BRC70) ................................................... 100 Border Code for WinWord 1.0 (BRC10) .......................................................... 101 Character Properties (CHP) .......................................................................... 101
Table of LIDs ........................................................................................... 110
Character Property Exceptions (CHPX) ........................................................... 116 Date and Time (internal date format) (DTTM) ................................................. 116
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 6 of 210
Drop Cap Specifier(DCS) .............................................................................. 116 Document Properties (DOP).......................................................................... 117
Number Format Table ............................................................................... 133
Drawing Object Grid (DOGRID) ..................................................................... 135 Document Typography Info (DOPTYPOGRAPHY) .............................................. 135 Field Descriptor (FLD) .................................................................................. 136 File Shape Address (FSPA) ........................................................................... 139 Font Family Name (FFN) .............................................................................. 140 File Information Block (FIB).......................................................................... 141 Footnote Reference Descriptor (FRD) ............................................................. 167 Formatted Disk Page for CHPXs (CHPX FKP) ................................................... 167 Formatted Disk Page for PAPXs (PAPX FKP) .................................................... 168 Hyphenation (HRESI) .................................................................................. 169 List LeVeL (on File) (LVLF) ........................................................................... 169 Line Spacing Descriptor (LSPD)..................................................................... 170 LiST Data (on File) (LSTF) ............................................................................ 170 List Format Override (LFO) ........................................................................... 171 List Format Override for a single LeVeL (LFOLVL) ............................................ 172 Outline LiST Data (OLST) ............................................................................. 172 Outline LiST Data for Word 97 (OLST80) ........................................................ 172 Number Revision Mark Data (NUMRM) ........................................................... 172 Page Descriptor (PGD) ................................................................................. 173 Paragraph Height (PHE) ............................................................................... 174 Paragraph Properties (PAP) .......................................................................... 175 Paragraph Property Exceptions (PAPX)........................................................... 180 Picture Bullet Information (PBI) .................................................................... 180 Picture Descriptor (on File) (PICF) ................................................................. 181 Piece Descriptor (PCD)................................................................................. 183 Plex of CPs stored in File (PLCF).................................................................... 183 Property Modifier(variant 1) (PRM) ................................................................ 183 Property Modifier(variant 2) (PRM) ................................................................ 184 Routing Slip (RS) ........................................................................................ 184 Routing Recipient (RR) ................................................................................ 185 Section Descriptor (SED) ............................................................................. 185 Section Properties (SEP) .............................................................................. 185 Section Property Exceptions (SEPX) .............................................................. 189 Shading Descriptor (SHD) ............................................................................ 189 Shading Descriptor for Word 97 (SHD80) ....................................................... 190 Spelling State Mark (SPLS)........................................................................... 191 Tab Descriptor (TBD)................................................................................... 191 Table Cell Descriptors (TC) ........................................................................... 192 Table Cell Diagonal Borders (TCD) ................................................................ 194 Table Autoformat Look sPecifier (TLP)............................................................ 194
Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Page 7 of 210
Table Properties (TAP) ................................................................................. 197 TeXtBoX Story (FTXBXS).............................................................................. 203 WorK Book (WKB) ....................................................................................... 203 Information Rights Management (IRM) ..................................................................... 204
DataSpaces ................................................................................................ 204 DRMContent ............................................................................................... 204 DRMViewerContent ..................................................................................... 204 Appendix A - Reading a Macintosh PICT Graphic......................................................... 205
Appendix B ? Calculation of font (FTC) and language (LID).......................................... 206
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- microsoft office 2019 pro plus 2007 full version kuyhaa
- essential microsoft office 2007 tutorials for teachers
- microsoft excel 2007 free download get into pc
- excel 2007 free training manual
- microsoft excel 2007 california state university
- microsoft excel 2007 basics for windows
- excel basics microsoft office 2007
- microsoft office 2007 free pdf tutorials downloads
- how to use microsoft excel 2007 uw madison chemistry
- microsoft office word 97 2007 binary file format
Related searches
- microsoft office word 2010 free download
- microsoft office word windows 10 free download
- microsoft office word free download windows 7
- microsoft office word 2007 free install
- microsoft office word download for pc free
- microsoft office word online free
- microsoft office word 2019 free download
- free microsoft office word 2007 download
- microsoft office word 2007 download install
- microsoft office word 2007 free download pc
- microsoft office word templates 2010
- microsoft office word 2019 download