8 #ifndef PDFCONTROLLER_H
9 #define PDFCONTROLLER_H
11 #include "PdfEngine.h"
15 #include "PdfDocument.h"
33 void set(v8::Handle<v8::Object> obj,
const char key[],
const char* value);
34 void set(v8::Handle<v8::Object> obj,
const char key[],
const int value);
35 void set(v8::Handle<v8::Object> obj,
const char key[],
const double value);
36 void set(v8::Handle<v8::Object> obj,
const char key[],
const bool value);
45 virtual void toJs() = 0;
virtual void toJs()=0
writes state of this object to a JS-Object
virtual void fromJs()=0
reads state of this object from a JS-Object
PdfController()
Constructor for v8.
Definition: PdfController.h:28
void setEngine(PdfEngine *engine)
sets engine which is used for this document
Definition: PdfController.cpp:19
PdfEngine * engine()
engine which is used for this document
Definition: PdfController.cpp:15
Base Class for interaction with a PDF-Engine such as Poppler.
Definition: PdfEngine.h:38
Class representation of a PDF-Controller.
Definition: PdfController.h:23