C# Class iTextSharp.text.rtf.RtfWriter2

Inheritance: iTextSharp.text.DocWriter, IDocListener
Mostra file Open project: red-gate/iTextSharp-4.1.6

Public Methods

Method Description
Add ( IElement element ) : bool
Close ( ) : void
GetDocumentSettings ( ) : RtfDocumentSettings
GetInstance ( Document doc, Stream os ) : RtfWriter2
ImportRtfDocument ( Stream documentSource ) : void
ImportRtfDocument ( Stream documentSource, IEventListener events ) : void
ImportRtfDocumentIntoElement ( IElement elem, FileStream documentSource ) : void
ImportRtfDocumentIntoElement ( IElement elem, FileStream documentSource, IEventListener events ) : void
ImportRtfFragment ( Stream documentSource, iTextSharp.text.rtf.direct.RtfImportMappings mappings ) : void
ImportRtfFragment ( Stream documentSource, iTextSharp.text.rtf.direct.RtfImportMappings mappings, IEventListener events ) : void
NewPage ( ) : bool
Open ( ) : void
ResetFooter ( ) : void
ResetHeader ( ) : void
ResetPageCount ( ) : void
SetAutogenerateTOCEntries ( bool autogenerate ) : void
SetMargins ( float left, float right, float top, float bottom ) : bool
SetPageSize ( Rectangle rect ) : bool

Protected Methods

Method Description
RtfWriter2 ( Document doc, Stream os ) : System

Method Details

Add() public method

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

Close() public method

public Close ( ) : void
return void

GetDocumentSettings() public method

public GetDocumentSettings ( ) : RtfDocumentSettings
return iTextSharp.text.rtf.document.RtfDocumentSettings

GetInstance() public static method

public static GetInstance ( Document doc, Stream os ) : RtfWriter2
doc iTextSharp.text.Document
os Stream
return RtfWriter2

ImportRtfDocument() public method

public ImportRtfDocument ( Stream documentSource ) : void
documentSource Stream
return void

ImportRtfDocument() public method

public ImportRtfDocument ( Stream documentSource, IEventListener events ) : void
documentSource Stream
events IEventListener
return void

ImportRtfDocumentIntoElement() public method

public ImportRtfDocumentIntoElement ( IElement elem, FileStream documentSource ) : void
elem IElement
documentSource System.IO.FileStream
return void

ImportRtfDocumentIntoElement() public method

public ImportRtfDocumentIntoElement ( IElement elem, FileStream documentSource, IEventListener events ) : void
elem IElement
documentSource System.IO.FileStream
events IEventListener
return void

ImportRtfFragment() public method

public ImportRtfFragment ( Stream documentSource, iTextSharp.text.rtf.direct.RtfImportMappings mappings ) : void
documentSource Stream
mappings iTextSharp.text.rtf.direct.RtfImportMappings
return void

ImportRtfFragment() public method

public ImportRtfFragment ( Stream documentSource, iTextSharp.text.rtf.direct.RtfImportMappings mappings, IEventListener events ) : void
documentSource Stream
mappings iTextSharp.text.rtf.direct.RtfImportMappings
events IEventListener
return void

NewPage() public method

public NewPage ( ) : bool
return bool

Open() public method

public Open ( ) : void
return void

ResetFooter() public method

public ResetFooter ( ) : void
return void

ResetHeader() public method

public ResetHeader ( ) : void
return void

ResetPageCount() public method

public ResetPageCount ( ) : void
return void

RtfWriter2() protected method

protected RtfWriter2 ( Document doc, Stream os ) : System
doc iTextSharp.text.Document
os Stream
return System

SetAutogenerateTOCEntries() public method

public SetAutogenerateTOCEntries ( bool autogenerate ) : void
autogenerate bool
return void

SetMargins() public method

public SetMargins ( float left, float right, float top, float bottom ) : bool
left float
right float
top float
bottom float
return bool

SetPageSize() public method

public SetPageSize ( Rectangle rect ) : bool
rect iTextSharp.text.Rectangle
return bool