Package org.docx4j.wml
Class SectPr
java.lang.Object
org.docx4j.wml.SectPr
- All Implemented Interfaces:
Child
Java class for CT_SectPr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SectPr">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_HdrFtrReferences" maxOccurs="6" minOccurs="0"/>
<group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_SectPrContents" minOccurs="0"/>
<element name="sectPrChange" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SectPrChange" minOccurs="0"/>
</sequence>
<attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}AG_SectPrAttributes"/>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanDefaultTrueprotected CTColumnsprotected CTDocGridprotected CTEdnPropsprotected CTDecimalNumberprotected CTFtnPropsprotected BooleanDefaultTrueprotected CTLineNumberprotected BooleanDefaultTrueprotected CTPaperSourceprotected SectPr.PgBordersprotected SectPr.PgMarprotected CTPageNumberprotected SectPr.PgSzprotected CTRelprotected Stringprotected Stringprotected Stringprotected Stringprotected BooleanDefaultTrueprotected CTSectPrChangeprotected TextDirectionprotected BooleanDefaultTrueprotected SectPr.Typeprotected CTVerticalJc -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getBidi()Gets the value of the bidi property.getCols()Gets the value of the cols property.Gets the value of the docGrid property.Gets the value of the egHdrFtrReferences property.Gets the value of the endnotePr property.Gets the value of the footnoteColumns property.Gets the value of the footnotePr property.Gets the value of the formProt property.Gets the value of the lnNumType property.Gets the value of the noEndnote property.Gets the value of the paperSrc property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the pgBorders property.getPgMar()Gets the value of the pgMar property.Gets the value of the pgNumType property.getPgSz()Gets the value of the pgSz property.Gets the value of the printerSettings property.Gets the value of the rsidDel property.getRsidR()Gets the value of the rsidR property.Gets the value of the rsidRPr property.Gets the value of the rsidSect property.Gets the value of the rtlGutter property.Gets the value of the sectPrChange property.Gets the value of the textDirection property.Gets the value of the titlePg property.getType()Gets the value of the type property.Gets the value of the vAlign property.voidsetBidi(BooleanDefaultTrue value) Sets the value of the bidi property.voidSets the value of the cols property.voidsetDocGrid(CTDocGrid value) Sets the value of the docGrid property.voidsetEndnotePr(CTEdnProps value) Sets the value of the endnotePr property.voidSets the value of the footnoteColumns property.voidsetFootnotePr(CTFtnProps value) Sets the value of the footnotePr property.voidsetFormProt(BooleanDefaultTrue value) Sets the value of the formProt property.voidsetLnNumType(CTLineNumber value) Sets the value of the lnNumType property.voidsetNoEndnote(BooleanDefaultTrue value) Sets the value of the noEndnote property.voidsetPaperSrc(CTPaperSource value) Sets the value of the paperSrc property.voidvoidsetPgBorders(SectPr.PgBorders value) Sets the value of the pgBorders property.voidsetPgMar(SectPr.PgMar value) Sets the value of the pgMar property.voidsetPgNumType(CTPageNumber value) Sets the value of the pgNumType property.voidsetPgSz(SectPr.PgSz value) Sets the value of the pgSz property.voidsetPrinterSettings(CTRel value) Sets the value of the printerSettings property.voidsetRsidDel(String value) Sets the value of the rsidDel property.voidSets the value of the rsidR property.voidsetRsidRPr(String value) Sets the value of the rsidRPr property.voidsetRsidSect(String value) Sets the value of the rsidSect property.voidsetRtlGutter(BooleanDefaultTrue value) Sets the value of the rtlGutter property.voidsetSectPrChange(CTSectPrChange value) Sets the value of the sectPrChange property.voidsetTextDirection(TextDirection value) Sets the value of the textDirection property.voidsetTitlePg(BooleanDefaultTrue value) Sets the value of the titlePg property.voidsetType(SectPr.Type value) Sets the value of the type property.voidsetVAlign(CTVerticalJc value) Sets the value of the vAlign property.
-
Field Details
-
egHdrFtrReferences
-
footnotePr
-
endnotePr
-
type
-
pgSz
-
pgMar
-
paperSrc
-
pgBorders
-
lnNumType
-
pgNumType
-
cols
-
formProt
-
vAlign
-
noEndnote
-
titlePg
-
textDirection
-
bidi
-
rtlGutter
-
docGrid
-
printerSettings
-
footnoteColumns
-
sectPrChange
-
rsidRPr
-
rsidDel
-
rsidR
-
rsidSect
-
-
Constructor Details
-
SectPr
public SectPr()
-
-
Method Details
-
getEGHdrFtrReferences
Gets the value of the egHdrFtrReferences property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the egHdrFtrReferences property.For example, to add a new item, do as follows:
getEGHdrFtrReferences().add(newItem);Objects of the following type(s) are allowed in the list
HeaderReferenceFooterReference -
getFootnotePr
Gets the value of the footnotePr property.- Returns:
- possible object is
CTFtnProps
-
setFootnotePr
Sets the value of the footnotePr property.- Parameters:
value- allowed object isCTFtnProps
-
getEndnotePr
Gets the value of the endnotePr property.- Returns:
- possible object is
CTEdnProps
-
setEndnotePr
Sets the value of the endnotePr property.- Parameters:
value- allowed object isCTEdnProps
-
getType
Gets the value of the type property.- Returns:
- possible object is
SectPr.Type
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSectPr.Type
-
getPgSz
Gets the value of the pgSz property.- Returns:
- possible object is
SectPr.PgSz
-
setPgSz
Sets the value of the pgSz property.- Parameters:
value- allowed object isSectPr.PgSz
-
getPgMar
Gets the value of the pgMar property.- Returns:
- possible object is
SectPr.PgMar
-
setPgMar
Sets the value of the pgMar property.- Parameters:
value- allowed object isSectPr.PgMar
-
getPaperSrc
Gets the value of the paperSrc property.- Returns:
- possible object is
CTPaperSource
-
setPaperSrc
Sets the value of the paperSrc property.- Parameters:
value- allowed object isCTPaperSource
-
getPgBorders
Gets the value of the pgBorders property.- Returns:
- possible object is
SectPr.PgBorders
-
setPgBorders
Sets the value of the pgBorders property.- Parameters:
value- allowed object isSectPr.PgBorders
-
getLnNumType
Gets the value of the lnNumType property.- Returns:
- possible object is
CTLineNumber
-
setLnNumType
Sets the value of the lnNumType property.- Parameters:
value- allowed object isCTLineNumber
-
getPgNumType
Gets the value of the pgNumType property.- Returns:
- possible object is
CTPageNumber
-
setPgNumType
Sets the value of the pgNumType property.- Parameters:
value- allowed object isCTPageNumber
-
getCols
Gets the value of the cols property.- Returns:
- possible object is
CTColumns
-
setCols
Sets the value of the cols property.- Parameters:
value- allowed object isCTColumns
-
getFormProt
Gets the value of the formProt property.- Returns:
- possible object is
BooleanDefaultTrue
-
setFormProt
Sets the value of the formProt property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getVAlign
Gets the value of the vAlign property.- Returns:
- possible object is
CTVerticalJc
-
setVAlign
Sets the value of the vAlign property.- Parameters:
value- allowed object isCTVerticalJc
-
getNoEndnote
Gets the value of the noEndnote property.- Returns:
- possible object is
BooleanDefaultTrue
-
setNoEndnote
Sets the value of the noEndnote property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getTitlePg
Gets the value of the titlePg property.- Returns:
- possible object is
BooleanDefaultTrue
-
setTitlePg
Sets the value of the titlePg property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getTextDirection
Gets the value of the textDirection property.- Returns:
- possible object is
TextDirection
-
setTextDirection
Sets the value of the textDirection property.- Parameters:
value- allowed object isTextDirection
-
getBidi
Gets the value of the bidi property.- Returns:
- possible object is
BooleanDefaultTrue
-
setBidi
Sets the value of the bidi property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getRtlGutter
Gets the value of the rtlGutter property.- Returns:
- possible object is
BooleanDefaultTrue
-
setRtlGutter
Sets the value of the rtlGutter property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getDocGrid
Gets the value of the docGrid property.- Returns:
- possible object is
CTDocGrid
-
setDocGrid
Sets the value of the docGrid property.- Parameters:
value- allowed object isCTDocGrid
-
getPrinterSettings
Gets the value of the printerSettings property.- Returns:
- possible object is
CTRel
-
setPrinterSettings
Sets the value of the printerSettings property.- Parameters:
value- allowed object isCTRel
-
getFootnoteColumns
Gets the value of the footnoteColumns property.- Returns:
- possible object is
CTDecimalNumber
-
setFootnoteColumns
Sets the value of the footnoteColumns property.- Parameters:
value- allowed object isCTDecimalNumber
-
getSectPrChange
Gets the value of the sectPrChange property.- Returns:
- possible object is
CTSectPrChange
-
setSectPrChange
Sets the value of the sectPrChange property.- Parameters:
value- allowed object isCTSectPrChange
-
getRsidRPr
Gets the value of the rsidRPr property.- Returns:
- possible object is
String
-
setRsidRPr
Sets the value of the rsidRPr property.- Parameters:
value- allowed object isString
-
getRsidDel
Gets the value of the rsidDel property.- Returns:
- possible object is
String
-
setRsidDel
Sets the value of the rsidDel property.- Parameters:
value- allowed object isString
-
getRsidR
Gets the value of the rsidR property.- Returns:
- possible object is
String
-
setRsidR
Sets the value of the rsidR property.- Parameters:
value- allowed object isString
-
getRsidSect
Gets the value of the rsidSect property.- Returns:
- possible object is
String
-
setRsidSect
Sets the value of the rsidSect property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-