C# Class iTextSharp.text.pdf.PdfStamper

Inheritance: IPdfViewerPreferences, IPdfEncryptionSettings
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Property Type Description
hasSignature bool
sigApp PdfSignatureAppearance
stamper PdfStamperImp

Public Methods

Method Description
AddAnnotation ( PdfAnnotation annot, int page ) : void
AddComments ( FdfReader fdf ) : void
AddFileAttachment ( String description, PdfFileSpecification fs ) : void
AddFileAttachment ( String description, byte fileStore, String file, String fileDisplay ) : void
AddSignature ( String name, int page, float llx, float lly, float urx, float ury ) : PdfFormField
AddViewerPreference ( PdfName key, PdfObject value ) : void
Close ( ) : void
CreateSignature ( PdfReader reader, Stream os, char pdfVersion ) : PdfStamper
CreateSignature ( PdfReader reader, Stream os, char pdfVersion, string tempFile ) : PdfStamper
CreateSignature ( PdfReader reader, Stream os, char pdfVersion, string tempFile, bool append ) : PdfStamper
Dispose ( ) : void
GetImportedPage ( PdfReader reader, int pageNumber ) : PdfImportedPage
GetOverContent ( int pageNum ) : PdfContentByte
GetPdfLayers ( ) : PdfLayer>.Dictionary
GetUnderContent ( int pageNum ) : PdfContentByte
InsertPage ( int pageNumber, Rectangle mediabox ) : void
MakePackage ( PdfCollection collection ) : void
MakePackage ( PdfName initialView ) : void
MarkUsed ( PdfObject obj ) : void
PartialFormFlattening ( String name ) : bool
PdfStamper ( PdfReader reader, Stream os ) : System
PdfStamper ( PdfReader reader, Stream os, char pdfVersion ) : System
PdfStamper ( PdfReader reader, Stream os, char pdfVersion, bool append ) : System
ReplacePage ( PdfReader r, int pageImported, int pageReplaced ) : void
SetDuration ( int seconds, int page ) : void
SetEncryption ( X509Certificate certs, int permissions, int encryptionType ) : void
SetEncryption ( bool strength, String userPassword, String ownerPassword, int permissions ) : void
SetEncryption ( byte userPassword, byte ownerPassword, int permissions, bool strength128Bits ) : void
SetEncryption ( byte userPassword, byte ownerPassword, int permissions, int encryptionType ) : void
SetEncryption ( int encryptionType, String userPassword, String ownerPassword, int permissions ) : void
SetFullCompression ( ) : void
SetPageAction ( PdfName actionType, PdfAction action, int page ) : void
SetThumbnail ( System.Image image, int page ) : void
SetTransition ( PdfTransition transition, int page ) : void

Protected Methods

Method Description
PdfStamper ( ) : System

Private Methods

Method Description
MergeVerification ( ) : void

Method Details

AddAnnotation() public method

public AddAnnotation ( PdfAnnotation annot, int page ) : void
annot PdfAnnotation
page int
return void

AddComments() public method

public AddComments ( FdfReader fdf ) : void
fdf FdfReader
return void

AddFileAttachment() public method

public AddFileAttachment ( String description, PdfFileSpecification fs ) : void
description String
fs PdfFileSpecification
return void

AddFileAttachment() public method

public AddFileAttachment ( String description, byte fileStore, String file, String fileDisplay ) : void
description String
fileStore byte
file String
fileDisplay String
return void

AddSignature() public method

public AddSignature ( String name, int page, float llx, float lly, float urx, float ury ) : PdfFormField
name String
page int
llx float
lly float
urx float
ury float
return PdfFormField

AddViewerPreference() public method

public AddViewerPreference ( PdfName key, PdfObject value ) : void
key PdfName
value PdfObject
return void

Close() public method

public Close ( ) : void
return void

CreateSignature() public static method

public static CreateSignature ( PdfReader reader, Stream os, char pdfVersion ) : PdfStamper
reader PdfReader
os Stream
pdfVersion char
return PdfStamper

CreateSignature() public static method

public static CreateSignature ( PdfReader reader, Stream os, char pdfVersion, string tempFile ) : PdfStamper
reader PdfReader
os Stream
pdfVersion char
tempFile string
return PdfStamper

