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

public final Class PrintGridlinesRecord

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

Whether to print the gridlines when you enjoy the spreadsheet on paper.
Version
2.0-pre

Field Summary

Modifier and TypeField and Description
private short
public static final short

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public PrintGridlinesRecord
protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public boolean

Returns:

make spreadsheet ugly - Y/N
getPrintGridlines
()

get whether or not to print the gridlines (and make your spreadsheet ugly)

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
setPrintGridlines(boolean
make spreadsheet ugly - Y/N
pg
)

set whether or not to print the gridlines (and make your spreadsheet ugly)

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

Field Detail

field_1_print_gridlinesback to summary
private short field_1_print_gridlines
sidback to summary
public static final short sid

Constructor Detail

PrintGridlinesRecordback to summary
public PrintGridlinesRecord()
PrintGridlinesRecordback to summary
public PrintGridlinesRecord(PrintGridlinesRecord other)
PrintGridlinesRecordback to summary
public PrintGridlinesRecord(RecordInputStream in)

Method Detail

copyback to summary
public PrintGridlinesRecord copy()

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

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

Returns:PrintGridlinesRecord

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

a deep copy of the implementing class / instance

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
getPrintGridlinesback to summary
public boolean getPrintGridlines()

get whether or not to print the gridlines (and make your spreadsheet ugly)

Returns:boolean

make spreadsheet ugly - Y/N

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

setPrintGridlinesback to summary
public void setPrintGridlines(boolean pg)

set whether or not to print the gridlines (and make your spreadsheet ugly)

Parameters
pg:boolean

make spreadsheet ugly - Y/N