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 theXFAproperty 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 PdfStreamPdfFont.getPdfFontStream(byte[] fontStreamBytes, int[] fontStreamLengths) CreatePdfStreambased 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 TypeMethodDescriptionAddsPdfStreamto the resources as form.AddsPdfStreamto the resources as image.protected booleanPdfOutputStream.checkEncryption(PdfStream pdfStream) voidPdfDocument.checkIsoConformance(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream) Checks whether PDF document conforms a specific standard.voidPdfDocument.checkIsoConformance(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Checks whether PDF document conforms a specific standard.protected booleanPdfOutputStream.containsFlateFilter(PdfStream pdfStream) protected byte[]PdfOutputStream.decodeFlateBytes(PdfStream stream, byte[] bytes) voidPdfDocument.markStreamAsEmbeddedFile(PdfStream stream) MarksPdfStreamobject as embedded file stream.protected voidPdfReader.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 voidPdfOutputStream.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 PdfActionPdfAction.createSound(PdfStream sound) Creates a Sound action (section 12.6.4.8 of ISO 32000-1).static PdfActionPdfAction.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 PdfStreamPdfCanvas.contentStreamthe 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 TypeMethodDescriptionvoidPdfCanvas.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 PdfStreamPdfCanvasProcessor.getXObjectStream(PdfName xobjectName) Methods in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfStreamModifier and TypeMethodDescriptionvoidIXObjectDoHandler.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 PdfStreamInlineImageParsingUtils.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 PdfStreamPdfCieBasedCs.IccBased.getIccProfileStream(IccProfile iccProfile) static PdfStreamPdfCieBasedCs.IccBased.getIccProfileStream(IccProfile iccProfile, float[] range) static PdfStreamPdfCieBasedCs.IccBased.getIccProfileStream(InputStream iccStream) static PdfStreamPdfCieBasedCs.IccBased.getIccProfileStream(InputStream iccStream, float[] range) Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfStreamModifierConstructorDescriptionprotectedCoonsPatchMesh(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream.protectedFreeFormGouraudShadedTriangleMesh(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream.protectedLatticeFormGouraudShadedTriangleMesh(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream.protectedTensorProductPatchMesh(PdfStream pdfStream) Creates the new instance of the class from the existingPdfStream.Creates new instance from thePdfStreamobject. -
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) CreatePdfFormXObjectinstance byPdfStream.PdfImageXObject(PdfStream pdfStream) CreatePdfImageXObjectinstance byPdfStream.protectedPdfXObject(PdfStream pdfObject) -
Uses of PdfStream in com.itextpdf.kernel.utils
Methods in com.itextpdf.kernel.utils with parameters of type PdfStreamModifier and TypeMethodDescriptionbooleanCompareTool.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.voidValidationContainer.validate(Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, Object extra) Check the provided object for conformance with all theIValidationCheckerimplementations.voidIValidationChecker.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 TypeMethodDescriptionvoidPdfADocument.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 voidPdfA2Checker.checkAppearanceStream(PdfStream appearanceStream) protected voidPdfAChecker.checkAppearanceStream(PdfStream appearanceStream) Check single annotation appearance stream.voidPdfA1Checker.checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream stream) Deprecated.voidPdfA1Checker.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.voidPdfA2Checker.checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) Deprecated.voidPdfA2Checker.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 voidPdfAChecker.checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) Deprecated.voidPdfAChecker.checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) Deprecated.This method will be abstract in next major releaseprotected voidPdfA1Checker.checkContentStream(PdfStream contentStream) protected abstract voidPdfAChecker.checkContentStream(PdfStream contentStream) Attest content stream conformance with appropriate specification.voidPdfA1Checker.checkExtGState(CanvasGraphicsState extGState, PdfStream contentStream) voidPdfA2Checker.checkExtGState(CanvasGraphicsState extGState, PdfStream contentStream) voidPdfA4Checker.checkExtGState(CanvasGraphicsState extGState, PdfStream contentStream) abstract voidPdfAChecker.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.voidPdfA1Checker.checkFontGlyphs(PdfFont font, PdfStream contentStream) voidPdfA2Checker.checkFontGlyphs(PdfFont font, PdfStream contentStream) abstract voidPdfAChecker.checkFontGlyphs(PdfFont font, PdfStream contentStream) Performs a check of the each font glyph as a Form XObject.protected voidPdfA1Checker.checkFormXObject(PdfStream form) protected voidPdfA2Checker.checkFormXObject(PdfStream form) Deprecated.protected voidPdfA2Checker.checkFormXObject(PdfStream form, PdfStream contentStream) Verify the conformity of the Form XObject with appropriate specification.protected voidPdfA4Checker.checkFormXObject(PdfStream form, PdfStream contentStream) Verify the conformity of the Form XObject with appropriate specification.protected abstract voidPdfAChecker.checkFormXObject(PdfStream form) Verify the conformity of the form XObject dictionary.protected voidPdfA1Checker.checkImage(PdfStream image, PdfDictionary currentColorSpaces) protected voidPdfA2Checker.checkImage(PdfStream image, PdfDictionary currentColorSpaces) protected abstract voidPdfAChecker.checkImage(PdfStream image, PdfDictionary currentColorSpaces) Verify the conformity of the given image.voidPdfA1Checker.checkInlineImage(PdfStream inlineImage, PdfDictionary currentColorSpaces) voidPdfA2Checker.checkInlineImage(PdfStream inlineImage, PdfDictionary currentColorSpaces) abstract voidPdfAChecker.checkInlineImage(PdfStream inlineImage, PdfDictionary currentColorSpaces) This method checks compliance with the inline image restrictions in the PDF/A specs, specifically filter parameters.protected voidPdfA1Checker.checkPdfStream(PdfStream stream) protected voidPdfA2Checker.checkPdfStream(PdfStream stream) protected abstract voidPdfAChecker.checkPdfStream(PdfStream stream) Verify the conformity of the PDF stream.protected voidPdfA2Checker.checkTransparencyGroup(PdfStream form, PdfStream contentStream) Verify the conformity of the transparency group XObject with appropriate specification.voidPdfAChecker.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 TypeMethodDescriptionvoidPdfUA1Checker.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)