C# Класс ApiExamples.DocumentHelper

Functions for operations with document and content
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
CreateDocumentFillWithDummyText ( ) : Document

Create new document with text

CreateDocumentWithoutDummyText ( ) : Document

Create new document without run in the paragraph

CreateTemplateDocumentWithDrawObjects ( string templateText, ShapeType shapeType ) : Document

Create new document with textbox shape and some query

FindTextInFile ( string path, string expression ) : void
GetParagraph ( Document doc, int paraIndex ) : Paragraph

Get paragraph of the current document

GetParagraphText ( Document doc, int paraIndex ) : string

Get paragraph text of the current document

InsertBuilderText ( DocumentBuilder builder, string textStrings ) : void

Insert text into the current document

InsertNewRun ( Document doc, string text, int paraIndex ) : Run

Insert run into the current document

InsertTable ( DocumentBuilder builder ) : void

Insert new table in the document

InsertToc ( DocumentBuilder builder ) : void

Insert TOC entries in the document