C# Class iTextSharp.text.html.HtmlWriter

Inheritance: iTextSharp.text.DocWriter
Datei anzeigen Open project: red-gate/iTextSharp-4.1.6

Public Properties

Property Type Description
BEGINCOMMENT byte[]
ENDCOMMENT byte[]

Protected Properties

Property Type Description
currentfont System.Collections.Stack
footer iTextSharp.text.HeaderFooter
header iTextSharp.text.HeaderFooter
imagepath String
markup System.util.Properties
pageN int
standardfont iTextSharp.text.Font

Public Methods

Method Description
Add ( IElement element ) : bool
Add ( String str ) : bool
Close ( ) : void
GetInstance ( Document document, Stream os ) : HtmlWriter
IsOtherFont ( Font font ) : bool
NewPage ( ) : bool
Open ( ) : void
ResetImagepath ( ) : void
SetFooter ( HeaderFooter footer ) : void
SetHeader ( HeaderFooter header ) : void
SetImagepath ( String imagepath ) : void
SetStandardFont ( Font standardFont ) : void

Protected Methods

Method Description
HtmlWriter ( Document doc, Stream os ) : System
InitFooter ( ) : void
InitHeader ( ) : void
Write ( Font font, Properties styleAttributes ) : void
Write ( IElement element, int indent ) : void
WriteComment ( String comment ) : void
WriteCssProperty ( String prop, String value ) : void
WriteHeader ( Meta meta ) : void
WriteJavaScript ( Header header ) : void
WriteLink ( Header header ) : void
WriteSection ( Section section, int indent ) : void

Method Details

Add() public method

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

Add() public method

public Add ( String str ) : bool
str String
return bool

Close() public method

public Close ( ) : void
return void

GetInstance() public static method

public static GetInstance ( Document document, Stream os ) : HtmlWriter
document iTextSharp.text.Document
os Stream
return HtmlWriter

HtmlWriter() protected method

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

InitFooter() protected method

protected InitFooter ( ) : void
return void

InitHeader() protected method

protected InitHeader ( ) : void
return void

IsOtherFont() public method

public IsOtherFont ( Font font ) : bool
font iTextSharp.text.Font
return bool

NewPage() public method

public NewPage ( ) : bool
return bool

Open() public method

public Open ( ) : void
return void

ResetImagepath() public method

public ResetImagepath ( ) : void
return void

SetFooter() public method

public SetFooter ( HeaderFooter footer ) : void
footer iTextSharp.text.HeaderFooter
return void

SetHeader() public method

public SetHeader ( HeaderFooter header ) : void
header iTextSharp.text.HeaderFooter
return void

SetImagepath() public method

public SetImagepath ( String imagepath ) : void
imagepath String
return void

SetStandardFont() public method

public SetStandardFont ( Font standardFont ) : void
standardFont iTextSharp.text.Font
return void

Write() protected method

protected Write ( Font font, Properties styleAttributes ) : void
font iTextSharp.text.Font
styleAttributes System.util.Properties
return void

Write() protected method

protected Write ( IElement element, int indent ) : void
element IElement
indent int
return void

WriteComment() protected method

protected WriteComment ( String comment ) : void
comment String
return void

WriteCssProperty() protected method

protected WriteCssProperty ( String prop, String value ) : void
prop String
value String
return void

WriteHeader() protected method

protected WriteHeader ( Meta meta ) : void
meta iTextSharp.text.Meta
return void

WriteJavaScript() protected method

protected WriteJavaScript ( Header header ) : void
header iTextSharp.text.Header
return void

WriteLink() protected method

protected WriteLink ( Header header ) : void
header iTextSharp.text.Header
return void

WriteSection() protected method

protected WriteSection ( Section section, int indent ) : void
section iTextSharp.text.Section
indent int
return void

Property Details

BEGINCOMMENT public_oe static_oe property

public static byte[] BEGINCOMMENT
return byte[]

ENDCOMMENT public_oe static_oe property

public static byte[] ENDCOMMENT
return byte[]

currentfont protected_oe property

protected Stack,System.Collections currentfont
return System.Collections.Stack

footer protected_oe property

protected HeaderFooter,iTextSharp.text footer
return iTextSharp.text.HeaderFooter

header protected_oe property

protected HeaderFooter,iTextSharp.text header
return iTextSharp.text.HeaderFooter

imagepath protected_oe property

protected String imagepath
return String

markup protected_oe property

protected Properties,System.util markup
return System.util.Properties

pageN protected_oe property

protected int pageN
return int

standardfont protected_oe property

protected Font,iTextSharp.text standardfont
return iTextSharp.text.Font