-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnsrrenderrequest.cpp
52 lines (47 loc) · 1.09 KB
/
nsrrenderrequest.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "nsrrenderrequest.h"
#include <QVariant>
NSRRenderRequest::NSRRenderRequest () :
_encoding ("UTF-8"),
_reason (NSR_RENDER_REASON_NONE),
_type (NSR_RENDER_TYPE_PAGE),
_rotation (NSRAbstractDocument::NSR_DOCUMENT_ROTATION_0),
_zoom (0.0),
_screenWidth (0.0),
_number (0),
_autoCrop (false),
_invertColors (false),
_textOnly (false),
_zoomToWidth (false)
{
}
NSRRenderRequest::NSRRenderRequest (int number) :
_encoding ("UTF-8"),
_reason (NSR_RENDER_REASON_NONE),
_type (NSR_RENDER_TYPE_PAGE),
_rotation (NSRAbstractDocument::NSR_DOCUMENT_ROTATION_0),
_zoom (0.0),
_screenWidth (0.0),
_number (number),
_autoCrop (false),
_invertColors (false),
_textOnly (false),
_zoomToWidth (false)
{
}
NSRRenderRequest::NSRRenderRequest (int number, NSRRenderReason reason) :
_encoding ("UTF-8"),
_reason (reason),
_type (NSR_RENDER_TYPE_PAGE),
_rotation (NSRAbstractDocument::NSR_DOCUMENT_ROTATION_0),
_zoom (0.0),
_screenWidth (0.0),
_number (number),
_autoCrop (false),
_invertColors (false),
_textOnly (false),
_zoomToWidth (false)
{
}
NSRRenderRequest::~NSRRenderRequest ()
{
}