public class CTLegend extends 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>
| Modifier and Type | Field and Description |
|---|---|
protected STPosAlign |
align |
protected CTExtensionList |
extLst |
protected Boolean |
overlay |
protected STSidePos |
pos |
protected CTShapeProperties |
spPr |
protected CTTextBody |
txPr |
| Constructor and Description |
|---|
CTLegend() |
| Modifier and Type | Method and Description |
|---|---|
STPosAlign |
getAlign()
Gets the value of the align property.
|
CTExtensionList |
getExtLst()
Gets the value of the extLst property.
|
STSidePos |
getPos()
Gets the value of the pos property.
|
CTShapeProperties |
getSpPr()
Gets the value of the spPr property.
|
CTTextBody |
getTxPr()
Gets the value of the txPr property.
|
boolean |
isOverlay()
Gets the value of the overlay property.
|
void |
setAlign(STPosAlign value)
Sets the value of the align property.
|
void |
setExtLst(CTExtensionList value)
Sets the value of the extLst property.
|
void |
setOverlay(Boolean value)
Sets the value of the overlay property.
|
void |
setPos(STSidePos value)
Sets the value of the pos property.
|
void |
setSpPr(CTShapeProperties value)
Sets the value of the spPr property.
|
void |
setTxPr(CTTextBody value)
Sets the value of the txPr property.
|
protected CTShapeProperties spPr
protected CTTextBody txPr
protected CTExtensionList extLst
protected STSidePos pos
protected STPosAlign align
protected Boolean overlay
public CTShapeProperties getSpPr()
CTShapePropertiespublic void setSpPr(CTShapeProperties value)
value - allowed object is
CTShapePropertiespublic CTTextBody getTxPr()
CTTextBodypublic void setTxPr(CTTextBody value)
value - allowed object is
CTTextBodypublic CTExtensionList getExtLst()
CTExtensionListpublic void setExtLst(CTExtensionList value)
value - allowed object is
CTExtensionListpublic STSidePos getPos()
STSidePospublic void setPos(STSidePos value)
value - allowed object is
STSidePospublic STPosAlign getAlign()
STPosAlignpublic void setAlign(STPosAlign value)
value - allowed object is
STPosAlignpublic boolean isOverlay()
BooleanCopyright © 2007-2022. All Rights Reserved.