Subversion Repositories Scribus

Rev

Rev 23210 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10042 jghali 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"
16729 fschmid 14
#include "scpage.h"
16736 jghali 15
#include "scpageoutput.h"
10042 jghali 16
#include "scpainterexbase.h"
17
 
18
class SCRIBUS_API ScDocOutput
19
{
20
protected:
23210 craig 21
        ScDocOutput() = default;
10042 jghali 22
 
21999 jghali 23
        virtual bool begin(void) { return true; }
10082 craig 24
        virtual void end(void) {}
10042 jghali 25
 
22607 craig 26
        virtual ScPageOutput* createPageOutputComponent(int pageIndex) { return nullptr; }
10042 jghali 27
 
28
public:
23215 jghali 29
        virtual ~ScDocOutput() = default;
10042 jghali 30
 
23215 jghali 31
        virtual bool makeOutput(ScribusDoc* doc, const std::vector<int>& pageNumbers);
10042 jghali 32
};
33
 
34
#endif