@Beta public final class XDDFChartLegend extends java.lang.Object implements TextContainer
Constructor and Description |
---|
XDDFChartLegend(org.openxmlformats.schemas.drawingml.x2006.chart.CTChart ctChart)
Create a new DrawingML chart legend
|
Modifier and Type | Method and Description |
---|---|
XDDFLegendEntry |
addEntry() |
<R> java.util.Optional<R> |
findDefinedParagraphProperty(java.util.function.Predicate<org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties> isSet,
java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties,R> getter) |
<R> java.util.Optional<R> |
findDefinedRunProperty(java.util.function.Predicate<org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties> isSet,
java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties,R> getter) |
java.util.List<XDDFLegendEntry> |
getEntries() |
XDDFLegendEntry |
getEntry(int index) |
XDDFChartExtensionList |
getExtensionList() |
XDDFLayout |
getLayout() |
XDDFManualLayout |
getOrAddManualLayout() |
LegendPosition |
getPosition() |
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getShapeProperties() |
XDDFTextBody |
getTextBody() |
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend |
getXmlObject()
Return the underlying CTLegend bean.
|
boolean |
isOverlay() |
void |
setExtensionList(XDDFChartExtensionList list) |
void |
setLayout(XDDFLayout layout) |
void |
setOverlay(boolean value) |
void |
setPosition(LegendPosition position) |
void |
setShapeProperties(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties properties) |
void |
setTextBody(XDDFTextBody body) |
public XDDFChartLegend(org.openxmlformats.schemas.drawingml.x2006.chart.CTChart ctChart)
@Internal protected org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend getXmlObject()
@Internal public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
@Internal public void setShapeProperties(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties properties)
public XDDFTextBody getTextBody()
public void setTextBody(XDDFTextBody body)
public XDDFLegendEntry addEntry()
public XDDFLegendEntry getEntry(int index)
public java.util.List<XDDFLegendEntry> getEntries()
public void setExtensionList(XDDFChartExtensionList list)
public XDDFChartExtensionList getExtensionList()
public void setLayout(XDDFLayout layout)
public XDDFLayout getLayout()
public void setPosition(LegendPosition position)
public LegendPosition getPosition()
public XDDFManualLayout getOrAddManualLayout()
public boolean isOverlay()
public void setOverlay(boolean value)
public <R> java.util.Optional<R> findDefinedParagraphProperty(java.util.function.Predicate<org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties> isSet, java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties,R> getter)
findDefinedParagraphProperty
in interface TextContainer
public <R> java.util.Optional<R> findDefinedRunProperty(java.util.function.Predicate<org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties> isSet, java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties,R> getter)
findDefinedRunProperty
in interface TextContainer
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.