ParagraphProperties クラス

定義

段落のプロパティです。 オブジェクトを xml としてシリアル化されるときに、修飾名、w:pPr です。

[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ParagraphStyleId))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.KeepNext))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.KeepLines))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.PageBreakBefore))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.FrameProperties))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.WidowControl))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.NumberingProperties))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SuppressLineNumbers))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ParagraphBorders))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Shading))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Tabs))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SuppressAutoHyphens))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Kinsoku))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.WordWrap))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.OverflowPunctuation))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TopLinePunctuation))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.AutoSpaceDE))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.AutoSpaceDN))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.BiDi))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.AdjustRightIndent))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SnapToGrid))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SpacingBetweenLines))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Indentation))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ContextualSpacing))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MirrorIndents))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SuppressOverlap))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Justification))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TextDirection))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TextAlignment))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TextBoxTightWrap))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.OutlineLevel))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.DivId))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ConditionalFormatStyle))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ParagraphMarkRunProperties))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SectionProperties))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ParagraphPropertiesChange))]
public class ParagraphProperties : DocumentFormat.OpenXml.OpenXmlCompositeElement
type ParagraphProperties = class
    inherit OpenXmlCompositeElement
Public Class ParagraphProperties
Inherits OpenXmlCompositeElement
継承
属性

次の使用例は、既存のワープロ ドキュメントを開き、スタイルの段落、見出し 1 は、検索し、その段落の前に、アウトラインの子を挿入します。

using System;  
using System.Collections.Generic;  
using System.Linq;  
using DocumentFormat.OpenXml;  
using DocumentFormat.OpenXml.Packaging;  
using DocumentFormat.OpenXml.Wordprocessing;  

namespace ParagraphPropertiesEx  
{  
    class Program  
    {  
        // Search all paragraphs of the specified style and make an outline descendant.  
        static void Main(string[] args)  
        {  
            string fileName = @"C:\Users\Public\Documents\ParagraphPropertiesEx.docx";  
            using (WordprocessingDocument wordprocessingDocument =   
                WordprocessingDocument.Open(fileName, true))  
            {  
                // Get the body element.  
                var body = wordprocessingDocument.MainDocumentPart.Document.Body;  

                //Define a list to store outline Paragraphs  
                var paragraphs = new List<Paragraph>();  

                // Search all Paragraphs that is "Heading1" style.  
                foreach (Paragraph para in body.Descendants<Paragraph>().  
                    Where(e => e.ParagraphProperties != null  
                        && e.ParagraphProperties.ParagraphStyleId != null  
                        && e.ParagraphProperties.ParagraphStyleId.Val == "Heading1"))  
                {  
                    paragraphs.Add(new Paragraph(new Run(new Text(para.InnerText))));  
                }  

                // Need to find whether first child is null, if so, add the paragragh collections to Body.  
                if (body.FirstChild == null)  
                {  
                    body.Append(paragraphs.ToArray());  
                }  

                // Else, get first child and always insert before it.  
                else  
                {  
                    OpenXmlElement first = body.FirstChild;  
                    foreach (Paragraph p in paragraphs)  
                    {  
                        first.InsertBeforeSelf<Paragraph>(p);  
                    }  
                }  
            }  
            Console.WriteLine("All done. Press a key");  
            Console.ReadKey();  
        }  
    }  
}  
Imports System.Collections.Generic  
Imports System.Linq  
Imports DocumentFormat.OpenXml  
Imports DocumentFormat.OpenXml.Packaging  
Imports DocumentFormat.OpenXml.Wordprocessing  

