New Objects, Collections, and Enumerations (Word)

New Objects and Collections

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

Object or Collection

Description

Axes

Represents a collection of all the Axis objects in the specified chart.

Axis

Represents a single axis in a chart.

AxisTitle

Represents a chart axis title.

Chart

Represents a chart in a document.

ChartArea

Represents the chart area of a chart.

ChartBorder

Represents the border of an object.

ChartCharacters

Represents characters in an object that contains text.

ChartColorFormat

Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill.

ChartData

Represents access to the linked or embedded data associated with a chart.

ChartFont

Contains the font attributes (font name, font size, color, and so on) for an object chart.

ChartFormat

Provides access to the OfficeArt formatting for chart elements.

ChartGroup

Represents one or more series plotted in a chart with the same format.

ChartGroups

Represents one or more series plotted in a chart with the same format.

ChartTitle

Represents the chart title.

CoAuthLock

Represents a lock within the document. The CoAuthLock object is a member of the CoAuthLocks collection.

CoAuthLocks

A collection of CoAuthLock objects.

CoAuthor

Represents a single co-author in the document. The CoAuthor object is a member of the CoAuthors collection. The CoAuthors collection contains all the co-authors in the document (authors that are actively editing the document).

CoAuthoring

Provides the primary entry point to the co-authoring object model.

CoAuthors

A collection of all the CoAuthor objects in the document.

CoAuthUpdate

Represents a range of text that has been updated by a co-author.

CoAuthUpdates

A collection of CoAuthUpdate objects that represent the available updates in the document.

Conflict

Represents a conflicting edit in a co-authored document. The type of a Conflict object is specified by the WdRevisionType enumeration.

Conflicts

A collection of Conflict objects that represents the conflicts in a document. The type of a Conflict object is specified by the WdRevisionType enumeration.

DataLabel

Represents the data label on a chart point or trendline.

DataLabels

A collection of all the DataLabel objects for the specified series.

DataTable

Represents a chart data table.

DisplayUnitLabel

Represents a unit label on an axis in the specified chart.

DownBars

Represents the down bars in a chart group.

DropLines

Represents the drop lines in a chart group.

ErrorBars

Represents the error bars on a chart series.

Floor

Represents the floor of a 3-D chart.

Gridlines

Represents major or minor gridlines on a chart axis.

HiLoLines

Represents the high-low lines in a chart group.

Interior

Represents the interior of an object.

LeaderLines

Represents leader lines on a chart. Leader lines connect data labels to data points.

Legend

Represents the legend in a chart. Each chart can have only one legend.

LegendEntries

A collection of all the LegendEntry objects in the specified chart legend.

LegendEntry

Represents a legend entry in a chart legend.

LegendKey

Represents a legend key in a chart legend.

PlotArea

Represents the plot area of a chart.

Point

Represents a single point in a series in a chart.

Points

A collection of all the Point objects in the specified series in a chart.

ProtectedViewWindow

Represents a protected view window.

ProtectedViewWindows

A collection of all the ProtectedViewWindow objects that are currently open in Word 2010.

Series

Represents a series in a chart.

SeriesCollection

Represents a collection of all the Series objects in the specified chart or chart group.

SeriesLines

Represents series lines in a chart group.

TickLabels

Represents the tick-mark labels associated with tick marks on a chart axis.

Trendline

Represents a trendline in a chart.

Trendlines

Represents a collection of all the Trendline objects for the specified series.

UndoRecord

Provides an entry point into the undo stack.

UpBars

Represents the up bars in a chart group.

Walls

Represents the walls of a 3-D chart.

New Enumerations

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

Enumerations

Description

WdApplyQuickStyleSets

Specifies a Quick Style set to apply to the document.

WdCompatibilityMode

Specifies the compatibility mode that Word 2010 uses when opening a document.

WdLigatures

Specifies the type of ligatures applied to a font.

WdLockType

