C# 클래스 Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields.FieldsHelper

상속: DocumentVisitor
파일 보기 프로젝트 열기: aspose-words/Aspose.Words-for-.NET 1 사용 예제들

공개 메소드들

메소드 설명
ConvertFieldsToStaticText ( CompositeNode compositeNode, FieldType targetFieldType ) : void

Converts any fields of the specified type found in the descendants of the node into static text.

VisitFieldEnd ( FieldEnd fieldEnd ) : VisitorAction
VisitFieldSeparator ( FieldSeparator fieldSeparator ) : VisitorAction
VisitFieldStart ( FieldStart fieldStart ) : VisitorAction
VisitParagraphEnd ( Paragraph paragraph ) : VisitorAction
VisitRun ( Run run ) : VisitorAction
VisitTableStart ( Table table ) : VisitorAction

비공개 메소드들

메소드 설명
CheckDepthAndRemoveNode ( Node node ) : void

Checks whether the node is inside a field or should be skipped and then removes it if necessary.

FieldsHelper ( FieldType targetFieldType ) : System

메소드 상세

ConvertFieldsToStaticText() 공개 정적인 메소드

Converts any fields of the specified type found in the descendants of the node into static text.
public static ConvertFieldsToStaticText ( CompositeNode compositeNode, FieldType targetFieldType ) : void
compositeNode CompositeNode The node in which all descendants of the specified FieldType will be converted to static text.
targetFieldType FieldType The FieldType of the field to convert to static text.
리턴 void

VisitFieldEnd() 공개 메소드

public VisitFieldEnd ( FieldEnd fieldEnd ) : VisitorAction
fieldEnd FieldEnd
리턴 VisitorAction

VisitFieldSeparator() 공개 메소드

public VisitFieldSeparator ( FieldSeparator fieldSeparator ) : VisitorAction
fieldSeparator FieldSeparator
리턴 VisitorAction

VisitFieldStart() 공개 메소드

public VisitFieldStart ( FieldStart fieldStart ) : VisitorAction
fieldStart FieldStart
리턴 VisitorAction

VisitParagraphEnd() 공개 메소드

public VisitParagraphEnd ( Paragraph paragraph ) : VisitorAction
paragraph Paragraph
리턴 VisitorAction

VisitRun() 공개 메소드

public VisitRun ( Run run ) : VisitorAction
run Run
리턴 VisitorAction

VisitTableStart() 공개 메소드

public VisitTableStart ( Table table ) : VisitorAction
table Table
리턴 VisitorAction