Property | Type | Description | |
---|---|---|---|
closeStream | bool | ||
document | |||
open | bool | ||
os | |||
pageSize | |||
pause | bool |
Method | Description | |
---|---|---|
Add ( IElement element ) : bool |
Signals that an Element was added to the Document. This method should be overriden in the specific DocWriter classes derived from this abstract class. |
|
Close ( ) : void |
Signals that the Document was closed and that no other Elements will be added.
|
|
Dispose ( ) : void | ||
Flush ( ) : void |
Flushes the Stream.
|
|
GetISOBytes ( string text ) : byte[] |
Converts a string into a Byte array according to the ISO-8859-1 codepage.
|
|
IsPaused ( ) : bool | ||
NewPage ( ) : bool |
Signals that an new page has to be started. This does nothing. Has to be overridden if needed. |
|
Open ( ) : void |
Signals that the Document was opened.
|
|
Pause ( ) : void |
Let the writer know that all writing has to be paused.
|
|
ResetPageCount ( ) : void |
Sets the page number to 0. This method should be overriden in the specific DocWriter classes derived from this abstract class if they actually support the use of pagenumbers. |
|
Resume ( ) : void |
Let the writer know that writing may be resumed.
|
|
SetMarginMirroring ( bool marginMirroring ) : bool | ||
SetMarginMirroringTopBottom ( bool MarginMirroring ) : bool | ||
SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool |
Sets the margins. This does nothing. Has to be overridden if needed. |
|
SetPageSize ( |
Sets the pagesize.
|
Method | Description | |
---|---|---|
AddTabs ( int indent ) : void |
Writes a number of tabs.
|
|
DocWriter ( ) : System | ||
DocWriter ( |
Constructs a DocWriter.
|
|
Write ( string str ) : void |
Writes a string to the stream.
|
|
Write ( string key, string value ) : void |
Writes a key-value pair to the stream.
|
|
WriteEnd ( ) : void |
Writes an endtag to the stream.
|
|
WriteEnd ( string tag ) : void |
Writes an endtag to the stream.
|
|
WriteMarkupAttributes ( |
Writes the markup attributes of the specified MarkupAttributes object to the stream.
|
|
WriteStart ( string tag ) : void |
Writes a starttag to the stream.
|
protected AddTabs ( int indent ) : void | ||
indent | int | the number of tabs to add |
return | void |
protected DocWriter ( |
||
document | The Document that has to be written | |
os | Stream | The Stream the writer has to write to. |
return | System |
public static GetISOBytes ( string text ) : byte[] | ||
text | string | the text to be converted |
return | byte[] |
public SetMarginMirroring ( bool marginMirroring ) : bool | ||
marginMirroring | bool | |
return | bool |
public SetMarginMirroringTopBottom ( bool MarginMirroring ) : bool | ||
MarginMirroring | bool | |
return | bool |
public SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool | ||
marginLeft | float | the margin on the left |
marginRight | float | the margin on the right |
marginTop | float | the margin on the top |
marginBottom | float | the margin on the bottom |
return | bool |
public SetPageSize ( |
||
pageSize | the new pagesize | |
return | bool |
protected Write ( string str ) : void | ||
str | string | the string to write |
return | void |
protected Write ( string key, string value ) : void | ||
key | string | the name of an attribute |
value | string | the value of an attribute |
return | void |
protected WriteEnd ( string tag ) : void | ||
tag | string | the name of the tag |
return | void |
protected WriteMarkupAttributes ( |
||
markup | ||
return | bool |
protected WriteStart ( string tag ) : void | ||
tag | string | the name of the tag |
return | void |
protected OutputStreamCounter,iTextSharp.text.pdf os | ||
return |