Description

The Document type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
AddNode(Node)
Adds the given node at the end of the last section on this document.
AddParagraph(String)
Adds the paragraph with given text at the end of the last section on this document.
AddSection()()()()
Adds an empty section at the end of document.
Copy()()()()
Creates a deep copy of this Document instance.
CreateNew()()()()
Creates a new document.
FindAllParagraphs(String)
Finds all paragraphs that contain given text string.
FindAllParagraphs(String, Boolean)
Finds all paragraphs that contain given text string, considering match-case.
FindFirstParagraph(String)
Finds a paragraph that contains given text string.
FindFirstParagraph(String, Boolean)
Finds a paragraph that contains given text string, considering match-case.
FindFirstTable(String)
Finds a table that contains given text string.
FindFirstTable(String, Boolean)
Finds a table that contains given text string.
FindFirstTextrun(String)
Finds a textrun that contains given text string.
FindFirstTextrun(String, Boolean)
Finds a text-run that contains a certain text string.
GetAllImages()()()()
Get all images in this document.
MergeDocuments(array<String>[]()[][])
Merges several documents with given file names.
MergeDocuments(array<Document>[]()[][])
Merges several documents.
ReadDOC(Stream)
Reads .doc stream into internal document structure.
ReadDOC(String)
Reads .doc file into internal document structure.
ReadDocument(Stream)
Reads document file (.doc, .docx, .rtf) into internal document structure.
ReadDocument(String)
Reads document file (.doc, .docx, .rtf) into internal document structure.
ReadDOCX(Stream)
Reads .docx stream into internal document structure.
ReadDOCX(String)
Reads .docx file into internal document structure.
ReadHTML(Stream)
Reads HTML-file from stream into internal document structure. Static property Document.BasePath is used to work with relative links. You can change it if you have issues with correct link working.
ReadHTML(String)
Reads HTML-file or HTML-string into internal document structure.
ReadHTML(Stream, Boolean)
Reads HTML-file from stream into internal document structure. Static property Document.BasePath is used to work with relative links. You can change it if you have issues with correct link working.
ReadHTML(String, Boolean)
Reads HTML-file from stream into internal document structure.
ReadRTF(Stream)
Reads .rtf file into internal document structure.
ReadRTF(String)
Reads .rtf file into internal document structure.
ReadTXT(Stream)
Reads text file from stream into internal document structure.
ReadTXT(String)
Reads text file into internal document structure.
RemoveLastSection()()()()
Removes last section.
SaveAllImages(String)
Saves all images in this document into files.
SetLicenseCode(String)
Checks the specified license code for authenticity.
WriteDOC()()()()
Writes the internal document structure into the stream and returns it.
WriteDOC(String)
Writes the internal document structure into .doc file.
WriteDocument(DocumentFormat)
Writes the internal document structure into the stream.
WriteDocument(String, DocumentFormat)
Writes the internal document structure to file on disk.
WriteDOCX()()()()
Writes the internal document structure into the DocX stream and returns it.
WriteDOCX(String)
Writes the internal document structure into .docx file.
WriteHTML()()()()
Writes result HTML-document to MemoryStream.
WriteHTML(String)
Writes document into HTML-file.
WriteHTML(String%)
Writes result HTML-document to string and returns it.
WriteRTF()()()()
Writes the internal document structure into the stream and returns it.
WriteRTF(String)
Writes the internal document structure into .rtf file.
WriteTXT(String)
Writes the internal document structure into text file (.txt).

See Also