Package org.apache.poi.hssf.record.chart
Class FrameRecord
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.FrameRecord
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
The frame record indicates whether there is a border around the displayed text of a chart.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()shortGet the border type field for the Frame record.shortGet the options field for the Frame record.shortgetSid()return the non static version of the id for this record.booleanexcel calculates the position automaticallybooleanexcel calculates the size automatically if truevoidvoidsetAutoPosition(boolean value) Sets the auto position field value.voidsetAutoSize(boolean value) Sets the auto size field value.voidsetBorderType(short field_1_borderType) Set the border type field for the Frame record.voidsetOptions(short field_2_options) Set the options field for the Frame record.Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final short sid- See Also:
-
BORDER_TYPE_REGULAR
public static final short BORDER_TYPE_REGULAR- See Also:
-
BORDER_TYPE_SHADOW
public static final short BORDER_TYPE_SHADOW- See Also:
-
-
Constructor Details
-
FrameRecord
public FrameRecord() -
FrameRecord
-
FrameRecord
-
-
Method Details
-
serialize
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
getBorderType
public short getBorderType()Get the border type field for the Frame record.- Returns:
- One of BORDER_TYPE_REGULAR BORDER_TYPE_SHADOW
-
setBorderType
public void setBorderType(short field_1_borderType) Set the border type field for the Frame record.- Parameters:
field_1_borderType- One of BORDER_TYPE_REGULAR BORDER_TYPE_SHADOW
-
getOptions
public short getOptions()Get the options field for the Frame record. -
setOptions
public void setOptions(short field_2_options) Set the options field for the Frame record. -
setAutoSize
public void setAutoSize(boolean value) Sets the auto size field value. excel calculates the size automatically if true -
isAutoSize
public boolean isAutoSize()excel calculates the size automatically if true- Returns:
- the auto size field value.
-
setAutoPosition
public void setAutoPosition(boolean value) Sets the auto position field value. excel calculates the position automatically -
isAutoPosition
public boolean isAutoPosition()excel calculates the position automatically- Returns:
- the auto position field value.
-
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
getGenericProperties
-