R
Roel Vanhout
Hi,
I have a requirement to remove the 'author' and 'company' properties
from Word documents programmatically (these are the properties that you
can see when going to 'File->Properties'). I thought I could automate
Word to do this, but I can't find any properties in the object model
that correspond to these properties - is it possible?
Alternatively I'll have to edit the .doc files 'the hard way', i.e. by
opening it and writing to it from code (using fopen() etc.). Is there
any documentation on the Word file format that describes how I can get
the offset of where this data is stored in the .doc file? I've briefly
looked at some .doc files in a hex editor but I don't really see a
pattern on where the properties are located in the document. Thanks.
cheers,
roel
I have a requirement to remove the 'author' and 'company' properties
from Word documents programmatically (these are the properties that you
can see when going to 'File->Properties'). I thought I could automate
Word to do this, but I can't find any properties in the object model
that correspond to these properties - is it possible?
Alternatively I'll have to edit the .doc files 'the hard way', i.e. by
opening it and writing to it from code (using fopen() etc.). Is there
any documentation on the Word file format that describes how I can get
the offset of where this data is stored in the .doc file? I've briefly
looked at some .doc files in a hex editor but I don't really see a
pattern on where the properties are located in the document. Thanks.
cheers,
roel