DocumentBase Methods

 

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

NameDescription
System_CAPS_pubmethodAcceptAllRevisions()

Accepts all tracked changes in the document.

System_CAPS_pubmethodAcceptAllRevisionsShown()

Accepts all revisions in the document that are displayed on the screen.

System_CAPS_pubmethodActivate()

Gives focus to the document.

System_CAPS_pubmethodAddToFavorites()

Creates a shortcut to the document and adds it to the Favorites folder.

System_CAPS_pubmethodApplyDocumentTheme(String)

Applies a document theme to a document.

System_CAPS_pubmethodApplyQuickStyleSet2(Object)

Applies the specified quick style set to the document.

System_CAPS_pubmethodApplyTheme(String)

Applies a theme to a document, if the document is open.

System_CAPS_pubmethodAutoFormat()

Automatically formats the document. Use the Kind property to specify a format type.

System_CAPS_pubmethodBeginInit()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodCanCheckin()

Determines whether Microsoft Office Word can check in the document to a server.

System_CAPS_pubmethodCheckConsistency()

Searches all text in a Japanese language document and displays instances where character usage is inconsistent for the same words.

System_CAPS_pubmethodCheckGrammar()

Begins a spelling and grammar check for the document.

System_CAPS_pubmethodCheckIn(Boolean, Object, Boolean)

Puts a document on a server from a local computer, and sets the local document to read-only so that it cannot be edited locally.

System_CAPS_pubmethodCheckInWithVersion(Boolean, Object, Boolean, Object)

Puts a document on a server from a local computer, and sets the local document to read-only so that it cannot be edited locally.

