10 #ifndef KEYCOLLECTOR_H_INCLUDED
11 #define KEYCOLLECTOR_H_INCLUDED
15 #include <boost/optional.hpp>
37 const boost::optional<KEYPropertyMap> &props,
38 const boost::optional<std::string> &
ident,
const boost::optional<std::string> &parentIdent,
39 bool ref,
bool anonymous) = 0;
41 const boost::optional<KEYPropertyMap> &props,
42 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
43 bool ref,
bool anonymous) = 0;
45 const boost::optional<KEYPropertyMap> &props,
46 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
47 bool ref,
bool anonymous) = 0;
49 const boost::optional<KEYPropertyMap> &props,
50 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
51 bool ref,
bool anonymous) = 0;
53 const boost::optional<KEYPropertyMap> &props,
54 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
55 bool ref,
bool anonymous) = 0;
57 const boost::optional<KEYPropertyMap> &props,
58 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
59 bool ref,
bool anonymous) = 0;
61 const boost::optional<KEYPropertyMap> &props,
62 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
63 bool ref,
bool anonymous) = 0;
65 const boost::optional<KEYPropertyMap> &props,
66 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
67 bool ref,
bool anonymous) = 0;
69 const boost::optional<KEYPropertyMap> &props,
70 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
71 bool ref,
bool anonymous) = 0;
73 const boost::optional<KEYPropertyMap> &props,
74 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
75 bool ref,
bool anonymous) = 0;
77 const boost::optional<KEYPropertyMap> &props,
78 const boost::optional<std::string> &ident,
const boost::optional<std::string> &parentIdent,
79 bool ref,
bool anonymous) = 0;
83 boost::optional<KEYPosition> &
position, boost::optional<double> &
angle,
92 virtual void collectShape(
const boost::optional<ID_t> &
id) = 0;
97 virtual void collectArrowPath(
const boost::optional<ID_t> &
id,
const KEYSize &size,
double headWidth,
double stemRelYPos,
bool doubleSided) = 0;
98 virtual void collectStarPath(
const boost::optional<ID_t> &
id,
const KEYSize &size,
unsigned points,
double innerRadius) = 0;
100 virtual void collectCalloutPath(
const boost::optional<ID_t> &
id,
const KEYSize &size,
double radius,
double tailSize,
double tailX,
double tailY,
bool quoteBubble) = 0;
102 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;
103 virtual void collectUnfiltered(
const boost::optional<ID_t> &
id,
const boost::optional<KEYSize> &size,
bool ref) = 0;
104 virtual void collectFiltered(
const boost::optional<ID_t> &
id,
const boost::optional<KEYSize> &size) = 0;
105 virtual void collectLeveled(
const boost::optional<ID_t> &
id,
const boost::optional<KEYSize> &size) = 0;
108 virtual void collectMedia(
const boost::optional<ID_t> &
id) = 0;
112 virtual void collectLayer(
const boost::optional<ID_t> &
id,
bool ref) = 0;
113 virtual void collectPage(
const boost::optional<ID_t> &
id) = 0;
114 virtual void collectStylesheet(
const boost::optional<ID_t> &
id,
const boost::optional<ID_t> &parent) = 0;
139 virtual void startParagraph(
const boost::optional<ID_t> &style) = 0;
169 #endif // KEYCOLLECTOR_H_INCLUDED