C# Class iTextSharp.text.pdf.PdfDocument

Inheritance: iTextSharp.text.Document
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Property Type Description
additionalActions PdfDictionary
alignment int
anchorAction PdfAction
boxSize PdfRectangle>.Dictionary
collection PdfCollection
currentHeight float
currentOutline PdfOutline
documentFileAttachment PdfObject>.Dictionary
documentLevelJS PdfObject>.Dictionary
firstPageEvent bool
graphics PdfContentByte
imageEnd float
imageWait Image
indentation Indentation
info PdfInfo
isSectionTitle bool
lastElementType int
leading float
leadingCount int
line PdfLine
lines List
localDestinations Destination>.SortedDictionary
markPoint int
nextMarginBottom float
nextMarginLeft float
nextMarginRight float
nextMarginTop float
nextPageSize Rectangle
openActionAction PdfAction
openActionName String
pageAA PdfDictionary
pageLabels PdfPageLabels
pageResources PageResources
rootOutline PdfOutline
strictImageSequence bool
text PdfContentByte
textEmptySize int
thisBoxSize PdfRectangle>.Dictionary
viewerPreferences PdfViewerPreferencesImp
writer PdfWriter

Private Properties

Property Type Description
AddAdditionalAction void
AddAnnotation void
AddCalculationOrder void
AddDiv void
AddFileAttachment void
AddJavaScript void
AddJavaScript void
AddOutline void
AddPTable void
AddViewerPreference void
CalculateOutlineCount void
FitsPage bool
FlushFloatingElements void
GetBoxSize iTextSharp.text.Rectangle
GetCatalog PdfCatalog
GetDocumentFileAttachment PdfObject>.Dictionary
GetDocumentLevelJS PdfObject>.Dictionary
GetLocalGotoAction PdfAction
GetMarkPoint int
IncMarkPoint void
LocalDestination bool
LocalGoto void
OutlineTree void
RemoteGoto void
RemoteGoto void
SetAction void
SetBoxSize void
SetOpenAction void
SetOpenAction void
SetPageAction void
TraverseOutlineCount void
WriteLineToContent float
WriteOutlines void

Public Methods

Method Description
Add ( IElement element ) : bool
AddWriter ( PdfWriter writer ) : void
ClearTextWrap ( ) : void
Close ( ) : void
GetVerticalPosition ( bool ensureNewLine ) : float
NewPage ( ) : bool
Open ( ) : void
PdfDocument ( ) : System
ResetPageCount ( ) : void
SetMarginMirroring ( bool MarginMirroring ) : bool
SetMarginMirroringTopBottom ( bool MarginMirroringTopBottom ) : bool
SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool
SetPageSize ( Rectangle pageSize ) : bool

Protected Methods

Method Description
Add ( Image image ) : void
AddSpacing ( float extraspace, float oldleading, Font f ) : void
CarriageReturn ( ) : void
EnsureNewLine ( ) : void
FlushLines ( ) : float
InitPage ( ) : void
NewLine ( ) : void
SetNewPageSizeAndMargins ( ) : void

Private Methods

Method Description
AddAdditionalAction ( PdfName actionType, PdfAction action ) : void
AddAnnotation ( PdfAnnotation annot ) : void
AddCalculationOrder ( PdfFormField formField ) : void
AddDiv ( PdfDiv div ) : void
AddFileAttachment ( String description, PdfFileSpecification fs ) : void
AddJavaScript ( PdfAction js ) : void
AddJavaScript ( String name, PdfAction js ) : void
AddOutline ( PdfOutline outline, String name ) : void
AddPTable ( PdfPTable ptable ) : void
AddViewerPreference ( PdfName key, PdfObject value ) : void
CalculateOutlineCount ( ) : void
FitsPage ( PdfPTable table, float margin ) : bool
FlushFloatingElements ( ) : void
GetBoxSize ( String boxName ) : Rectangle
GetCatalog ( PdfIndirectReference pages ) : PdfCatalog
GetDocumentFileAttachment ( ) : PdfObject>.Dictionary
GetDocumentLevelJS ( ) : PdfObject>.Dictionary
GetLocalGotoAction ( String name ) : PdfAction
GetMarkPoint ( ) : int
IncMarkPoint ( ) : void
LocalDestination ( String name, PdfDestination destination ) : bool
LocalGoto ( String name, float llx, float lly, float urx, float ury ) : void
OutlineTree ( PdfOutline outline ) : void
RemoteGoto ( String filename, String name, float llx, float lly, float urx, float ury ) : void
RemoteGoto ( String filename, int page, float llx, float lly, float urx, float ury ) : void
SetAction ( PdfAction action, float llx, float lly, float urx, float ury ) : void
SetBoxSize ( String boxName, Rectangle size ) : void
SetOpenAction ( PdfAction action ) : void
SetOpenAction ( String name ) : void
SetPageAction ( PdfName actionType, PdfAction action ) : void
TraverseOutlineCount ( PdfOutline outline ) : void
WriteLineToContent ( PdfLine line, PdfContentByte text, PdfContentByte graphics, Object currentValues, float ratio ) : float
WriteOutlines ( ) : void

