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 shortsid
-
Constructor Summary
Constructors Constructor Description Chart3DRecord()Chart3DRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Chart3DRecordcopy()shortgetAnElev()Get the rotation angle in degrees around a horizontal line clockwise.shortgetAnRot()Get the rotation angle in degrees around a vertical line clockwise.protected intgetDataSize()shortgetDepth()Gets depth in percentage to the width of its plot area.(1 ~ 200).shortgetDist()Gets view angle in degree(0 ~ 200).shortgetFormatFlags()Get the format flags field for the Pie record.shortgetGap()Gets gap in percentage to the width of its plot area.Map<String,Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()shortgetHeight()Gets thick of the Pie chart; or height in percentage to the width of its plot area(0 ~ 500).shortgetSid()return the non static version of the id for this record.booleanisCluster()booleanisNotPie()booleanisPerspective()booleanisScaling()booleanisWalls2D()voidserialize(LittleEndianOutput out)Write the data content of this BIFF record.voidsetAnElev(short field_2_anElev)Set the rotation angle in degrees around a horizontal line clockwise.voidsetAnRot(short field_1_anRot)Get the rotation angle in degrees around a vertical line clockwise.voidsetCluster(boolean value)Sets the cluster field value.voidsetDepth(short field_5_depth)Sets depth in percentage to the width of its plot area.(1 ~ 200).voidsetDist(short field_3_pcDist)Sets view angle in degree(0 ~ 200).voidsetFormatFlags(short field_6_formatFlags)Set the format flags field for the Pie record.voidsetGap(short field_6_gap)Sets gap in percentage to the width of its plot area.voidsetHeight(short field_4_pcHeight)Sets thick of the Pie chart; or height in percentage to the widht of its plot area(0 ~ 500).voidsetNotPie(boolean value)Sets the notpie field value.voidsetPerspective(boolean value)Sets the perspective field value.voidsetScaling(boolean value)Sets the 3dscaling field value.voidsetWalls2D(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:
getDataSizein classStandardRecord
-
serialize
public void serialize(LittleEndianOutput out)
Description copied from class:StandardRecordWrite 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:
serializein classStandardRecord- Parameters:
out- the output object
-
copy
public Chart3DRecord copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classStandardRecord- Returns:
- a deep copy of the implementing class / instance
-
getSid
public short getSid()
Description copied from class:Recordreturn the non static version of the id for this record.
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein 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.
-
-