Package org.apache.poi.hssf.record.chart
Class Chart3DRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.chart.Chart3DRecord
-
- All Implemented Interfaces:
Duplicatable
,GenericRecord
public final class Chart3DRecord extends StandardRecord
The chart3d marker record.- Author:
- henrichen@zkoss.org
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Constructor Summary
Constructors Constructor Description Chart3DRecord()
Chart3DRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Chart3DRecord
copy()
short
getAnElev()
Get the rotation angle in degrees around a horizontal line clockwise.short
getAnRot()
Get the rotation angle in degrees around a vertical line clockwise.protected int
getDataSize()
short
getDepth()
Gets depth in percentage to the width of its plot area.(1 ~ 200).short
getDist()
Gets view angle in degree(0 ~ 200).short
getFormatFlags()
Get the format flags field for the Pie record.short
getGap()
Gets gap in percentage to the width of its plot area.Map<String,Supplier<?>>
getGenericProperties()
HSSFRecordTypes
getGenericRecordType()
short
getHeight()
Gets thick of the Pie chart; or height in percentage to the width of its plot area(0 ~ 500).short
getSid()
return the non static version of the id for this record.boolean
isCluster()
boolean
isNotPie()
boolean
isPerspective()
boolean
isScaling()
boolean
isWalls2D()
void
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.void
setAnElev(short field_2_anElev)
Set the rotation angle in degrees around a horizontal line clockwise.void
setAnRot(short field_1_anRot)
Get the rotation angle in degrees around a vertical line clockwise.void
setCluster(boolean value)
Sets the cluster field value.void
setDepth(short field_5_depth)
Sets depth in percentage to the width of its plot area.(1 ~ 200).void
setDist(short field_3_pcDist)
Sets view angle in degree(0 ~ 200).void
setFormatFlags(short field_6_formatFlags)
Set the format flags field for the Pie record.void
setGap(short field_6_gap)
Sets gap in percentage to the width of its plot area.void
setHeight(short field_4_pcHeight)
Sets thick of the Pie chart; or height in percentage to the widht of its plot area(0 ~ 500).void
setNotPie(boolean value)
Sets the notpie field value.void
setPerspective(boolean value)
Sets the perspective field value.void
setScaling(boolean value)
Sets the 3dscaling field value.void
setWalls2D(boolean value)
Sets the notpie field value.-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Chart3DRecord
public Chart3DRecord()
-
Chart3DRecord
public Chart3DRecord(RecordInputStream in)
-
-
Method Detail
-
getDataSize
protected int getDataSize()
- Specified by:
getDataSize
in classStandardRecord
-
serialize
public void serialize(LittleEndianOutput out)
Description copied from class:StandardRecord
Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()
} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).- Specified by:
serialize
in classStandardRecord
- Parameters:
out
- the output object
-
copy
public Chart3DRecord copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classStandardRecord
- Returns:
- a deep copy of the implementing class / instance
-
getSid
public short getSid()
Description copied from class:Record
return the non static version of the id for this record.
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordType
in interfaceGenericRecord
- Specified by:
getGenericRecordType
in classRecord
-
getFormatFlags
public short getFormatFlags()
Get the format flags field for the Pie record.
-
setFormatFlags
public void setFormatFlags(short field_6_formatFlags)
Set the format flags field for the Pie record.
-
getAnRot
public short getAnRot()
Get the rotation angle in degrees around a vertical line clockwise.
-
setAnRot
public void setAnRot(short field_1_anRot)
Get the rotation angle in degrees around a vertical line clockwise.
-
getAnElev
public short getAnElev()
Get the rotation angle in degrees around a horizontal line clockwise.
-
setAnElev
public void setAnElev(short field_2_anElev)
Set the rotation angle in degrees around a horizontal line clockwise.
-
setDist
public void setDist(short field_3_pcDist)
Sets view angle in degree(0 ~ 200).
-
getDist
public short getDist()
Gets view angle in degree(0 ~ 200).
-
setHeight
public void setHeight(short field_4_pcHeight)
Sets thick of the Pie chart; or height in percentage to the widht of its plot area(0 ~ 500).
-
getHeight
public short getHeight()
Gets thick of the Pie chart; or height in percentage to the width of its plot area(0 ~ 500).
-
setDepth
public void setDepth(short field_5_depth)
Sets depth in percentage to the width of its plot area.(1 ~ 200).
-
getDepth
public short getDepth()
Gets depth in percentage to the width of its plot area.(1 ~ 200).
-
setGap
public void setGap(short field_6_gap)
Sets gap in percentage to the width of its plot area.
-
getGap
public short getGap()
Gets gap in percentage to the width of its plot area.
-
setPerspective
public void setPerspective(boolean value)
Sets the perspective field value.
-
isPerspective
public boolean isPerspective()
- Returns:
- the perspective field value.
-
setCluster
public void setCluster(boolean value)
Sets the cluster field value.
-
isCluster
public boolean isCluster()
- Returns:
- the cluster field value.
-
setScaling
public void setScaling(boolean value)
Sets the 3dscaling field value.
-
isScaling
public boolean isScaling()
- Returns:
- the perspective field value.
-
setNotPie
public void setNotPie(boolean value)
Sets the notpie field value.
-
isNotPie
public boolean isNotPie()
- Returns:
- the notpie field value.
-
setWalls2D
public void setWalls2D(boolean value)
Sets the notpie field value.
-
isWalls2D
public boolean isWalls2D()
- Returns:
- the notpie field value.
-
-