|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.metafiles.MetafileCharsetCollection
public final class MetafileCharsetCollection
Represents charsets collection used when drawing non-unicode text. Maps WINAPI *_CHARSET constants to charset-decoding rules. A rule can be defined by array of char (simpliest transform, str[i] = charMap[byteBuffer[i]] ) or using java.nio.charset.Charset object. If some rule is undefined, rule for DEFAULT_CHARSET will be used instead.
Field Summary | |
---|---|
static int |
ANSI_CHARSET
ANSI charset (cp1252). |
static int |
ARABIC_CHARSET
Arabic charset (cp1256). |
static int |
BALTIC_CHARSET
Baltic charset (cp1257). |
static int |
CHINESEBIG5_CHARSET
Chinese Big5 charset (cp950). |
static int |
DEFAULT_CHARSET
Default charset. |
static int |
EASTEUROPE_CHARSET
Eastern european charset (cp1250). |
static int |
GB2312_CHARSET
GB2312 charset (cp936). |
static int |
GREEK_CHARSET
Greek charset (cp1253). |
static int |
HANGEUL_CHARSET
Hangeul charset (cp949). |
static int |
HANGUL_CHARSET
Hangeul charset (same as HANGEUL_CHARSET, cp949). |
static int |
HEBREW_CHARSET
Hebrew charset (cp1255). |
static int |
JOHAB_CHARSET
Johab charset (cp1361) |
static int |
MAC_CHARSET
|
static MetafilesRenderingHintKey |
METAFILES_CHARSET_COLLECTION
RenderingHint Key to use with charset collection |
static int |
OEM_CHARSET
Default OEM charset. |
static int |
RUSSIAN_CHARSET
Cyrillic charset (cp1251). |
static int |
SHIFTJIS_CHARSET
Shift JIS charset (cp932). |
static int |
SYMBOL_CHARSET
Symbol charset. |
static int |
THAI_CHARSET
Thai charset (cp874). |
static int |
TURKISH_CHARSET
Turkish charset (cp1254). |
static int |
VIETNAMESE_CHARSET
Vietnamese charset (cp1258). |
Constructor Summary | |
---|---|
MetafileCharsetCollection()
Creates new MetafileCharsetCollection filled with default values. |
Method Summary | |
---|---|
void |
SetAllCharsetsTo(char[] charMap)
Removes all charsets from the collection and set specified charMap as a default one. |
void |
SetAllCharsetsTo(java.nio.charset.Charset charset)
Removes all charsets from the collection and set specified charset as a default one. |
void |
SetCharset(int charsetId,
char[] charMap)
Set a characted mapping array as a charset for decoding text with codepage, defined by charsetId. |
void |
SetCharset(int charsetId,
java.nio.charset.Charset charset)
Set a charset as a charset for decoding text with codepage, defined by charsetId. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ANSI_CHARSET
public static final int DEFAULT_CHARSET
public static final int SYMBOL_CHARSET
public static final int SHIFTJIS_CHARSET
public static final int HANGEUL_CHARSET
public static final int HANGUL_CHARSET
public static final int GB2312_CHARSET
public static final int CHINESEBIG5_CHARSET
public static final int OEM_CHARSET
public static final int JOHAB_CHARSET
public static final int HEBREW_CHARSET
public static final int ARABIC_CHARSET
public static final int GREEK_CHARSET
public static final int TURKISH_CHARSET
public static final int VIETNAMESE_CHARSET
public static final int THAI_CHARSET
public static final int EASTEUROPE_CHARSET
public static final int RUSSIAN_CHARSET
public static final int MAC_CHARSET
public static final int BALTIC_CHARSET
public static MetafilesRenderingHintKey METAFILES_CHARSET_COLLECTION
Constructor Detail |
---|
public MetafileCharsetCollection()
Method Detail |
---|
public void SetCharset(int charsetId, java.nio.charset.Charset charset) throws MetafilesException
charsetId
- charset
-
MetafilesException
public void SetCharset(int charsetId, char[] charMap) throws MetafilesException
charsetId
- charMap
-
MetafilesException
public void SetAllCharsetsTo(java.nio.charset.Charset charset) throws MetafilesException
charset
-
MetafilesException
public void SetAllCharsetsTo(char[] charMap) throws MetafilesException
charMap
-
MetafilesException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |