1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | #pragma once
|
21 |
|
22 | #include "nodes.h"
|
23 |
|
24 | #include "PDFDictionary.h"
|
25 | #include "PDFObjectCast.h"
|
26 | #include "PDFRectangle.h"
|
27 |
|
28 | class PDFPageInput;
|
29 | class ConstructorsHolder;
|
30 |
|
31 | class PDFPageInputDriver : public node::ObjectWrap
|
32 | {
|
33 | public:
|
34 | PDFPageInputDriver();
|
35 | virtual ~PDFPageInputDriver();
|
36 |
|
37 | DEC_SUBORDINATE_INIT(Init)
|
38 |
|
39 | PDFPageInput* PageInput;
|
40 | PDFObjectCastPtr<PDFDictionary> PageInputDictionary;
|
41 |
|
42 | ConstructorsHolder* holder;
|
43 | private:
|
44 |
|
45 | static METHOD_RETURN_TYPE New(const ARGS_TYPE& args);
|
46 | static METHOD_RETURN_TYPE GetDictionary(const ARGS_TYPE& args);
|
47 | static METHOD_RETURN_TYPE GetMediaBox(const ARGS_TYPE& args);
|
48 | static METHOD_RETURN_TYPE GetCropBox(const ARGS_TYPE& args);
|
49 | static METHOD_RETURN_TYPE GetTrimBox(const ARGS_TYPE& args);
|
50 | static METHOD_RETURN_TYPE GetBleedBox(const ARGS_TYPE& args);
|
51 | static METHOD_RETURN_TYPE GetArtBox(const ARGS_TYPE& args);
|
52 | static METHOD_RETURN_TYPE GetRotate(const ARGS_TYPE& args);
|
53 |
|
54 | static v8::Local<v8::Value> GetArrayForPDFRectangle(const PDFRectangle& inRectangle);
|
55 |
|
56 | }; |
\ | No newline at end of file |