AutoCaptions class

Office 2013 and later

Automatic Captioning Settings. When the object is serialized out as xml, its qualified name is w:autoCaptions.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(AutoCaption))]
public class AutoCaptions : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

autoCaptions (Automatic Captioning Settings)

This element specifies that one or more types of objects, when inserted into a WordprocessingML document, are automatically be labeled with a specific caption defined using the caption element (§17.15.1.16).

[Example: Consider the following example illustrating a two page WordprocessingML document that has leveraged WordprocessingML to automatically label WordprocessingML tables with a specified caption.

This type of automatic captioning is specified using the following WordprocessingML fragment:

<w:captions>
  <w:caption w:name="Table" w:pos="below" w:chapNum="1" w:heading="2" w:numFmt="upperLetter" w:sep="8212" />
  <w:autoCaptions>
    <w:autoCaption w:name="wfwTable" w:caption="Table" />
  </w:autoCaptions>
</w:captions>

The autoCaptions element specifies set of objects that when inserted into a WordprocessingML document are automatically be labeled with a given caption. end example]

Parent Elements

captions (§17.15.1.17)

Child Elements

Subclause

autoCaption (Single Automatic Captioning Setting)

§17.15.1.7

[Note: The W3C XML Schema definition of this element’s content model (CT_AutoCaptions) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: