Main Page
Namespaces
Classes
Files
File List
File Members
ShapeGroupPainter.h
Go to the documentation of this file.
1
#ifndef __SHAPEGROUPPAINTER_H__
2
#define __SHAPEGROUPPAINTER_H__
3
4
#include <libwpd/libwpd.h>
5
6
namespace
libmspub
7
{
8
class
MSPUBCollector;
9
class
ShapeGroup;
10
class
ShapeGroupElementLeaf;
11
class
ShapeGroupVisitor
12
{
13
public
:
14
virtual
void
group
(
ShapeGroup
*
group
) = 0;
15
virtual
void
shape
(
ShapeGroupElementLeaf
*leaf) = 0;
16
virtual
void
endGroup
() = 0;
17
virtual
~ShapeGroupVisitor
() { }
18
};
19
class
ShapeGroupPainter
:
public
ShapeGroupVisitor
20
{
21
MSPUBCollector
*
m_owner
;
22
ShapeGroupPainter
&
operator=
(
const
ShapeGroupPainter
&);
23
ShapeGroupPainter
(
const
ShapeGroupPainter
&);
24
public
:
25
ShapeGroupPainter
(
MSPUBCollector
*owner) :
m_owner
(owner)
26
{
27
}
28
void
group
(
ShapeGroup
*
group
);
29
void
shape
(
ShapeGroupElementLeaf
*leaf);
30
void
endGroup
();
31
};
32
}
33
#endif
34
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Generated for libmspub by
doxygen
1.8.1.2