node-pdfutils
|
Class representation of a PDF-Controller. More...
#include <PdfDocumentController.h>
Public Member Functions | |
virtual void | toJs () |
writes state of this object to a JS-Object | |
virtual void | fromJs () |
reads state of this object from a JS-Object | |
PdfDocument * | document () |
the document model object | |
void | setDocument (PdfDocument *document) |
sets the document model object | |
![]() | |
PdfEngine * | engine () |
engine which is used for this document | |
void | setEngine (PdfEngine *engine) |
sets engine which is used for this document | |
Static Public Member Functions | |
static void | Init (v8::Handle< v8::Object > exports) |
exports this class to v8 | |
static | NAN_METHOD (New) |
generates new object from v8 | |
static | NAN_METHOD (Load) |
loads pdf document from file | |
static | NAN_METHOD (As) |
creates stream to convert pdf to a specified format | |
Additional Inherited Members | |
![]() | |
PdfController () | |
Constructor for v8. | |
void | set (v8::Handle< v8::Object > obj, const char key[], const char *value) |
void | set (v8::Handle< v8::Object > obj, const char key[], const int value) |
void | set (v8::Handle< v8::Object > obj, const char key[], const double value) |
void | set (v8::Handle< v8::Object > obj, const char key[], const bool value) |
Class representation of a PDF-Controller.
This class should be filled from a PDFEngine