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

public final Class FontBasisRecord

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

The font basis record stores various font metrics.

Field Summary

Modifier and TypeField and Description
private short
private short
private short
private short
private short
public static final short

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public FontBasisRecord
protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public short
getHeightBasis()

Get the height basis field for the FontBasis record.

public short
getIndexToFontTable()

Get the index to font table field for the FontBasis record.

public short
getScale()

Get the scale field for the FontBasis record.

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
getXBasis()

Get the x Basis field for the FontBasis record.

public short
getYBasis()

Get the y Basis field for the FontBasis 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
setHeightBasis(short field_3_heightBasis)

Set the height basis field for the FontBasis record.

public void
setIndexToFontTable(short field_5_indexToFontTable)

Set the index to font table field for the FontBasis record.

public void
setScale(short field_4_scale)

Set the scale field for the FontBasis record.

public void
setXBasis(short field_1_xBasis)

Set the x Basis field for the FontBasis record.

public void
setYBasis(short field_2_yBasis)

Set the y Basis field for the FontBasis record.

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

Field Detail

field_1_xBasisback to summary
private short field_1_xBasis
field_2_yBasisback to summary
private short field_2_yBasis
field_3_heightBasisback to summary
private short field_3_heightBasis
field_4_scaleback to summary
private short field_4_scale
field_5_indexToFontTableback to summary
private short field_5_indexToFontTable
sidback to summary
public static final short sid

Constructor Detail

FontBasisRecordback to summary
public FontBasisRecord()
FontBasisRecordback to summary
public FontBasisRecord(FontBasisRecord other)
FontBasisRecordback to summary
public FontBasisRecord(RecordInputStream in)

Method Detail

copyback to summary
public FontBasisRecord copy()

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

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

Returns:FontBasisRecord

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
getHeightBasisback to summary
public short getHeightBasis()

Get the height basis field for the FontBasis record.

getIndexToFontTableback to summary
public short getIndexToFontTable()

Get the index to font table field for the FontBasis record.

getScaleback to summary
public short getScale()

Get the scale field for the FontBasis record.

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

getXBasisback to summary
public short getXBasis()

Get the x Basis field for the FontBasis record.

getYBasisback to summary
public short getYBasis()

Get the y Basis field for the FontBasis 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

setHeightBasisback to summary
public void setHeightBasis(short field_3_heightBasis)

Set the height basis field for the FontBasis record.

setIndexToFontTableback to summary
public void setIndexToFontTable(short field_5_indexToFontTable)

Set the index to font table field for the FontBasis record.

setScaleback to summary
public void setScale(short field_4_scale)

Set the scale field for the FontBasis record.

setXBasisback to summary
public void setXBasis(short field_1_xBasis)

Set the x Basis field for the FontBasis record.

setYBasisback to summary
public void setYBasis(short field_2_yBasis)

Set the y Basis field for the FontBasis record.