|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfStream
com.lowagie.text.pdf.BaseFont.StreamFont
static class BaseFont.StreamFont
Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream.
Field Summary |
---|
Fields inherited from class com.lowagie.text.pdf.PdfStream |
---|
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer |
Fields inherited from class com.lowagie.text.pdf.PdfDictionary |
---|
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
Fields inherited from class com.lowagie.text.pdf.PdfObject |
---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Constructor Summary | |
---|---|
BaseFont.StreamFont(byte[] contents,
int[] lengths,
int compressionLevel)
Generates the PDF stream with the Type1 and Truetype fonts returning a PdfStream. |
|
BaseFont.StreamFont(byte[] contents,
java.lang.String subType,
int compressionLevel)
Generates the PDF stream for a font. |
Method Summary |
---|
Methods inherited from class com.lowagie.text.pdf.PdfStream |
---|
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLength |
Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
---|
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size |
Methods inherited from class com.lowagie.text.pdf.PdfObject |
---|
canBeInObjStm, getBytes, getDirectObject, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseFont.StreamFont(byte[] contents, int[] lengths, int compressionLevel) throws DocumentException
contents
- the content of the streamlengths
- an array of int that describes the several lengths of each part of the fontcompressionLevel
- the compression level of the Stream
DocumentException
- error in the stream compressionpublic BaseFont.StreamFont(byte[] contents, java.lang.String subType, int compressionLevel) throws DocumentException
contents
- the content of a streamsubType
- the subtype of the font.compressionLevel
- the compression level of the Stream
DocumentException
- error in the stream compression
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |