C# 클래스 AODL.Document.Content.Text.ParagraphBuilder

ParagraphBuilder use the methods of this class to create different kinds of paragraph.
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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