Uses of Class
com.itextpdf.kernel.pdf.PdfStream
Packages that use PdfStream
Package
Description
-
Uses of PdfStream in com.itextpdf.forms
Methods in com.itextpdf.forms with parameters of type PdfStreamModifier and TypeMethodDescriptionPdfAcroForm.setXFAResource
(PdfStream xfaResource) Sets theXFA
property on the AcroForm. -
Uses of PdfStream in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields with parameters of type PdfStreamModifier and TypeMethodDescriptionPdfFormAnnotation.setAppearance
(PdfName appearanceType, String appearanceState, PdfStream appearanceStream) Sets an appearance for (the widgets related to) the form field. -
Uses of PdfStream in com.itextpdf.kernel.font
Fields in com.itextpdf.kernel.font declared as PdfStreamModifier and TypeFieldDescriptionprivate PdfStream
DocTrueTypeFont.fontFile
private PdfStream
DocType1Font.fontFile
Methods in com.itextpdf.kernel.font that return PdfStreamModifier and TypeMethodDescriptionDocTrueTypeFont.getFontFile()
DocType1Font.getFontFile()
IDocFontProgram.getFontFile()
protected PdfStream
PdfFont.getPdfFontStream
(byte[] fontStreamBytes, int[] fontStreamLengths) CreatePdfStream
based onfontStreamBytes
.PdfType0Font.getToUnicode()
Creates a ToUnicode CMap to allow copy and paste from Acrobat.Constructors in com.itextpdf.kernel.font with parameters of type PdfStreamModifierConstructorDescription(package private)
Type3Glyph
(PdfStream pdfStream, PdfDocument document) Creates a Type3Glyph canvas with a non-empty Content Stream. -
Uses of PdfStream in com.itextpdf.kernel.pdf
Subclasses of PdfStream in com.itextpdf.kernel.pdfFields in com.itextpdf.kernel.pdf with type parameters of type PdfStreamMethods in com.itextpdf.kernel.pdf that return PdfStreamModifier and TypeMethodDescriptionPdfArray.getAsStream
(int index) Returns the element at the specified index as a PdfStream.PdfDictionary.getAsStream
(PdfName key) Returns the value associated to this key as a PdfStream.PdfPage.getContentStream
(int index) Gets the content stream at specified 0-based index in the Contents objectPdfArray
.PdfOutputIntent.getDestOutputProfile()
private static PdfStream
EncryptedEmbeddedStreamsHandler.getEmbeddedFileStreamFromDictionary
(PdfDictionary dictionary) PdfPage.getFirstContentStream()
PdfPage.getLastContentStream()
PdfPage.getXmpMetadata()
Gets the XMP Metadata object.private PdfStream
PdfPage.newContentStream
(boolean before) PdfPage.newContentStreamAfter()
PdfPage.newContentStreamBefore()
Methods in com.itextpdf.kernel.pdf with parameters of type PdfStreamModifier and TypeMethodDescriptionAddsPdfStream
to the resources as form.AddsPdfStream
to the resources as image.protected boolean
PdfOutputStream.checkEncryption
(PdfStream pdfStream) void
PdfDocument.checkIsoConformance
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream) Checks whether PDF document conforms a specific standard.void
PdfDocument.checkIsoConformance
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Checks whether PDF document conforms a specific standard.private void
PdfReader.checkPdfStreamLength
(PdfStream pdfStream) protected boolean
PdfOutputStream.containsFlateFilter
(PdfStream pdfStream) protected byte[]
PdfOutputStream.decodeFlateBytes
(PdfStream stream, byte[] bytes) private static boolean
PdfOutputStream.decodeParamsArrayNotFlushed
(PdfStream pdfStream) (package private) boolean
PdfDocument.doesStreamBelongToEmbeddedFile
(PdfStream stream) private boolean
PdfOutputStream.isNotMetadataPdfStream
(PdfStream pdfStream) (package private) boolean
EncryptedEmbeddedStreamsHandler.isStreamStoredAsEmbedded
(PdfStream stream) Checks, whether thisPdfStream
was stored as embedded stream.private boolean
PdfOutputStream.isXRefStream
(PdfStream pdfStream) (package private) static void
IndirectFilterUtils.logFilterWasAlreadyFlushed
(org.slf4j.Logger logger, PdfStream stream) void
PdfDocument.markStreamAsEmbeddedFile
(PdfStream stream) MarksPdfStream
object as embedded file stream.protected void
PdfReader.readObjectStream
(PdfStream objectStream) PdfReader.readStream
(PdfStream stream, boolean decode) Reads, decrypts and optionally decodes stream bytes intoByteArrayInputStream
.byte[]
PdfReader.readStreamBytes
(PdfStream stream, boolean decode) Reads, decrypt and optionally decode stream bytes.byte[]
PdfReader.readStreamBytesRaw
(PdfStream stream) Reads and decrypt stream bytes.(package private) void
EncryptedEmbeddedStreamsHandler.storeEmbeddedStream
(PdfStream embeddedStream) (package private) static void
IndirectFilterUtils.throwFlushedFilterException
(PdfStream stream) protected void
PdfOutputStream.updateCompressionFilter
(PdfStream pdfStream) private void
Constructors in com.itextpdf.kernel.pdf with parameters of type PdfStreamModifierConstructorDescriptionPdfEncryptedPayloadDocument
(PdfStream pdfObject, PdfFileSpec fileSpec, String name) -
Uses of PdfStream in com.itextpdf.kernel.pdf.action
Methods in com.itextpdf.kernel.pdf.action with parameters of type PdfStreamModifier and TypeMethodDescriptionstatic PdfAction
PdfAction.createSound
(PdfStream sound) Creates a Sound action (section 12.6.4.8 of ISO 32000-1).static PdfAction
PdfAction.createSound
(PdfStream sound, float volume, boolean synchronous, boolean repeat, boolean mix) Creates a Sound action (section 12.6.4.8 of ISO 32000-1). -
Uses of PdfStream in com.itextpdf.kernel.pdf.annot
Methods in com.itextpdf.kernel.pdf.annot that return PdfStreamModifier and TypeMethodDescriptionPdfRedactAnnotation.getRedactRolloverAppearance()
PdfSoundAnnotation.getSound()
PdfAnnotationAppearance.getStateObject
(PdfName stateName) Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfStreamModifier and TypeMethodDescriptionPdfRedactAnnotation.setRedactRolloverAppearance
(PdfStream stream) PdfAnnotationAppearance.setStateObject
(PdfName stateName, PdfStream state) Constructors in com.itextpdf.kernel.pdf.annot with parameters of type PdfStreamModifierConstructorDescriptionPdfSoundAnnotation
(Rectangle rect, PdfStream sound) Creates a new Sound annotation. -
Uses of PdfStream in com.itextpdf.kernel.pdf.canvas
Fields in com.itextpdf.kernel.pdf.canvas declared as PdfStreamModifier and TypeFieldDescriptionprotected PdfStream
PdfCanvas.contentStream
the content stream for this canvas object.Methods in com.itextpdf.kernel.pdf.canvas that return PdfStreamModifier and TypeMethodDescriptionprivate PdfStream
PdfCanvas.ensureStreamDataIsReadyToBeProcessed
(PdfStream stream) PdfCanvas.getContentStream()
Please, use this method with caution and only if you know what you are doing.private static PdfStream
PdfCanvas.getPageStream
(PdfPage page) Methods in com.itextpdf.kernel.pdf.canvas with parameters of type PdfStreamModifier and TypeMethodDescriptionvoid
PdfCanvas.attachContentStream
(PdfStream contentStream) Attaches new content stream to the canvas.private PdfStream
PdfCanvas.ensureStreamDataIsReadyToBeProcessed
(PdfStream stream) Constructors in com.itextpdf.kernel.pdf.canvas with parameters of type PdfStreamModifierConstructorDescriptionPdfCanvas
(PdfStream contentStream, PdfResources resources, PdfDocument document) Creates PdfCanvas from content stream of page, form XObject, pattern etc.PdfPatternCanvas
(PdfStream contentStream, PdfResources resources, PdfDocument document) Creates PdfPatternCanvas from content stream of page, form XObject, pattern etc. -
Uses of PdfStream in com.itextpdf.kernel.pdf.canvas.parser
Methods in com.itextpdf.kernel.pdf.canvas.parser that return PdfStreamModifier and TypeMethodDescriptionprotected PdfStream
PdfCanvasProcessor.getXObjectStream
(PdfName xobjectName) Methods in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfStreamModifier and TypeMethodDescriptionprivate void
PdfCanvasProcessor.displayImage
(Stack<CanvasTag> canvasTagHierarchy, PdfStream imageStream, PdfName resourceName, boolean isInline) void
IXObjectDoHandler.handleXObject
(PdfCanvasProcessor processor, Stack<CanvasTag> canvasTagHierarchy, PdfStream stream, PdfName xObjectName) void
PdfCanvasProcessor.FormXObjectDoHandler.handleXObject
(PdfCanvasProcessor processor, Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName xObjectName) void
PdfCanvasProcessor.IgnoreXObjectDoHandler.handleXObject
(PdfCanvasProcessor processor, Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName xObjectName) void
PdfCanvasProcessor.ImageXObjectDoHandler.handleXObject
(PdfCanvasProcessor processor, Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName resourceName) -
Uses of PdfStream in com.itextpdf.kernel.pdf.canvas.parser.data
Constructors in com.itextpdf.kernel.pdf.canvas.parser.data with parameters of type PdfStreamModifierConstructorDescriptionImageRenderInfo
(Stack<CanvasTag> canvasTagHierarchy, CanvasGraphicsState gs, Matrix ctm, PdfStream imageStream, PdfName resourceName, PdfDictionary colorSpaceDictionary, boolean isInline) Creates an ImageRenderInfo. -
Uses of PdfStream in com.itextpdf.kernel.pdf.canvas.parser.util
Methods in com.itextpdf.kernel.pdf.canvas.parser.util that return PdfStreamModifier and TypeMethodDescriptionstatic PdfStream
InlineImageParsingUtils.parse
(PdfCanvasParser ps, PdfDictionary colorSpaceDic) Parses an inline image from the provided content parser. -
Uses of PdfStream in com.itextpdf.kernel.pdf.colorspace
Methods in com.itextpdf.kernel.pdf.colorspace that return PdfStreamModifier and TypeMethodDescriptionstatic PdfStream
PdfCieBasedCs.IccBased.getIccProfileStream
(IccProfile iccProfile) static PdfStream
PdfCieBasedCs.IccBased.getIccProfileStream
(IccProfile iccProfile, float[] range) static PdfStream
PdfCieBasedCs.IccBased.getIccProfileStream
(InputStream iccStream) static PdfStream
PdfCieBasedCs.IccBased.getIccProfileStream
(InputStream iccStream, float[] range) Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfStreamModifierConstructorDescriptionprotected
CoonsPatchMesh
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
.protected
FreeFormGouraudShadedTriangleMesh
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
.protected
LatticeFormGouraudShadedTriangleMesh
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
.protected
TensorProductPatchMesh
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
.Creates new instance from thePdfStream
object. -
Uses of PdfStream in com.itextpdf.kernel.pdf.filespec
Methods in com.itextpdf.kernel.pdf.filespec with parameters of type PdfStreamModifier and TypeMethodDescriptionprivate static PdfFileSpec
PdfFileSpec.createEmbeddedFileSpec
(PdfDocument doc, PdfStream stream, String description, String fileDisplay, PdfName afRelationshipValue) Create an embedded file specification.private static PdfFileSpec
PdfFileSpec.createEmbeddedFileSpec
(PdfDocument doc, PdfStream stream, String description, String fileDisplay, PdfName mimeType, PdfName afRelationshipValue) Create an embedded file specification. -
Uses of PdfStream in com.itextpdf.kernel.pdf.function
Constructors in com.itextpdf.kernel.pdf.function with parameters of type PdfStreamModifierConstructorDescriptionPdfType0Function
(PdfStream pdfObject) PdfType4Function
(PdfStream dict) -
Uses of PdfStream in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as PdfStreamMethods in com.itextpdf.kernel.pdf.tagutils that return PdfStreamMethods in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfStreamModifier and TypeMethodDescriptionTagTreePointer.setContentStreamForTagging
(PdfStream contentStream) Sometimes, tags are desired to be connected with the content that resides not in the page's content stream, but rather in the some appearance stream or in the form xObject stream. -
Uses of PdfStream in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return PdfStreamModifier and TypeMethodDescriptionprivate static PdfStream
PdfImageXObject.createPdfStream
(ImageData image, PdfImageXObject imageMask) Methods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStreamModifier and TypeMethodDescriptionprivate static PdfArray
PdfImageXObject.createArray
(PdfStream stream, Object[] objects) private static PdfDictionary
PdfImageXObject.createDictionaryFromMap
(PdfStream stream, Map<String, Object> parms) static PdfXObject
PdfXObject.makeXObject
(PdfStream stream) Constructors in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStreamModifierConstructorDescriptionPdfFormXObject
(PdfStream pdfStream) CreatePdfFormXObject
instance byPdfStream
.PdfImageXObject
(PdfStream pdfStream) CreatePdfImageXObject
instance byPdfStream
.protected
PdfXObject
(PdfStream pdfObject) -
Uses of PdfStream in com.itextpdf.kernel.utils
Methods in com.itextpdf.kernel.utils with parameters of type PdfStreamModifier and TypeMethodDescriptionboolean
CompareTool.compareStreams
(PdfStream outStream, PdfStream cmpStream) Simple method that compares two given PdfStreams by content.private boolean
CompareTool.compareStreamsExtended
(PdfStream outStream, PdfStream cmpStream, ObjectPath currentPath, CompareTool.CompareResult compareResult) CompareTool.compareStreamsStructure
(PdfStream outStream, PdfStream cmpStream) Compares structures of two corresponding streams from out and cmp PDF documents.void
ValidationContainer.validate
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Check the provided object for conformance with all theIValidationChecker
implementations.void
IValidationChecker.validateObject
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Check the provided object for conformance. -
Uses of PdfStream in com.itextpdf.pdfa
Methods in com.itextpdf.pdfa with parameters of type PdfStreamModifier and TypeMethodDescriptionvoid
PdfADocument.checkIsoConformance
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) -
Uses of PdfStream in com.itextpdf.pdfa.checker
Fields in com.itextpdf.pdfa.checker declared as PdfStreamFields in com.itextpdf.pdfa.checker with type parameters of type PdfStreamMethods in com.itextpdf.pdfa.checker with parameters of type PdfStreamModifier and TypeMethodDescriptionprivate void
PdfA4Checker.checkAnnotationsForColorUsages
(PdfArray annotations, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) protected void
PdfA2Checker.checkAppearanceStream
(PdfStream appearanceStream) protected void
PdfAChecker.checkAppearanceStream
(PdfStream appearanceStream) Check single annotation appearance stream.private void
PdfA4Checker.checkAppearanceStreamForColorUsages
(PdfDictionary ap, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) void
PdfA1Checker.checkColor
(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream stream) Deprecated.void
PdfA1Checker.checkColor
(CanvasGraphicsState graphicsState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream stream) This method checks compliance with the color restrictions imposed by the available color spaces in the document.void
PdfA2Checker.checkColor
(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) Deprecated.void
PdfA2Checker.checkColor
(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) This method checks compliance with the color restrictions imposed by the available color spaces in the document.abstract void
PdfAChecker.checkColor
(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) Deprecated.void
PdfAChecker.checkColor
(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) Deprecated.This method will be abstract in next major releaseprivate void
PdfA4Checker.checkContentForColorUsages
(PdfObject pdfObject, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) protected void
PdfA1Checker.checkContentStream
(PdfStream contentStream) protected abstract void
PdfAChecker.checkContentStream
(PdfStream contentStream) Attest content stream conformance with appropriate specification.void
PdfA1Checker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) void
PdfA2Checker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) void
PdfA4Checker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) abstract void
PdfAChecker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) Performs a number of checks on the graphics state, among others ISO 19005-1 section 6.2.8 and 6.4 and ISO 19005-2 section 6.2.5 and 6.2.10.void
PdfA1Checker.checkFontGlyphs
(PdfFont font, PdfStream contentStream) void
PdfA2Checker.checkFontGlyphs
(PdfFont font, PdfStream contentStream) abstract void
PdfAChecker.checkFontGlyphs
(PdfFont font, PdfStream contentStream) Performs a check of the each font glyph as a Form XObject.protected void
PdfA1Checker.checkFormXObject
(PdfStream form) protected void
PdfA2Checker.checkFormXObject
(PdfStream form) Deprecated.protected void
PdfA2Checker.checkFormXObject
(PdfStream form, PdfStream contentStream) Verify the conformity of the Form XObject with appropriate specification.protected void
PdfA4Checker.checkFormXObject
(PdfStream form, PdfStream contentStream) Verify the conformity of the Form XObject with appropriate specification.protected abstract void
PdfAChecker.checkFormXObject
(PdfStream form) Verify the conformity of the form XObject dictionary.protected void
PdfA1Checker.checkImage
(PdfStream image, PdfDictionary currentColorSpaces) protected void
PdfA2Checker.checkImage
(PdfStream image, PdfDictionary currentColorSpaces) protected abstract void
PdfAChecker.checkImage
(PdfStream image, PdfDictionary currentColorSpaces) Verify the conformity of the given image.void
PdfA1Checker.checkInlineImage
(PdfStream inlineImage, PdfDictionary currentColorSpaces) void
PdfA2Checker.checkInlineImage
(PdfStream inlineImage, PdfDictionary currentColorSpaces) abstract void
PdfAChecker.checkInlineImage
(PdfStream inlineImage, PdfDictionary currentColorSpaces) This method checks compliance with the inline image restrictions in the PDF/A specs, specifically filter parameters.private void
PdfA4Checker.checkObjectWithResourcesForColorUsages
(PdfObject objectWithResources, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) private void
PdfA4Checker.checkPageContentsForColorUsages
(PdfDictionary pageDict, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) protected void
PdfA1Checker.checkPdfStream
(PdfStream stream) protected void
PdfA2Checker.checkPdfStream
(PdfStream stream) protected abstract void
PdfAChecker.checkPdfStream
(PdfStream stream) Verify the conformity of the PDF stream.private void
PdfA4Checker.checkResourcesForColorUsages
(PdfDictionary resources, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) private void
PdfA4Checker.checkSingleResourceTypeForColorUsages
(PdfDictionary singleResourceDict, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS) protected void
PdfA2Checker.checkTransparencyGroup
(PdfStream form, PdfStream contentStream) Verify the conformity of the transparency group XObject with appropriate specification.private void
PdfA2Checker.checkType3FontGlyphs
(PdfType3Font font, PdfStream contentStream) private static void
PdfA4Checker.throwIfIdenticalProfiles
(PdfStream iccBasedProfile1, PdfStream iccBasedProfile2) void
PdfAChecker.validateObject
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) -
Uses of PdfStream in com.itextpdf.pdfua.checkers
Methods in com.itextpdf.pdfua.checkers with parameters of type PdfStreamModifier and TypeMethodDescriptionvoid
PdfUA1Checker.validateObject
(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Check the provided object for conformance. -
Uses of PdfStream in com.itextpdf.signatures.validation.v1
Methods in com.itextpdf.signatures.validation.v1 with parameters of type PdfStreamModifier and TypeMethodDescriptionprivate static boolean
DocumentRevisionsValidator.comparePdfStreams
(PdfStream stream1, PdfStream stream2, Set<PdfObject> visitedObjects) -
Uses of PdfStream in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl with parameters of type PdfStreamModifier and TypeMethodDescriptionprivate static void
AbstractBranchSvgNodeRenderer.writeBBoxAccordingToVisibleOverflow
(SvgDrawContext context, PdfStream stream) When in the svg elementoverflow
isvisible
the corresponding formXObject should have a BBox (form XObject’s bounding box; see PDF 32000-1:2008 - 8.10.2 Form Dictionaries) that should cover the entire svg space (page in pdf) in order to be able to show parts of the element which are outside the current element viewPort.
checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream)