37 friend class AOI_TIFFRenderer;
42 aur::PDF::Instance* mInstance;
43 aur::PDF::Document* mDocument;
44 aur::ACPL::FileSpec* mPDFSpec;
45 SpotColorName* mSpotColorList;
46 aur::ACPL::FileSpec* mImageSpec;
47 bool mUseSimpleRenderer;
52 void Open(
const aur::ACPL::FileSpec& path,
const char* ownerPassword = NULL,
const char* userPassword = NULL );
53 void Open(
const char16_t* path );
54 void CloseFile(
bool keepVM,
bool createDefaults );
55 ExceptionCode ConvertPStoPDF(
const aur::ACPL::FileSpec& pathToPS,
const aur::ACPL::FileSpec& pathToPDF );
56 ExceptionCode SaveAsPDF(
const aur::ACPL::FileSpec& path );
57 uint32_t GetPageCount()
const;
60 AOI_ColorSpacePtr GetDocumentColorSpace()
const;
61 AOI_ColorSpacePtr GetLabColorSpace()
const;
62 AOI_ColorSpacePtr GetDeviceGrayColorSpace()
const;
63 AOI_ColorSpacePtr GetDeviceRGBColorSpace()
const;
64 AOI_ColorSpacePtr GetDeviceCMYKColorSpace()
const;
65 bool BlackAndWhiteDoc()
const;
66 bool FontExists(
bool onlyUsed )
const;
67 SpotColorName* GetSpotColorList();
68 AOI_Object* HitTest(
AOI_Point p, int16_t snapDistance,
bool& stroke, AOI_Color* outColor = NULL );