public class PDFEncoding extends PDFDictionary
| Modifier and Type | Class and Description |
|---|---|
class |
PDFEncoding.DifferencesBuilder
Builder class for constructing the Differences array.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MAC_EXPERT_ENCODING
the name for the Mac Export encoding scheme
|
static String |
MAC_ROMAN_ENCODING
the name for the Mac Roman encoding scheme
|
static String |
PDF_DOC_ENCODING
the name for the PDF document encoding scheme
|
static String |
STANDARD_ENCODING
the name for the standard encoding scheme
|
static String |
WIN_ANSI_ENCODING
the name for the WinAnsi encoding scheme
|
entries, order| Constructor and Description |
|---|
PDFEncoding(String basename)
Create a new /Encoding object.
|
| Modifier and Type | Method and Description |
|---|---|
PDFEncoding.DifferencesBuilder |
createDifferencesBuilder()
Creates and returns a new DifferencesBuilder instance for constructing the Differences
array.
|
static boolean |
isPredefinedEncoding(String name)
Indicates whether a given encoding is one of the predefined encodings.
|
void |
setDifferences(PDFArray differences)
Sets the Differences value.
|
containsKey, get, getChildren, getChildren, keySet, output, put, put, remove, writeDictionarycontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFStringpublic static final String STANDARD_ENCODING
public static final String MAC_ROMAN_ENCODING
public static final String MAC_EXPERT_ENCODING
public static final String WIN_ANSI_ENCODING
public static final String PDF_DOC_ENCODING
public PDFEncoding(String basename)
basename - the name of the character encoding schemapublic static boolean isPredefinedEncoding(String name)
name - the encoding name (ex. "StandardEncoding")public PDFEncoding.DifferencesBuilder createDifferencesBuilder()
public void setDifferences(PDFArray differences)
differences - the differences.Copyright © 2023 Apache Software Foundation. All rights reserved.