|
fop 0.94 | |||||||||
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.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.
Field Summary | |
---|---|
protected java.lang.String |
basename
the name for the base encoding. |
protected java.util.Map |
differences
the differences from the base encoding |
static java.lang.String |
MAC_EXPERT_ENCODING
the name for the standard encoding scheme |
static java.lang.String |
MAC_ROMAN_ENCODING
the name for the standard encoding scheme |
static java.lang.String |
WIN_ANSI_ENCODING
the name for the standard encoding scheme |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
DATE_FORMAT, log |
Constructor Summary | |
---|---|
PDFEncoding(java.lang.String basename)
create the /Encoding object |
Method Summary | |
---|---|
void |
addDifferences(int code,
java.util.List sequence)
add differences to the encoding |
java.lang.String |
toPDFString()
This method returns a String representation of the PDF object. |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF |
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 MAC_ROMAN_ENCODING
public static final java.lang.String MAC_EXPERT_ENCODING
public static final java.lang.String WIN_ANSI_ENCODING
protected java.lang.String basename
protected java.util.Map differences
Constructor Detail |
---|
public PDFEncoding(java.lang.String basename)
basename
- the name of the character encoding schemaMethod Detail |
---|
public void addDifferences(int code, java.util.List sequence)
code
- the first index of the sequence to be changedsequence
- the sequence of glyph names (as String)public java.lang.String toPDFString()
PDFObject
toPDFString
in class PDFObject
PDFObject.toPDFString()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |