Office 对象介绍
l Word Document 对象:
Ø XMLSchemaViolations
Ø XMLShowAdvancedErrors
Ø XMLUseXSLTWhenSaving
Ø TransformDocument
Ø XMLAfterInsert 和 XMLBeforeDelete

| XMLSchemaViolations - A property that returns a collection of elements that have validation errors.
| XMLShowAdvancedErrors – A property that allows the display of more advanced validation-error messages in the Word user interface when users rest their mouse pointer on visual validation-error cues (purple squiggles or strikeout symbols). The advanced validation errors come straight from the MSXML parser 5.0.
| XMLUseXSLTWhenSaving - A property that specifies whether a transform should be applied when saving as XML.
| TransformDocument – A method that applies the specified transform to the document immediately and then reopens the document.
| XMLAfterInsert and XMLBeforeDelete – Events that fire after an insert or before a delete of an element in the document.