Edit

Share via


SmartDocument Interface

Definition

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

public interface class SmartDocument : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0377-0000-0000-C000-000000000046")]
public interface SmartDocument : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0377-0000-0000-C000-000000000046")>]
type SmartDocument = interface
    interface _IMsoDispObj
Public Interface SmartDocument
Implements _IMsoDispObj
Attributes
Implements

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(Boolean) 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.

Properties

Application

Returns an Application object that represents the container application for the object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

SolutionID

Returns or sets the ID, often a globally unique identifier (GUID), which identifies the XML expansion pack attached to the active Microsoft Office Word 2003 document or Microsoft Office Excel 2003 workbook.

SolutionURL

Returns or sets an absolute URL that provides the complete path to the XML expansion pack file attached to the active Microsoft Office Word 2003 document or Microsoft Office Excel 2003 workbook.

Methods

PickSolution(Boolean)

Displays a dialog box which allows the user to choose an available XML expansion pack to attach to the active Microsoft Office Word 2003 document or Microsoft Office Excel 2003 workbook.

RefreshPane()

Refreshes the Document Actions task pane for the active Microsoft Office Word 2003 document or Microsoft Office Excel 2003 workbook.

Applies to