Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
scdocoutput_ps2.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_PS2_H
8
#define SCDOCOUTPUT_PS2_H
9
10
#include <vector>
11
12
#include <QFile>
13
#include <QTextStream>
14
15
#include "scribusapi.h"
16
#include "scpainterexbase.h"
17
#include "scpageoutput_ps2.h"
18
#include "scdocoutput.h"
19
20
class
ScribusDoc
;
21
class
ScPage
;
22
23
class
SCRIBUS_API
ScDocOutput_Ps2
:
public
ScDocOutput
24
{
25
protected
:
26
27
QFile m_file;
28
QIODevice* m_device;
29
QTextStream m_stream;
30
ScribusDoc
* m_doc;
31
std::vector<int> m_pageNumbers;
32
ScPs2OutputParams
m_options;
33
34
int
m_status;
35
QString m_lastError;
36
37
QString m_author;
38
QString m_creator;
39
QString m_title;
40
41
QRect m_clip;
42
43
virtual
void
begin(
void
);
44
virtual
void
end(
void
);
45
46
virtual
ScPageOutput
* createPageOutputComponent(
int
pageIndex);
47
48
bool
initializeCmsTransforms(
void
);
49
50
public
:
51
ScDocOutput_Ps2
(
ScribusDoc
* doc, QString fileName, std::vector<int>& pageNumbers, QRect& clip,
ScPs2OutputParams
& options);
52
~
ScDocOutput_Ps2
();
53
54
void
setAuthor(
const
QString& author) { m_author = author; }
55
void
setCreateor(
const
QString& creator) { m_creator = creator; }
56
void
setTitle(
const
QString& title) { m_title = title; }
57
58
int
status() {
return
m_status; }
59
QString lastError() {
return
m_lastError; }
60
};
61
62
#endif
ScPage
Definition:
scpage.h:46
ScPs2OutputParams
Definition:
scpainterex_ps2.h:52
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
ScPageOutput
Definition:
scpageoutput.h:53
ScDocOutput
Definition:
scdocoutput.h:18
ScDocOutput_Ps2
Definition:
scdocoutput_ps2.h:23
scribus
scdocoutput_ps2.h
Generated on Tue Sep 29 2015 09:15:10 for Scribus by
1.8.9.1