Package org.apache.poi.xslf.usermodel
Class XSLFChart
- java.lang.Object
-
- org.apache.poi.ooxml.POIXMLDocumentPart
-
- org.apache.poi.xddf.usermodel.chart.XDDFChart
-
- org.apache.poi.xslf.usermodel.XSLFChart
-
- All Implemented Interfaces:
TextContainer
@Beta public final class XSLFChart extends XDDFChart
Represents a Chart in a .pptx presentation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart
-
-
Field Summary
-
Fields inherited from class org.apache.poi.xddf.usermodel.chart.XDDFChart
axes, chart, chartSpace
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XSLFChart()
Construct a PresentationML chart.protected
XSLFChart(PackagePart part)
Construct a PresentationML chart from a package part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected POIXMLFactory
getChartFactory()
protected POIXMLRelation
getChartRelation()
protected POIXMLRelation
getChartWorkbookRelation()
XSLFTextShape
getTitleShape()
-
Methods inherited from class org.apache.poi.xddf.usermodel.chart.XDDFChart
commit, createCategoryAxis, createData, createDateAxis, createRelationshipInChart, createValueAxis, deleteLegend, deleteShapeProperties, displayBlanksAs, fillSheet, findDefinedParagraphProperty, findDefinedRunProperty, formatRange, getAxes, getChartIndex, getChartSeries, getCTChart, getCTChartSpace, getCTPlotArea, getFormattedTitle, getOrAddLegend, getOrAddManualLayout, getOrAddShapeProperties, getTitle, getTitleOverlay, getWorkbook, importContent, isPlotOnlyVisibleCells, plot, saveWorkbook, setAutoTitleDeleted, setBackWall, setChartIndex, setExternalId, setFloor, setPlotOnlyVisibleCells, setSheetTitle, setSideWall, setTitleOverlay, setTitleText, setValueRange, setWorkbook
-
Methods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommited, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommited, toString
-
-
-
-
Constructor Detail
-
XSLFChart
protected XSLFChart()
Construct a PresentationML chart.
-
XSLFChart
protected XSLFChart(PackagePart part) throws java.io.IOException, org.apache.xmlbeans.XmlException
Construct a PresentationML chart from a package part.- Parameters:
part
- the package part holding the chart data, the content type must beapplication/vnd.openxmlformats-officedocument.drawingml.chart+xml
- Throws:
java.io.IOException
org.apache.xmlbeans.XmlException
- Since:
- POI 3.14-Beta1
-
-
Method Detail
-
getChartRelation
protected POIXMLRelation getChartRelation()
- Specified by:
getChartRelation
in classXDDFChart
- Returns:
- the chart relation in the implementing subclass.
-
getChartWorkbookRelation
protected POIXMLRelation getChartWorkbookRelation()
- Specified by:
getChartWorkbookRelation
in classXDDFChart
- Returns:
- the chart workbook relation in the implementing subclass.
-
getChartFactory
protected POIXMLFactory getChartFactory()
- Specified by:
getChartFactory
in classXDDFChart
- Returns:
- the chart factory in the implementing subclass.
-
getTitleShape
public XSLFTextShape getTitleShape()
-
-