5 #ifndef PDFTRON_H_CPPPDFPDFNet
6 #define PDFTRON_H_CPPPDFPDFNet
8 #include <C/PDF/TRN_PDFNet.h>
38 static void Initialize(
const char* license_key = 0);
372 static void SetNumberWriteProc(
char* (*WriteProc) (
double num,
char *in_buf,
int in_buf_size));
382 static void SetNumberReadProc(TRN_Bool (*ReadProc) (
const TRN_UChar *buf,
double *output));
386 typedef enum _LogLevel
389 e_LogLevel_Fatal = 5,
390 e_LogLevel_Error = 4,
391 e_LogLevel_Warning = 3,
393 e_LogLevel_Trace = 1,
398 static void SetLogLevel(LogLevel level = e_LogLevel_Fatal);
403 #include <Impl/PDFNet.inl>
407 #endif // PDFTRON_H_CPPPDFPDFNet
static void SetViewerCache(size_t max_cache_size, bool on_disk)
static void SetDefaultDeviceCMYKProfile(const UString &icc_filename)
static bool IsJavaScriptEnabled()
Can't establish a connection due networking error; Check your connectivity to the internet and firewa...
Server is not responding. If the error persists go to http://www.pdftron.com/kb_cloud_error.
TRN_PDFNetCreateSecurityHandler CreateSecurityHandler
Use Windows ICM2 (available only on Windows platforms).
static void SetDefaultFlateCompressionLevel(int level)
static void SetNumberReadProc(TRN_Bool(*ReadProc)(const TRN_UChar *buf, double *output))
Common::Iterator< SecurityDescriptor > SecurityDescriptorIterator
Use LittleCMS (available on all supported platforms).
Unexpected internal server error. If the error persists go to http://www.pdftron.com/kb_cloud_error.
static bool AddFontSubst(const char *fontname, const UString &fontpath)
static void EnableJavaScript(bool enable)
static void Initialize(const char *license_key=0)
static void SetTempPath(const UString &temp_path)
Credentials provided for authentication are incorrect. Make sure you are subscribed to pay as you go ...
static bool SetResourcesPath(const UString &path)
const char * GetGuiName()
static double GetVersion()
static void SetDefaultDeviceRGBProfile(const UString &icc_filename)
static void SetColorManagement(CMSType t=e_lcms)
static void SetPersistentCachePath(const UString &persistent_path)
CreateSecurityHandler GetCreateFunct()
static void SetDefaultDiskCachingEnabled(bool use_disk)
static SecurityDescriptorIterator GetSecHdlrInfoIterator()
static void RegisterSecurityHandler(const char *handler_name, const char *gui_name, CreateSecurityHandler factory_method)
static PDFNet::CloudErrorCode ConnectToCloud(const char *username, const char *password, bool demo_mode=false)
static void SetNumberWriteProc(char *(*WriteProc)(double num, char *in_buf, int in_buf_size))
Unexpected error. If the error persists go to http://www.pdftron.com/kb_cloud_error.
static UString GetResourcesPath()