does anyone use CDocProp?
Moderators: Hacker, petermad, Stefan2, white
does anyone use CDocProp?
I want use CDocProp to view the Page count of my Word 2003 doc. But why it always said the document only has one page? And the word count and char count is not same as the statistic in Office Word. Why? This plusin can not work now?
Hello 69290654,
this problem has been discussed on totalcmd.net three years ago. User comments are not allowed anymore on totalcmd.net due to massive spam attacks, and unfortunately all existing user comments has been removed. Perhaps someone here remembers the recommended solution, if there was one? Unfortunately I don't...
CDocProp gets the Page Count, Word Count and Char Count information from the Document Properties, which are stored in the SummaryInformation stream or the DocumentSummaryInformation stream, respectively (these streams does not concern NTFS streams, in fact they are parts of the file itself).
As you will notice, the shell properties dialog (context menu "Properties" or <Alt><Enter>) will show the same (wrong) values. It's not a bug of the CDocProp plugin, but a bug of MS Word. This bug is confirmed by Microsoft at least for Word2000 documents. I'm not sure, but it could concern Word2003 too: I've installed Word2003 and found many documents with wrong page/word/char count info... but possibly these documents were created with an older Word version.
In order to revise the wrong information for a document, you need to update the required document properties. Microsoft suggests to force a repagination by calling the .Repaginate method (macro or VBA module), but in my experience this will not fix the problem in all cases. I didn't find a reliable way to update the embedded document properties so far without changing the document content. If you find one, let us know, please...
this problem has been discussed on totalcmd.net three years ago. User comments are not allowed anymore on totalcmd.net due to massive spam attacks, and unfortunately all existing user comments has been removed. Perhaps someone here remembers the recommended solution, if there was one? Unfortunately I don't...
CDocProp gets the Page Count, Word Count and Char Count information from the Document Properties, which are stored in the SummaryInformation stream or the DocumentSummaryInformation stream, respectively (these streams does not concern NTFS streams, in fact they are parts of the file itself).
As you will notice, the shell properties dialog (context menu "Properties" or <Alt><Enter>) will show the same (wrong) values. It's not a bug of the CDocProp plugin, but a bug of MS Word. This bug is confirmed by Microsoft at least for Word2000 documents. I'm not sure, but it could concern Word2003 too: I've installed Word2003 and found many documents with wrong page/word/char count info... but possibly these documents were created with an older Word version.
In order to revise the wrong information for a document, you need to update the required document properties. Microsoft suggests to force a repagination by calling the .Repaginate method (macro or VBA module), but in my experience this will not fix the problem in all cases. I didn't find a reliable way to update the embedded document properties so far without changing the document content. If you find one, let us know, please...
Well, there was, and it was posted by you.van Dusen wrote:Perhaps someone here remembers the recommended solution, if there was one? Unfortunately I don't...

van Dusen wrote:It isn't a problem of CDocProp but of Word itself. To solve this problem, switch *off* the MS Word option "Allow save in background" and re-save your documents. You get the right page count even with "Save in background" *on*, if you recalculate all fields within a Word document before savin it (but it's more save to deactivate the mentioned save option).
If you speak german, look here, too:
http://ms-office-forum.net/forum/showthread.php?t=151420
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64