V
Vincent Croft
I want to programatically retrieve a WordProcessingML version an entire
document using automation without having to save it to disk.
I am currently getting the entire document as a Range and using the XML
function or more precisely the get_XML() interop function.
This works find except that I have just noticed that some nodes in the WPML
are missing (compared with the saved file.) In particular, the document
properties and custom properties are missing.
I can see that it may be appropriate to not provide complete document
information from a function that potentially only deals with a section of the
document (though most of the other document overhead is returned.) But... how
do I get a complete version of the document xml without having to write it to
disk (not appropriate in this case.) I can't see anything but have missed
things before so any help would be much appreciated.
document using automation without having to save it to disk.
I am currently getting the entire document as a Range and using the XML
function or more precisely the get_XML() interop function.
This works find except that I have just noticed that some nodes in the WPML
are missing (compared with the saved file.) In particular, the document
properties and custom properties are missing.
I can see that it may be appropriate to not provide complete document
information from a function that potentially only deals with a section of the
document (though most of the other document overhead is returned.) But... how
do I get a complete version of the document xml without having to write it to
disk (not appropriate in this case.) I can't see anything but have missed
things before so any help would be much appreciated.