Class XDDFManualLayout
java.lang.Object
org.apache.poi.xddf.usermodel.chart.XDDFManualLayout
Represents a DrawingML manual layout.
-
Constructor Summary
ConstructorsConstructorDescriptionXDDFManualLayout
(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout ctLayout) Create a new DrawingML manual layout.XDDFManualLayout
(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea ctPlotArea) Create a new DrawingML manual layout for chart. -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
getX()
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTManualLayout
Return the underlying CTManualLayout bean.getXMode()
double
getY()
getYMode()
void
void
setHeightMode
(LayoutMode mode) void
setHeightRatio
(double ratio) void
setTarget
(LayoutTarget target) void
setWidthMode
(LayoutMode mode) void
setWidthRatio
(double ratio) void
setX
(double x) void
setXMode
(LayoutMode mode) void
setY
(double y) void
setYMode
(LayoutMode mode)
-
Constructor Details
-
XDDFManualLayout
public XDDFManualLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout ctLayout) Create a new DrawingML manual layout.- Parameters:
ctLayout
- a DrawingML layout that should be used as base.
-
XDDFManualLayout
public XDDFManualLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea ctPlotArea) Create a new DrawingML manual layout for chart.- Parameters:
ctPlotArea
- a chart's plot area to create layout for.
-
-
Method Details
-
getXmlObject
Return the underlying CTManualLayout bean.- Returns:
- the underlying CTManualLayout bean.
-
setExtensionList
-
getExtensionList
-
setWidthRatio
public void setWidthRatio(double ratio) -
getWidthRatio
public double getWidthRatio() -
setHeightRatio
public void setHeightRatio(double ratio) -
getHeightRatio
public double getHeightRatio() -
getTarget
-
setTarget
-
getXMode
-
setXMode
-
getYMode
-
setYMode
-
getX
public double getX() -
setX
public void setX(double x) -
getY
public double getY() -
setY
public void setY(double y) -
getWidthMode
-
setWidthMode
-
getHeightMode
-
setHeightMode
-