System_CAPS_pubmethodCheckSpelling(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Begins a spelling check for the document.

System_CAPS_pubmethodClose(Object, Object, Object)

Closes the document.

System_CAPS_pubmethodClosePrintPreview()

Switches the document from print preview to the previous view. If the document is not in print preview, an exception is thrown.

System_CAPS_pubmethodCompare(String, Object, Object, Object, Object, Object, Object, Object)

Displays revision marks that indicate where the document differs from another document.

System_CAPS_pubmethodComputeStatistics(WdStatistic, Object)

Gets a statistic based on the contents of the document.

System_CAPS_pubmethodConvert()

Converts the document to the newest file format and enables all new features.

System_CAPS_pubmethodConvertAutoHyphens()

Converts hyphens created by automatic hyphenation to manual hyphens.

System_CAPS_pubmethodConvertNumbersToText(Object)

Changes the list numbers and LISTNUM fields in the specified document to text.

System_CAPS_pubmethodConvertVietDoc(Int32)

Converts a Vietnamese document to Unicode using a code page other than the default.

System_CAPS_pubmethodCopyStylesFromTemplate(String)

Copies styles from the specified template to a document.

System_CAPS_pubmethodCountNumberedItems(Object, Object)

Returns the number of bulleted or numbered items and LISTNUM fields in the document.

System_CAPS_pubmethodCreateLetterContent(String, Boolean, String, WdLetterStyle, Boolean, WdLetterheadLocation, Single, String, String, String, WdSalutationType, String, String, String, String, String, String, String, String, String, String, String, Int32, Object, Object, Object, Object, Object, Object, Object, Object)

Creates and returns a LetterContent object based on the specified letter elements.

System_CAPS_protmethodCreateRibbonExtensibilityObject()

Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface.

System_CAPS_protmethodCreateRibbonObjects()

Returns an array of OfficeRibbon objects to the CreateRibbonExtensibilityObject method.

System_CAPS_pubmethodDataForm()

Displays the Data Form dialog box, in which you can add, delete, or modify data records.

System_CAPS_pubmethodDeleteAllComments()

Deletes all comments from the Comments collection in a document.

System_CAPS_pubmethodDeleteAllCommentsShown()

Deletes all revisions in the document that are displayed on the screen.

System_CAPS_pubmethodDeleteAllEditableRanges(Object)

Deletes permissions in all ranges that the specified user or group of users has permission to modify.

System_CAPS_pubmethodDeleteAllInkAnnotations()

Deletes all handwritten ink annotations in the document.

System_CAPS_pubmethodDetectLanguage()

Analyzes the text in the document to determine the language that it is written in.

System_CAPS_pubmethodDispose()

This API supports the product infrastructure and is not intended to be used directly from your code. Releases the resources used by the DocumentBase.

System_CAPS_pubmethodDowngradeDocument()

Changes a document to the Word 97-2003 document format so that it can be edited in a previous version of Microsoft Office Word.

System_CAPS_pubmethodEditionOptions(WdEditionType, WdEditionOption, String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodEndInit()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodEndReview()

Terminates a review of a file that has been sent for review using the SendForReview method or that has been automatically placed in a review cycle by sending a document to another user in an e-mail message.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExportAsFixedFormat(String, WdExportFormat, Boolean, WdExportOptimizeFor, WdExportRange, Int32, Int32, WdExportItem, Boolean, Boolean, WdExportCreateBookmarks, Boolean, Boolean, Boolean, Object)

Saves the document in PDF or XPS format.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodFinishInitialization()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodFitToPages()

Decreases the font size of text just enough so that the document will fit on one fewer pages.

System_CAPS_pubmethodFollowHyperlink(Object, Object, Object, Object, Object, Object, Object)

Resolves a hyperlink, or displays a cached document if the document has already been downloaded.

System_CAPS_pubmethodForwardMailer()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodFreezeLayout()

Fixes the layout of the document in Web view as it currently appears so that line breaks remain fixed and ink annotations do not move when you resize the window.

System_CAPS_protmethodGetAutomationObject()

Called by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the document.

System_CAPS_pubmethodGetCrossReferenceItems(Object)

Gets an array of items that can be cross-referenced based on the specified cross-reference type.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetHostItem<T>(Type, String)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodGetLetterContent()

Retrieves letter elements from the document and returns a LetterContent.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetWorkflowTasks()

Returns the workflow tasks that are assigned to the document.

System_CAPS_pubmethodGetWorkflowTemplates()

Returns the workflow templates that are attached to the document.

System_CAPS_pubmethodGoTo(Object, Object, Object, Object)

Returns a Microsoft.Office.Interop.Word.Range that represents the start position of the specified item, such as a page, bookmark, or field.

System_CAPS_protmethodInitialize()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_protmethodInitializeDataBindings()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodLockServerFile()

Locks the document on the server, which prevents anyone else from editing it.

System_CAPS_pubmethodMakeCompatibilityDefault()

Sets the compatibility options on the Compatibility tab in the Options dialog box as the default settings for new documents.

System_CAPS_pubmethodManualHyphenation()

Initiates manual hyphenation of a document, one line at a time. The user is prompted to accept or decline suggested hyphenations.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMerge(String, Object, Object, Object, Object)

Merges the changes marked with revision marks from one document to another.

System_CAPS_protmethodOnShutdown()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_protmethodOnStartup()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodPost()

Posts the document to a public folder in Microsoft Exchange. This method displays the Send to Exchange Folder dialog box so that a folder can be selected.

System_CAPS_pubmethodPresentIt()

Opens Microsoft Office PowerPoint with the document loaded.

System_CAPS_pubmethodPrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Prints all or part of the document.

System_CAPS_pubmethodPrintPreview()

Switches the view to print preview.

System_CAPS_pubmethodProtect(WdProtectionType, Object, Object, Object, Object)

Applies one of several types of protection to the document.

System_CAPS_protmethodProtectDocument()

Provides you with an opportunity to reapply password protection to the document after the cached data has been saved.

System_CAPS_pubmethodRange(Object, Object)

Returns a Microsoft.Office.Interop.Word.Range by using the specified starting and ending character positions.

System_CAPS_pubmethodRedo(Object)

Performs the last action that was undone (reverses the Undo method).

System_CAPS_pubmethodRejectAllRevisions()

Rejects all tracked changes in the document.

System_CAPS_pubmethodRejectAllRevisionsShown()

Rejects all revisions in the document that are displayed on the screen.

System_CAPS_pubmethodReload()

Reloads a cached document by resolving the hyperlink to the document and downloading the document.

System_CAPS_pubmethodReloadAs(MsoEncoding)

Reloads a document based on an HTML document, using the specified document encoding.

System_CAPS_pubmethodRemoveCustomization()

Removes the customization from the document.

System_CAPS_pubmethodRemoveDocumentInformation(WdRemoveDocInfoType)

Removes metadata, such as properties and comments, from a document.

System_CAPS_pubmethodRemoveLockedStyles()

Purges a document of locked styles when formatting restrictions have been applied in a document.

System_CAPS_pubmethodRemoveNumbers(Object)

Removes numbers or bullets from the document.

System_CAPS_pubmethodRemoveTheme()

Removes the active theme from the document.

System_CAPS_pubmethodRepaginate()

Repaginates the entire document.

System_CAPS_pubmethodReply()

Opens a new e-mail message for replying to the active message. The sender's address is included on the To: line.

System_CAPS_pubmethodReplyAll()

Opens a new e-mail message for replying to the active message. The sender’s address and all other recipients' addresses are included on the To: and Cc: lines as appropriate.

System_CAPS_pubmethodReplyWithChanges(Object)

Sends an e-mail message to the author of a document that has been sent out for review, notifying him or her that a reviewer has completed review of the document.

System_CAPS_protmethodRequestService(Guid)

Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface in a document-level customization.

System_CAPS_pubmethodResetFormFields()

Clears all form fields in a document, preparing the form to be filled in again.

System_CAPS_pubmethodRunAutoMacro(WdAutoMacros)

Runs an auto macro that is stored in the document.

System_CAPS_pubmethodRunLetterWizard(Object, Object)

Runs the Letter Wizard on the document.

System_CAPS_pubmethodSave()

Saves the document. If the document has not been saved before, the Save As dialog box prompts the user for a file name.

System_CAPS_pubmethodSaveAs2(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Saves the document with a new name or format. Some of the arguments for this method correspond to the options in the Save As dialog box.

System_CAPS_pubmethodSaveAsQuickStyleSet(String)

Saves the group of quick styles currently in use.

System_CAPS_pubmethodSelect()

Selects the document.

System_CAPS_pubmethodSelectAllEditableRanges(Object)

Selects all ranges that the specified user or group of users has permission to modify.

System_CAPS_pubmethodSelectContentControlsByTag(String)

Returns all the content controls in the document that have the specified tag.

System_CAPS_pubmethodSelectContentControlsByTitle(String)

Returns all the content controls in the document that have the specified title.

System_CAPS_pubmethodSelectLinkedControls(CustomXMLNode)

Returns all the content controls in the document that are linked to the specified custom XML node.

System_CAPS_pubmethodSelectNodes(String, String, Boolean)

Gets a Microsoft.Office.Interop.Word.XMLNodes collection that represents all the nodes that match the XPath parameter in the order in which they appear in the document.

System_CAPS_pubmethodSelectSingleNode(String, String, Boolean)

Returns a Microsoft.Office.Interop.Word.XMLNode object that represents the first node in the document that matches the XPath parameter.

System_CAPS_pubmethodSelectUnlinkedControls(CustomXMLPart)

Returns all the content controls in the document that are not linked to a custom XML part.

System_CAPS_pubmethodSendFax(String, Object)

Sends the document as a fax, without any user interaction.

System_CAPS_pubmethodSendFaxOverInternet(Object, Object, Object)

Sends the document to a fax service provider, who faxes the document to one or more specified recipients.

System_CAPS_pubmethodSendForReview(Object, Object, Object, Object)

Sends the document in an e-mail message for review by the specified recipients.

System_CAPS_pubmethodSendMail()

Opens a message window for sending the document through Microsoft Exchange.

System_CAPS_pubmethodSendMailer(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodSetCompatibilityMode(Int32)

Sets the compatibility mode for the document.

System_CAPS_pubmethodSetDefaultTableStyle(Object, Boolean)

Specifies the table style to use for newly created tables in the document.

System_CAPS_pubmethodSetLetterContent(Object)

System_CAPS_pubmethodSetPasswordEncryptionOptions(String, String, Int32, Object)

Sets the options Microsoft Office Word uses for encrypting documents with passwords.

System_CAPS_pubmethodToggleFormsDesign()

Switches form design mode on or off.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTransformDocument(String, Boolean)

Applies the specified Extensible Stylesheet Language Transformation (XSLT) file to the document and replaces the document with the results.

System_CAPS_pubmethodUndo(Object)

Undoes the last action or a sequence of actions, which are displayed in the Undo list. Returns true if the actions were successfully undone.

System_CAPS_pubmethodUndoClear()

Clears the list of actions that can be undone for the document. Corresponds to the list of items that appears when you click the arrow beside the Undo button on the Standard toolbar.

System_CAPS_pubmethodUnprotect(Object)

Removes protection from the document.

System_CAPS_protmethodUnprotectDocument()

Provides you with an opportunity to remove password protection from the document and enable cached data to be saved.

System_CAPS_pubmethodUpdateStyles()

Copies all styles from the attached template into the document, overwriting any existing styles in the document that have the same name.

System_CAPS_pubmethodUpdateSummaryProperties()

Updates the keyword and comment text in the Properties dialog box to reflect the AutoSummary content for the document.

System_CAPS_pubmethodViewCode()

Displays the code window for the selected ActiveX control in the document.

System_CAPS_pubmethodViewPropertyBrowser()

Displays the property window for the selected ActiveX control in the specified document.

System_CAPS_pubmethodWebPagePreview()

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.BeginInit()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.EndInit()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.FinishInitialization()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.Initialize()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.InitializeDataBindings()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.OnShutdown()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodEntryPoint.OnStartup()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICachedDataPersistanceCallback.OnAfterSave()

System_CAPS_pubinterfaceSystem_CAPS_privmethodICachedDataPersistanceCallback.OnBeforeSave()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDocumentExtension.CreateRibbonExtensibilityObject()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDocumentExtension.CreateRibbonObjects()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDocumentExtension.GetAutomationObject()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDocumentExtension.ProtectDocument()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDocumentExtension.RequestService(Guid)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDocumentExtension.UnprotectDocument()

This API supports the product infrastructure and is not intended to be used directly from your code.

Return to top
Show: