iText 8.0.5 API
|
Static Public Member Functions |
|
static byte[] | ConvertToBytes (String text, String encoding) |
Converts a String to a byte array according to the font's encoding. More... |
|
static byte[] | ConvertToBytes (char ch, String encoding) |
Converts a char to a byte array according to the font's encoding. More... |
|
static String | ConvertToString (byte[] bytes, String encoding) |
Converts a byte array to a String according to the some encoding. More... |
|
static bool | IsPdfDocEncoding (String text) |
Checks is text only has PDF_DOC_ENCODING characters. More... |
|
static void | AddExtraEncoding (String name, IExtraEncoding enc) |
Adds an extra encoding. More... |
|
Static Public Attributes |
|
const String | IDENTITY_H = "Identity-H" |
The Unicode encoding with horizontal writing. More... |
|
const String | IDENTITY_V = "Identity-V" |
The Unicode encoding with vertical writing. More... |
|
const String | CP1250 = "Windows-1250" |
A possible encoding. More... |
|
const String | CP1252 = "Windows-1252" |
A possible encoding. More... |
|
const String | CP1253 = "Windows-1253" |
A possible encoding. More... |
|
const String | CP1257 = "Windows-1257" |
A possible encoding. More... |
|
const String | WINANSI = "Windows-1252" |
A possible encoding. More... |
|
const String | MACROMAN = "MacRoman" |
A possible encoding. More... |
|
const String | SYMBOL = "Symbol" |
A possible encoding. More... |
|
const String | ZAPFDINGBATS = "ZapfDingbats" |
A possible encoding. More... |
|
const String | UNICODE_BIG = "UnicodeBig" |
This is the encoding to be used to output text in Unicode. More... |
|
const String | UNICODE_BIG_UNMARKED = "UnicodeBigUnmarked" |
This is the encoding to be used to output text for Identity-H/V CMaps. More... |
|
const String | PDF_DOC_ENCODING = "PDF" |
This is the default encoding to be used for converting Strings into bytes and vice versa. More... |
|
const String | UTF8 = "UTF-8" |
|
inlinestatic |
Adds an extra encoding.
name | the name of the encoding. The encoding recognition is case insensitive |
enc | the conversion class |
|
inlinestatic |
Converts a char
to a byte
array according to the font's encoding.
encoding | the encoding |
ch | the char to be converted |
byte
representing the conversion according to the font's encoding
|
inlinestatic |
Converts a String
to a byte
array according to the font's encoding.
encoding | the encoding |
text | the String to be converted |
byte
representing the conversion according to the font's encoding
|
inlinestatic |
Converts a byte
array to a String
according to the some encoding.
bytes | the bytes to convert |
encoding | the encoding |
String
|
inlinestatic |
Checks is text only has PDF_DOC_ENCODING characters.
text | the String to test |
true
if only PDF_DOC_ENCODING characters are present
|
static |
A possible encoding.
|
static |
A possible encoding.
|
static |
A possible encoding.
|
static |
A possible encoding.
|
static |
The Unicode encoding with horizontal writing.
|
static |
The Unicode encoding with vertical writing.
|
static |
A possible encoding.
|
static |
This is the default encoding to be used for converting Strings into bytes and vice versa.
This is the default encoding to be used for converting Strings into bytes and vice versa. The default encoding is PDF_DOC_ENCODING.
|
static |
A possible encoding.
|
static |
This is the encoding to be used to output text in Unicode.
|
static |
This is the encoding to be used to output text for Identity-H/V CMaps.
|
static |
A possible encoding.
|
static |
A possible encoding.