Top Description Fields Constructors Methods
org.apache.poi.hssf.record

public final Class DefaultRowHeightRecord

extends StandardRecord
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.util.GenericRecordUtil, .LittleEndianOutput

Row height for rows with undefined or not explicitly defined heights.
Version
2.0-pre

Field Summary

Modifier and TypeField and Description
public static final short
DEFAULT_ROW_HEIGHT

The default row height for empty rows is 255 twips (255 / 20 == 12.75 points)

private short
private short
public static final short

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public DefaultRowHeightRecord
protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public short

Returns:

flags - the current bitmask
getOptionFlags
()

get the (currently unimportant to HSSF) option flags

public short

Returns:

rowheight for undefined rows/rows w/undefined height
getRowHeight
()

get the default row height

public short
getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

public void
serialize(LittleEndianOutput
the output object
out
)

Implements abstract org.apache.poi.hssf.record.StandardRecord.serialize.

Write the data content of this BIFF record.

public void
setOptionFlags(short
the bitmask to set
flags
)

set the (currently unimportant to HSSF) option flags

public void
setRowHeight(short
for undefined rows/rows w/undefined height
height
)

set the default row height

Inherited from org.apache.poi.hssf.record.StandardRecord:
getRecordSizeserialize

Field Detail

DEFAULT_ROW_HEIGHTback to summary
public static final short DEFAULT_ROW_HEIGHT

The default row height for empty rows is 255 twips (255 / 20 == 12.75 points)

field_1_option_flagsback to summary
private short field_1_option_flags
field_2_row_heightback to summary
private short field_2_row_height
sidback to summary
public static final short sid

Constructor Detail

DefaultRowHeightRecordback to summary
public DefaultRowHeightRecord()
DefaultRowHeightRecordback to summary
public DefaultRowHeightRecord(DefaultRowHeightRecord other)
DefaultRowHeightRecordback to summary
public DefaultRowHeightRecord(RecordInputStream in)

Method Detail

copyback to summary
public DefaultRowHeightRecord copy()

Implements abstract org.apache.poi.hssf.record.StandardRecord.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:DefaultRowHeightRecord

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getDataSizeback to summary
protected int getDataSize()

Implements abstract org.apache.poi.hssf.record.StandardRecord.getDataSize.

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Implements abstract org.apache.poi.hssf.record.Record.getGenericRecordType.

Annotations
@Override
getOptionFlagsback to summary
public short getOptionFlags()

get the (currently unimportant to HSSF) option flags

Returns:short

flags - the current bitmask

getRowHeightback to summary
public short getRowHeight()

get the default row height

Returns:short

rowheight for undefined rows/rows w/undefined height

getSidback to summary
public short getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

Doc from org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

Returns:short

he id for this record

serializeback to summary
public void serialize(LittleEndianOutput out)

Implements abstract org.apache.poi.hssf.record.StandardRecord.serialize.

Doc from org.apache.poi.hssf.record.StandardRecord.serialize.

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 org.apache.poi.hssf.record.Record#getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

Parameters
out:LittleEndianOutput

the output object

setOptionFlagsback to summary
public void setOptionFlags(short flags)

set the (currently unimportant to HSSF) option flags

Parameters
flags:short

the bitmask to set

setRowHeightback to summary
public void setRowHeight(short height)

set the default row height

Parameters
height:short

for undefined rows/rows w/undefined height