|
|||||||||||
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
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 on page 213 and onwards of the PDF 1.3 spec.
Field Summary | |
protected java.lang.String |
basename
the name for the base encoding. |
protected java.util.HashMap |
differences
the differences from the base encoding |
static java.lang.String |
MacExpertEncoding
the name for the standard encoding scheme |
static java.lang.String |
MacRomanEncoding
the name for the standard encoding scheme |
static java.lang.String |
WinAnsiEncoding
the name for the standard encoding scheme |
Fields inherited from class org.apache.fop.pdf.PDFObject |
generation, number |
Constructor Summary | |
PDFEncoding(int number,
java.lang.String basename)
create the /Encoding object |
Method Summary | |
void |
addDifferences(int code,
java.util.ArrayList sequence)
add differences to the encoding |
byte[] |
toPDF()
produce the PDF representation for the object |
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, output, referencePDF |
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 MacRomanEncoding
public static final java.lang.String MacExpertEncoding
public static final java.lang.String WinAnsiEncoding
protected java.lang.String basename
protected java.util.HashMap differences
Constructor Detail |
public PDFEncoding(int number, java.lang.String basename)
number
- the object's numberbasename
- the name of the character encoding schemaMethod Detail |
public void addDifferences(int code, java.util.ArrayList sequence)
code
- the first index of the sequence to be changedsequence
- the sequence of glyph names (as String)public byte[] toPDF()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |