PreviousSectionProperties Class
Previous Section Properties.When the object is serialized out as xml, its qualified name is w:sectPr.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.PreviousSectionProperties
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(EndnoteProperties))> _
<ChildElementInfoAttribute(GetType(FootnoteProperties))> _
<ChildElementInfoAttribute(GetType(SectionType))> _
<ChildElementInfoAttribute(GetType(PageSize))> _
<ChildElementInfoAttribute(GetType(PageMargin))> _
<ChildElementInfoAttribute(GetType(PaperSource))> _
<ChildElementInfoAttribute(GetType(PageBorders))> _
<ChildElementInfoAttribute(GetType(LineNumberType))> _
<ChildElementInfoAttribute(GetType(PageNumberType))> _
<ChildElementInfoAttribute(GetType(Columns))> _
<ChildElementInfoAttribute(GetType(FormProtection))> _
<ChildElementInfoAttribute(GetType(VerticalTextAlignmentOnPage))> _
<ChildElementInfoAttribute(GetType(NoEndnote))> _
<ChildElementInfoAttribute(GetType(TitlePage))> _
<ChildElementInfoAttribute(GetType(TextDirection))> _
<ChildElementInfoAttribute(GetType(BiDi))> _
<ChildElementInfoAttribute(GetType(GutterOnRight))> _
<ChildElementInfoAttribute(GetType(DocGrid))> _
<ChildElementInfoAttribute(GetType(PrinterSettingsReference))> _
Public Class PreviousSectionProperties _
Inherits OpenXmlCompositeElement
用法
Dim instance As PreviousSectionProperties
[ChildElementInfoAttribute(typeof(EndnoteProperties))]
[ChildElementInfoAttribute(typeof(FootnoteProperties))]
[ChildElementInfoAttribute(typeof(SectionType))]
[ChildElementInfoAttribute(typeof(PageSize))]
[ChildElementInfoAttribute(typeof(PageMargin))]
[ChildElementInfoAttribute(typeof(PaperSource))]
[ChildElementInfoAttribute(typeof(PageBorders))]
[ChildElementInfoAttribute(typeof(LineNumberType))]
[ChildElementInfoAttribute(typeof(PageNumberType))]
[ChildElementInfoAttribute(typeof(Columns))]
[ChildElementInfoAttribute(typeof(FormProtection))]
[ChildElementInfoAttribute(typeof(VerticalTextAlignmentOnPage))]
[ChildElementInfoAttribute(typeof(NoEndnote))]
[ChildElementInfoAttribute(typeof(TitlePage))]
[ChildElementInfoAttribute(typeof(TextDirection))]
[ChildElementInfoAttribute(typeof(BiDi))]
[ChildElementInfoAttribute(typeof(GutterOnRight))]
[ChildElementInfoAttribute(typeof(DocGrid))]
[ChildElementInfoAttribute(typeof(PrinterSettingsReference))]
public class PreviousSectionProperties : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
FootnoteProperties <w:footnotePr>
EndnoteProperties <w:endnotePr>
SectionType <w:type>
PageSize <w:pgSz>
PageMargin <w:pgMar>
PaperSource <w:paperSrc>
PageBorders <w:pgBorders>
LineNumberType <w:lnNumType>
PageNumberType <w:pgNumType>
Columns <w:cols>
FormProtection <w:formProt>
VerticalTextAlignmentOnPage <w:vAlign>
NoEndnote <w:noEndnote>
TitlePage <w:titlePg>
TextDirection <w:textDirection>
BiDi <w:bidi>
GutterOnRight <w:rtlGutter>
DocGrid <w:docGrid>
PrinterSettingsReference <w:printerSettings>
[ISO/IEC 29500-1 第 1 个版本]
17.6.19 sectPr (Previous Section Properties)
When specified as a child element of sectPrChange, the sectPr element specifies a set of section properties that were modified when the document was set to track all revisions.
[Example: If the page orientation was changed with revision tracking enabled, the following WordprocessingML defines the contents of that change:
<w:sectPr>
…
<w:sectPrChange …>
<w:sectPr>
<w:pgSz w:w="15840" w:h="12240"/>
</w:sectPr>
</w:sectPrChange>
</w:sectPr>
The properties that were changed as part of this revision are stored in this sectPr element. end example]
Parent Elements |
---|
sectPrChange (§17.13.5.32) |
Child Elements |
Subclause |
---|---|
bidi (Right to Left Section Layout) |
§17.6.1 |
cols (Column Definitions) |
§17.6.4 |
docGrid (Document Grid) |
§17.6.5 |
endnotePr (Section-Wide Endnote Properties) |
§17.11.5 |
footnotePr (Section-Wide Footnote Properties) |
§17.11.11 |
formProt (Only Allow Editing of Form Fields) |
§17.6.6 |
lnNumType (Line Numbering Settings) |
§17.6.8 |
noEndnote (Suppress Endnotes In Document) |
§17.11.16 |
paperSrc (Paper Source Information) |
§17.6.9 |
pgBorders (Page Borders) |
§17.6.10 |
pgMar (Page Margins) |
§17.6.11 |
pgNumType (Page Numbering Settings) |
§17.6.12 |
pgSz (Page Size) |
§17.6.13 |
printerSettings (Reference to Printer Settings Data) |
§17.6.14 |
rtlGutter (Gutter on Right Side of Page) |
§17.6.16 |
textDirection (Text Flow Direction) |
§17.6.20 |
titlePg (Different First Page Headers and Footers) |
§17.10.6 |
type (Section Type) |
§17.6.22 |
vAlign (Vertical Text Alignment on Page) |
§17.6.23 |
Attributes |
Description |
---|---|
rsidDel (Section Deletion Revision ID) |
Specifies a unique identifier used to track the editing session when the section mark for this section was deleted from the document. All rsid* attributes throughout this document of an equal value, if present, shall indicate that those regions were modified during the same editing session. A producer can choose to increment the revision save ID value to indicate subsequent editing sessions (editing between save actions) to indicate the order of the saves performed. The possible values for this attribute are defined by the ST_LongHexNumber simple type (§17.18.50). |
rsidR (Section Addition Revision ID) |
Specifies a unique identifier used to track the editing session when the section mark for this section was added to the document. All rsid* attributes throughout this document of an equal value, if present, shall indicate that those regions were modified during the same editing session. A producer can choose to increment the revision save ID value to indicate subsequent editing sessions (editing between save actions) to indicate the order of the saves performed. The possible values for this attribute are defined by the ST_LongHexNumber simple type (§17.18.50). |
rsidRPr (Physical Section Mark Character Revision ID) |
Specifies a unique identifier used to track the editing session when the physical character representing this section mark was last formatted. All rsid* attributes throughout this document of an equal value, if present, shall indicate that those regions were modified during the same editing session. A producer can choose to increment the revision save ID value to indicate subsequent editing sessions (editing between save actions) to indicate the order of the saves performed. The possible values for this attribute are defined by the ST_LongHexNumber simple type (§17.18.50). |
rsidSect (Section Properties Revision ID) |
Specifies a unique identifier used to track the editing session when the physical character representing this section mark was last formatted. All rsid* attributes throughout this document of an equal value, if present, shall indicate that those regions were modified during the same editing session. A producer can choose to increment the revision save ID value to indicate subsequent editing sessions (editing between save actions) to indicate the order of the saves performed. The possible values for this attribute are defined by the ST_LongHexNumber simple type (§17.18.50). |
[Note: The W3C XML Schema definition of this element's content model (CT_SectPrBase) is located in §A.1. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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.