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 PdfAcroForm
PdfAcroForm. 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 PdfStream Modifier and Type Method Description PdfFormAnnotation
PdfFormAnnotation. 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 PdfStream
DocTrueTypeFont. fontFile
private PdfStream
DocType1Font. fontFile
Methods in com.itextpdf.kernel.font that return PdfStream Modifier and Type Method Description PdfStream
DocTrueTypeFont. getFontFile()
PdfStream
DocType1Font. getFontFile()
PdfStream
IDocFontProgram. getFontFile()
protected PdfStream
PdfFont. getPdfFontStream(byte[] fontStreamBytes, int[] fontStreamLengths)
CreatePdfStream
based onfontStreamBytes
.PdfStream
PdfType0Font. 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) class
PdfObjectStream
Fields in com.itextpdf.kernel.pdf with type parameters of type PdfStream Modifier and Type Field Description private java.util.Set<PdfStream>
EncryptedEmbeddedStreamsHandler. embeddedStreams
Methods in com.itextpdf.kernel.pdf that return PdfStream Modifier and Type Method Description PdfStream
PdfArray. getAsStream(int index)
Returns the element at the specified index as a PdfStream.PdfStream
PdfDictionary. getAsStream(PdfName key)
Returns the value associated to this key as a PdfStream.PdfStream
PdfPage. getContentStream(int index)
Gets the content stream at specified 0-based index in the Contents objectPdfArray
.PdfStream
PdfOutputIntent. getDestOutputProfile()
private static PdfStream
EncryptedEmbeddedStreamsHandler. getEmbeddedFileStreamFromDictionary(PdfDictionary dictionary)
PdfStream
PdfPage. getFirstContentStream()
PdfStream
PdfPage. getLastContentStream()
PdfStream
PdfPage. getXmpMetadata()
Gets the XMP Metadata object.private PdfStream
PdfPage. newContentStream(boolean before)
PdfStream
PdfPage. newContentStreamAfter()
PdfStream
PdfPage. newContentStreamBefore()
Methods in com.itextpdf.kernel.pdf with parameters of type PdfStream Modifier and Type Method Description PdfName
PdfResources. addForm(PdfStream form)
AddsPdfStream
to the resources as form.PdfName
PdfResources. addImage(PdfStream image)
AddsPdfStream
to the resources as image.protected boolean
PdfOutputStream. checkEncryption(PdfStream pdfStream)
void
PdfDocument. checkIsoConformance(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream)
Checks whether PDF document conforms a specific standard.void
PdfDocument. checkIsoConformance(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.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)
java.io.InputStream
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
PdfOutputStream. 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 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 PdfStream Modifier and Type Method Description PdfStream
PdfRedactAnnotation. getRedactRolloverAppearance()
PdfStream
PdfSoundAnnotation. getSound()
PdfStream
PdfAnnotationAppearance. getStateObject(PdfName stateName)
Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfStream Modifier and Type Method Description PdfRedactAnnotation
PdfRedactAnnotation. setRedactRolloverAppearance(PdfStream stream)
PdfAnnotationAppearance
PdfAnnotationAppearance. 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 PdfStream
PdfCanvas. contentStream
the content stream for this canvas object.Methods in com.itextpdf.kernel.pdf.canvas that return PdfStream Modifier and Type Method Description private PdfStream
PdfCanvas. ensureStreamDataIsReadyToBeProcessed(PdfStream stream)
PdfStream
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 PdfStream Modifier and Type Method Description void
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 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 PdfStream
PdfCanvasProcessor. getXObjectStream(PdfName xobjectName)
Methods in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfStream Modifier and Type Method Description private void
PdfCanvasProcessor. displayImage(java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream imageStream, PdfName resourceName, boolean isInline)
void
IXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream stream, PdfName xObjectName)
void
PdfCanvasProcessor.FormXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName xObjectName)
void
PdfCanvasProcessor.IgnoreXObjectDoHandler. handleXObject(PdfCanvasProcessor processor, java.util.Stack<CanvasTag> canvasTagHierarchy, PdfStream xObjectStream, PdfName xObjectName)
void
PdfCanvasProcessor.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 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 PdfStream Modifier and Type Method Description static PdfStream
PdfCieBasedCs.IccBased. getIccProfileStream(IccProfile iccProfile)
static PdfStream
PdfCieBasedCs.IccBased. getIccProfileStream(IccProfile iccProfile, float[] range)
static PdfStream
PdfCieBasedCs.IccBased. getIccProfileStream(java.io.InputStream iccStream)
static PdfStream
PdfCieBasedCs.IccBased. getIccProfileStream(java.io.InputStream iccStream, float[] range)
Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfStream Constructor Description CoonsPatchMesh(PdfStream pdfStream)
Creates the new instance of the class from the existingPdfStream
.FreeFormGouraudShadedTriangleMesh(PdfStream pdfStream)
Creates the new instance of the class from the existingPdfStream
.LatticeFormGouraudShadedTriangleMesh(PdfStream pdfStream)
Creates the new instance of the class from the existingPdfStream
.TensorProductPatchMesh(PdfStream pdfStream)
Creates the new instance of the class from the existingPdfStream
.Tiling(PdfStream pdfObject)
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 PdfStream Modifier and Type Method Description private static PdfFileSpec
PdfFileSpec. createEmbeddedFileSpec(PdfDocument doc, PdfStream stream, java.lang.String description, java.lang.String fileDisplay, PdfName afRelationshipValue)
Create an embedded file specification.private static PdfFileSpec
PdfFileSpec. 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 PdfStream
TagTreePointer. contentStream
Methods in com.itextpdf.kernel.pdf.tagutils that return PdfStream Modifier and Type Method Description PdfStream
TagTreePointer. getCurrentContentStream()
Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfStream Modifier and Type Method Description TagTreePointer
TagTreePointer. 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 PdfStream
PdfImageXObject. createPdfStream(ImageData image, PdfImageXObject imageMask)
Methods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStream Modifier and Type Method Description private static PdfArray
PdfImageXObject. createArray(PdfStream stream, java.lang.Object[] objects)
private static PdfDictionary
PdfImageXObject. createDictionaryFromMap(PdfStream stream, java.util.Map<java.lang.String,java.lang.Object> parms)
static PdfXObject
PdfXObject. makeXObject(PdfStream stream)
Constructors in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStream Constructor Description PdfFormXObject(PdfStream pdfStream)
CreatePdfFormXObject
instance byPdfStream
.PdfImageXObject(PdfStream pdfStream)
CreatePdfImageXObject
instance 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 boolean
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.CompareResult
CompareTool. compareStreamsStructure(PdfStream outStream, PdfStream cmpStream)
Compares structures of two corresponding streams from out and cmp PDF documents.void
ValidationContainer. validate(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.Object extra)
Check the provided object for conformance with all theIValidationChecker
implementations.void
IValidationChecker. validateObject(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.Object extra)
Check the provided object for conformance. -
Uses of PdfStream in com.itextpdf.pdfa
Methods in com.itextpdf.pdfa with parameters of type PdfStream Modifier and Type Method Description void
PdfADocument. checkIsoConformance(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.Object extra)
-
Uses of PdfStream in com.itextpdf.pdfa.checker
Fields in com.itextpdf.pdfa.checker declared as PdfStream Modifier and Type Field Description protected PdfStream
PdfAChecker. pdfAOutputIntentDestProfile
Fields 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. iccBasedCmykObjects
Methods in com.itextpdf.pdfa.checker with parameters of type PdfStream Modifier and Type Method Description private 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, java.lang.Boolean fill, PdfStream stream)
Deprecated.void
PdfA1Checker. 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.void
PdfA2Checker. checkColor(Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream contentStream)
Deprecated.void
PdfA2Checker. 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 void
PdfAChecker. checkColor(Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream contentStream)
Deprecated.in favor ofcheckColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream)
void
PdfAChecker. checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, java.lang.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(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.Object extra)
-
Uses of PdfStream in com.itextpdf.pdfua.checkers
Methods in com.itextpdf.pdfua.checkers with parameters of type PdfStream Modifier and Type Method Description void
PdfUA1Checker. validateObject(java.lang.Object obj, IsoKey key, PdfResources resources, PdfStream contentStream, java.lang.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 PdfStream Modifier and Type Method Description private static boolean
DocumentRevisionsValidator. comparePdfStreams(PdfStream stream1, PdfStream stream2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects)
-
Uses of PdfStream in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl with parameters of type PdfStream Modifier and Type Method Description private 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.
-