node-pdfutils
Public Member Functions | Static Public Member Functions | List of all members
PdfDocumentController Class Reference

Class representation of a PDF-Controller. More...

#include <PdfDocumentController.h>

Inheritance diagram for PdfDocumentController:
PdfController

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
 
PdfDocumentdocument ()
 the document model object
 
void setDocument (PdfDocument *document)
 sets the document model object
 
- Public Member Functions inherited from PdfController
PdfEngineengine ()
 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

- Protected Member Functions inherited from PdfController
 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)
 

Detailed Description

Class representation of a PDF-Controller.

This class should be filled from a PDFEngine


The documentation for this class was generated from the following files: