Export (0) Print
Expand All

New Objects, Collections, and Enumerations

Office 2007

New Objects and Collections

The following objects and collections have been added to the object model in Microsoft Office Word 2007.

Object or Collection Description
Bibliography Represents the list of sources available attached to the document (in the current list) or the list of sources available in the application (in the master list).
BuildingBlock Represents a building block in a template. A building block is pre-built content, similar to autotext, that may contain text, images, and formatting.
BuildingBlockEntries Represents a collection of all BuildingBlock objects in a template.
BuildingBlocks Represents a collection of BuildingBlock objects for a specific building block type and category in a template.
BuildingBlockType Represents a type of building block. Each BuildingBlockType object is a member of the BuildingBlockTypes collection.
BuildingBlockTypes Represents a collection of BuildingBlockType objects.
Categories Represents a collection of building block categories.
Category Represents an individual category of a building block type.
ContentControl An individual content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as dates, lists, or paragraphs of formatted text. The ContentControl object is a member of the ContentControls collection.
ContentControlListEntries The ContentControlListEntries collection contains ContentControlListEntry objects that represent the items in a drop-down list or combo box content control.
ContentControlListEntry A ContentControlListEntry object represents a list item in a drop-down list or combo box content control. A ContentControlListEntry object is a member of the ContentControlListEntries collection for a ContentControl object.
ContentControls A collection of ContentControl objects. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain content such as dates, lists, or paragraphs of formatted text.
GlowFormat Represents the glow formatting for a shape or range of shapes.
OMath Represents an equation. OMath objects are members of the OMaths collection.
OMathAcc Represents an equation that has an accent mark above the base.
OMathArgs Represents a collection of arguments.
OMathAutoCorrect Represents the math AutoCorrect feature in Microsoft Office Word. To access the math AutoCorrect entries, use the OMathAutoCorrectEntries collection.
OMathAutoCorrectEntries Represents a collection of math AutoCorrect entries. Use the OMathAutoCorrectEntry object to access individual AutoCorrect entries.
OMathAutoCorrectEntry Represents an individual entry in the OMathAutoCorrectEntry collection.
OMathBar Represents an equation with a bar above or below the base.
OMathBorderBox Represents an invisible box around an equation or part of an equation to which you can assign properties that affect the layout or mathematical formatting of the entire box. For example, a box can serve as an operator emulator with or without an alignment point, serve as a like breakpoint, have an associated argument size (argSz), or be grouped so as not to allow line breaks.
OMathBox Represents an invisible box around an equation or part of an equation to which you can apply properties that affect the mathematical or formatting properties, such as line breaks.
OMathBreak Represents individual line breaks in an equation. Each OMathBreak object is a member of the OMathBreaks collection.
OMathBreaks Represents a collection of OMathBreak objects that represent all the line breaks in an equation.
OMathDelim Represents a delimiter object, consisting of opening and closing delimiters (such as parentheses, braces, brackets, or vertical bars), and one or more elements contained inside the delimiters.
OMathEqArray Represents a mathematical equation array object, consisting of one or more equations that can be vertically justified as a unit respect to surrounding text on the line.
OMathFrac Represents a fraction, consisting of a numerator and denominator separated by a fraction bar. The fraction bar can be horizontal or diagonal, depending on the fraction properties.
OMathFunc Represents the application of a function or an argument in an equation that consists of a function name, such as sin or cos, and an argument.
OMathFunction Represents a mathematical function or structure that Microsoft Office Word supports, such as fractions, integrals, sums, and radicals. The OMathFunction object is a member of the OMathFunctions collection.
OMathFunctions Represents a collection of functions or structures that Microsoft Office Word supports, such as fractions, integrals, sums, and radicals.
OMathGroupChar Represents a group character object, consisting of a character drawn above or below text, often with the purpose of visually grouping items.
OMathLimLow Represents the lower limit mathematical construct, consisting of text on the baseline and reduced-size text immediately below it.
OMathLimUpp Represents the upper limit mathematical construct, consisting of text on the baseline and reduced-size text immediately above it.
OMathMat Represents an equation matrix.
OMathMatCol Represents a matrix column. The OMathMatCol is a member of the OMathMatCols collection.
OMathMatCols Represents a collection of matrix columns. Use the OMathMatCol object to access individual members of the collection.
OMathMatRow Represents a matrix row. The OMathMatRow is a member of the OMathMatRows collection.
OMathMatRows Represents a collection of matrix rows. Use the OMathMatRow object to access individual membes of the collection.
OMathNary Represents the mathematical n-ary object, consisting of an n-ary object, a base (or operand), and optional upper limits and lower limits.
OMathPhantom Represents a phantom object, which has two primary uses: (1) adding the spacing of the phantom base without displaying that base or (2) suppressing part of the glyph from spacing considerations.
OMathRad Represents the mathematical radical object, consisting of a radical, a base, and an optional degree.
OMathRecognizedFunction Represents a recognized function. The OMathRecognizedFunction object is a member of the OMathRecognizedFunctions collection.
OMathRecognizedFunctions Represents a collection of recognized functions. Use the OMathRecognizedFunction object to access individual members of the collection.
OMaths A collection of equations. Use the OMath object to access individual members of the collection.
OMathScrPre Represents an equation that contains a superscript or subscript to the left of the base.
OMathScrSub Represents an equation with a base that contains a subscript.
OMathScrSubSup Represents an equation with a base that contains a superscript or subscript.
OMathScrSup Represents an equation with a base that contains a superscript.
ReflectionFormat Represents the reflection formatting for a shape or range of shapes.
Research Provides access to the research service feature of Microsoft Office Word.
SoftEdgeFormat Represents the soft edge formatting for a shape or range of shapes.
Source Represents an individual source, such as a book, journal article, or interview.
Sources Represents a collection of Source objects.
XMLMapping Represents the XML mapping on a ContentControl object between custom XML and a content control. An XML mapping is a link between the text in a content control and an XML element in the custom XML data store for this document.

New Enumerations

The following enumerations have been added to the object model in Microsoft Office Word 2007.

Enumerations Description
WdAlignmentTabAlignment Specifies tab alignment.
WdAlignmentTabRelative Specifies whether Microsoft Office Word calculates the alignment for a tab relative to the section margins or the paragraph indents.
WdBuildingBlockTypes Specifies the type of building block.
WdCellColor Specifies the color of highlighting for table cells that were added, deleted, or merged in the current document.
WdCheckInVersionType Specifies the type of version for the document checked in when using the CheckIn method. Applies to documents stored in a SharePoint library.
WdCompareDestination When comparing two files for differences, specifies whether to create a new file or mark the differences between the two documents in the original document or the revised document.
WdContentControlDateStorageFormat Indicates how the date for a date content control is stored or retrieved when the date control is bound to an XML node in the document's data store.
WdContentControlType Indicates the type of content control.
WdDocPartInsertOptions Specifies how a building block is inserted into a document.
WdExportCreateBookmarks Specifies what bookmarks to include when exporting a document.
WdExportFormat Specifies format to use for exporting a document.
WdExportItem Specifies whether to export the document with markup.
WdExportOptimizeFor Specifies the resolution and quality of the exported document.
WdExportRange Specifies how much of the document to export.
WdFrenchSpeller Indicates which version of French to use when using the French language spelling checker dictionaries.
WdGranularity Specifies the granularity of changes to track when comparing two documents.
WdMergeFormatFrom Specifies the document from which to retain formatting during a document compare function.
WdMoveFromTextMark Marks the moved-from text when text in a document with tracked changes is moved from one place to another.
WdMoveToTextMark Marks the moved-to text when text in a document with tracked changes is moved from one place to another.
WdOMathBreakBin Specifies where Microsoft Office Word places binary operators when equations span two or more lines.
WdOMathBreakSub Specifies how Microsoft Office Word handles a subtraction operator that falls before a line break.
WdOMathFracType Specifies the type of fraction bar.
WdOMathFunctionType Specifies the type of equation function.
WdOMathHorizAlignType Specifies the horizontal alignment for an equation.
WdOMathJc Specifies the default justification for equations.
WdOMathShapeType Specifies the appearance of delimiters (parentheses, braces, brackets) in relationship to the content that they surround.
WdOMathSpacingRule Specifies spacing for an equation.
WdOMathType Specifies the display format type of equation.
WdOMathVertAlignType Specifies the vertical alignment of equations within the shape canvas or the line, for inline equations.
WdPasteOptions Indicates how to paste copied text.
WdReadingLayoutMargin Specifies whether margins are visible or hidden when a document is viewed in Full Screen Reading view.
WdRelativeHorizontalSize Specifies the relative width of a shape using the value specified in the WidthRelative property for a Shape or ShapeRange object.
WdRelativeVerticalSize Specifies the relative height of a shape using the value specified in the HeightRelative property for a Shape or ShapeRange object.
WdRemoveDocInfoType Specifies the type of information to remove from a document.
WdShapePositionRelative Specifies whether the LeftRelative or TopRelative property for a Shape or ShapeRange object is valid.
WdShapeSizeRelative Specifies whether the WidthRelative or HeightRelative property for a Shape or ShapeRange object is valid.
WdShowSourceDocuments Specifies how to display source documents when two documents are compared using the Word Compare functions.
WdStyleSort Indicates how to sort styles in the Styles task pane.
WdTextboxTightWrap Specifies how Microsoft Office Word tightly wraps text around text boxes.
WdThemeColorIndex Specifies the theme colors for document themes.


Community Additions

ADD
Show:
© 2014 Microsoft