| java.lang.Object com.sun.pdfview.font.ttf.TrueTypeTable com.sun.pdfview.font.ttf.NameTable
Inner Class :class NameRecord implements Comparable | |
Method Summary | |
public void | addRecord(short platformID, short platformSpecificID, short languageID, short nameID, String value) | public static String | getCharsetName(int platformID, int encodingID) | public short | getCount() | public ByteBuffer | getData() | public short | getFormat() | public int | getLength() | public String | getRecord(short platformID, short platformSpecificID, short languageID, short nameID) | public boolean | hasRecords(short platformID) | public boolean | hasRecords(short platformID, short platformSpecificID) | public void | removeRecord(short platformID, short platformSpecificID, short languageID, short nameID) | public void | setData(ByteBuffer data) | public void | setFormat(short format) | public String | toString() |
ENCODINGID_MAC_ROMAN | final public static short ENCODINGID_MAC_ROMAN(Code) | | Values for platformSpecificID if platform is Mac
|
ENCODINGID_UNICODE_DEFAULT | final public static short ENCODINGID_UNICODE_DEFAULT(Code) | | Values for platformSpecificID if platform is Unicode
|
ENCODINGID_UNICODE_V11 | final public static short ENCODINGID_UNICODE_V11(Code) | | |
ENCODINGID_UNICODE_V2 | final public static short ENCODINGID_UNICODE_V2(Code) | | |
LANGUAGEID_MAC_ENGLISH | final public static short LANGUAGEID_MAC_ENGLISH(Code) | | Values for language ID if platform is Mac
|
NAMEID_COPYRIGHT | final public static short NAMEID_COPYRIGHT(Code) | | Values for nameID
|
NAMEID_FAMILY | final public static short NAMEID_FAMILY(Code) | | |
NAMEID_FULL_NAME | final public static short NAMEID_FULL_NAME(Code) | | |
NAMEID_POSTSCRIPT_NAME | final public static short NAMEID_POSTSCRIPT_NAME(Code) | | |
NAMEID_SUBFAMILY | final public static short NAMEID_SUBFAMILY(Code) | | |
NAMEID_SUBFAMILY_UNIQUE | final public static short NAMEID_SUBFAMILY_UNIQUE(Code) | | |
NAMEID_TRADEMARK | final public static short NAMEID_TRADEMARK(Code) | | |
NAMEID_VERSION | final public static short NAMEID_VERSION(Code) | | |
PLATFORMID_MACINTOSH | final public static short PLATFORMID_MACINTOSH(Code) | | |
PLATFORMID_MICROSOFT | final public static short PLATFORMID_MICROSOFT(Code) | | |
PLATFORMID_UNICODE | final public static short PLATFORMID_UNICODE(Code) | | Values for platformID
|
NameTable | protected NameTable()(Code) | | Creates a new instance of NameTable
|
addRecord | public void addRecord(short platformID, short platformSpecificID, short languageID, short nameID, String value)(Code) | | Add a record to the table
|
getCharsetName | public static String getCharsetName(int platformID, int encodingID)(Code) | | Get the charset name for a given platform, encoding and language
|
getCount | public short getCount()(Code) | | Get the number of records in the table
|
getData | public ByteBuffer getData()(Code) | | Get the data in this table as a buffer
|
getFormat | public short getFormat()(Code) | | Get the format of this table
|
getLength | public int getLength()(Code) | | Get the length of this table
|
getRecord | public String getRecord(short platformID, short platformSpecificID, short languageID, short nameID)(Code) | | Get a record from the table
|
hasRecords | public boolean hasRecords(short platformID)(Code) | | Determine if we have any records with a given platform ID
|
hasRecords | public boolean hasRecords(short platformID, short platformSpecificID)(Code) | | Determine if we have any records with a given platform ID and
platform-specific ID
|
removeRecord | public void removeRecord(short platformID, short platformSpecificID, short languageID, short nameID)(Code) | | Remove a record from the table
|
setData | public void setData(ByteBuffer data)(Code) | | Read the table from data
|
setFormat | public void setFormat(short format)(Code) | | Set the format of this table
|
|
|