Scribus
Open source desktop publishing at your fingertips
scdocoutput.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef SCDOCOUTPUT_H
8 #define SCDOCOUTPUT_H
9 
10 #include <vector>
11 
12 #include "scribusapi.h"
13 #include "scribusdoc.h"
14 #include "scpage.h"
15 #include "scpageoutput.h"
16 #include "scpainterexbase.h"
17 
18 class SCRIBUS_API ScDocOutput
19 {
20 protected:
21  ScDocOutput() {}
22 
23  virtual void begin(void) {}
24  virtual void end(void) {}
25 
26  virtual ScPageOutput* createPageOutputComponent(int pageIndex) { return NULL; }
27 
28 public:
29  virtual ~ScDocOutput() {}
30 
31  virtual bool makeOutput(ScribusDoc* doc, std::vector<int>& pageNumbers);
32 };
33 
34 #endif
the Document Class
Definition: scribusdoc.h:90
Definition: scpageoutput.h:53
Definition: scdocoutput.h:18