Class SdtPr
- All Implemented Interfaces:
Child
public class SdtPr extends java.lang.Object implements Child
Java class for CT_SdtPr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SdtPr">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="rPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_RPr" minOccurs="0"/>
<element name="alias" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="lock" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Lock" minOccurs="0"/>
<element name="placeholder" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Placeholder" minOccurs="0"/>
<element name="showingPlcHdr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
<element name="dataBinding" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_DataBinding" minOccurs="0"/>
<element name="temporary" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
<element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}id" minOccurs="0"/>
<element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tag" minOccurs="0"/>
<choice minOccurs="0">
<element name="equation">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="comboBox" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtComboBox"/>
<element name="date" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtDate"/>
<element name="docPartObj" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtDocPart"/>
<element name="docPartList" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtDocPart"/>
<element name="dropDownList" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtDropDownList"/>
<element name="picture">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="richText">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="text" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtText"/>
<element name="citation">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="group">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="bibliography">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<element ref="{http://schemas.microsoft.com/office/word/2010/wordml}checkbox" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2010/wordml}entityPicker" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}appearance" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}color" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}dataBinding" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}repeatingSection" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}repeatingSectionItem" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}webExtensionCreated" minOccurs="0"/>
<element ref="{http://schemas.microsoft.com/office/word/2012/wordml}webExtensionLinked" minOccurs="0"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSdtPr.AliasJava class for anonymous complex type.static classSdtPr.BibliographyJava class for anonymous complex type.static classSdtPr.CitationJava class for anonymous complex type.static classSdtPr.EquationJava class for anonymous complex type.static classSdtPr.GroupJava class for anonymous complex type.static classSdtPr.PictureJava class for anonymous complex type.static classSdtPr.RichTextJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>rPrOrAliasOrLock -
Constructor Summary
Constructors Constructor Description SdtPr() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.ObjectgetByClass(java.lang.Class clazz)return the first objectCTDataBindinggetDataBinding()IdgetId()Gets the value of the id property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.util.List<java.lang.Object>getRPrOrAliasOrLock()Gets the value of the rPrOrAliasOrLock property.TaggetTag()Gets the value of the tag property.voidsetDataBinding(CTDataBinding value)java.math.BigIntegersetId()voidsetId(Id value)Sets the value of the id property.voidsetParent(java.lang.Object parent)voidsetShowingPlcHdr(boolean set)voidsetTag(Tag value)Sets the value of the tag property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
rPrOrAliasOrLock
protected java.util.List<java.lang.Object> rPrOrAliasOrLock
-
-
Constructor Details
-
SdtPr
public SdtPr()
-
-
Method Details
-
getRPrOrAliasOrLock
public java.util.List<java.lang.Object> getRPrOrAliasOrLock()Gets the value of the rPrOrAliasOrLock 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 rPrOrAliasOrLock property.For example, to add a new item, do as follows:
getRPrOrAliasOrLock().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<CTPlaceholder>JAXBElement<CTDataBinding>JAXBElement<SdtPr.Alias>JAXBElement<CTSdtCheckbox>JAXBElement<BooleanDefaultTrue>JAXBElement<BooleanDefaultTrue>JAXBElement<CTSdtComboBox>JAXBElement<SdtPr.Citation>JAXBElement<CTDataBinding>JAXBElement<BooleanDefaultTrue>JAXBElement<CTEmpty>TagJAXBElement<SdtPr.Bibliography>JAXBElement<CTEmpty>JAXBElement<CTLock>JAXBElement<CTSdtDocPart>IdJAXBElement<CTSdtText>JAXBElement<CTSdtDate>JAXBElement<CTColor>JAXBElement<SdtPr.Equation>JAXBElement<CTSdtDocPart>JAXBElement<BooleanDefaultTrue>JAXBElement<CTSdtAppearance>JAXBElement<CTSdtDropDownList>JAXBElement<SdtPr.Picture>JAXBElement<CTSdtRepeatedSection>JAXBElement<SdtPr.Group>JAXBElement<RPr>JAXBElement<SdtPr.RichText> -
getId
Gets the value of the id property.- Returns:
- possible object is
Id
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isId
-
setId
public java.math.BigInteger setId() -
getByClass
public java.lang.Object getByClass(java.lang.Class clazz)return the first object- Parameters:
clazz-- Returns:
- Since:
- 3.0.1
-
getTag
Gets the value of the tag property.- Returns:
- possible object is
SdtPr.Tag
-
setTag
Sets the value of the tag property.- Parameters:
value- allowed object isSdtPr.Tag
-
getDataBinding
-
setDataBinding
-
setShowingPlcHdr
public void setShowingPlcHdr(boolean set)- Parameters:
set-- Since:
- 6.1.0
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-