20 #ifndef INCLUDED_SDEXT_SOURCE_PDFIMPORT_INC_TREEVISITING_HXX
21 #define INCLUDED_SDEXT_SOURCE_PDFIMPORT_INC_TREEVISITING_HXX
29 struct HyperlinkElement;
31 struct ParagraphElement;
33 struct PolyPolyElement;
36 struct DocumentElement;
46 virtual void visit(
HyperlinkElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
47 virtual void visit(
TextElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
48 virtual void visit(
ParagraphElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
49 virtual void visit(
FrameElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
50 virtual void visit(
PolyPolyElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
51 virtual void visit(
ImageElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
52 virtual void visit(
PageElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
53 virtual void visit(
DocumentElement&,
const std::list< std::unique_ptr<Element> >::const_iterator& ) = 0;
To be visited by all tree element types.
virtual void visit(HyperlinkElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
std::shared_ptr< ElementTreeVisitor > ElementTreeVisitorSharedPtr
virtual ~ElementTreeVisitor()