InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IActionDictGenerator Class Referenceabstract

#include <IActionDictGenerator.h>

Inheritance diagram for IActionDictGenerator:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IACTIONDICTGENERATOR }
 

Public Member Functions

virtual CosObj Generate (IPMUnknown *port, const IDFile &exportFile, CosDoc document, IBehaviorData *behaviorData, CosObj field, ActionEvent event) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Base data interface for all behavior bosses Each behavior has an implementation of this interface that has a method to generate PDF for the behavior. Called by IFormsPort to generate PDF for actions.

See Also
MovieActionDictGenerator, IFormsPort

Member Function Documentation

virtual CosObj IActionDictGenerator::Generate (IPMUnknownport,
const IDFileexportFile,
CosDoc document,
IBehaviorDatabehaviorData,
CosObj field,
ActionEvent event 
) const
pure virtual

Generate a CosObj that is an action dictionary

Parameters
portAn IFormsPort, an interface on the IPDFDocPort
exportFileThe PDF file being generated
documentDocument being exported, used to create new dict with PDFLib (cos)
behaviorDataInterface on behavior being generated
Returns
Action dictionary in CosObj form (should least contain keys: /Type ( == /Action), /S ( == /<actionsubtype>)