|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDictionary
org.apache.fop.pdf.PDFEncoding
public class PDFEncoding
Class representing an /Encoding object. A small object expressing the base encoding name and the differences from the base encoding. The three base encodings are given by their name. Encodings are specified in section 5.5.5 of the PDF 1.4 spec.
Nested Class Summary | |
---|---|
class |
PDFEncoding.DifferencesBuilder
Builder class for constructing the Differences array. |
Field Summary | |
---|---|
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 |
Fields inherited from class org.apache.fop.pdf.PDFDictionary |
---|
entries, order |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
log |
Constructor Summary | |
---|---|
PDFEncoding(java.lang.String basename)
Create a new /Encoding object. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.fop.pdf.PDFDictionary |
---|
containsKey, get, getChildren, getChildren, keySet, output, put, put, remove, writeDictionary |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public PDFEncoding(java.lang.String basename)
basename
- the name of the character encoding schemaMethod Detail |
---|
public 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.
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |