Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_Instance.h
1/*
2 * AOI_Instance
3 * Copyright (c) 2007 Aurelon BV. All rights reserved.
4 *
5 */
6#pragma once
7
8#include "./AOI_Types.h"
9#include <ACPL/FileSpec.h>
10
11namespace aur { namespace PDF {
12 class Instance;
13}}
14
16
17class AOIAPI AOI_Instance
18{
19 friend class AOI_Document;
20 bool mOwnsInstance;
21 aur::PDF::Instance* mInstance;
22 AOI_Instance( aur::PDF::Instance* );
23public:
24 typedef void (*ErrorCB)( int, int, const char*, void* );
25 typedef bool (*ProgressionCB)( float, void* );
26
29
30 static int Version();
31 static AOI_Instance* Startup( const char* uniqueID, const char* licenseKey, const char* appSignature = NULL );
32 static void Terminate();
33 void SetProgressCallBack( ProgressionCB, void* );
34 void SetErrorCallBack( ErrorCB, void* );
35 bool UseIGOR() const;
36 void SetIGOR( bool );
37 void ResourceDirectory( const aur::ACPL::FileSpec& );
38 void ResourceDirectory( const char16_t* );
39 const aur::ACPL::FileSpec
40 ResourceDirectory();
41 ExceptionCode GetDataDirectory( aur::ACPL::FileSpec& outDirectory );
42 ExceptionCode GetApplicationDirectory( aur::ACPL::FileSpec& outDirectory );
43 float GreekSize() const;
44 void SetGreekSize( float greekSize );
45 void SetFontAntiAliasing( bool useFontAntiAliasing );
46 bool UseFontAntiAliasing() const;
47};
PDF Document.
Instance of the AOI engine.
Color information for CMM callback.