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 java.lang.String |
MAC_EXPERT_ENCODING
the name for the Mac Export encoding scheme
|
static java.lang.String |
MAC_ROMAN_ENCODING
the name for the Mac Roman encoding scheme
|
static java.lang.String |
PDF_DOC_ENCODING
the name for the PDF document encoding scheme
|
static java.lang.String |
STANDARD_ENCODING
the name for the standard encoding scheme
|
static java.lang.String |
WIN_ANSI_ENCODING
the name for the WinAnsi encoding scheme
|
entries, order
Constructor and Description |
---|
PDFEncoding(java.lang.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(java.lang.String name)
Indicates whether a given encoding is one of the predefined encodings.
|
void |
setDifferences(PDFArray differences)
Sets the Differences value.
|
get, output, put, put, writeDictionary
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString
public static final java.lang.String STANDARD_ENCODING
public static final java.lang.String MAC_ROMAN_ENCODING
public static final java.lang.String MAC_EXPERT_ENCODING
public static final java.lang.String WIN_ANSI_ENCODING
public static final java.lang.String PDF_DOC_ENCODING
public PDFEncoding(java.lang.String basename)
basename
- the name of the character encoding schemapublic static boolean isPredefinedEncoding(java.lang.String name)
name
- the encoding name (ex. "StandardEncoding")public PDFEncoding.DifferencesBuilder createDifferencesBuilder()
public void setDifferences(PDFArray differences)
differences
- the differences.Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.