Solved

*.DOC header Q.

Posted on 2000-03-02
3
489 Views
Last Modified: 2012-05-04
Out of interest, I would like to know how a Word Document header is arranged, (and if it is substantially different v6 to 32-bit).

But my question is, "How can I reliably determine where the body of a document begins?

Brian
0
Comment
Question by:BrianWren
3 Comments
 
LVL 3

Expert Comment

by:Dassa
ID: 2584317
Hex D9 appears to be the marker indicating the end of the header area in a Word Document.  At least for Word 2000.  There are two spaces after the D9 and then the text body starts.
0
 
LVL 5

Accepted Solution

by:
vboukhar earned 50 total points
ID: 2591672
Look at http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/laola.html - it's the only site in the Web with OLE compound file structure description. Microsoft doesn't publish it!
So you have to read header (first big block - 512b) and reconstruct BBD to know, where text body really starts.
Hope it helps.
0
 
LVL 9

Author Comment

by:BrianWren
ID: 2592341
A truly helpful site.  (Actually, it  _LED_  me to a truly helpful site,

http://www.wotsit.org/

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Perhaps more familiar to developers who primarily use VBScript than to developers who tend to work only with Microsoft Office and Visual Basic for Applications (VBA), the Dictionary is a powerful and versatile class, and is useful …
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now