instead
@Deprecated @Removal(version="4.2") public final class XSSFManualLayout extends java.lang.Object implements ManualLayout
Constructor and Description |
---|
XSSFManualLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout ctLayout)
Deprecated.
Create a new SpreadsheetML manual layout.
|
XSSFManualLayout(XSSFChart chart)
Deprecated.
Create a new SpreadsheetML manual layout for chart.
|
Modifier and Type | Method and Description |
---|---|
org.openxmlformats.schemas.drawingml.x2006.chart.CTManualLayout |
getCTManualLayout()
Deprecated.
Return the underlying CTManualLayout bean.
|
LayoutMode |
getHeightMode()
Deprecated.
Returns current height mode of this
|
double |
getHeightRatio()
Deprecated.
Returns current fraction of the height of the chart.
|
LayoutTarget |
getTarget()
Deprecated.
Returns current layout target.
|
LayoutMode |
getWidthMode()
Deprecated.
Returns current width mode of this manual layout.
|
double |
getWidthRatio()
Deprecated.
Returns current fraction of the width of the chart.
|
double |
getX()
Deprecated.
Returns the x location of the chart element.
|
LayoutMode |
getXMode()
Deprecated.
Returns current x-coordinnate layout mode.
|
double |
getY()
Deprecated.
Returns current y location of the chart element.
|
LayoutMode |
getYMode()
Deprecated.
Returns current y-coordinate layout mode.
|
void |
setHeightMode(LayoutMode mode)
Deprecated.
Specifies how to interpret the Height element for this manual
layout.
|
void |
setHeightRatio(double ratio)
Deprecated.
Specifies the height (if Height Mode is Factor) or bottom (if
Height Mode is edge) of the chart element as a fraction of the
height of the chart.
|
void |
setTarget(LayoutTarget target)
Deprecated.
Sets the layout target.
|
void |
setWidthMode(LayoutMode mode)
Deprecated.
Specifies how to interpret the Width element for this manual
layout.
|
void |
setWidthRatio(double ratio)
Deprecated.
Specifies the width (if Width Mode is Factor) or right (if
Width Mode is Edge) of the chart element as a fraction of the
width of the chart.
|
void |
setX(double x)
Deprecated.
Specifies the x location (left) of the chart element as a
fraction of the width of the chart.
|
void |
setXMode(LayoutMode mode)
Deprecated.
Sets the x-coordinate layout mode.
|
void |
setY(double y)
Deprecated.
Specifies the y location (top) of the chart element as a
fraction of the height of the chart.
|
void |
setYMode(LayoutMode mode)
Deprecated.
Sets the y-coordinate layout mode.
|
public XSSFManualLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout ctLayout)
ctLayout
- a Spreadsheet ML layout that should be used as base.public XSSFManualLayout(XSSFChart chart)
chart
- a chart to create layout for.@Internal public org.openxmlformats.schemas.drawingml.x2006.chart.CTManualLayout getCTManualLayout()
public void setWidthRatio(double ratio)
ManualLayout
setWidthRatio
in interface ManualLayout
ratio
- a fraction of the width of the chart.public double getWidthRatio()
ManualLayout
getWidthRatio
in interface ManualLayout
public void setHeightRatio(double ratio)
ManualLayout
setHeightRatio
in interface ManualLayout
ratio
- a fraction of the height of the chart.public double getHeightRatio()
ManualLayout
getHeightRatio
in interface ManualLayout
public LayoutTarget getTarget()
ManualLayout
getTarget
in interface ManualLayout
public void setTarget(LayoutTarget target)
ManualLayout
setTarget
in interface ManualLayout
target
- new layout target.public LayoutMode getXMode()
ManualLayout
getXMode
in interface ManualLayout
public void setXMode(LayoutMode mode)
ManualLayout
setXMode
in interface ManualLayout
mode
- new x-coordinate layout mode.public LayoutMode getYMode()
ManualLayout
getYMode
in interface ManualLayout
public void setYMode(LayoutMode mode)
ManualLayout
setYMode
in interface ManualLayout
mode
- new y-coordinate layout mode.public double getX()
ManualLayout
getX
in interface ManualLayout
public void setX(double x)
ManualLayout
setX
in interface ManualLayout
public double getY()
ManualLayout
getY
in interface ManualLayout
public void setY(double y)
ManualLayout
setY
in interface ManualLayout
public LayoutMode getWidthMode()
ManualLayout
getWidthMode
in interface ManualLayout
public void setWidthMode(LayoutMode mode)
ManualLayout
setWidthMode
in interface ManualLayout
mode
- new width layout mode of this manual layout.public LayoutMode getHeightMode()
ManualLayout
getHeightMode
in interface ManualLayout
public void setHeightMode(LayoutMode mode)
ManualLayout
setHeightMode
in interface ManualLayout
mode
- new height mode of this manual layout.Copyright 2020 The Apache Software Foundation or its licensors, as applicable.