Specifies the type of lock for a CoAuthLock object.

WdNumberForm

Specifies the number form setting for an OpenType font.

WdNumberSpacing

Specifies the number spacing setting for an OpenType font.

WdPortugueseReform

Specifies the mode for the Brazilian or European Portuguese spellers. Read/write.

WdProtectedViewCloseReason

Specifies how the Protected View window was closed.

WdSpanishSpeller

Specifies the Spanish speller modes.

WdStylisticSet

Specifies the stylistic set to apply to the font.

WdUpdateStyleListBehavior

Specifies the behavior Word 2010 should take when updating a style to match a selection that contains numbering or bullets.

XlAxisCrosses

Specifies the point on the specified axis where the other axis crosses.

XlAxisGroup

Specifies the type of axis group.

XlAxisType

Specifies the axis type.

XlBackground

Specifies the background type for text in charts.

XlBarShape

Specifies the shape used with the 3-D bar or column chart.

XlBorderWeight

Specifies the weight of the border around a range.

XlCategoryType

Specifies the type of the category axis.

XlChartElementPosition

Specifies the position of the chart element.

XlChartGallery

Specifies a chart gallery.

XlChartItem

Specifies the type of the chart item.

XlChartPicturePlacement

Specifies the placement of a user-selected picture on a bar in a 3-D bar or column.

XlChartPictureType

Specifies how pictures are displayed on a column, bar picture chart, or legend key.

XlChartSplitType

Specifies the values displayed in the second chart in a pie chart or a bar of pie chart.

XlColorIndex

Specifies the color of a selected feature, such as a border, font, or fill.

XlConstants

Specifies a miscellaneous constant in Microsoft Word.

XlCopyPictureFormat

Specifies the format of the picture being copied.

XlDataLabelPosition

Specifies where the data label is positioned.

XlDataLabelSeparator

Specifies the separator used with data labels.

XlDataLabelsType

Specifies the type of data label to apply.

XlDisplayBlanksAs

Specifies how blank cells are plotted on a chart.

XlDisplayUnit

Specifies the display unit label for an axis.

XlEndStyleCap

Specifies the end style for error bars.

XlErrorBarDirection

Specifies which axis values are to receive error bars.

XlErrorBarInclude

Specifies which error-bar parts to include.

XlErrorBarType

Specifies the range marked by error bars.

XlHAlign

Specifies the horizontal alignment for the object.

XlLegendPosition

Specifies the position of the legend on a chart.

XlLineStyle

Specifies the line style for the border.

XlMarkerStyle

Specifies the marker style for a point or series in a line chart, scatter chart, or radar chart.

XlOrientation

Specifies the text orientation.

XlPattern

Specifies the interior pattern of a chart or interior object.

XlPictureAppearance

Specifies how the picture should be copied.

XlPieSliceIndex

Specifies which position on the slice to return the coordinate of.

XlPieSliceLocation

Specifies which position on the slice to return the coordinate of.

XlPivotFieldOrientation

Specifies the location of the field in a PivotTable report.

XlReadingOrder

Specifies the reading order for the specified object.

XlRgbColor

Specifies the RGB color.

XlRowCol

Specifies whether the values that correspond to a particular data series are in rows or columns.

XlScaleType

Specifies the scale type of the value axis.

XlSizeRepresents

Specifies what the bubble size represents on a bubble chart.

XlTickLabelOrientation

Specifies the text orientation for tick-mark labels.

XlTickLabelPosition

Specifies the position of tick-mark labels on the specified axis.

XlTickMark

Specifies the position of major and minor tick marks for an axis.

XlTimeUnit

Specifies the unit of time for chart axes and data series.

XlTrendlineType

Specifies how the trendline that smoothes out fluctuations in the data is calculated.

XlUnderlineStyle

Specifies the type of underline that is applied to a font.

XlVAlign

Specifies the vertical alignment for the object.