CreateSignature() public static method

public static CreateSignature ( PdfReader reader, Stream os, char pdfVersion, string tempFile, bool append ) : PdfStamper
reader PdfReader
os Stream
pdfVersion char
tempFile string
append bool
return PdfStamper

Dispose() public method

public Dispose ( ) : void
return void

GetImportedPage() public method

public GetImportedPage ( PdfReader reader, int pageNumber ) : PdfImportedPage
reader PdfReader
pageNumber int
return PdfImportedPage

GetOverContent() public method

public GetOverContent ( int pageNum ) : PdfContentByte
pageNum int
return PdfContentByte

GetPdfLayers() public method

public GetPdfLayers ( ) : PdfLayer>.Dictionary
return PdfLayer>.Dictionary

GetUnderContent() public method

public GetUnderContent ( int pageNum ) : PdfContentByte
pageNum int
return PdfContentByte

InsertPage() public method

public InsertPage ( int pageNumber, Rectangle mediabox ) : void
pageNumber int
mediabox Rectangle
return void

MakePackage() public method

public MakePackage ( PdfCollection collection ) : void
collection iTextSharp.text.pdf.collection.PdfCollection
return void

MakePackage() public method

public MakePackage ( PdfName initialView ) : void
initialView PdfName
return void

MarkUsed() public method

public MarkUsed ( PdfObject obj ) : void
obj PdfObject
return void

PartialFormFlattening() public method

public PartialFormFlattening ( String name ) : bool
name String
return bool

PdfStamper() protected method

protected PdfStamper ( ) : System
return System

PdfStamper() public method

public PdfStamper ( PdfReader reader, Stream os ) : System
reader PdfReader
os Stream
return System

PdfStamper() public method

public PdfStamper ( PdfReader reader, Stream os, char pdfVersion ) : System
reader PdfReader
os Stream
pdfVersion char
return System

PdfStamper() public method

public PdfStamper ( PdfReader reader, Stream os, char pdfVersion, bool append ) : System
reader PdfReader
os Stream
pdfVersion char
append bool
return System

ReplacePage() public method

public ReplacePage ( PdfReader r, int pageImported, int pageReplaced ) : void
r PdfReader
pageImported int
pageReplaced int
return void

SetDuration() public method

public SetDuration ( int seconds, int page ) : void
seconds int
page int
return void

SetEncryption() public method

public SetEncryption ( X509Certificate certs, int permissions, int encryptionType ) : void
certs Org.BouncyCastle.X509.X509Certificate
permissions int
encryptionType int
return void

SetEncryption() public method

public SetEncryption ( bool strength, String userPassword, String ownerPassword, int permissions ) : void
strength bool
userPassword String
ownerPassword String
permissions int
return void

SetEncryption() public method

public SetEncryption ( byte userPassword, byte ownerPassword, int permissions, bool strength128Bits ) : void
userPassword byte
ownerPassword byte
permissions int
strength128Bits bool
return void

SetEncryption() public method

public SetEncryption ( byte userPassword, byte ownerPassword, int permissions, int encryptionType ) : void
userPassword byte
ownerPassword byte
permissions int
encryptionType int
return void

SetEncryption() public method

public SetEncryption ( int encryptionType, String userPassword, String ownerPassword, int permissions ) : void
encryptionType int
userPassword String
ownerPassword String
permissions int
return void

SetFullCompression() public method

public SetFullCompression ( ) : void
return void

SetPageAction() public method

public SetPageAction ( PdfName actionType, PdfAction action, int page ) : void
actionType PdfName
action PdfAction
page int
return void

SetThumbnail() public method

public SetThumbnail ( System.Image image, int page ) : void
image System.Image
page int
return void

SetTransition() public method

public SetTransition ( PdfTransition transition, int page ) : void
transition PdfTransition
page int
return void

Property Details

hasSignature protected property

protected bool hasSignature
return bool

sigApp protected property

protected PdfSignatureAppearance,iTextSharp.text.pdf sigApp
return PdfSignatureAppearance

stamper protected property

protected PdfStamperImp,iTextSharp.text.pdf stamper
return PdfStamperImp