C# Класс ApiExamples.ExFont.RemoveHiddenContentVisitor

This class when executed will remove all hidden content from the Document. Implemented as a Visitor.
Наследование: DocumentVisitor
Показать файл Открыть проект

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

Метод Описание
VisitCellEnd ( Cell cell ) : VisitorAction

Called when visiting of a Cell node is ended in the document.

VisitCommentStart ( Comment comment ) : VisitorAction

Called when a Comment is encountered in the document.

VisitFieldEnd ( FieldEnd fieldEnd ) : VisitorAction

Called when a FieldEnd node is encountered in the document.

VisitFieldSeparator ( FieldSeparator fieldSeparator ) : VisitorAction

Called when a FieldSeparator node is encountered in the document.

VisitFieldStart ( FieldStart fieldStart ) : VisitorAction

Called when a FieldStart node is encountered in the document.

VisitFootnoteStart ( Footnote footnote ) : VisitorAction

Called when a Footnote is encountered in the document.

VisitFormField ( FormField field ) : VisitorAction

Called when a FormField is encountered in the document.

VisitGroupShapeStart ( GroupShape groupShape ) : VisitorAction

Called when a GroupShape is encountered in the document.

VisitParagraphStart ( Paragraph paragraph ) : VisitorAction

Called when a Paragraph node is encountered in the document.

VisitRowEnd ( Row row ) : VisitorAction

Called when visiting of a Row node is ended in the document.

VisitRun ( Run run ) : VisitorAction

Called when a Run node is encountered in the document.

VisitShapeStart ( Shape shape ) : VisitorAction

Called when a Shape is encountered in the document.

VisitSpecialChar ( SpecialChar character ) : VisitorAction

Called when a SpecialCharacter is encountered in the document.

VisitTableEnd ( Table table ) : VisitorAction

Called when visiting of a Table node is ended in the document.

Приватные методы

Метод Описание
isHidden ( Node node ) : bool

Returns true if the node passed is set as hidden, returns false if it is visible.

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

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

Called when visiting of a Cell node is ended in the document.
public VisitCellEnd ( Cell cell ) : VisitorAction
cell Cell
Результат VisitorAction

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

Called when a Comment is encountered in the document.
public VisitCommentStart ( Comment comment ) : VisitorAction
comment Comment
Результат VisitorAction

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

Called when a FieldEnd node is encountered in the document.
public VisitFieldEnd ( FieldEnd fieldEnd ) : VisitorAction
fieldEnd FieldEnd
Результат VisitorAction

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

Called when a FieldSeparator node is encountered in the document.
public VisitFieldSeparator ( FieldSeparator fieldSeparator ) : VisitorAction
fieldSeparator FieldSeparator
Результат VisitorAction

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

Called when a FieldStart node is encountered in the document.
public VisitFieldStart ( FieldStart fieldStart ) : VisitorAction
fieldStart FieldStart
Результат VisitorAction

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

Called when a Footnote is encountered in the document.
public VisitFootnoteStart ( Footnote footnote ) : VisitorAction
footnote Footnote
Результат VisitorAction

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

Called when a FormField is encountered in the document.
public VisitFormField ( FormField field ) : VisitorAction
field FormField
Результат VisitorAction

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

Called when a GroupShape is encountered in the document.
public VisitGroupShapeStart ( GroupShape groupShape ) : VisitorAction
groupShape GroupShape
Результат VisitorAction

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

Called when a Paragraph node is encountered in the document.
public VisitParagraphStart ( Paragraph paragraph ) : VisitorAction
paragraph Paragraph
Результат VisitorAction

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

Called when visiting of a Row node is ended in the document.
public VisitRowEnd ( Row row ) : VisitorAction
row Row
Результат VisitorAction

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

Called when a Run node is encountered in the document.
public VisitRun ( Run run ) : VisitorAction
run Run
Результат VisitorAction

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

Called when a Shape is encountered in the document.
public VisitShapeStart ( Shape shape ) : VisitorAction
shape Shape
Результат VisitorAction

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

Called when a SpecialCharacter is encountered in the document.
public VisitSpecialChar ( SpecialChar character ) : VisitorAction
character SpecialChar
Результат VisitorAction

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

Called when visiting of a Table node is ended in the document.
public VisitTableEnd ( Table table ) : VisitorAction
table Table
Результат VisitorAction