Class CTLegend
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTLegend
public class CTLegend
extends java.lang.Object
Java class for CT_Legend complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Legend">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties" minOccurs="0"/>
<element name="txPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBody" minOccurs="0"/>
<element name="extLst" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="pos" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}ST_SidePos" default="r" />
<attribute name="align" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}ST_PosAlign" default="ctr" />
<attribute name="overlay" type="{http://www.w3.org/2001/XMLSchema}boolean" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STPosAlignalignprotected CTExtensionListextLstprotected java.lang.Booleanoverlayprotected STSidePosposprotected CTShapePropertiesspPrprotected CTTextBodytxPr -
Constructor Summary
Constructors Constructor Description CTLegend() -
Method Summary
Modifier and Type Method Description STPosAligngetAlign()Gets the value of the align property.CTExtensionListgetExtLst()Gets the value of the extLst property.STSidePosgetPos()Gets the value of the pos property.CTShapePropertiesgetSpPr()Gets the value of the spPr property.CTTextBodygetTxPr()Gets the value of the txPr property.booleanisOverlay()Gets the value of the overlay property.voidsetAlign(STPosAlign value)Sets the value of the align property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetOverlay(java.lang.Boolean value)Sets the value of the overlay property.voidsetPos(STSidePos value)Sets the value of the pos property.voidsetSpPr(CTShapeProperties value)Sets the value of the spPr property.voidsetTxPr(CTTextBody value)Sets the value of the txPr property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
spPr
-
txPr
-
extLst
-
pos
-
align
-
overlay
protected java.lang.Boolean overlay
-
-
Constructor Details
-
CTLegend
public CTLegend()
-
-
Method Details
-
getSpPr
Gets the value of the spPr property.- Returns:
- possible object is
CTShapeProperties
-
setSpPr
Sets the value of the spPr property.- Parameters:
value- allowed object isCTShapeProperties
-
getTxPr
Gets the value of the txPr property.- Returns:
- possible object is
CTTextBody
-
setTxPr
Sets the value of the txPr property.- Parameters:
value- allowed object isCTTextBody
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
getPos
Gets the value of the pos property.- Returns:
- possible object is
STSidePos
-
setPos
Sets the value of the pos property.- Parameters:
value- allowed object isSTSidePos
-
getAlign
Gets the value of the align property.- Returns:
- possible object is
STPosAlign
-
setAlign
Sets the value of the align property.- Parameters:
value- allowed object isSTPosAlign
-
isOverlay
public boolean isOverlay()Gets the value of the overlay property.- Returns:
- possible object is
Boolean
-
setOverlay
public void setOverlay(java.lang.Boolean value)Sets the value of the overlay property.- Parameters:
value- allowed object isBoolean
-