Am Sa, den 14.05.2005 schrieb Brian Raymond um 20:55:
> I have a need to strip all metadata on a document programmatically that's
> not required for operation. I currently use the DocumentInfo interface and
> can access the properties and set everything that isn't required to anemptty
> sring however I have a couple of small problems.
[...]
> I also noticed that the DocumentInfo interface doesn't include the Info1-4
> tags that are present in the properties of all documents. I didn't notice
> this at first because I thought DocumentInfo helf it all. Is there any
> generic interface applicable to all documents which also contains these?

This works on 1.0.1:

        dim st as string
        st=""
        for i=0 to info.getUserFieldCount()-1
                st = st + info.getUserFieldName(i) + info.getUserFieldValue(i) 
+ ":"
        next
        msgbox(St)

HTH,
Marc



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to