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;
47 virtual void visit(
TextElement&,
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;
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;
std::shared_ptr< ElementTreeVisitor > ElementTreeVisitorSharedPtr
To be visited by all tree element types.
virtual void visit(HyperlinkElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual void visit(FrameElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual ~ElementTreeVisitor()
virtual void visit(DocumentElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual void visit(PolyPolyElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual void visit(PageElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual void visit(ParagraphElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual void visit(ImageElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0
virtual void visit(TextElement &, const std::list< std::unique_ptr< Element > >::const_iterator &)=0