srakadvd.blogg.se

Itextsharp pdfwriter stream
Itextsharp pdfwriter stream










itextsharp pdfwriter stream
  1. #Itextsharp pdfwriter stream pdf#
  2. #Itextsharp pdfwriter stream manual#

Throws java.io.IOException Description copied from class: PdfDictionary Writes the PDF representation of this PdfDictionary as an Throws java.io.IOException Throws: java.io.IOException Protected void superToPdf( PdfWriter writer, Parameters: compressionLevel - the compression level (0 = best speed, 9 = best compression, -1 is default) Since: 2.1.3 Public void flateCompress(int compressionLevel) Compresses the stream.

itextsharp pdfwriter stream

Public void flateCompress() Compresses the stream. Public int getRawLength() Gets the raw length of the stream. Throws: java.io.IOException - on error See Also: PdfStream(InputStream,PdfWriter) This method must be called and can only be called if the constructor PdfStream(InputStream,PdfWriter) Throws java.io.IOException Writes the stream length to the PdfWriter. Protected PdfStream() Constructs a PdfStream-object. Parameters: inputStream - the data to write to this stream writer - the PdfWriter for this stream PdfStream stream = new PdfStream(in, writer) PdfWriter writer) Creates an efficient stream. Public PdfStream(java.io.InputStream inputStream, Parameters: bytes - content of the new PdfObject as an array of byte. Public PdfStream(byte bytes) Constructs a PdfStream-object. Protected int rawLength Constructor Detail Protected java.io.InputStream inputStream Protected java.io.ByteArrayOutputStream streamBytes

itextsharp pdfwriter stream

Protected int compressionLevel The level of compression. Protected boolean compressed is the stream compressed? Public static final int BEST_COMPRESSION A possible compression level. Public static final int BEST_SPEED A possible compression level. Public static final int NO_COMPRESSION A possible compression level. Since: 2.1.3 See Also: Constant Field Values Public static final int DEFAULT_COMPRESSION A possible compression level. Methods inherited from class Ĭlone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait PdfObjectĬanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type PdfDictionaryĬontains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size Writes the stream length to the PdfWriter. Writes the data content to an OutputStream. Returns a string representation of this PdfDictionary. Writes the PDF representation of this PdfDictionary as an PdfStream(java.io.InputStream inputStream, PdfObjectĪRRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type

itextsharp pdfwriter stream

PdfDictionaryĬATALOG, FONT, hashMap, OUTLINES, PAGE, PAGESįields inherited from class.

#Itextsharp pdfwriter stream manual#

This object is described in the 'Portable Document Format Reference Manual version 1.7'įields inherited from class. Remark: In this version only the FLATEDECODE-filter is supported. The keyword stream that follows the stream dictionary should be followed byĪ carriage return and linefeed or just a linefeed. The keyword stream, followed by zero or more lines of characters, followed byĪll streams must be PdfIndirectObjects. Page descriptions, are represented as streams.Ī stream consists of a dictionary that describes a sequence of characters, followed by Read a small portion of a stream at a time, while a string must be read in its entirety.įor this reason, objects with potentially large amounts of data, such as images and Public class PdfStream extends PdfDictionaryĪ stream, like a string, is a sequence of characters. SUMMARY: NESTED | FIELD | CONSTR | METHODĬom.PdfDictionary .PdfStream Direct Known Subclasses: PdfEFStream, PdfFormXObject, PdfICCBased, PdfImage, PdfPattern, PRStream












Itextsharp pdfwriter stream