Interface CompressedObject
- All Known Implementing Classes:
AbstractPDFFontStream, AbstractPDFStream, ObjectStream, PageSequenceStructElem, PDFAction, PDFAnnotList, PDFArray, PDFCFFStream, PDFCFFStreamType0C, PDFCharProcs, PDFCIDFont, PDFCIDFontDescriptor, PDFCIDSystemInfo, PDFCIELabColorSpace, PDFCMap, PDFColor, PDFDestination, PDFDests, PDFDictionary, PDFDPart, PDFDPartRoot, PDFEmbeddedFile, PDFEmbeddedFiles, PDFEncoding, PDFEncryptionJCE, PDFFileSpec, PDFFont, PDFFontDescriptor, PDFFontNonBase14, PDFFontTrueType, PDFFontType0, PDFFontType1, PDFFontType3, PDFFormXObject, PDFFunction, PDFGoTo, PDFGoToRemote, PDFGState, PDFICCBasedColorSpace, PDFICCStream, PDFIdentifiedDictionary, PDFImageXObject, PDFInfo, PDFInternalLink, PDFJavaScriptLaunchAction, PDFLaunch, PDFLayer, PDFLinearization.HintTable, PDFLinearization.LinearPDFDictionary, PDFLink, PDFMetadata, PDFName, PDFNames, PDFNameTreeNode, PDFNavigator, PDFNavigatorAction, PDFNumber, PDFNumberTreeNode, PDFNumsArray, PDFObject, PDFOutline, PDFOutputIntent, PDFPage, PDFPageLabels, PDFPages, PDFParentTree, PDFPathPaint, PDFPattern, PDFResourceContext, PDFResources, PDFRoot, PDFSeparationColorSpace, PDFSetOCGStateAction, PDFShading, PDFSignature.AcroForm, PDFSignature.AP, PDFSignature.Contents, PDFSignature.DocMDP, PDFSignature.FormXObject, PDFSignature.Perms, PDFSignature.SigField, PDFSignature.SigRef, PDFSignature.TransformParams, PDFStream, PDFStructElem, PDFStructElem.Placeholder, PDFStructTreeRoot, PDFT1Stream, PDFText, PDFToUnicodeCMap, PDFTransitionAction, PDFTTFStream, PDFUri, PDFXObject, StructureHierarchyMember, TableStructElem, TransitionDictionary
interface CompressedObject
Represents a PDF object that may appear in an object stream. An object stream is a PDF
stream whose content is a sequence of PDF objects. See Section 3.4.6 of the PDF 1.5
Reference.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the object number of this indirect object.intoutput(OutputStream outputStream) Outputs this object's content into the given stream.
-
Method Details
-
getObjectNumber
PDFObjectNumber getObjectNumber()Returns the object number of this indirect object. Note that a compressed object must have a generation number of 0.- Returns:
- the object number.
-
output
Outputs this object's content into the given stream.- Parameters:
outputStream- a stream, likely to be provided by the containing object stream- Returns:
- the number of bytes written to the stream
- Throws:
IOException
-