Uses of Class
com.itextpdf.kernel.pdf.PdfStream
-
-
Uses of PdfStream in com.itextpdf.forms
Methods in com.itextpdf.forms with parameters of type PdfStream Modifier and Type Method Description PdfAcroFormPdfAcroForm. 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 PdfStream Modifier and Type Method Description PdfFormAnnotationPdfFormAnnotation. setAppearance(PdfName appearanceType, java.lang.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 PdfStream Modifier and Type Field Description private PdfStreamDocTrueTypeFont. fontFileprivate PdfStreamDocType1Font. fontFileMethods in com.itextpdf.kernel.font that return PdfStream Modifier and Type Method Description PdfStreamDocTrueTypeFont. getFontFile()PdfStreamDocType1Font. getFontFile()PdfStreamIDocFontProgram. getFontFile()protected PdfStreamPdfFont. getPdfFontStream(byte[] fontStreamBytes, int[] fontStreamLengths)CreatePdfStreambased onfontStreamBytes.PdfStreamPdfType0Font. getToUnicode()Creates a ToUnicode CMap to allow copy and paste from Acrobat.Constructors in com.itextpdf.kernel.font with parameters of type PdfStream Constructor Description 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.pdf Modifier and Type Class Description (package private) classPdfObjectStreamFields in com.itextpdf.kernel.pdf with type parameters of type PdfStream Modifier and Type Field Description private java.util.Set<PdfStream>EncryptedEmbeddedStreamsHandler. embeddedStreamsMethods in com.itextpdf.kernel.pdf that return PdfStream Modifier and Type Method Description PdfStreamPdfArray. getAsStream(int index)Returns the element at the specified index as a PdfStream.PdfStreamPdfDictionary. getAsStream(PdfName key)Returns the value associated to this key as a PdfStream.PdfStreamPdfPage. getContentStream(int index)Gets the content stream at specified 0-based index in the Contents objectPdfArray.PdfStreamPdfOutputIntent. getDestOutputProfile()private static PdfStreamEncryptedEmbeddedStreamsHandler. getEmbeddedFileStreamFromDictionary(PdfDictionary dictionary)PdfStreamPdfPage. getFirstContentStream()PdfStreamPdfPage. getLastContentStream()PdfStreamPdfPage. getXmpMetadata()Gets the XMP Metadata object.private PdfStreamPdfPage. newContentStream(boolean before)PdfStreamPdfPage. newContentStreamAfter()PdfStreamPdfPage. newContentStreamBefore()Methods in com.itextpdf.kernel.pdf with parameters of type PdfStream Modifier and Type Method Description PdfNamePdfResources. addForm(PdfStream form)AddsPdfStreamto the resources as form.PdfNamePdfResources. addImage(PdfStream image)AddsPdfStreamto the resources as image.protected booleanPdfOutputStream. checkEncryption(PdfStream pdfStream)private voidPdfReader. checkPdfStreamLength(PdfStream pdfStream)protected booleanPdfOutputStream. containsFlateFilter(PdfStream pdfStream)protected byte[]PdfOutputStream. decodeFlateBytes(PdfStream stream, byte[] bytes)private static booleanPdfOutputStream. decodeParamsArrayNotFlushed(PdfStream pdfStream)(package private) booleanPdfDocument. doesStreamBelongToEmbeddedFile(PdfStream stream)private booleanPdfOutputStream. isNotMetadataPdfStream(PdfStream pdfStream)(package private) booleanEncryptedEmbeddedStreamsHandler. isStreamStoredAsEmbedded(PdfStream stream)Checks, whether thisPdfStreamwas stored as embedded stream.private booleanPdfOutputStream. isXRefStream(PdfStream pdfStream)(package private) static voidIndirectFilterUtils. logFilterWasAlreadyFlushed(org.slf4j.Logger logger, PdfStream stream)voidPdfDocument. markStreamAsEmbeddedFile(PdfStream stream)MarksPdfStreamobject as embedded file stream.protected voidPdfReader. readObjectStream(PdfStream objectStream)java.io.InputStreamPdfReader. 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) voidEncryptedEmbeddedStreamsHandler. storeEmbeddedStream(PdfStream embeddedStream)(package private) static voidIndirectFilterUtils. throwFlushedFilterException(PdfStream stream)protected voidPdfOutputStream. updateCompressionFilter(PdfStream pdfStream)private voidPdfOutputStream. write(PdfStream pdfStream)Constructors in com.itextpdf.kernel.pdf with parameters of type PdfStream Constructor Description PdfEncryptedPayloadDocument(PdfStream pdfObject, PdfFileSpec fileSpec, java.lang.String name) -
Uses of PdfStream in com.itextpdf.kernel.pdf.action
Methods in com.itextpdf.kernel.pdf.action with parameters of type PdfStream Modifier and Type Method Description static 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 PdfStream Modifier and Type Method Description PdfStreamPdfRedactAnnotation. getRedactRolloverAppearance()PdfStreamPdfSoundAnnotation. getSound()PdfStreamPdfAnnotationAppearance. getStateObject(PdfName stateName)Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfStream Modifier and Type Method Description PdfRedactAnnotationPdfRedactAnnotation. setRedactRolloverAppearance(PdfStream stream)PdfAnnotationAppearancePdfAnnotationAppearance. setStateObject(PdfName stateName, PdfStream state)Constructors in com.itextpdf.kernel.pdf.annot with parameters of type PdfStream Constructor Description PdfSoundAnnotation(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 PdfStream Modifier and Type Field Description protected PdfStreamPdfCanvas. contentStreamthe content stream for this canvas object.Methods in com.itextpdf.kernel.pdf.canvas that return PdfStream Modifier and Type Method Description private PdfStreamPdfCanvas. ensureStreamDataIsReadyToBeProcessed(PdfStream stream)PdfStreamPdfCanvas. getContentStream()Please, use this method with caution and only if you know what you are doing.private static PdfStreamPdfCanvas. getPageStream(PdfPage page)Methods in com.itextpdf.kernel.pdf.canvas with parameters of type PdfStream Modifier and Type Method Description voidPdfCanvas. attachContentStream(PdfStream contentStream)Attaches new content stream to the canvas.private PdfStreamPdfCanvas. ensureStreamDataIsReadyToBeProcessed(PdfStream stream)private voidPdfCanvas. saveColorSpaceToPageResourcesIfNeeded(PdfStream image)Constructors in com.itextpdf.kernel.pdf.canvas with parameters of type PdfStream Constructor Description PdfCanvas(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 PdfStream Modifier and Type Method Description protected PdfStreamPdfCanvasProcessor. getXObjectStream(PdfName xobjectName)Methods in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfStream Modifier and Type Method Description private voidPdfCanvasProcessor. displayImage(java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream imageStream, PdfName resourceName, boolean isInline)voidIXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream stream, PdfName xObjectName)voidPdfCanvasProcessor.FormXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName xObjectName)voidPdfCanvasProcessor.IgnoreXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName xObjectName)voidPdfCanvasProcessor.ImageXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.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 PdfStream Constructor Description ImageRenderInfo(java.util.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 PdfStream Modifier and Type Method Description static 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 PdfStream Modifier and Type Method Description static PdfStreamPdfCieBasedCs.IccBased. getIccProfileStream(IccProfile iccProfile)static PdfStreamPdfCieBasedCs.IccBased. getIccProfileStream(IccProfile iccProfile, float[] range)static PdfStreamPdfCieBasedCs.IccBased. getIccProfileStream(java.io.InputStream iccStream)static PdfStreamPdfCieBasedCs.IccBased. getIccProfileStream(java.io.InputStream iccStream, float[] range)Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfStream Constructor Description Tiling(PdfStream pdfObject)Creates new instance from thePdfStreamobject. -
Uses of PdfStream in com.itextpdf.kernel.pdf.colorspace.shading
Constructors in com.itextpdf.kernel.pdf.colorspace.shading with parameters of type PdfStream Constructor Description PdfCoonsPatchShading(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.PdfLatticeFormGouraudShadedTriangleShading(PdfStream pdfStream)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.filespec
Methods in com.itextpdf.kernel.pdf.filespec with parameters of type PdfStream Modifier and Type Method Description private static PdfFileSpecPdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, java.lang.String description, java.lang.String fileDisplay, PdfName afRelationshipValue)Create an embedded file specification.private static PdfFileSpecPdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, java.lang.String description, java.lang.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 PdfStream Constructor Description PdfType0Function(PdfStream pdfObject)PdfType4Function(PdfStream dict) -
Uses of PdfStream in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as PdfStream Modifier and Type Field Description private PdfStreamTagTreePointer. contentStreamMethods in com.itextpdf.kernel.pdf.tagutils that return PdfStream Modifier and Type Method Description PdfStreamTagTreePointer. getCurrentContentStream()Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfStream Modifier and Type Method Description TagTreePointerTagTreePointer. 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 PdfStream Modifier and Type Method Description private static PdfStreamPdfImageXObject. createPdfStream(ImageData image, PdfImageXObject imageMask)Methods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStream Modifier and Type Method Description private static PdfArrayPdfImageXObject. createArray(PdfStream stream, java.lang.Object[] objects)private static PdfDictionaryPdfImageXObject. createDictionaryFromMap(PdfStream stream, java.util.Map<java.lang.String,java.lang.Object> parms)static PdfXObjectPdfXObject. makeXObject(PdfStream stream)Constructors in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStream Constructor Description PdfFormXObject(PdfStream pdfStream)CreatePdfFormXObjectinstance byPdfStream.PdfImageXObject(PdfStream pdfStream)CreatePdfImageXObjectinstance byPdfStream.PdfXObject(PdfStream pdfObject) -
Uses of PdfStream in com.itextpdf.kernel.utils
Methods in com.itextpdf.kernel.utils with parameters of type PdfStream Modifier and Type Method Description booleanCompareTool. compareStreams(PdfStream outStream, PdfStream cmpStream)Simple method that compares two given PdfStreams by content.private booleanCompareTool. compareStreamsExtended(PdfStream outStream, PdfStream cmpStream, ObjectPath currentPath, CompareTool.CompareResult compareResult)CompareTool.CompareResultCompareTool. 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
Fields in com.itextpdf.kernel.validation.context declared as PdfStream Modifier and Type Field Description private PdfStreamAbstractColorValidationContext. contentStreamprivate PdfStreamCanvasTextAdditionContext. contentStreamprivate PdfStreamExtendedGStateValidationContext. contentStreamprivate PdfStreamFontGlyphsGStateValidationContext. contentStreamprivate PdfStreamInlineImageValidationContext. imageMethods in com.itextpdf.kernel.validation.context that return PdfStream Modifier and Type Method Description PdfStreamAbstractColorValidationContext. getContentStream()PdfStreamCanvasTextAdditionContext. getContentStream()ReturnsPdfStreamon which text is written.PdfStreamExtendedGStateValidationContext. getContentStream()PdfStreamFontGlyphsGStateValidationContext. getContentStream()PdfStreamIContentStreamValidationParameter. getContentStream()Gets the content stream.PdfStreamInlineImageValidationContext. getImage()Gets the image.Constructors in com.itextpdf.kernel.validation.context with parameters of type PdfStream Constructor Description AbstractColorValidationContext(CanvasGraphicsState graphicsState, PdfResources resources, PdfStream contentStream)Instantiates a newAbstractColorValidationContextbased on graphic state, resources and content stream.CanvasTextAdditionContext(java.lang.String text, PdfDictionary attributes, PdfStream contentStream)CreatesCanvasTextAdditionContextinstance.ExtendedGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream)Instantiates a newExtendedGStateValidationContextbased on graphics state and content stream.FillColorValidationContext(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream)Instantiates a newFillColorValidationContextbased on graphics state, resources and content stream.FontGlyphsGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream)Instantiates a newFontGlyphsGStateValidationContextbased on canvas graphics state and content stream.InlineImageValidationContext(PdfStream image, PdfResources resources)Instantiates a newInlineImageValidationContextbased on image and resources.StrokeColorValidationContext(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream)Instantiates a newStrokeColorValidationContextbased on graphics state, resources and content stream. -
Uses of PdfStream in com.itextpdf.pdfa.checker
Fields in com.itextpdf.pdfa.checker declared as PdfStream Modifier and Type Field Description protected PdfStreamPdfAChecker. pdfAOutputIntentDestProfileFields in com.itextpdf.pdfa.checker with type parameters of type PdfStream Modifier and Type Field Description private java.util.Map<PdfObject,java.util.List<PdfStream>>PdfA4Checker. iccBasedCmykObjectsMethods in com.itextpdf.pdfa.checker with parameters of type PdfStream Modifier and Type Method Description private voidPdfA4Checker. checkAnnotationsForColorUsages(PdfArray annotations, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)protected voidPdfA2Checker. checkAppearanceStream(PdfStream appearanceStream)protected voidPdfAChecker. checkAppearanceStream(PdfStream appearanceStream)Check single annotation appearance stream.private voidPdfA4Checker. checkAppearanceStreamForColorUsages(PdfDictionary ap, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)voidPdfA1Checker. checkColor(CanvasGraphicsState graphicsState, Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream stream)This method checks compliance with the color restrictions imposed by the available color spaces in the document.voidPdfA2Checker. checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream contentStream)This method checks compliance with the color restrictions imposed by the available color spaces in the document.abstract voidPdfAChecker. checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream contentStream)This method checks compliance with the color restrictions imposed by the available color spaces in the document.private voidPdfA4Checker. checkContentForColorUsages(PdfObject pdfObject, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)protected 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)For pdf/a-2+ checkers this method is overridden to usePdfA2Checker.checkFormXObject(PdfStream form, PdfStream contentStream)method.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.private voidPdfA4Checker. checkObjectWithResourcesForColorUsages(PdfObject objectWithResources, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)private voidPdfA4Checker. checkPageContentsForColorUsages(PdfDictionary pageDict, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)protected voidPdfA1Checker. checkPdfStream(PdfStream stream)protected voidPdfA2Checker. checkPdfStream(PdfStream stream)protected abstract voidPdfAChecker. checkPdfStream(PdfStream stream)Verify the conformity of the PDF stream.private voidPdfA4Checker. checkResourcesForColorUsages(PdfDictionary resources, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)private voidPdfA4Checker. checkSingleResourceTypeForColorUsages(PdfDictionary singleResourceDict, PdfStream pageIntentProfile, PdfColorSpace pageTransparencyBlendingCS)protected voidPdfA2Checker. checkTransparencyGroup(PdfStream form, PdfStream contentStream)Verify the conformity of the transparency group XObject with appropriate specification.private voidPdfA2Checker. checkType3FontGlyphs(PdfType3Font font, PdfStream contentStream)private static voidPdfA4Checker. throwIfIdenticalProfiles(PdfStream iccBasedProfile1, PdfStream iccBasedProfile2) -
Uses of PdfStream in com.itextpdf.pdfua.checkers.utils.ua2
Methods in com.itextpdf.pdfua.checkers.utils.ua2 with parameters of type PdfStream Modifier and Type Method Description private static PdfMcrPdfUA2CanvasTextChecker. findMcrByMcId(PdfDocument document, PdfNumber mcId, PdfStream contentStream) -
Uses of PdfStream in com.itextpdf.signatures.validation
Methods in com.itextpdf.signatures.validation with parameters of type PdfStream Modifier and Type Method Description private static booleanDocumentRevisionsValidator. comparePdfStreams(PdfStream stream1, PdfStream stream2, java.util.List<Tuple2<PdfObject,PdfObject>> visitedObjects, Tuple2<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
-