次の方法で共有


Styles Class

Style Definitions.When the object is serialized out as xml, its qualified name is w:styles. Defines Styles.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Wordprocessing.Styles

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(DocDefaults))> _
<ChildElementInfoAttribute(GetType(LatentStyles))> _
<ChildElementInfoAttribute(GetType(Style))> _
Public Class Styles _
    Inherits OpenXmlPartRootElement
'使用
Dim instance As Styles
[ChildElementInfoAttribute(typeof(DocDefaults))]
[ChildElementInfoAttribute(typeof(LatentStyles))]
[ChildElementInfoAttribute(typeof(Style))]
public class Styles : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • DocDefaults <w:docDefaults>

  • LatentStyles <w:latentStyles>

  • Style <w:style>

[ISO/IEC 29500-1 初版]

17.7.2.18 styles (Style Definitions)

This element specifies all of the style information stored in the WordprocessingML document: style definitions as well as latent style information.

[Example: The Normal paragraph style in a word processing document can have any number of formatting properties, e.g. font face = Times New Roman; font size = 12pt; paragraph justification = left). All paragraphs which reference this paragraph style would automatically inherit these properties. end example]

Parent Elements

Root element of WordprocessingML Style Definitions part

Child Elements

Subclause

docDefaults (Document Default Paragraph and Run Properties)

§17.7.5.1

latentStyles (Latent Style Information)

§17.7.4.5

style (Style Definition)

§17.7.4.17

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

Thread Safety

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

See Also

Reference

Styles Members

DocumentFormat.OpenXml.Wordprocessing Namespace