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
Methods in com.itextpdf.kernel.font that return PdfStreamModifier and TypeMethodDescriptionDocTrueTypeFont.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. -
Uses of PdfStream in com.itextpdf.kernel.pdf
Methods 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()
PdfPage.getFirstContentStream()
PdfPage.getLastContentStream()
PdfPage.getXmpMetadata()
Gets the XMP Metadata object.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.protected boolean
PdfOutputStream.containsFlateFilter
(PdfStream pdfStream) protected byte[]
PdfOutputStream.decodeFlateBytes
(PdfStream stream, byte[] bytes) 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.protected void
PdfOutputStream.updateCompressionFilter
(PdfStream pdfStream) 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 TypeMethodDescriptionPdfCanvas.getContentStream()
Please, use this method with caution and only if you know what you are doing.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.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 TypeMethodDescriptionvoid
IXObjectDoHandler.handleXObject
(PdfCanvasProcessor processor, Stack<CanvasTag> canvasTagHierarchy, PdfStream stream, PdfName xObjectName) -
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.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
Methods 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 with parameters of type PdfStreamConstructors 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.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 PdfStreamMethods in com.itextpdf.pdfa.checker with parameters of type PdfStreamModifier and TypeMethodDescriptionprotected void
PdfA2Checker.checkAppearanceStream
(PdfStream appearanceStream) protected void
PdfAChecker.checkAppearanceStream
(PdfStream appearanceStream) Check single annotation appearance stream.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 releaseprotected 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.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.protected void
PdfA2Checker.checkTransparencyGroup
(PdfStream form, PdfStream contentStream) Verify the conformity of the transparency group XObject with appropriate specification.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.
checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream)