The following properties, methods, and events have been added to existing objects in Microsoft Word.
Properties
| Description
|
ShowStylePreviews
| Returns or sets a Boolean that represents whether Microsoft Office Word shows a preview of the formatting for styles in the Styles dialog box. Read/write.
|
ActiveEncryptionSession
| Returns a Long that represents the encryption session associated with the active document. Read-only.
|
Assistance
| Returns an Assistance object that represents the Microsoft Office Help Viewer. Read-only.
|
Bibliography
| Returns a Bibliography object that represents the bibliography references sources stored in Microsoft Office Word. Read-only.
|
DisplayDocumentInformationPanel
| Returns or sets a Boolean that represents whether the document properties panel is displayed. Read/write.
|
DontResetInsertionPointProperties
| Returns or sets a Boolean that represents whether Microsoft Office Word maintains the formatting properties of the text at that position of the Insertion Point after running other code. Read/write.
|
RestrictLinkedStyles
| Returns or sets a Boolean that represents whether Microsoft Office Word allows linked styles. Read/write.
|
OMathAutoCorrect
| Returns an OMathAutoCorrect object that represents the auto correct entries for equations. Read-only.
|
OpenAttachmentsInFullScreen
| Returns or sets a Boolean that represents whether Microsoft Office Word opens e-mail attachments in Reading mode. Read/write. |
Properties
| Description
|
Bibliography
| Returns a Bibliography object that represents the bibliography references contained within a document. Read-only.
|
CustomXMLParts
| Returns a CustomXMLParts collection that represents the custom XML in the XML data store. Read-only.
|
ContentControls
| Returns a ContentControls collection that represents all the content controls in a document. Read-only.
|
ContentTypeProperties
| Returns a MetaProperties collection that represents the metadata stored in a document, such as author name, subject, and company. Read-only.
|
CurrentRsid
| Returns a Long that represents a random number that Word assigns to changes in a document. Read-only.
|
DocumentInspectors
| Returns a DocumentInspectors collection that enables you to locate hidden personal information, such as author name, company name, and revision date. Read-only.
|
DocumentTheme
| Returns an OfficeTheme object that represents the Microsoft Office theme applied to a document. Read-only.
|
EncryptionProvider
| Returns a String specifying the name of the algorithm encryption provider that Microsoft Office Word uses when encrypting documents. Read/write.
|
Final
| Returns or sets a Boolean that indicates whether a document is final. Read/write.
|
FormattingShowNextLevel
| Returns or sets a Boolean that represents whether Microsoft Office Word shows the next heading level when the previous heading level is used. Read/write.
|
FormattingShowUserStyleName
| Returns or sets a Boolean that represents whether to show user-defined styles. Read/write.
|
HasVBProject
| Returns a Boolean that represents whether a document has an attached Microsoft Visual Basic for Applications project. Read-only.
|
LockQuickStyleSet
| Returns or sets a Boolean that represents whether users can change which set of Quick Styles is being used. Read/write.
|
LockTheme
| Returns or sets a Boolean that represents whether a user can change a document theme. Read/write.
|
OMathBreakBin
| Returns or sets a WdOMathBreakBin constant that represents where Microsoft Office Word places binary operators when equations span two or more lines. Read/write.
|
OMathBreakSub
| Returns or sets a WdOMathBreakSub constant that represents how Microsoft Office Word handles a subtraction operator that falls before a line break. Read/write.
|
OMathFontName
| Returns or sets a String that represents the name of the font used in a document to display equations. Read/write.
|
OMathIntSubSupLim
| Returns or sets a Boolean that represents the default location of limits for integrals. Read/write.
|
OMathJc
| Returns or sets a WdOMathJc constant that represents the default justification-left, right, centered, or centered as a group-of a group of equations. Read/write.
|
OMathLeftMargin
| Returns or sets a Single that represents the left margin for equations. Read/write.
|
OMathNarySupSubLim
| Returns or sets a Boolean that represents the default location of limits for n-ary objects other than integrals. Read/write.
|
OMathRightMargin
| Returns or sets a Single that represents the right margin for equations. Read/write.
|
OMaths
| Returns an OMaths collection that represents the OMath objects within the specified range. Read-only.
|
OMathSmallFrac
| Returns or sets a Boolean that represents whether to use small fractions in equations contained within the document. Read/write.
|
OMathWrap
| Returns or sets a Single that represents the placement of the second line of an equation that wraps to a new line. Read/write.
|
OriginalDocumentTitle
| Returns a String that represents the document title for the original document after running a legal-blackline document compare function. Read-only.
|
Research
| Returns a Research object that represents the research service for a document. Read-only.
|
RevisedDocumentTitle
| Returns a String that represents the document title for a revised document after running a legal-blackline document compare function. Read-only.
|
ServerPolicy
| Returns a ServerPolicy object that represents a policy specified for a document stored on a server running Microsoft Office SharePoint Server 2007. Read-only.
|
StyleSortMethod
| Returns or sets aWdStyleSort constant that represents the sort method to use when sorting styles in the Styles task pane. Read/write.
|
TrackFormatting
| Returns or sets a Boolean that represents whether to track formatting changes when change tracking is turned on. Read/write.
|
TrackMoves
| Returns or sets a Boolean that represents whether to mark moved text when Track Changes is turned on. Read/write.
|
UseMathDefaults
| Returns or sets a Boolean that represents whether to use the default math settings when creating new equations. Read/write.
|
WordOpenXML
| Returns a String that represents the flat XML format for the Word Open XML contents of the document. Read-only. |
Methods
| Description
|
ApplyDocumentTheme
| Applies a document theme to a document.
|
ApplyQuickStyleSet
| Changes the set of quick styles listed.
|
Convert
| Converts file to the newest file format and enables all new features.
|
DowngradeDocument
| Downgrades a document to the Word 97-2003 document format so that it can be edited in a previous version of Microsoft Office Word.
|
ExportAsFixedFormat
| Saves a document as PDF or XPS format.
|
FreezeLayout
| In Web view, fixes the layout of the document as it currently appears so that line breaks remain fixed and ink annotations do not move when you resize the window.
|
GetWorkflowTasks
| Returns a WorkflowTasks collection that represents the workflow tasks assigned to a document.
|
GetWorkflowTemplates
| Returns a WorkflowTemplates collection that represents the workflow templates attached to a document.
|
LockServerFile
| Locks the file on the server preventing anyone else from editing it.
|
RemoveDocumentInformation
| Removes sensitive information, properties, comments, and other metadata from a document.
|
SaveAsQuickStyleSet
| Saves the group of quick styles currently in use.
|
SelectContentControlsByTag
| Returns a ContentControls collection that represents all the content controls in a document with the tag value specified in the Tag parameter. Read-only.
|
SelectContentControlsByTitle
| Returns a ContentControls collection that represents all the content controls in a document with the title specified in the Title parameter. Read-only.
|
SelectLinkedControls
| Returns a ContentControls collection that represents all content controls in a document that are linked to the specific custom XML node in the document's XML data store as specified by the Node parameter. Read-only.
|
SelectUnlinkedControls
| Returns a ContentControls collection that represents all content controls in a document that are not linked to an XML node in the document's XML data store. Read-only. |
Properties
| Description
|
AllowOpenInDraftView
| Returns or sets a Boolean that represents whether to allow users to open documents in draft view. Read/write.
|
AlwaysUseClearType
| Returns or sets a Boolean that represents whether to use ClearType to display fonts in menu, ribbon, and dialog box text. Read/write.
|
BibliographySort
| Returns or sets a String that represents the order in which to display sources in the Source Manager dialog box. Read/write.
|
BibliographyStyle
| Returns or sets a String that represents the name of the style to use for formatting bibliographies. Read/write.
|
ContextualSpeller
| Returns or sets a Boolean that represents whether to use the contextual speller to check spelling based on the context of a word and the words around it. Read/write.
|
DeletedCellColor
| Returns or sets a WdCellColor constant that represents the color for a deleted cell. Read/write.
|
DoNotPromptForConvert
| Sets or returns a Boolean that represents whether to prompt a warning dialog when the Convert command is invoked for documents that are in compatibility mode. Read/write.
|
EnableLegacyIMEMode
| Returns or sets aBoolean that represents whether to enable legacy IME mode. Read/write.
|
EnableLivePreview
| Sets or returns a Boolean that represents whether to show or hide gallery previews that appear when using galleries that support previewing. True shows a preview in your document before applying the command. Read/write.
|
FrenchReform
| Returns or sets a WdFrenchSpellerconstant that represents which spelling dictionary to use for regions of text with language formatting set to French. Read/write.
|
InsertedCellColor
| Returns or sets a WdCellColorconstant that represents the color for an inserted table cell. Read/write.
|
INSKeyForOvertype
| True if the INS key can be used for switching Overtype on and off. Read/write Boolean.
|
MergedCellColor
| Returns or sets a WdCellColor constant that represents the color for merged table cells. Read/write.
|
MoveFromTextColor
| Returns or sets a WdColorIndex constant that represents the color of moved text. Read/write.
|
MoveFromTextMark
| Returns or sets a WdMoveFromTextMark constant that represents the type of revision mark to use for moved text. Read/write.
|
MoveToTextColor
| Returns or sets a WdColorIndex constant that represents the color of moved text. Read/write.
|
MoveToTextMark
| Returns or sets a WdMoveToTextMark constant that represents the type of revision mark to use for moved text. Read/write.
|
OMathAutoBuildUp
| Returns or sets a Boolean that represents whether Microsoft Office Word automatically converts equations to professional format. True indicates that Word automatically converts equations to professional format. Read/write.
|
OMathCopyLF
| Returns or sets a Boolean that represents how equations are represented in plain text. True indicates equations are represented in Linear Format. False indicates equations are represented in MathML. Read/write.
|
PasteFormatBetweenDocuments
| Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from another Microsoft Office Word document. Read/write.
|
PasteFormatBetweenStyledDocuments
| Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from a document that uses styles. Read/write.
|
PasteFormatFromExternalSource
| Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from an external source, such as a Web page. Read/write.
|
PasteFormatWithinDocument
| Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied or cut and then pasted in the same document. Read/write.
|
PasteOptionKeepBulletsAndNumbers
| Returns or sets a Boolean that represents whether to keep bullets and numbering when selecting Keep text only from the Paste Options context menu. Read/write.
|
PrecisePositioning
| Returns or sets a Boolean that represents whether Word optimizes character positioning for print layout rather than on-screen readability. True disables the default setting that compresses character spacing to facilitate on-screen readability and enables character spacing for print media. Read/write.
|
RepeatWord
| Returns or sets a Boolean that represents whether to mark words that are repeated when spelling is checked. True flags repeated words. Read/write.
|
ShowDevTools
| Returns or sets a Boolean that represents whether the Developer tab is displayed in the Ribbon. Read/write.
|
ShowMenuFloaties
| Returns or sets a Boolean that represents whether to display mini toolbars when the user right-clicks in the document window. Read/write.
|
ShowSelectionFloaties
| Returns or sets a Boolean that represents whether mini toolbars display when a user selects text. Read/write.
|
SplitCellColor
| Returns or sets a WdCellColor that represents the color for split table cells. Read/write.
|
UseNormalStyleForList
| Returns or sets a Boolean that represents whether Microsoft Office Word uses the Normal style for bullets and numbering. Read/write. |
Properties
| Description
|
CharacterStyle
| Returns a Variant that represents the style used to format one or more characters. Read-only.
|
ContentControls
| Returns a ContentControls collection that represents the content controls contained within a range. Read-only.
|
ListStyle
| Returns a Variant that represents the style used to format a bulleted list or numbered list. Read-only.
|
OMaths
| Returns an OMaths collection that represents the OMath objects within the specified range. Read-only.
|
ParagraphStyle
| Returns a Variant that represents the style used to format a paragraph. Read-only.
|
ParentContentControl
| Returns a ContentControl object that represents the parent content control for the specified range. Read-only.
|
TableStyle
| Returns a Variant that represents the style used to format a table. Read-only.
|
WordOpenXML
| Returns a String that represents the XML contained within the range in the Microsoft Office Word Open XML format. Read-only. |
Methods
| Description
|
ClearCharacterAllFormatting
| Removes all character formatting (formatting applied either through character styles or manually applied formatting) from the selected text.
|
ClearCharacterDirectFormatting
| Removes character formatting (formatting that has been applied manually using the buttons on the Ribbon or through the dialog boxes) from the selected text.
|
ClearCharacterStyle
| Removes character formatting that has been applied through character styles from the selected text.
|
ClearParagraphAllFormatting
| Removes all paragraph formatting (formatting applied either through paragraph styles or manually applied formatting) from the selected text.
|
ClearParagraphDirectFormatting
| Removes paragraph formatting that has been applied manually (using the buttons on the Ribbon or through the dialog boxes) from the selected text.
|
ClearParagraphStyle
| Removes paragraph formatting that has been applied through paragraph styles from the selected text.
|
ExportAsFixedFormat
| Saves the current selection as PDF or XPS format.
|
InsertNewPage
| Inserts a new page at the position of the Insertion Point.
|
ReadingModeGrowFont
| Increases the size of the displayed text one point size when the document is displayed in Reading mode.
|
ReadingModeShrinkFont
| Decreases the size of the displayed text one point size when the document is displayed in Reading mode. |
Properties
| Description
|
Glow
| Returns a GlowFormat object that represents the glow formatting for a shape. Read-only.
|
HasChart
| True if the specified shape has a chart. Read-only.
|
HeightRelative
| Returns or sets a Single that represents the percentage of the relative height of a shape. Read/write.
|
LeftRelative
| Returns or sets a Single that represents the relative left position of a shape. Read/write.
|
Reflection
| Returns a ReflectionFormat object that represents the reflection formatting for a shape. Read-only.
|
RelativeHorizontalSize
| Returns or sets a WdRelativeVerticalSize constant that represents the object to which a range of shapes is relative. Read/write.
|
RelativeVerticalSize
| Returns or sets a WdRelativeVerticalSize constant that represents the relative vertical size of a shape. Read/write.
|
SoftEdge
| Returns a SoftEdgeFormat object that represents the soft edge formatting for a shape. Read-only.
|
TextFrame2
| Returns a TextFrame2 object that contains the text for the specified shape. Read-only.
|
TopRelative
| Returns or sets a Single that represents the relative top position of a shape. Read/write.
|
WidthRelative
| Returns or sets a Single that represents the relative width of a shape. Read/write. |
Properties
| Description
|
LeftRelative
| Returns or sets a Single that represents the relative left position of a range of shapes. Read/write.
|
Glow
| Returns a GlowFormat object that represents the glow formatting for a range of shapes. Read-only.
|
HeightRelative
| Returns or sets a Single that represents the percentage of the target shape to which the range of shapes is sized. Read/write.
|
Reflection
| Returns a ReflectionFormat object that represents the reflection formatting for a range of shapes. Read-only.
|
RelativeHorizontalSize
| Returns or sets a WdRelativeHorizontalSize constant that represents the object to which a range of shapes is relative. Read/write.
|
RelativeVerticalSize
| Returns or sets a WdRelativeVerticalSize constant that represents the object to which a range of shapes is relative. Read/write.
|
SoftEdge
| Returns a SoftEdgeFormat object that represents the soft edge formatting for a range of shapes. Read-only.
|
TextFrame2
| Returns a TextFrame2 object that contains the text for the specified range of shapes. Read-only.
|
TopRelative
| Returns or sets a Single that represents the relative top position of a range of shapes. Read/write.
|
WidthRelative
| Returns or sets a Single that represents the relative width of a range of shapes. Read/write. |
Properties
| Description
|
BevelBottomType
| Returns or sets an MsoPresetCamera constant that represents the bevel type for the bottom bevel. Read/write.
|
BevelTopDepth
| Returns or sets a Single that represents the depth of the top bevel. Read/write.
|
BevelTopInset
| Returns or sets a Single that represents the inset size for the top bevel. Read/write.
|
BevelTopType
| Returns or sets an MsoPresetCamera constant that represents the bevel type for the top bevel. Read/write.
|
ContourColor
| Returns or sets a ColorFormat object that represents color of the contour of a shape. Read/write.
|
ContourWidth
| Returns or sets a Single that represents the width of the contour of a shape. Read/write.
|
BevelBottomDepth
| Returns or sets a Single that represents the depth of the bottom bevel. Read/write.
|
BevelBottomInset
| Returns or sets a Single that represents the inset size for the bottom bevel. Read/write.
|
FieldOfView
| Returns or sets a Single that represents the amount of perspective for a shape. Read/write.
|
LightAngle
| Returns or sets a Single that represents angle of the lighting. Read/write.
|
PresetCamera
| Returns an MsoPresetCamera constant that represents the camera presets. Read-only.
|
PresetLighting
| Returns or sets an MsoBevelType constant that represents the lighting preset. Read/write.
|
ProjectText
| Returns or sets an MsoTriState constant that represents whether text on a shape rotates with shape. msoTrue rotates the text. Read/write.
|
RotationZ
| Returns or sets a Single that represents z-axis rotation of the camera. Read/write.
|
Z
| Returns or sets a Single that represents the z-axis for the shape. Read/write. |
The following constants have been added to existing enumerations in Microsoft Word.
Enumeration
| New Constants
|
WdBuiltinStyle
|
- wdStyleBibliography
- wdStyleBookTitle
- wdStyleIntenseEmphasis
- wdStyleIntenseQuote
- wdStyleIntenseReference
- wdStyleListParagraph
- wdStyleNormalObject
- wdStyleQuote
- wdStyleSubtleEmphasis
- wdStyleSubtleReference
- wdStyleTableColorfulGrid
- wdStyleTableColorfulList
- wdStyleTableColorfulShading
- wdStyleTableDarkList
- wdStyleTableLightGrid
- wdStyleTableLightGridAccent1
- wdStyleTableLightList
- wdStyleTableLightListAccent1
- wdStyleTableLightShading
- wdStyleTableLightShadingAccent1
- wdStyleTableMediumGrid1
- wdStyleTableMediumGrid2
- wdStyleTableMediumGrid3
- wdStyleTableMediumList1
- wdStyleTableMediumList1Accent1
- wdStyleTableMediumList2
- wdStyleTableMediumShading1
- wdStyleTableMediumShading1Accent1
- wdStyleTableMediumShading2
- wdStyleTableMediumShading2Accent1
|
WdCalendarType
|
- wdCalendarTranslitEnglish
- wdCalendarTranslitFrench
|
WdCompatibility
|
- wdAllowSpaceOfSameStyleInTable
- wdAutofitLikeWW11
- wdCachedColBalance
- wdDontAutofitConstrainedTables
- wdDontBreakConstrainedForcedTables
- wdDontUseIndentAsNumberingTabStop
- wdDontVertAlignCellWithShape
- wdDontVertAlignInTextbox
- wdFELineBreak11
- wdHangulWidthLikeWW11
- wdSplitPgBreakAndParaMark
- wdUnderlineTabInNumList
- wdUseNormalStyleForList
- wdWord11KerningPairs
- wdWW11IndentRules
|
WdDeletedTextMark
|
- wdDeletedTextMarkDoubleStrikeThrough
|
WdFieldType
|
- wdFieldBibliography
- wdFieldCitation
|
WdInlineShapeType
|
- wdInlineShapeChart
- wdInlineShapeDiagram
- wdInlineShapeLockedCanvas
- wdInlineShapeSmartArt
|
WdInsertedTextMark
|
- wdInsertedTextMarkDoubleStrikeThrough
|
WdLanguageID
|
- wdFrenchCongoDRC
- wdMacedonianFYROM
- wdPersian
- wdPortugueseBrazil
|
WdLinkType
|
- wdLinkTypeChart
|
WdOpenFormat
|
- wdOpenFormatAllWordTemplates
- wdOpenFormatDocument97
- wdOpenFormatTemplate97
- wdOpenFormatXMLDocument
- wdOpenFormatXMLDocumentMacroEnabled
- wdOpenFormatXMLDocumentMacroEnabledSerialized
- wdOpenFormatXMLDocumentSerialized
- wdOpenFormatXMLTemplate
- wdOpenFormatXMLTemplateMacroEnabled
- wdOpenFormatXMLTemplateMacroEnabledSerialized
- wdOpenFormatXMLTemplateSerialized
|
WdRecoveryType
|
- wdUseDestinationStylesRecovery
|
WdRectangleType
|
- wdDocumentControlRectangle
- wdMailNavArea
- wdMarkupRectangleArea
- wdMarkupRectangleMoveMatch
- wdReadingModeNavigation
- wdReadingModePanningArea
|
WdRelativeHorizontalPosition
|
- wdRelativeHorizontalPositionInnerMarginArea
- wdRelativeHorizontalPositionLeftMarginArea
- wdRelativeHorizontalPositionOuterMarginArea
- wdRelativeHorizontalPositionRightMarginArea
|
WdRelativeVerticalPosition
|
- wdRelativeVerticalPositionBottomMarginArea
- wdRelativeVerticalPositionInnerMarginArea
- wdRelativeVerticalPositionOuterMarginArea
- wdRelativeVerticalPositionTopMarginArea
|
WdRevisedPropertiesMark
|
- wdRevisedPropertiesMarkDoubleStrikeThrough
|
WdRevisionType
|
- wdRevisionCellDeletion
- wdRevisionCellInsertion
- wdRevisionCellMerge
- wdRevisionMovedFrom
- wdRevisionMovedTo
|
WdSaveFormat
|
- wdFormatDocument97
- wdFormatDocumentDefault
- wdFormatFlatXML
- wdFormatFlatXMLMacroEnabled
- wdFormatFlatXMLTemplate
- wdFormatFlatXMLTemplateMacroEnabled
- wdFormatPDF
- wdFormatTemplate97
- wdFormatXMLDocument
- wdFormatXMLDocumentMacroEnabled
- wdFormatXMLTemplate
- wdFormatXMLTemplateMacroEnabled
- wdFormatXPS
|
WdShowFilter
|
- wdShowFilterFormattingRecommended
|
WdSpecialPane
|
- wdPaneRevisionsHoriz
- wdPaneRevisionsVert
|
WdStyleType
|
- wdStyleTypeLinked
- wdStyleTypeParagraphOnly
|
WdTaskPanes
|
- wdTaskPaneApplyStyles
- wdTaskPaneDocumentManagement
- wdTaskPaneSignature
- wdTaskPaneStyleInspector
|
WdTextOrientation
|
- wdTextOrientationVertical
|
WdWordDialog
|
- wdDialogBuildingBlockOrganizer
- wdDialogCompatibilityChecker
- wdDialogContentControlProperties
- wdDialogCreateSource
- wdDialogDocumentInspector
- wdDialogExportAsFixedFormat
- wdDialogInsertPlaceholder
- wdDialogInsertSource
- wdDialogLabelOptions
- wdDialogOMathRecognizedFunctions
- wdDialogSourceManager
- wdDialogStyleManagement
|
WdWordDialogTab
|
- wdDialogStyleManagementTabEdit
- wdDialogStyleManagementTabRecommend
- wdDialogStyleManagementTabRestrict
|
WdWrapType
|
- wdWrapBehind
- wdWrapFront
|