The DocWriter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DocWriter()()()() | ||
| DocWriter(Document, Stream) |
Constructs a DocWriter.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Signals that an Element was added to the Document.
| |
| AddTabs |
Writes a number of tabs.
| |
| Close |
Signals that the Document was closed and that no other
Elements will be added.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Flush |
Flushes the Stream.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetISOBytes |
Converts a string into a Byte array
according to the ISO-8859-1 codepage.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsPaused | ||
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NewPage |
Signals that an new page has to be started.
| |
| Open |
Signals that the Document was opened.
| |
| Pause |
Let the writer know that all writing has to be paused.
| |
| ResetFooter |
Resets the footer of this document.
| |
| ResetHeader |
Resets the header of this document.
| |
| ResetPageCount |
Sets the page number to 0.
| |
| Resume |
Let the writer know that writing may be resumed.
| |
| SetMarginMirroring | ||
| SetMarginMirroringTopBottom | ||
| SetMargins |
Sets the margins.
| |
| SetPageSize |
Sets the pagesize.
| |
| ToString | (Inherited from Object.) | |
| Write(String) |
Writes a string to the stream.
| |
| Write(String, String) |
Writes a key-value pair to the stream.
| |
| WriteEnd()()()() |
Writes an endtag to the stream.
| |
| WriteEnd(String) |
Writes an endtag to the stream.
| |
| WriteMarkupAttributes |
Writes the markup attributes of the specified MarkupAttributes
object to the stream.
| |
| WriteStart |
Writes a starttag to the stream.
|
Fields
| Name | Description | |
|---|---|---|
| closeStream | ||
| document | This is the document that has to be written. | |
| EQUALS | This is some byte that is often used. | |
| FORWARD | This is some byte that is often used. | |
| GT | This is some byte that is often used. | |
| LT | This is some byte that is often used. | |
| NEWLINE | This is some byte that is often used. | |
| open | Is the writer open for writing? | |
| os | The stream of this writer. | |
| pageSize | The pageSize. | |
| pause | Do we have to pause all writing actions? | |
| QUOTE | This is some byte that is often used. | |
| SPACE | This is some byte that is often used. | |
| TAB | This is some byte that is often used. |
Properties
| Name | Description | |
|---|---|---|
| CloseStream | ||
| Footer |
Changes the footer of this document.
| |
| Header |
Changes the header of this document.
| |
| PageCount |
Sets the page number.
|