PdfStamperImp Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.PdfStamperImp[[PdfStamperImp]]
iTextSharp.text.pdf.PdfWriter[[PdfWriter]]
end
iTextSharp.text.pdf.PdfWriter --> iTextSharp.text.pdf.PdfStamperImp
Members
Properties
Internal properties
Public properties
Methods
Protected methods
Protected internal methods
Internal methods
Returns | Name |
---|
void | AddAnnotation (... ) |
void | AddDocumentField (PdfIndirectReference ref_p) |
void | AlterResources (PageStamp ps) |
void | ApplyRotation (PdfDictionary pageN, ByteBuffer out_p) |
AffineTransform | CalculateTemplateTransformationMatrix (AffineTransform currentMatrix, double fieldRotation, Rectangle box) |
void | CorrectAcroFieldPages (int page) |
void | DeleteOutlines () |
void | EliminateAcroformObjects () |
void | ExpandFields (PdfFormField field, List <PdfAnnotation > allAnnots) |
AcroFields | GetAcroFields () |
PdfContentByte | GetOverContent (int pageNum) |
PageStamp | GetPageStamp (int pageNum) |
RandomAccessFileOrArray | GetReaderFile (PdfReader reader) |
PdfContentByte | GetUnderContent (int pageNum) |
void | InsertPage (int pageNumber, Rectangle mediabox) |
bool | IsAppend () |
void | MakePackage (PdfCollection collection) |
bool | PartialFormFlattening (string name) |
void | RegisterLayer (IPdfOCG layer) |
void | ReplacePage (PdfReader r, int pageImported, int pageReplaced) |
void | SetDuration (int seconds, int page) |
void | SetPageAction (PdfName actionType, PdfAction action, int page) |
void | SetThumbnail (Image image, int page) |
void | SetTransition (PdfTransition transition, int page) |
void | SweepKids (PdfObject obj) |
Public methods
Internal Static methods
Details
Inheritance
Nested types
Classes
Constructors
PdfStamperImp
Source code
protected internal PdfStamperImp(PdfReader reader, Stream os, char pdfVersion, bool append)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
char | pdfVersion | |
bool | append | |
Methods
GetCounter
Source code
protected override ICounter GetCounter()
ReadColorProfile
Source code
protected virtual void ReadColorProfile()
SetViewerPreferences
Source code
protected virtual void SetViewerPreferences()
Close [1/2]
Source code
protected internal virtual void Close(IDictionary<string, string> moreInfo)
Arguments
Type | Name | Description |
---|
IDictionary <string , string > | moreInfo | |
Close [2/2]
Source code
protected virtual void Close(PdfIndirectReference info, int skipInfo)
Arguments
ApplyRotation
Source code
internal void ApplyRotation(PdfDictionary pageN, ByteBuffer out_p)
Arguments
AlterContents
Source code
protected internal virtual void AlterContents()
AlterResources
Source code
internal void AlterResources(PageStamp ps)
Arguments
Type | Name | Description |
---|
PageStamp | ps | |
GetNewObjectNumber
Source code
protected internal override int GetNewObjectNumber(PdfReader reader, int number, int generation)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
int | number | |
int | generation | |
GetReaderFile
Source code
internal override RandomAccessFileOrArray GetReaderFile(PdfReader reader)
Arguments
RegisterReader
Source code
public virtual void RegisterReader(PdfReader reader, bool openFile)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
bool | openFile | |
UnRegisterReader
Source code
public virtual void UnRegisterReader(PdfReader reader)
Arguments
FindAllObjects
Source code
internal static void FindAllObjects(PdfReader reader, PdfObject obj, IntHashtable hits)
Arguments
Source code
public virtual void AddComments(FdfReader fdf)
Arguments
GetPageStamp
Source code
internal PageStamp GetPageStamp(int pageNum)
Arguments
Type | Name | Description |
---|
int | pageNum | |
GetUnderContent
Source code
internal PdfContentByte GetUnderContent(int pageNum)
Arguments
Type | Name | Description |
---|
int | pageNum | |
GetOverContent
Source code
internal PdfContentByte GetOverContent(int pageNum)
Arguments
Type | Name | Description |
---|
int | pageNum | |
CorrectAcroFieldPages
Source code
internal void CorrectAcroFieldPages(int page)
Arguments
Type | Name | Description |
---|
int | page | |
ReplacePage
Source code
internal void ReplacePage(PdfReader r, int pageImported, int pageReplaced)
Arguments
Type | Name | Description |
---|
PdfReader | r | |
int | pageImported | |
int | pageReplaced | |
InsertPage
Source code
internal void InsertPage(int pageNumber, Rectangle mediabox)
Arguments
Type | Name | Description |
---|
int | pageNumber | |
Rectangle | mediabox | |
GetAcroFields
Source code
internal AcroFields GetAcroFields()
Source code
internal bool PartialFormFlattening(string name)
Arguments
Type | Name | Description |
---|
string | name | |
FlatFields
Source code
protected internal virtual void FlatFields()
Source code
internal void EliminateAcroformObjects()
Source code
internal AffineTransform CalculateTemplateTransformationMatrix(AffineTransform currentMatrix, double fieldRotation, Rectangle box)
Arguments
SweepKids
Source code
internal void SweepKids(PdfObject obj)
Arguments
FlattenAnnotations
Source code
protected internal virtual void FlattenAnnotations()
FlatFreeTextFields
Source code
protected internal virtual void FlatFreeTextFields()
Source code
public override PdfIndirectReference GetPageReference(int page)
Arguments
Type | Name | Description |
---|
int | page | |
AddAnnotation [1/3]
Source code
public override void AddAnnotation(PdfAnnotation annot)
Arguments
AddDocumentField
Source code
internal void AddDocumentField(PdfIndirectReference ref_p)
Arguments
AddFieldResources
Source code
protected internal virtual void AddFieldResources()
ExpandFields
Source code
internal void ExpandFields(PdfFormField field, List<PdfAnnotation> allAnnots)
Arguments
AddAnnotation [2/3]
Source code
internal void AddAnnotation(PdfAnnotation annot, PdfDictionary pageN)
Arguments
AddAnnotation [3/3]
Source code
internal override void AddAnnotation(PdfAnnotation annot, int page)
Arguments
DeleteOutlines
Source code
internal void DeleteOutlines()
SetJavaScript
Source code
protected internal virtual void SetJavaScript()
AddFileAttachments
Source code
protected virtual void AddFileAttachments()
MakePackage
Source code
internal void MakePackage(PdfCollection collection)
Arguments
SetOutlines
Source code
protected internal virtual void SetOutlines()
AddViewerPreference
Source code
public override void AddViewerPreference(PdfName key, PdfObject value)
Arguments
SetPageAction [1/2]
Source code
public override void SetPageAction(PdfName actionType, PdfAction action)
Arguments
SetPageAction [2/2]
Source code
internal void SetPageAction(PdfName actionType, PdfAction action, int page)
Arguments
SetDuration
Source code
internal void SetDuration(int seconds, int page)
Arguments
Type | Name | Description |
---|
int | seconds | |
int | page | |
SetTransition
Source code
internal void SetTransition(PdfTransition transition, int page)
Arguments
MarkUsed [1/2]
Source code
public virtual void MarkUsed(PdfObject obj)
Arguments
MarkUsed [2/2]
Source code
protected internal virtual void MarkUsed(int num)
Arguments
Type | Name | Description |
---|
int | num | |
IsAppend
Source code
internal bool IsAppend()
SetAdditionalAction
Source code
public override void SetAdditionalAction(PdfName actionType, PdfAction action)
Arguments
SetOpenAction [1/2]
Source code
public override void SetOpenAction(PdfAction action)
Arguments
SetOpenAction [2/2]
Source code
public override void SetOpenAction(string name)
Arguments
Type | Name | Description |
---|
string | name | |
SetThumbnail
Source code
internal void SetThumbnail(Image image, int page)
Arguments
Type | Name | Description |
---|
Image | image | |
int | page | |
ReadOCProperties
Source code
protected virtual void ReadOCProperties()
GetPdfLayers
Source code
public virtual Dictionary<string, PdfLayer> GetPdfLayers()
RegisterLayer
Source code
internal override void RegisterLayer(IPdfOCG layer)
Arguments
Source code
public override void CreateXmpMetadata()
GetPdfReader
Source code
public PdfReader GetPdfReader()
Properties
RotateContents
internal bool RotateContents { get; set; }
ContentWritten
internal bool ContentWritten { get; }
internal bool FormFlattening { set; }
FreeTextFlattening
internal bool FreeTextFlattening { set; }
FlatAnnotations
public virtual bool FlatAnnotations { set; }
ViewerPreferences
public override int ViewerPreferences { set; }
SigFlags
public override int SigFlags { set; }
Duration
public override int Duration { set; }
Transition
public override PdfTransition Transition { set; }
Thumbnail
public override Image Thumbnail { set; }
DirectContent
public override PdfContentByte DirectContent { get; }
DirectContentUnder
public override PdfContentByte DirectContentUnder { get; }
Generated with ModularDoc