/*! ** ** \file ptbColorsAPDFL.h ** ** \brief callas pdfEngine SDK: Color actions - APDFL interface ** ** \author © 2009-2011 callas software GmbH, Berlin, Germany - www.callassoftware.com ** */ /******************************************************************************/ #if !defined(PTB_COLORS_APDFL_H) /*! \def PTB_COLORS_APDFL_H header define */ #define PTB_COLORS_APDFL_H /******************************************************************************/ #include "ptbTypes.h" #include "ptbProgress.h" /******************************************************************************/ #include "ptbProlog.h" /******************************************************************************/ /* include PRODUCT file for Acrobat library definition. */ #include "HFTLibrary.h" /* needed to define type of PDDoc */ #include "PDBasicExpT.h" /******************************************************************************/ /******************************************************************************* ** Colors */ /*! ** \brief Color Conversion ** Prepares the PDF for the chosen printing condition and carries out the ** necessary color conversion. ** */ //PTB_FUNC_PROTO //enum PTB_EError //PTB_PDDocConvertColors( const PTB_Path_t** cfgFiles /*!< the address of an array of strings describing the filepathes of the config files */ // , PTB_uint32_t cfgFilesCount /*!< indicates the size of the cfgFiles array */ // , PDDoc srcFile /*!< PDF document */ // , const PTB_Path_t* dstFile /*!< Destination path (including file name) */ // , PTB_ProgressCB cbProgress /*!< Progress CB function to be called during processing, might be NULL */ // , void* cbProgressUserData /*!< User data submitted to progress callback function */ // ); /*! ** \brief Extract ICC profiles ** Saves all embedded ICC profiles from the document. Profiles of ICC based ** color spaces as well as ICC profiles used in Output Intents are extracted. ** */ PTB_FUNC_PROTO enum PTB_EError PTB_PDDocExtractICCProfile( PDDoc src /*!< PDF document */ , const PTB_Path_t* destFolder /*!< Default Destination path, can be changed over 'PTB_ICCSaveCB' callback */ , PTB_ICCSaveCB cbIccSave /*!< CB function to save the icc profiles, might be NULL */ , void* cbIccSaveUserData /*!< User data submitted to PTB_ICCSaveCB callback function */ , PTB_ProgressCB cbProgress /*!< Progress CB function to be called during processing, might be NULL */ , void* cbProgressUserData /*!< User data submitted to progress callback function */ ); /*******************************************************************************/ #include "ptbEpilog.h" /******************************************************************************/ #endif /*PTB_COLORS_APDFL_H*/ /******************************************************************************/ /* EOF */