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

public final Class GutsRecord

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

Row/column gutter sizes
Version
2.0-pre

Field Summary

Modifier and TypeField and Description
private short
field_1_left_row_gutter

size of the row gutter to the left of the rows

private short
field_2_top_col_gutter

size of the column gutter above the columns

private short
field_3_row_level_max

maximum outline level for row gutters

private short
field_4_col_level_max

maximum outline level for column gutters

public static final short

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public GutsRecord
public short

Returns:

maximum outline level
getColLevelMax
()

get the maximum outline level for the col gutter.

protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public short

Returns:

gutter size in screen units
getLeftRowGutter
()

get the size of the gutter that appears at the left of the rows

public short

Returns:

maximum outline level
getRowLevelMax
()

get the maximum outline level for the row gutter.

public short
getSid()

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

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

public short

Returns:

gutter size in screen units
getTopColGutter
()

get the size of the gutter that appears at the above the columns

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
setColLevelMax(short
maximum outline level
max
)

set the maximum outline level for the col gutter.

public void
setLeftRowGutter(short
gutter size in screen units
gut
)

set the size of the gutter that appears at the left of the rows

public void
setRowLevelMax(short
maximum outline level
max
)

set the maximum outline level for the row gutter.

public void
setTopColGutter(short
gutter size in screen units
gut
)

set the size of the gutter that appears at the above the columns

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

Field Detail

field_1_left_row_gutterback to summary
private short field_1_left_row_gutter

size of the row gutter to the left of the rows

field_2_top_col_gutterback to summary
private short field_2_top_col_gutter

size of the column gutter above the columns

field_3_row_level_maxback to summary
private short field_3_row_level_max

maximum outline level for row gutters

field_4_col_level_maxback to summary
private short field_4_col_level_max

maximum outline level for column gutters

sidback to summary
public static final short sid

Constructor Detail

GutsRecordback to summary
public GutsRecord()
GutsRecordback to summary
public GutsRecord(GutsRecord other)
GutsRecordback to summary
public GutsRecord(RecordInputStream in)

Method Detail

copyback to summary
public GutsRecord copy()

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

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

Returns:GutsRecord

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

a deep copy of the implementing class / instance

Annotations
@Override
getColLevelMaxback to summary
public short getColLevelMax()

get the maximum outline level for the col gutter.

Returns:short

maximum outline level

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
getLeftRowGutterback to summary
public short getLeftRowGutter()

get the size of the gutter that appears at the left of the rows

Returns:short

gutter size in screen units

getRowLevelMaxback to summary
public short getRowLevelMax()

get the maximum outline level for the row gutter.

Returns:short

maximum outline level

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

getTopColGutterback to summary
public short getTopColGutter()

get the size of the gutter that appears at the above the columns

Returns:short

gutter size in screen units

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

setColLevelMaxback to summary
public void setColLevelMax(short max)

set the maximum outline level for the col gutter.

Parameters
max:short

maximum outline level

setLeftRowGutterback to summary
public void setLeftRowGutter(short gut)

set the size of the gutter that appears at the left of the rows

Parameters
gut:short

gutter size in screen units

setRowLevelMaxback to summary
public void setRowLevelMax(short max)

set the maximum outline level for the row gutter.

Parameters
max:short

maximum outline level

setTopColGutterback to summary
public void setTopColGutter(short gut)

set the size of the gutter that appears at the above the columns

Parameters
gut:short

gutter size in screen units