Share via


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)

Usage

Public Class martDocumentImplementation
    Implements SmartDocument
End Class
Dim martDocumentImplementation1 As New martDocumentImplementation()

Syntax

Public Interface SmartDocument
    Inherits _IMsoDispObj
public interface SmartDocument : _IMsoDispObj
public interface class SmartDocument : public _IMsoDispObj
public interface SmartDocument implements _IMsoDispObj
public interface SmartDocument implements _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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

SmartDocument Members