Package org.apache.fop.pdf
Class PDFLinearization.HintTable
- java.lang.Object
-
- org.apache.fop.pdf.PDFObject
-
- org.apache.fop.pdf.AbstractPDFStream
-
- org.apache.fop.pdf.PDFStream
-
- org.apache.fop.pdf.PDFLinearization.HintTable
-
- All Implemented Interfaces:
CompressedObject,PDFWritable
- Enclosing class:
- PDFLinearization
static class PDFLinearization.HintTable extends PDFStream
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.lang.Integer>contentStreamLengths(package private) java.util.Map<java.lang.String,int[]>hintGroups(package private) java.util.List<java.lang.Integer>objCount(package private) java.util.List<java.lang.Integer>pageLengthsprivate java.util.List<PDFPage>pages(package private) intpageStartPos(package private) java.util.List<java.lang.Integer>sharedLengths
-
Constructor Summary
Constructors Constructor Description HintTable(PDFDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDFFilterListgetFilterList()Returns the associated filter list.protected voidoutputRawStreamData(java.io.OutputStream os)Sends the raw stream data to the target OutputStream.private voidwriteCard16(int s, java.io.OutputStream bos)private voidwriteSharedTable(org.apache.commons.io.output.CountingOutputStream bos)private voidwriteULong(int s, java.io.OutputStream bos)-
Methods inherited from class org.apache.fop.pdf.PDFStream
add, add, getBufferOutputStream, getBufferWriter, getDataLength, getSizeHint, output, setData, streamHashCode
-
Methods inherited from class org.apache.fop.pdf.AbstractPDFStream
encodeAndWriteStream, encodeStream, get, getChildren, getDefaultFilterName, getDictionary, multipleFiltersAllowed, outputStreamData, populateStreamDict, prepareImplicitFilters, put, registerChildren, setDocument, setupFilterList, supportsObjectStream
-
Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
-
-
-
-
Field Detail
-
pages
private java.util.List<PDFPage> pages
-
pageStartPos
int pageStartPos
-
sharedLengths
java.util.List<java.lang.Integer> sharedLengths
-
pageLengths
java.util.List<java.lang.Integer> pageLengths
-
contentStreamLengths
java.util.List<java.lang.Integer> contentStreamLengths
-
objCount
java.util.List<java.lang.Integer> objCount
-
hintGroups
java.util.Map<java.lang.String,int[]> hintGroups
-
-
Constructor Detail
-
HintTable
public HintTable(PDFDocument doc)
-
-
Method Detail
-
getFilterList
public PDFFilterList getFilterList()
Description copied from class:AbstractPDFStreamReturns the associated filter list.- Overrides:
getFilterListin classAbstractPDFStream- Returns:
- the filter list
-
outputRawStreamData
protected void outputRawStreamData(java.io.OutputStream os) throws java.io.IOExceptionDescription copied from class:PDFStreamSends the raw stream data to the target OutputStream.- Overrides:
outputRawStreamDatain classPDFStream- Parameters:
os- OutputStream to write to- Throws:
java.io.IOException- In case of an I/O problem
-
writeSharedTable
private void writeSharedTable(org.apache.commons.io.output.CountingOutputStream bos) throws java.io.IOException- Throws:
java.io.IOException
-
writeCard16
private void writeCard16(int s, java.io.OutputStream bos) throws java.io.IOException- Throws:
java.io.IOException
-
writeULong
private void writeULong(int s, java.io.OutputStream bos) throws java.io.IOException- Throws:
java.io.IOException
-
-