org.apache.fop.pdf

Class PDFToUnicodeCMap

Implemented Interfaces:
PDFWritable

public class PDFToUnicodeCMap
extends PDFCMap

Class representing ToUnicode CMaps. Here are some documentation resources:

Field Summary

protected char[]
unicodeCharMap
The array of Unicode characters ordered by character code (maps from character code to Unicode code point).

Fields inherited from class org.apache.fop.pdf.PDFCMap

ENC_83PV_RKSJ_H, ENC_90MSP_RKSJ_H, ENC_90MSP_RKSJ_V, ENC_90MS_RKSJ_H, ENC_90MS_RKSJ_V, ENC_90PV_RKSJ_H, ENC_ADD_RKSJ_H, ENC_ADD_RKSJ_V, ENC_B5PC_H, ENC_B5PC_V, ENC_CNS_EUC_H, ENC_CNS_EUC_V, ENC_ETENMS_B5_H, ENC_ETENMS_B5_V, ENC_ETEN_B5_H, ENC_ETEN_B5_V, ENC_EUC_H, ENC_EUC_V, ENC_EXT_RKSJ_H, ENC_EXT_RKSJ_V, ENC_GBK2K_H, ENC_GBK2K_V, ENC_GBKP_EUC_H, ENC_GBKP_EUC_V, ENC_GBK_EUC_H, ENC_GBK_EUC_V, ENC_GBPC_EUC_H, ENC_GBPC_EUC_V, ENC_GB_EUC_H, ENC_GB_EUC_V, ENC_H, ENC_HKSCS_B5_H, ENC_HKSCS_B5_V, ENC_IDENTITY_H, ENC_IDENTTITY_V, ENC_KSCMS_UHC_H, ENC_KSCMS_UHC_HW_H, ENC_KSCMS_UHC_HW_V, ENC_KSCMS_UHC_V, ENC_KSCPC_EUC_H, ENC_KSC_EUC_H, ENC_KSC_EUC_V, ENC_UNICNS_UCS2_H, ENC_UNICNS_UCS2_V, ENC_UNIGB_UCS2_H, ENC_UNIGB_UCS2_V, ENC_UNIJIS_UCS2_H, ENC_UNIJIS_UCS2_HW_H, ENC_UNIJIS_UCS2_HW_V, ENC_UNIJIS_UCS2_V, ENC_UNIKSC_UCS2_H, ENC_UNIKSC_UCS2_V, ENC_V, WMODE_HORIZONTAL, WMODE_VERTICAL, base, name, sysInfo, wMode

Fields inherited from class org.apache.fop.pdf.PDFStream

data

Fields inherited from class org.apache.fop.pdf.PDFDictionary

entries, order

Fields inherited from class org.apache.fop.pdf.PDFObject

DATE_FORMAT, log

Constructor Summary

PDFToUnicodeCMap(char[] unicodeCharMap, String name, PDFCIDSystemInfo sysInfo)
Constructor.

Method Summary

protected CMapBuilder
createCMapBuilder(Writer writer)

Methods inherited from class org.apache.fop.pdf.PDFCMap

createCMapBuilder, output, setUseCMap, setUseCMap, setWMode

Methods inherited from class org.apache.fop.pdf.PDFStream

add, getBufferOutputStream, getDataLength, getSizeHint, output, outputRawStreamData, setData

Methods inherited from class org.apache.fop.pdf.AbstractPDFStream

encodeAndWriteStream, encodeStream, getFilterList, getSizeHint, output, outputRawStreamData, outputStreamData, populateStreamDict, prepareImplicitFilters, setupFilterList

Methods inherited from class org.apache.fop.pdf.PDFDictionary

get, output, put, put, writeDictionary

Methods inherited from class org.apache.fop.pdf.PDFObject

encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString

Field Details

unicodeCharMap

protected char[] unicodeCharMap
The array of Unicode characters ordered by character code (maps from character code to Unicode code point).

Constructor Details

PDFToUnicodeCMap

public PDFToUnicodeCMap(char[] unicodeCharMap,
                        String name,
                        PDFCIDSystemInfo sysInfo)
Constructor.
Parameters:
unicodeCharMap - An array of Unicode characters ordered by character code (maps from character code to Unicode code point)
name - One of the registered names found in Table 5.14 in PDF Reference, Second Edition.
sysInfo - The attributes of the character collection of the CIDFont.

Method Details

createCMapBuilder

protected CMapBuilder createCMapBuilder(Writer writer)
Overrides:
createCMapBuilder in interface PDFCMap

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.