public class SdtPr extends 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>
| Modifier and Type | Class and Description |
|---|---|
static class |
SdtPr.Alias
Java class for anonymous complex type.
|
static class |
SdtPr.Bibliography
Java class for anonymous complex type.
|
static class |
SdtPr.Citation
Java class for anonymous complex type.
|
static class |
SdtPr.Equation
Java class for anonymous complex type.
|
static class |
SdtPr.Group
Java class for anonymous complex type.
|
static class |
SdtPr.Picture
Java class for anonymous complex type.
|
static class |
SdtPr.RichText
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
rPrOrAliasOrLock |
| Constructor and Description |
|---|
SdtPr() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
Object |
getByClass(Class clazz)
return the first object
|
CTDataBinding |
getDataBinding() |
Id |
getId()
Gets the value of the id property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
List<Object> |
getRPrOrAliasOrLock()
Gets the value of the rPrOrAliasOrLock property.
|
Tag |
getTag()
Gets the value of the tag property.
|
void |
setDataBinding(CTDataBinding value) |
BigInteger |
setId() |
void |
setId(Id value)
Sets the value of the id property.
|
void |
setParent(Object parent) |
void |
setShowingPlcHdr(boolean set) |
void |
setTag(Tag value)
Sets the value of the tag property.
|
public List<Object> getRPrOrAliasOrLock()
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 set method 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>
Tag
JAXBElement<SdtPr.Bibliography>
JAXBElement<CTEmpty>
JAXBElement<CTLock>
JAXBElement<CTSdtDocPart>
Id
JAXBElement<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>
public void setId(Id value)
value - allowed object is
Idpublic BigInteger setId()
public Object getByClass(Class clazz)
clazz - public Tag getTag()
SdtPr.Tag public void setTag(Tag value)
value - allowed object is
SdtPr.Tag public CTDataBinding getDataBinding()
public void setDataBinding(CTDataBinding value)
public void setShowingPlcHdr(boolean set)
set - public Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2021. All Rights Reserved.