Freigeben über


AutoCaptions-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.AutoCaptions

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(AutoCaption))> _
Public Class AutoCaptions _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As AutoCaptions
[ChildElementInfoAttribute(typeof(AutoCaption))]
public class AutoCaptions : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • AutoCaption <w:autoCaption>

[ISO/IEC 29500-1 1. Ausgabe]

17.15.1.8 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.

DocumentFormat.OpenXml.Wordprocessing.AutoCaptionsDocumentFormat.OpenXml.Wordprocessing.AutoCaptions

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

AutoCaptions-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace