public final class FontBasisRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
FontBasisRecord() |
FontBasisRecord(FontBasisRecord other) |
FontBasisRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
FontBasisRecord |
copy() |
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getHeightBasis()
Get the height basis field for the FontBasis record.
(获取 FontBasis 记录的高度基础字段。)
|
short |
getIndexToFontTable()
Get the index to font table field for the FontBasis record.
(获取 FontBasis 记录的字体表字段的索引。)
|
short |
getScale()
Get the scale field for the FontBasis record.
(获取 FontBasis 记录的比例字段。)
|
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
short |
getXBasis()
Get the x Basis field for the FontBasis record.
(获取 FontBasis 记录的 x Basis 字段。)
|
short |
getYBasis()
Get the y Basis field for the FontBasis record.
(获取 FontBasis 记录的 y Basis 字段。)
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
(写入此 BIFF 记录的数据内容。)
|
void |
setHeightBasis(short field_3_heightBasis)
Set the height basis field for the FontBasis record.
(设置 FontBasis 记录的高度基础字段。)
|
void |
setIndexToFontTable(short field_5_indexToFontTable)
Set the index to font table field for the FontBasis record.
(将索引设置为 FontBasis 记录的字体表字段。)
|
void |
setScale(short field_4_scale)
Set the scale field for the FontBasis record.
(设置 FontBasis 记录的比例字段。)
|
void |
setXBasis(short field_1_xBasis)
Set the x Basis field for the FontBasis record.
(为 FontBasis 记录设置 x Basis 字段。)
|
void |
setYBasis(short field_2_yBasis)
Set the y Basis field for the FontBasis record.
(为 FontBasis 记录设置 y Basis 字段。)
|
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public FontBasisRecord()
public FontBasisRecord(FontBasisRecord other)
public FontBasisRecord(RecordInputStream in)
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by RecordBase.getRecordSize()
} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).
serialize
in class
StandardRecord
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
protected int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public short getSid()
Record
public FontBasisRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public short getXBasis()
public void setXBasis(short field_1_xBasis)
public short getYBasis()
public void setYBasis(short field_2_yBasis)
public short getHeightBasis()
public void setHeightBasis(short field_3_heightBasis)
public short getScale()
public void setScale(short field_4_scale)
public short getIndexToFontTable()
public void setIndexToFontTable(short field_5_indexToFontTable)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.