Method Details

Add() public method

public Add ( IElement element ) : bool
element IElement
return bool

Add() protected method

protected Add ( Image image ) : void
image Image
return void

AddSpacing() protected method

protected AddSpacing ( float extraspace, float oldleading, Font f ) : void
extraspace float
oldleading float
f iTextSharp.text.Font
return void

AddWriter() public method

public AddWriter ( PdfWriter writer ) : void
writer PdfWriter
return void

CarriageReturn() protected method

protected CarriageReturn ( ) : void
return void

ClearTextWrap() public method

public ClearTextWrap ( ) : void
return void

Close() public method

public Close ( ) : void
return void

EnsureNewLine() protected method

protected EnsureNewLine ( ) : void
return void

FlushLines() protected method

protected FlushLines ( ) : float
return float

GetVerticalPosition() public method

public GetVerticalPosition ( bool ensureNewLine ) : float
ensureNewLine bool
return float

InitPage() protected method

protected InitPage ( ) : void
return void

NewLine() protected method

protected NewLine ( ) : void
return void

NewPage() public method

public NewPage ( ) : bool
return bool

Open() public method

public Open ( ) : void
return void

PdfDocument() public method

public PdfDocument ( ) : System
return System

ResetPageCount() public method

public ResetPageCount ( ) : void
return void

SetMarginMirroring() public method

public SetMarginMirroring ( bool MarginMirroring ) : bool
MarginMirroring bool
return bool

SetMarginMirroringTopBottom() public method

public SetMarginMirroringTopBottom ( bool MarginMirroringTopBottom ) : bool
MarginMirroringTopBottom bool
return bool

SetMargins() public method

public SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool
marginLeft float
marginRight float
marginTop float
marginBottom float
return bool

SetNewPageSizeAndMargins() protected method

protected SetNewPageSizeAndMargins ( ) : void
return void

SetPageSize() public method

public SetPageSize ( Rectangle pageSize ) : bool
pageSize Rectangle
return bool

Property Details

additionalActions protected property

protected PdfDictionary additionalActions
return PdfDictionary

alignment protected property

protected int alignment
return int

anchorAction protected property

protected PdfAction anchorAction
return PdfAction

boxSize protected property

protected Dictionary boxSize
return PdfRectangle>.Dictionary

collection protected property

protected PdfCollection collection
return PdfCollection

currentHeight protected property

protected float currentHeight
return float

currentOutline protected property

protected PdfOutline currentOutline
return PdfOutline

documentFileAttachment protected property

protected Dictionary documentFileAttachment
return PdfObject>.Dictionary

documentLevelJS protected property

protected Dictionary documentLevelJS
return PdfObject>.Dictionary

firstPageEvent protected property

protected bool firstPageEvent
return bool

graphics protected property

protected PdfContentByte graphics
return PdfContentByte

imageEnd protected property

protected float imageEnd
return float

imageWait protected property

protected Image imageWait
return Image

indentation protected property

protected Indentation indentation
return Indentation

info protected property

protected PdfInfo info
return PdfInfo

isSectionTitle protected property

protected bool isSectionTitle
return bool

lastElementType protected property

protected int lastElementType
return int

leading protected property

protected float leading
return float

leadingCount protected property

protected int leadingCount
return int

line protected property

protected PdfLine line
return PdfLine

lines protected property

protected List lines
return List

localDestinations protected property

protected SortedDictionary localDestinations
return Destination>.SortedDictionary

markPoint protected property

protected int markPoint
return int

nextMarginBottom protected property

protected float nextMarginBottom
return float

nextMarginLeft protected property

protected float nextMarginLeft
return float

nextMarginRight protected property

protected float nextMarginRight
return float

nextMarginTop protected property

protected float nextMarginTop
return float

nextPageSize protected property

protected Rectangle nextPageSize
return Rectangle

openActionAction protected property

protected PdfAction openActionAction
return PdfAction

openActionName protected property

protected String openActionName
return String

pageAA protected property

protected PdfDictionary pageAA
return PdfDictionary

pageLabels protected property

protected PdfPageLabels pageLabels
return PdfPageLabels

pageResources protected property

protected PageResources pageResources
return PageResources

rootOutline protected property

protected PdfOutline rootOutline
return PdfOutline

strictImageSequence protected property

protected bool strictImageSequence
return bool

text protected property

protected PdfContentByte text
return PdfContentByte

textEmptySize protected property

protected int textEmptySize
return int

thisBoxSize protected property

protected Dictionary thisBoxSize
return PdfRectangle>.Dictionary

viewerPreferences protected property

protected PdfViewerPreferencesImp viewerPreferences
return PdfViewerPreferencesImp

writer protected property

protected PdfWriter writer
return PdfWriter