org.apache.fop.pdf
Class PDFEncoding
- PDFWritable
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.
PDFEncoding(String basename) - create the /Encoding object
|
encode , encodeString , encodeText , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , hasObjectNumber , makeReference , output , referencePDF , setDocument , setObjectNumber , toInlinePDFString , toPDF , toPDFString |
MAC_EXPERT_ENCODING
public static final String MAC_EXPERT_ENCODING
the name for the standard encoding scheme
MAC_ROMAN_ENCODING
public static final String MAC_ROMAN_ENCODING
the name for the standard encoding scheme
WIN_ANSI_ENCODING
public static final String WIN_ANSI_ENCODING
the name for the standard encoding scheme
basename
protected String basename
the name for the base encoding.
One of the three base encoding scheme names or
the default font's base encoding if null.
differences
protected Map differences
the differences from the base encoding
PDFEncoding
public PDFEncoding(String basename)
create the /Encoding object
basename
- the name of the character encoding schema
addDifferences
public void addDifferences(int code,
List sequence)
add differences to the encoding
code
- the first index of the sequence to be changedsequence
- the sequence of glyph names (as String)
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.