Module Module1  
    ' Search all paragraphs of the specified style and make an outline descendant.  
    Sub Main(ByVal args As String())  
        Dim fileName As String = "C:\Users\Public\Documents\ParagraphPropertiesEx.docx"  
        Using wordprocessingDocument As WordprocessingDocument = wordprocessingDocument.Open(fileName, True)  
            ' Get the body element.  
            Dim body = wordprocessingDocument.MainDocumentPart.Document.Body  
            'Define a list to store outline Paragraphs  
            Dim paragraphs = New List(Of Paragraph)()  

            ' Search all Paragraphs that is "Heading1" style.  
            For Each para As Paragraph In body.Descendants(Of Paragraph)().Where(Function(e) e.ParagraphProperties IsNot Nothing AndAlso e.ParagraphProperties.ParagraphStyleId IsNot Nothing AndAlso e.ParagraphProperties.ParagraphStyleId.Val = "Heading1")  
                paragraphs.Add(New Paragraph(New Run(New Text(para.InnerText))))  
            Next  

            ' Need to find whether first child is null, if so, add the paragragh collections to Body.  
            If body.FirstChild Is Nothing Then  
                body.Append(paragraphs.ToArray())  
            Else  
                ' Else, get first child and always insert before it.  
                Dim first As OpenXmlElement = body.FirstChild  
                For Each p As Paragraph In paragraphs  
                    first.InsertBeforeSelf(Of Paragraph)(p)  
                Next  
            End If  
        End Using  
        Console.WriteLine("All done. Press a key")  
        Console.ReadKey()  
    End Sub  
End Module  

注釈

[ISO/IEC 29500-1 1st Edition]

pPr (段落のプロパティ)

この要素は、スタイルまたは段落番号/テーブルのすべてのプロパティをテキストに適用した後に親の段落の内容に適用されるものと、段落のプロパティのセットを指定します。 これらのプロパティはされるように直接適用した書式、段落に直接適用されるためと、スタイルの書式設定よりも優先します。

