C# 클래스 Importer.RtfDeltaImporter.Document

A document, consisting of a set of paragraphs
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Paragraphs Paragraph>.Dictionary

공개 메소드들

메소드 설명
AddParagraph ( Paragraph paragraph ) : void

Adds a paragraph in the document

Document ( string filePath ) : System.Collections.Generic

Constructor

UpdateState ( Document original ) : void

Updates the state of the paragraphs located in source according to the original content, located in original

비공개 메소드들

메소드 설명
FindParagraph ( string id ) : Paragraph

Finds a paragraph whose Id corresponds to the Id provided

IsChanged ( Paragraph p ) : bool

Paragraph contents has changed

IsDeleted ( Paragraph p ) : bool

Paragraph has been deleted

IsInserted ( Paragraph p ) : bool

Paragraph has been inserted

IsMoved ( Paragraph p ) : bool

Paragraph has been moved

findMatching ( ParagraphCondition condition ) : List

Find all paragraphs which match the predicate condition

메소드 상세

AddParagraph() 공개 메소드

Adds a paragraph in the document
public AddParagraph ( Paragraph paragraph ) : void
paragraph Paragraph
리턴 void

Document() 공개 메소드

Constructor
public Document ( string filePath ) : System.Collections.Generic
filePath string
리턴 System.Collections.Generic

UpdateState() 공개 메소드

Updates the state of the paragraphs located in source according to the original content, located in original
public UpdateState ( Document original ) : void
original Document The original file content
리턴 void

프로퍼티 상세

Paragraphs 공개적으로 프로퍼티

Stores the paragraphs found in the document
public Dictionary Paragraphs
리턴 Paragraph>.Dictionary