C# Class ApiExamples.ExFont.RemoveHiddenContentVisitor

This class when executed will remove all hidden content from the Document. Implemented as a Visitor.
Inheritance: DocumentVisitor
Afficher le fichier Open project: aspose-words/Aspose.Words-for-.NET

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
isHidden ( Node node ) : bool

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

Method Details

VisitCellEnd() public méthode

Called when visiting of a Cell node is ended in the document.
public VisitCellEnd ( Cell cell ) : VisitorAction
cell Cell
Résultat VisitorAction

VisitCommentStart() public méthode

Called when a Comment is encountered in the document.
public VisitCommentStart ( Comment comment ) : VisitorAction
comment Comment
Résultat VisitorAction

VisitFieldEnd() public méthode

Called when a FieldEnd node is encountered in the document.
public VisitFieldEnd ( FieldEnd fieldEnd ) : VisitorAction
fieldEnd FieldEnd
Résultat VisitorAction

VisitFieldSeparator() public méthode

Called when a FieldSeparator node is encountered in the document.
public VisitFieldSeparator ( FieldSeparator fieldSeparator ) : VisitorAction
fieldSeparator FieldSeparator
Résultat VisitorAction

VisitFieldStart() public méthode

Called when a FieldStart node is encountered in the document.
public VisitFieldStart ( FieldStart fieldStart ) : VisitorAction
fieldStart FieldStart
Résultat VisitorAction

VisitFootnoteStart() public méthode

Called when a Footnote is encountered in the document.
public VisitFootnoteStart ( Footnote footnote ) : VisitorAction
footnote Footnote
Résultat VisitorAction

VisitFormField() public méthode

Called when a FormField is encountered in the document.
public VisitFormField ( FormField field ) : VisitorAction
field FormField
Résultat VisitorAction

VisitGroupShapeStart() public méthode

Called when a GroupShape is encountered in the document.
public VisitGroupShapeStart ( GroupShape groupShape ) : VisitorAction
groupShape GroupShape
Résultat VisitorAction

VisitParagraphStart() public méthode

Called when a Paragraph node is encountered in the document.
public VisitParagraphStart ( Paragraph paragraph ) : VisitorAction
paragraph Paragraph
Résultat VisitorAction

VisitRowEnd() public méthode

Called when visiting of a Row node is ended in the document.
public VisitRowEnd ( Row row ) : VisitorAction
row Row
Résultat VisitorAction

VisitRun() public méthode

Called when a Run node is encountered in the document.
public VisitRun ( Run run ) : VisitorAction
run Run
Résultat VisitorAction

VisitShapeStart() public méthode

Called when a Shape is encountered in the document.
public VisitShapeStart ( Shape shape ) : VisitorAction
shape Shape
Résultat VisitorAction

VisitSpecialChar() public méthode

Called when a SpecialCharacter is encountered in the document.
public VisitSpecialChar ( SpecialChar character ) : VisitorAction
character SpecialChar
Résultat VisitorAction

VisitTableEnd() public méthode

Called when visiting of a Table node is ended in the document.
public VisitTableEnd ( Table table ) : VisitorAction
table Table
Résultat VisitorAction