SmartDocument Interface

The SmartDocument property of the Microsoft Office Word 2003 Document object and the Microsoft Office Excel 2003 Workbook object returns a SmartDocument object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
<GuidAttribute("000C0377-0000-0000-C000-000000000046")> _
Public Interface SmartDocument _
    Inherits _IMsoDispObj
'Usage
Dim instance As SmartDocument
[GuidAttribute("000C0377-0000-0000-C000-000000000046")]
public interface SmartDocument : _IMsoDispObj

Remarks

Use the SmartDocument object to manage the XML expansion pack attached to the active document.

Use the SmartDocument object's SolutionID and the SolutionURL properties to retrieve information about the XML expansion pack attached to the active document or workbook. Use the PickSolution method to allow the user to select an available XML expansion pack from a list to attach to the active document or workbook. Use the RefreshPane method to refresh the smart document's Document Actions task pane.

The SmartDocument object model is available whether or not a document has an XML expansion pack attached. The SmartDocument property of the Document or Workbook objects does not return Nothing when the active document has no XML expansion pack attached. Examine the SolutionID property to determine whether the active document has an XML expansion pack attached.

See Also

Reference

SmartDocument Members

Microsoft.Office.Core Namespace