#1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Graham Wideman [Visio MVP] Graham Wideman [Visio MVP] is offline
external usenet poster
 
Posts: 6
Default Word doc analyzer tool?

Folks:

Are there any useful tools for analyzing and troubleshooting Word docs?

I'm thinking along the lines of a tool that might read (via Automation) all
the data in the Word document model, and present all the data in some
intelligent fashion -- suitable for troubleshooting oddball problems.

Anything in that neighborhood?

Graham


  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
John McGhie [MVP - Word and Word Macintosh] John McGhie [MVP - Word and Word Macintosh] is offline
external usenet poster
 
Posts: 506
Default Word doc analyzer tool?

Hi Graham:

Yes. It's a tool called "Word" :-)

Save the document as "Web Page" (better: as "XML").

Web Page saves as XHTML, which is somewhat easier for humans to read. XML
is easier for machines to read. Either of them will get you the entire
content of the document,

Alternatively, you can save the document as RTF. RTF is very close to
Word's native format. It's huge and very convoluted, but if you open RTF in
a Text editor, you can see exactly what's in there.

Note that a Word document can include a large number of binary objects such
as graphics.

A couple of caveats:

1) If there's anything much wrong with the document, Automation cannot read
it either. Automation depends upon the internal collections in the document
object model being present and intact. If they're not, the object model
collapses.

2) Even if you get the data out, it becomes a huge job to try to analyse
what's wrong. Many of the problems you get in a Word document are due to
excessive levels of abstraction overflowing internal buffers. The code may
be "legal", but it becomes so complex that Word runs out of memory trying to
read it.

XML gives you your best shot: if you get the document out to XML, you can
read and correct most things if you know WordML very well. Regrettably, if
there's much wrong with the document, the XML output filter will fail to
complete the save.

Sorry!


On 17/8/06 8:56 AM, in article ,
"Graham Wideman [Visio MVP]" wrote:

Folks:

Are there any useful tools for analyzing and troubleshooting Word docs?

I'm thinking along the lines of a tool that might read (via Automation) all
the data in the Word document model, and present all the data in some
intelligent fashion -- suitable for troubleshooting oddball problems.

Anything in that neighborhood?

Graham



--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
Why dont MS just f**king re-write Word from scratch? Its dogsh*t Word Hater Microsoft Word Help 33 May 5th 23 02:52 PM
Word & WordPerfect MrsMac Microsoft Word Help 5 June 10th 06 03:14 AM
How can Word display full path of a file in the title bar? SAsif Microsoft Word Help 1 January 26th 06 04:32 PM
In Word, how can I see all files (*.*) in "save as"? citizen53 New Users 8 April 4th 05 04:56 PM


All times are GMT +1. The time now is 11:36 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"