C# Класс AODL.Document.Content.Text.ParagraphBuilder

ParagraphBuilder use the methods of this class to create different kinds of paragraph.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ParagraphSeperator string
ParagraphSeperator2 string

Открытые методы

Метод Описание
CreateParagraphCollection ( IDocument document, string text, bool useStandardStyle, string paragraphSeperator ) : AODL.Document.Content.Text.ParagraphCollection

Creates the paragraph collection.

CreateParagraphWithCustomStyle ( IDocument document, string styleName ) : Paragraph

Create a paragraph with custom style.

CreateParagraphWithExistingNode ( IDocument document, XmlNode paragraphNode ) : Paragraph

Create a paragraph with existing node.

CreateSpreadsheetParagraph ( IDocument document ) : Paragraph

Create a spreadsheet paragraph.

CreateStandardTextParagraph ( IDocument document ) : Paragraph

Create a standard text paragraph.

CreateStandardTextTableParagraph ( IDocument document ) : Paragraph

Create a standard text table paragraph.

ParagraphBuilder ( ) : System

Initializes a new instance of the ParagraphBuilder class.

Описание методов

CreateParagraphCollection() публичный статический Метод

Creates the paragraph collection.
public static CreateParagraphCollection ( IDocument document, string text, bool useStandardStyle, string paragraphSeperator ) : AODL.Document.Content.Text.ParagraphCollection
document IDocument The document.
text string The text.
useStandardStyle bool if set to true [use standard style].
paragraphSeperator string The paragraph seperator.
Результат AODL.Document.Content.Text.ParagraphCollection

CreateParagraphWithCustomStyle() публичный статический Метод

Create a paragraph with custom style.
public static CreateParagraphWithCustomStyle ( IDocument document, string styleName ) : Paragraph
document IDocument The document.
styleName string Name of the style.
Результат Paragraph

CreateParagraphWithExistingNode() публичный статический Метод

Create a paragraph with existing node.
public static CreateParagraphWithExistingNode ( IDocument document, XmlNode paragraphNode ) : Paragraph
document IDocument The document.
paragraphNode System.Xml.XmlNode The paragraph node.
Результат Paragraph

CreateSpreadsheetParagraph() публичный статический Метод

Create a spreadsheet paragraph.
public static CreateSpreadsheetParagraph ( IDocument document ) : Paragraph
document IDocument The document.
Результат Paragraph

CreateStandardTextParagraph() публичный статический Метод

Create a standard text paragraph.
public static CreateStandardTextParagraph ( IDocument document ) : Paragraph
document IDocument The document.
Результат Paragraph

CreateStandardTextTableParagraph() публичный статический Метод

Create a standard text table paragraph.
public static CreateStandardTextTableParagraph ( IDocument document ) : Paragraph
document IDocument The document.
Результат Paragraph

ParagraphBuilder() публичный Метод

Initializes a new instance of the ParagraphBuilder class.
public ParagraphBuilder ( ) : System
Результат System

Описание свойств

ParagraphSeperator публичное статическое свойство

Use \n\n as pargraph seperator for building a pargraph collection with the ParagraphBuilder.
public static string ParagraphSeperator
Результат string

ParagraphSeperator2 публичное статическое свойство

Use \r\n\r\n as pargraph seperator for building a pargraph collection with the ParagraphBuilder.
public static string ParagraphSeperator2
Результат string