Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tablepainter.h
1
/*
2
Copyright (C) 2011 Elvis Stansvik <elvstone@gmail.com>
3
4
For general Scribus (>=1.3.2) copyright and licensing information please refer
5
to the COPYING file provided with the program. Following this notice may exist
6
a copyright and/or license notice that predates the release of Scribus 1.3.2
7
for which a new license (GPL+exception) is in place.
8
*/
9
#ifndef TABLEPAINTER_H
10
#define TABLEPAINTER_H
11
12
class
PageItem_Table
;
13
class
ScPainter
;
14
21
class
TablePainter
22
{
23
public
:
25
explicit
TablePainter
(
PageItem_Table
*
table
) : m_table(table) {};
26
virtual
~
TablePainter
() {};
27
29
virtual
void
paintTable
(
ScPainter
* p) = 0;
30
32
PageItem_Table
*
table
()
const
{
return
m_table; };
33
34
private
:
35
PageItem_Table
* m_table;
36
};
37
38
#endif // TABLEPAINTER_H
TablePainter
Definition:
tablepainter.h:21
ScPainter
Definition:
scpainter.h:33
TablePainter::table
PageItem_Table * table() const
Returns the table this table painter is configured to paint.
Definition:
tablepainter.h:32
TablePainter::paintTable
virtual void paintTable(ScPainter *p)=0
Paints the table using p.
TablePainter::TablePainter
TablePainter(PageItem_Table *table)
Creates a new table painter configured to paint table.
Definition:
tablepainter.h:25
PageItem_Table
Definition:
pageitem_table.h:49
scribus
tablepainter.h
Generated on Tue Sep 29 2015 09:15:12 for Scribus by
1.8.9.1