/*! ** ** \file ptbLayers.h ** ** \brief callas pdfEngine SDK: Layers actions ** ** \author © 2009-2011 callas software GmbH, Berlin, Germany - www.callassoftware.com ** */ /******************************************************************************/ #if !defined(PTB_LAYERS_H) /*! \def PTB_LAYERS_H header define */ #define PTB_LAYERS_H /******************************************************************************/ #include "ptbTypes.h" #include "ptbProgress.h" /******************************************************************************/ #include "ptbProlog.h" /******************************************************************************* ** Layers */ /*! ** \brief Enumarate layers ** Enumerate the chosen objects on separate layers. ** */ PTB_FUNC_PROTO enum PTB_EError PTB_EnumerateLayers( const PTB_Path_t* src /*!< Document */ , PTB_bool_t spotnames /*!< Creates a layer for each spot color in the PDF */ , PTB_bool_t fontnames /*!< Creates a layer for each font in the PDF */ , PTB_bool_t iccnames /*!< Creates a layer for each ICC profile in the PDF */ , const PTB_Path_t* dest /*!< 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 Import as layer ** Imports the chosen document as a layer in the processed PDF. ** */ PTB_FUNC_PROTO enum PTB_EError PTB_ImportAsLayer( const PTB_Path_t* src /*!< Document */ , const PTB_Path_t* importFile /*!< Full path to a PDF to be imported */ , const PTB_utf8_char_t* layername /*!< Name of the new layer */ , const PTB_Path_t* dest /*!< 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 Layers type */ enum PTB_ELayerType { PTB_eOCG /*!