Package org.apache.poi.hwpf.model
Class FontTable
java.lang.Object
org.apache.poi.hwpf.model.FontTable
FontTable or in MS terminology sttbfffn is a common data structure written in all
Word files. The sttbfffn is an sttbf where each string is an FFN structure instead
of pascal-style strings. An sttbf is a string Table stored in file. Thus sttbffn
is like an Sttbf with an array of FFN structures that stores the font name strings
- Author:
- Praveen Mathew
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAltFont
(int chpFtc) short
Ffn[]
getMainFont
(int chpFtc) int
getSize()
short
int
hashCode()
void
setStringCount
(short stringCount) void
writeTo
(ByteArrayOutputStream tableStream) void
writeTo
(HWPFFileSystem sys) Deprecated.
-
Constructor Details
-
FontTable
public FontTable(byte[] buf, int offset, int lcbSttbfffn)
-
-
Method Details
-
getStringCount
public short getStringCount() -
getExtraDataSz
public short getExtraDataSz() -
getFontNames
-
getSize
public int getSize() -
getMainFont
-
getAltFont
-
setStringCount
public void setStringCount(short stringCount) -
writeTo
Deprecated.- Throws:
IOException
-
writeTo
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-