Uses of Class
com.itextpdf.kernel.pdf.PdfStream
Package
Description
-
Uses of PdfStream in com.itextpdf.forms
Modifier and TypeMethodDescriptionPdfAcroForm.setXFAResource
(PdfStream xfaResource) Sets theXFA
property on the AcroForm. -
Uses of PdfStream in com.itextpdf.forms.fields
Modifier 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
Modifier 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
Modifier 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()
Modifier and TypeMethodDescriptionAddsPdfStream
to the resources as form.AddsPdfStream
to the resources as image.protected boolean
PdfOutputStream.checkEncryption
(PdfStream pdfStream) 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) ModifierConstructorDescriptionPdfEncryptedPayloadDocument
(PdfStream pdfObject, PdfFileSpec fileSpec, String name) -
Uses of PdfStream in com.itextpdf.kernel.pdf.action
Modifier 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
Modifier and TypeMethodDescriptionPdfRedactAnnotation.getRedactRolloverAppearance()
PdfSoundAnnotation.getSound()
PdfAnnotationAppearance.getStateObject
(PdfName stateName) Modifier and TypeMethodDescriptionPdfRedactAnnotation.setRedactRolloverAppearance
(PdfStream stream) PdfAnnotationAppearance.setStateObject
(PdfName stateName, PdfStream state) ModifierConstructorDescriptionPdfSoundAnnotation
(Rectangle rect, PdfStream sound) Creates a new Sound annotation. -
Uses of PdfStream in com.itextpdf.kernel.pdf.canvas
Modifier and TypeFieldDescriptionprotected PdfStream
PdfCanvas.contentStream
the content stream for this canvas object.Modifier and TypeMethodDescriptionPdfCanvas.getContentStream()
Please, use this method with caution and only if you know what you are doing.Modifier and TypeMethodDescriptionvoid
PdfCanvas.attachContentStream
(PdfStream contentStream) Attaches new content stream to the canvas.ModifierConstructorDescriptionPdfCanvas
(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
Modifier and TypeMethodDescriptionprotected PdfStream
PdfCanvasProcessor.getXObjectStream
(PdfName xobjectName) Modifier and TypeMethodDescriptionvoid
IXObjectDoHandler.handleXObject
(PdfCanvasProcessor processor, Stack<CanvasTag> canvasTagHierarchy, PdfStream stream, PdfName xObjectName) -
Uses of PdfStream in com.itextpdf.kernel.pdf.canvas.parser.data
ModifierConstructorDescriptionImageRenderInfo
(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
Modifier 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
Modifier 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) -
Uses of PdfStream in com.itextpdf.kernel.pdf.colorspace.shading
ModifierConstructorDescriptionPdfCoonsPatchShading
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
.PdfFreeFormGouraudShadedTriangleShading
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
.Creates the new instance of the class from the existingPdfStream
.PdfTensorProductPatchShading
(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream
. -
Uses of PdfStream in com.itextpdf.kernel.pdf.function
ModifierConstructorDescriptionPdfType0Function
(PdfStream pdfObject) PdfType4Function
(PdfStream dict) -
Uses of PdfStream in com.itextpdf.kernel.pdf.tagutils
Modifier 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
ModifierConstructorDescriptionPdfFormXObject
(PdfStream pdfStream) CreatePdfFormXObject
instance byPdfStream
.PdfImageXObject
(PdfStream pdfStream) CreatePdfImageXObject
instance byPdfStream
.protected
PdfXObject
(PdfStream pdfObject) -
Uses of PdfStream in com.itextpdf.kernel.utils
Modifier 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. -
Uses of PdfStream in com.itextpdf.kernel.validation.context
Modifier and TypeMethodDescriptionAbstractColorValidationContext.getContentStream()
ExtendedGStateValidationContext.getContentStream()
FontGlyphsGStateValidationContext.getContentStream()
IContentStreamValidationParameter.getContentStream()
Gets the content stream.InlineImageValidationContext.getImage()
Gets the image.ModifierConstructorDescriptionprotected
AbstractColorValidationContext
(CanvasGraphicsState graphicsState, PdfResources resources, PdfStream contentStream) Instantiates a newAbstractColorValidationContext
based on graphic state, resources and content stream.ExtendedGStateValidationContext
(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newExtendedGStateValidationContext
based on graphics state and content stream.FillColorValidationContext
(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream) Instantiates a newFillColorValidationContext
based on graphics state, resources and content stream.FontGlyphsGStateValidationContext
(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newFontGlyphsGStateValidationContext
based on canvas graphics state and content stream.InlineImageValidationContext
(PdfStream image, PdfResources resources) Instantiates a newInlineImageValidationContext
based on image and resources.StrokeColorValidationContext
(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream) Instantiates a newStrokeColorValidationContext
based on graphics state, resources and content stream. -
Uses of PdfStream in com.itextpdf.pdfa.checker
Modifier and TypeMethodDescriptionprotected void
PdfA2Checker.checkAppearanceStream
(PdfStream appearanceStream) protected void
PdfAChecker.checkAppearanceStream
(PdfStream appearanceStream) Check single annotation appearance stream.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
(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
(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.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) For pdf/a-2+ checkers this method is overridden to usePdfA2Checker.checkFormXObject(PdfStream form, PdfStream contentStream)
method.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.