The DocWriter type exposes the following members.

Constructors

  NameDescription
Protected methodDocWriter()()()()
Protected methodDocWriter(Document, Stream)
Constructs a DocWriter.

Methods

  NameDescription
Public methodAdd
Signals that an Element was added to the Document.
Protected methodAddTabs
Writes a number of tabs.
Public methodClose
Signals that the Document was closed and that no other Elements will be added.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Flushes the Stream.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetISOBytes
Converts a string into a Byte array according to the ISO-8859-1 codepage.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsPaused
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewPage
Signals that an new page has to be started.
Public methodOpen
Signals that the Document was opened.
Public methodPause
Let the writer know that all writing has to be paused.
Public methodResetFooter
Resets the footer of this document.
Public methodResetHeader
Resets the header of this document.
Public methodResetPageCount
Sets the page number to 0.
Public methodResume
Let the writer know that writing may be resumed.
Public methodSetMarginMirroring
Public methodSetMarginMirroringTopBottom
Public methodSetMargins
Sets the margins.
Public methodSetPageSize
Sets the pagesize.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodWrite(String)
Writes a string to the stream.
Protected methodWrite(String, String)
Writes a key-value pair to the stream.
Protected methodWriteEnd()()()()
Writes an endtag to the stream.
Protected methodWriteEnd(String)
Writes an endtag to the stream.
Protected methodWriteMarkupAttributes
Writes the markup attributes of the specified MarkupAttributes object to the stream.
Protected methodWriteStart
Writes a starttag to the stream.

Fields

  NameDescription
Protected fieldcloseStream
Protected fielddocument
This is the document that has to be written.
Public fieldStatic memberEQUALS
This is some byte that is often used.
Public fieldStatic memberFORWARD
This is some byte that is often used.
Public fieldStatic memberGT
This is some byte that is often used.
Public fieldStatic memberLT
This is some byte that is often used.
Public fieldStatic memberNEWLINE
This is some byte that is often used.
Protected fieldopen
Is the writer open for writing?
Protected fieldos
The stream of this writer.
Protected fieldpageSize
The pageSize.
Protected fieldpause
Do we have to pause all writing actions?
Public fieldStatic memberQUOTE
This is some byte that is often used.
Public fieldStatic memberSPACE
This is some byte that is often used.
Public fieldStatic memberTAB
This is some byte that is often used.

Properties

  NameDescription
Public propertyCloseStream
Public propertyFooter
Changes the footer of this document.
Public propertyHeader
Changes the header of this document.
Public propertyPageCount
Sets the page number.

See Also