Solved

*.DOC header Q.

Posted on 2000-03-02
3
491 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Outlook Free & Paid Tools
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

830 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