C# 클래스 Novacode.InsertBeforeOrAfter

This class provides functions for inserting new DocXElements before or after the current DocXElement. Only certain DocXElements can support these functions without creating invalid documents, at the moment these are Paragraphs and Table.
상속: DocXElement
파일 보기 프로젝트 열기: WordDocX/DocX

공개 메소드들

메소드 설명
InsertBeforeOrAfter ( DocX document, System.Xml.Linq.XElement xml ) : System
InsertPageBreakAfterSelf ( ) : void
InsertPageBreakBeforeSelf ( ) : void
InsertParagraphAfterSelf ( Paragraph p ) : Paragraph
InsertParagraphAfterSelf ( string text ) : Paragraph
InsertParagraphAfterSelf ( string text, bool trackChanges ) : Paragraph
InsertParagraphAfterSelf ( string text, bool trackChanges, Formatting formatting ) : Paragraph
InsertParagraphBeforeSelf ( Paragraph p ) : Paragraph
InsertParagraphBeforeSelf ( string text ) : Paragraph
InsertParagraphBeforeSelf ( string text, bool trackChanges ) : Paragraph
InsertParagraphBeforeSelf ( string text, bool trackChanges, Formatting formatting ) : Paragraph
InsertTableAfterSelf ( Table t ) : Table
InsertTableAfterSelf ( int rowCount, int columnCount ) : Table
InsertTableBeforeSelf ( Table t ) : Table
InsertTableBeforeSelf ( int rowCount, int columnCount ) : Table

메소드 상세

InsertBeforeOrAfter() 공개 메소드

public InsertBeforeOrAfter ( DocX document, System.Xml.Linq.XElement xml ) : System
document DocX
xml System.Xml.Linq.XElement
리턴 System

InsertPageBreakAfterSelf() 공개 메소드

public InsertPageBreakAfterSelf ( ) : void
리턴 void

InsertPageBreakBeforeSelf() 공개 메소드

public InsertPageBreakBeforeSelf ( ) : void
리턴 void

InsertParagraphAfterSelf() 공개 메소드

public InsertParagraphAfterSelf ( Paragraph p ) : Paragraph
p Paragraph
리턴 Paragraph

InsertParagraphAfterSelf() 공개 메소드

public InsertParagraphAfterSelf ( string text ) : Paragraph
text string
리턴 Paragraph

InsertParagraphAfterSelf() 공개 메소드

public InsertParagraphAfterSelf ( string text, bool trackChanges ) : Paragraph
text string
trackChanges bool
리턴 Paragraph

InsertParagraphAfterSelf() 공개 메소드

public InsertParagraphAfterSelf ( string text, bool trackChanges, Formatting formatting ) : Paragraph
text string
trackChanges bool
formatting Formatting
리턴 Paragraph

InsertParagraphBeforeSelf() 공개 메소드

public InsertParagraphBeforeSelf ( Paragraph p ) : Paragraph
p Paragraph
리턴 Paragraph

InsertParagraphBeforeSelf() 공개 메소드

public InsertParagraphBeforeSelf ( string text ) : Paragraph
text string
리턴 Paragraph

InsertParagraphBeforeSelf() 공개 메소드

public InsertParagraphBeforeSelf ( string text, bool trackChanges ) : Paragraph
text string
trackChanges bool
리턴 Paragraph

InsertParagraphBeforeSelf() 공개 메소드

public InsertParagraphBeforeSelf ( string text, bool trackChanges, Formatting formatting ) : Paragraph
text string
trackChanges bool
formatting Formatting
리턴 Paragraph

InsertTableAfterSelf() 공개 메소드

public InsertTableAfterSelf ( Table t ) : Table
t Table
리턴 Table

InsertTableAfterSelf() 공개 메소드

public InsertTableAfterSelf ( int rowCount, int columnCount ) : Table
rowCount int
columnCount int
리턴 Table

InsertTableBeforeSelf() 공개 메소드

public InsertTableBeforeSelf ( Table t ) : Table
t Table
리턴 Table

InsertTableBeforeSelf() 공개 메소드

public InsertTableBeforeSelf ( int rowCount, int columnCount ) : Table
rowCount int
columnCount int
리턴 Table