[: 段落の書式設定プロパティのセットを持つ必要があります段落を検討してください。 この一連のプロパティは次のように段落のプロパティで指定します。

<w:p>  
  <w:pPr>  
    <w:pBdr>  
      <w:bottom w:val="single" w:sz="8" w:space="4" w:color="4F81BD" />   
    </w:pBdr>  
    <w:spacing w:after="300" />   
    <w:contextualSpacing />   
  </w:pPr>  
</w:p>  

PPr 要素は、現在の段落に適用されるプロパティを指定する-この例では、下要素 (§17.3.1.7) を使用して、下の段落罫線、間隔の要素 (§17.3.1.33) を使用して段落後の間隔とその間隔があります。contextualSpacing 要素 (§17.3.1.9) を使用して、[同じスタイルの上、下の段落は無視されます。 例終わり]

親要素
p (§17.3.1.22)
子要素
adjustRightInd (自動的に調整右インデントを設定するときを使用して文書のグリッド線) §17.3.1.1
autoSpaceDE (自動調整スペースのラテン語と東アジア言語のテキスト) §17.3.1.2
autoSpaceDN (自動的に調整する間隔の東アジア言語のテキストと番号) §17.3.1.3
bidi (右から左段落のレイアウト) §17.3.1.6
(段落の書式設定) cnfStyle §17.3.1.8
contextualSpacing (上の間隔を無視して下にスタイルを使用して同じ) §17.3.1.9
divId (関連付けられている HTML の div の ID) §17.3.1.10
framePr (テキスト フレームのプロパティ) §17.3.1.11
ind (段落のインデント) §17.3.1.12
jc さん (段落の配置) §17.3.1.13
keepLines (保持すべて行で 1 ページ) §17.3.1.14
keepNext (次段落と段落を維持) §17.3.1.15
禁則処理 (東アジア言語文字体裁の規則を使用の最初と最後の文字を 1 行) §17.3.1.16
(左または右インデントを使用 Inside/Outside インデントとして) mirrorIndents §17.3.1.18
numPr (段落番号の定義のインスタンスの参照) §17.3.1.19
outlineLvl (関連付けられているアウトライン レベル) §17.3.1.20
overflowPunct (過去のテキスト範囲の拡張に句読点を許可する) §17.3.1.21
pageBreakBefore (次のページで段落の開始位置) §17.3.1.23
pBdr (段落罫線) §17.3.1.24
pPrChange (段落プロパティのリビジョン情報) §17.13.5.29
pStyle (段落のスタイルを参照) §17.3.1.27
rPr (段落記号のプロパティを実行) §17.3.1.29
sectPr (セクションのプロパティ) §17.6.18
shd の (段落の網かけ) §17.3.1.31
snapToGrid (段落の行間を使用してドキュメント グリッド設定) §17.3.1.32
間隔 (線間の間隔と段落の Above/Below) §17.3.1.33
suppressAutoHyphens (段落のハイフネーションを抑制) §17.3.1.34
suppressLineNumbers (非表示の行番号の段落) §17.3.1.35
(ようにテキスト フレームから重複している) suppressOverlap §17.3.1.36
タブ (設定のカスタムのタブ位置) §17.3.1.38
(行の垂直方向の文字配置) の配置 §17.3.1.39
textboxTightWrap (許可周囲の段落にテキスト ボックスの内容をしっかりラップ) §17.3.1.40
textDirection (段落のテキストのフロー方向) §17.3.1.41
topLinePunct (行の先頭に句読点を圧縮) §17.3.1.43
widowControl (許可 First/Last ラインの別のページに表示する) §17.3.1.44
wordWrap (許可行分割文字レベルで) §17.3.1.45

[: この要素のコンテンツ モデル (CT_PPr) の W3C XML スキーマ定義は §A.1 であります。 メモの終了)

ISO/IEC29500: 2008。

コンストラクター

ParagraphProperties()

ParagraphProperties クラスの新しいインスタンスを初期化します。

ParagraphProperties(IEnumerable<OpenXmlElement>)

指定した子要素を持つ ParagraphProperties クラスの新しいインスタンスを初期化します。

ParagraphProperties(OpenXmlElement[])

指定した子要素を持つ ParagraphProperties クラスの新しいインスタンスを初期化します。

ParagraphProperties(String)

外側の XML から ParagraphProperties クラスの新しいインスタンスを初期化します。

プロパティ

AdjustRightIndent

AdjustRightIndent。 スキーマでは、次の要素タグを表します w:adjustRightInd。

AutoSpaceDE

AutoSpaceDE。 スキーマでは、次の要素タグを表します w:autoSpaceDE。

AutoSpaceDN

AutoSpaceDN。 スキーマでは、次の要素タグを表します w:autoSpaceDN。

BiDi

双方向です。 スキーマでは、次の要素タグを表します w:bidi。

ChildElements

現在の要素のすべての子ノードを取得します。

(継承元 OpenXmlElement)
ConditionalFormatStyle

ConditionalFormatStyle。 スキーマでは、次の要素タグを表します w:cnfStyle。

ContextualSpacing

ContextualSpacing。 スキーマでは、次の要素タグを表します w:contextualSpacing。

DivId

DivId。 スキーマでは、次の要素タグを表します w:divId。

ExtendedAttributes

現在の要素のすべての拡張属性 (スキーマで定義されていない属性) を取得します。

(継承元 OpenXmlElement)
FirstChild

現在の OpenXmlElement 要素の最初の子を取得します。

(継承元 OpenXmlCompositeElement)
FrameProperties

FrameProperties。 スキーマでは、次の要素タグを表します w:framePr。

HasAttributes

現在の要素に属性が含されているかどうかを示すブール値を取得します。

(継承元 OpenXmlElement)
HasChildren

現在の要素に子要素が含されているかどうかを示す値を取得します。

(継承元 OpenXmlCompositeElement)
Indentation

インデントします。 スキーマでは、次の要素タグを表します w:ind。

InnerText

現在のノードとそのすべての子の連結値を取得または設定します。

(継承元 OpenXmlCompositeElement)
InnerXml

現在のノードの子ノードのみを表すマークアップを取得または設定します。

(継承元 OpenXmlCompositeElement)
Justification

両端揃えします。 スキーマでは、次の要素タグを表します w:jc。

KeepLines

KeepLines。 スキーマでは、次の要素タグを表します w:keepLines。

KeepNext

KeepNext。 スキーマでは、次の要素タグを表します w:keepNext。

Kinsoku

禁則処理します。 スキーマでは、次の要素タグを表します w:kinsoku。

LastChild

現在の OpenXmlElement 要素の最後の子を取得します。 このような OpenXmlElement 要素がないVisual Basic null (Nothing in Visual Basic) を返します。

(継承元 OpenXmlCompositeElement)
LocalName

要素のローカル名を取得します。

MCAttributes

マークアップの互換性属性を設定します。 現在の要素に対してマークアップ互換性属性が定義されていない場合は null を返します。

(継承元 OpenXmlElement)
MirrorIndents

MirrorIndents。 スキーマでは、次の要素タグを表します w:mirrorIndents。

NamespaceDeclarations

現在の要素で定義されている名前空間宣言を取得します。 名前空間宣言がない場合は、空の列挙子を返します。

(継承元 OpenXmlElement)
NamespaceUri

現在の要素の名前空間 URI を取得します。

(継承元 OpenXmlElement)
NumberingProperties

NumberingProperties。 スキーマでは、次の要素タグを表します: w:numPr

OpenXmlElementContext

現在の要素の OpenXmlEementContext を取得します。

(継承元 OpenXmlElement)
OuterXml

現在の要素とそのすべての子要素を表すマークアップを取得します。

(継承元 OpenXmlElement)
OutlineLevel

OutlineLevel。 スキーマでは、次の要素タグを表します w:outlineLvl。

OverflowPunctuation

OverflowPunctuation。 スキーマでは、次の要素タグを表します w:overflowPunct。

PageBreakBefore

PageBreakBefore。 スキーマでは、次の要素タグを表します w:pageBreakBefore。

ParagraphBorders

ParagraphBorders。 スキーマでは、次の要素タグを表します w:pBdr。

ParagraphMarkRunProperties

段落記号のプロパティを実行します。 スキーマでは、次の要素タグを表します w:rPr。

ParagraphPropertiesChange

ParagraphPropertiesChange。 スキーマでは、次の要素タグを表します: w:pPrChange

ParagraphStyleId

ParagraphStyleId。 スキーマでは、次の要素タグを表します: w:pStyle

Parent

現在の要素の親要素を取得します。

(継承元 OpenXmlElement)
Prefix

現在の要素の名前空間プレフィックスを取得します。

(継承元 OpenXmlElement)
SectionProperties

セクションのプロパティ。 スキーマでは、次の要素タグを表します w:sectPr。

Shading

網かけ スキーマでは、次の要素タグを表します w:shd。

SnapToGrid

SnapToGrid。 スキーマでは、次の要素タグを表します w:snapToGrid。

SpacingBetweenLines

SpacingBetweenLines。 スキーマでは、次の要素タグを表します w:spacing。

SuppressAutoHyphens

SuppressAutoHyphens。 スキーマでは、次の要素タグを表します w:suppressAutoHyphens。

SuppressLineNumbers

SuppressLineNumbers。 スキーマでは、次の要素タグを表します w:suppressLineNumbers。

SuppressOverlap

SuppressOverlap。 スキーマでは、次の要素タグを表します w:suppressOverlap。

Tabs

タブします。 スキーマでは、次の要素タグを表します w:tabs。

TextAlignment

配置します。 スキーマでは、次の要素タグを表します w:textAlignment。

TextBoxTightWrap

TextBoxTightWrap。 スキーマでは、次の要素タグを表します w:textboxTightWrap。

TextDirection

TextDirection。 スキーマでは、次の要素タグを表します w:textDirection。

TopLinePunctuation

TopLinePunctuation。 スキーマでは、次の要素タグを表します w:topLinePunct。

WidowControl

WidowControl。 スキーマでは、次の要素タグを表します w:widowControl。

WordWrap

Wordwrap プロパティを使う。 スキーマでは、次の要素タグを表します w:wordWrap。

XmlQualifiedName

現在の要素の修飾名を取得します。

(継承元 OpenXmlElement)
XName

現在の要素の修飾名を取得します。

(継承元 OpenXmlElement)

メソッド

AddAnnotation(Object)

現在の OpenXmlElement 要素の注釈の一覧にオブジェクトを追加します。

(継承元 OpenXmlElement)
AddNamespaceDeclaration(String, String)

現在のノードに namepace 宣言を追加します。

(継承元 OpenXmlElement)
Ancestors()

現在の要素のすべての先祖を列挙します。

(継承元 OpenXmlElement)
Ancestors<T>()

指定した型を持つ現在の要素の先祖のみを列挙します。

(継承元 OpenXmlElement)
Annotation(Type)

現在の OpenXmlElement 要素から、指定した型の最初の注釈オブジェクトを取得します。

(継承元 OpenXmlElement)
Annotation<T>()

現在の OpenXmlElement 要素から、指定した型の最初の注釈オブジェクトを取得します。

(継承元 OpenXmlElement)
Annotations(Type)

現在の OpenXmlElement 要素の指定した型を持つ注釈のコレクションを取得します。

(継承元 OpenXmlElement)
Annotations<T>()

現在の OpenXmlElement 要素の指定した型を持つ注釈のコレクションを取得します。

(継承元 OpenXmlElement)
Append(IEnumerable<OpenXmlElement>)

要素のリストから、現在の要素の子要素のリストの末尾に各要素を追加します。

(継承元 OpenXmlElement)
Append(OpenXmlElement[])

要素の配列から、現在の要素の子要素のリストの末尾に各要素を追加します。

(継承元 OpenXmlElement)
AppendChild<T>(T)

指定した要素を、現在の要素の子ノードのリストの末尾に追加します。

(継承元 OpenXmlCompositeElement)
ClearAllAttributes()

既知の属性と拡張属性の両方を含む、すべての属性をクリアします。

(継承元 OpenXmlElement)
Clone()

現在のノードの複製を作成します。

(継承元 OpenXmlElement)
CloneNode(Boolean)

このノードの複製を作成します。

Descendants()

現在の要素のすべての子孫を列挙します。

(継承元 OpenXmlElement)
Descendants<T>()

現在の要素の T 型のすべての子孫を列挙します。

(継承元 OpenXmlElement)
Elements()

現在の要素のすべての子を列挙します。

(継承元 OpenXmlElement)
Elements<T>()

指定した型を持つ現在の要素の子のみを列挙します。

(継承元 OpenXmlElement)
ElementsAfter()

現在の要素に従い、現在の要素と同じ親を持つすべての兄弟要素を列挙します。

(継承元 OpenXmlElement)
ElementsBefore()

現在の要素の前に、現在の要素と同じ親を持つすべての兄弟要素を列挙します。

(継承元 OpenXmlElement)
GetAttribute(String, String)

指定したタグ名と名前空間 URI を持つ Open XML 属性を取得します。

(継承元 OpenXmlElement)
GetAttributes()

すべての属性のコピーを含むリストを取得します。

(継承元 OpenXmlElement)
GetEnumerator()

子コレクションを反復処理する列挙子を返します。

(継承元 OpenXmlElement)
GetFirstChild<T>()

型 T の最初の子要素を検索します。

(継承元 OpenXmlElement)
InsertAfter<T>(T, OpenXmlElement)

指定した参照要素の直後に、指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
InsertAfterSelf<T>(T)

現在の要素の直後に指定した要素を挿入します。

(継承元 OpenXmlElement)
InsertAt<T>(T, Int32)

現在の要素の子の指定したインデックスに、指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
InsertBefore<T>(T, OpenXmlElement)

指定した参照要素の直前に、指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
InsertBeforeSelf<T>(T)

現在の要素の直前に指定した要素を挿入します。

(継承元 OpenXmlElement)
IsAfter(OpenXmlElement)

ドキュメントの順序で指定した要素の後に現在の要素が表示されるかどうかを指定します。

(継承元 OpenXmlElement)
IsBefore(OpenXmlElement)

現在の要素が文書の順序で指定された要素の前に表示されるかどうかを指定します。

(継承元 OpenXmlElement)
LookupNamespace(String)

現在のノードのコンテキストで名前空間プレフィックスを解決します。

(継承元 OpenXmlElement)
LookupPrefix(String)

現在の要素スコープ内の名前空間 uri の対応するプレフィックスを検索します。

(継承元 OpenXmlElement)
NextSibling()

現在の OpenXmlElement 要素の直後にある OpenXmlElement 要素を取得します。 次の OpenXmlElement 要素がないVisual Basic null (Nothing in Visual Basic) を返します。

(継承元 OpenXmlElement)
NextSibling<T>()

現在の OpenXmlElement 要素に続く、指定した型を持つ OpenXmlElement 要素を取得します。 次の OpenXmlElement がないVisual Basic null (Nothing in Visual Basic) を返します。

(継承元 OpenXmlElement)
PrependChild<T>(T)

現在の要素の子ノードのリストの先頭に指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
PreviousSibling()

現在の OpenXmlElement 要素の直前にある OpenXmlElement 要素を取得します。 前の OpenXmlElement 要素がないVisual Basic null ( Nothing in Visual Basic ) を返します。

(継承元 OpenXmlElement)
PreviousSibling<T>()

現在の OpenXmlElement の前に指定された型を持つ OpenXmlElement 要素を取得します。 前の OpenXmlElement 要素がない場合は、null (Visual Basic 内の Nothing) を返します。

(継承元 OpenXmlElement)
Remove()

現在の要素を親から削除します。

(継承元 OpenXmlElement)
RemoveAllChildren()

現在の要素のすべての子要素を削除します。

(継承元 OpenXmlCompositeElement)
RemoveAllChildren<T>()

T 型の現在の要素のすべての子要素を削除します。

(継承元 OpenXmlElement)
RemoveAnnotations(Type)

現在の OpenXmlElement 要素から、指定した型の注釈を削除します。

(継承元 OpenXmlElement)
RemoveAnnotations<T>()

現在の OpenXmlElement 要素から、指定した型の注釈を削除します。

(継承元 OpenXmlElement)
RemoveAttribute(String, String)

現在の要素から属性を削除します。

(継承元 OpenXmlElement)
RemoveChild<T>(T)

指定した子要素を削除します。

(継承元 OpenXmlCompositeElement)
RemoveNamespaceDeclaration(String)

指定したプレフィックスの名前空間宣言を削除します。 プレフィックスがない場合は何も削除しません。

(継承元 OpenXmlElement)
ReplaceChild<T>(OpenXmlElement, T)

現在の要素の子要素の 1 つを別の OpenXmlElement 要素に置き換える。

(継承元 OpenXmlCompositeElement)
SetAttribute(OpenXmlAttribute)

属性を指定した要素に設定します。 属性が既知の属性の場合、属性の値が設定されます。 属性が拡張属性の場合、'openxmlAttribute' が拡張属性リストに追加されます。

(継承元 OpenXmlElement)
SetAttributes(IEnumerable<OpenXmlAttribute>)

要素に対して多数の属性を設定します。 属性が既知の属性の場合、属性の値が設定されます。 属性が拡張属性の場合、'openxmlAttribute' が拡張属性リストに追加されます。

(継承元 OpenXmlElement)
WriteTo(XmlWriter)

現在のノードを指定した XmlWriter に保存します。

(継承元 OpenXmlElement)

明示的なインターフェイスの実装

IEnumerable.GetEnumerator() (継承元 OpenXmlElement)

適用対象