10 #ifndef KEYCOLLECTOR_H_INCLUDED
11 #define KEYCOLLECTOR_H_INCLUDED
15 #include <boost/optional.hpp>
36 const boost::optional<KEYPropertyMap> &props,
37 const boost::optional<std::string> &
ident,
const boost::optional<std::string> &parentIdent,
38 bool ref,
bool anonymous) = 0;
40 const boost::optional<KEYPropertyMap> &props,
41 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
42 bool ref,
bool anonymous) = 0;
44 const boost::optional<KEYPropertyMap> &props,
45 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
46 bool ref,
bool anonymous) = 0;
48 const boost::optional<KEYPropertyMap> &props,
49 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
50 bool ref,
bool anonymous) = 0;
52 const boost::optional<KEYPropertyMap> &props,
53 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
54 bool ref,
bool anonymous) = 0;
56 const boost::optional<KEYPropertyMap> &props,
57 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
58 bool ref,
bool anonymous) = 0;
60 const boost::optional<KEYPropertyMap> &props,
61 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
62 bool ref,
bool anonymous) = 0;
64 const boost::optional<KEYPropertyMap> &props,
65 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
66 bool ref,
bool anonymous) = 0;
68 const boost::optional<KEYPropertyMap> &props,
69 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
70 bool ref,
bool anonymous) = 0;
72 const boost::optional<KEYPropertyMap> &props,
73 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
74 bool ref,
bool anonymous) = 0;
76 const boost::optional<KEYPropertyMap> &props,
77 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
78 bool ref,
bool anonymous) = 0;
82 boost::optional<double> &
angle,
91 virtual void collectShape(
const boost::optional<ID_t> &
id) = 0;
96 virtual void collectArrowPath(
const boost::optional<ID_t> &
id,
const KEYSize &size,
double headWidth,
double stemRelYPos,
bool doubleSided) = 0;
97 virtual void collectStarPath(
const boost::optional<ID_t> &
id,
const KEYSize &size,
unsigned points,
double innerRadius) = 0;
99 virtual void collectCalloutPath(
const boost::optional<ID_t> &
id,
const KEYSize &size,
double radius,
double tailSize,
double tailX,
double tailY,
bool quoteBubble) = 0;
101 virtual void collectData(
const boost::optional<ID_t> &
id,
const WPXInputStreamPtr_t &stream,
const boost::optional<std::string> &displayName,
const boost::optional<unsigned> &
type,
bool ref) = 0;
102 virtual void collectUnfiltered(
const boost::optional<ID_t> &
id,
const boost::optional<KEYSize> &size,
bool ref) = 0;
103 virtual void collectFiltered(
const boost::optional<ID_t> &
id,
const boost::optional<KEYSize> &size) = 0;
104 virtual void collectLeveled(
const boost::optional<ID_t> &
id,
const boost::optional<KEYSize> &size) = 0;
107 virtual void collectMedia(
const boost::optional<ID_t> &
id) = 0;
111 virtual void collectLayer(
const boost::optional<ID_t> &
id,
bool ref) = 0;
112 virtual void collectPage(
const boost::optional<ID_t> &
id) = 0;
113 virtual void collectStylesheet(
const boost::optional<ID_t> &
id,
const boost::optional<ID_t> &parent) = 0;
128 virtual void startParagraph(
const boost::optional<ID_t> &style) = 0;
158 #endif // KEYCOLLECTOR_H_INCLUDED