InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TemplateData Class Reference

#include <TemplateData.h>

Public Member Functions

 TemplateData (ConstCString tname)
 
void SetName (ConstCString tname)
 
const char * GetName ()
 
int32 GetNumFields ()
 
void SetIDIndex (int16 idindex)
 
int16 GetIDIndex ()
 
FieldDataMakeField (int16 index)
 
void SetField (int16 index, ConstCString fname, int32 value, bool16 isID=kFalse)
 
void SetField (int16 index, ConstCString fname, double value, bool16 isID=kFalse)
 
void SetField (int16 index, ConstCString fname, PMString &value, bool16 isID=kFalse)
 
void GetField (int16 index, int32 *value)
 
void GetField (int16 index, double *value)
 
void GetField (int16 index, PMString &value)
 
fldType GetFieldType (int16 index)
 
const std::string GetFieldName (int16 index)
 

Detailed Description

FOR INTERNAL USE ONLY. A glue class used by implementations of IRuleable for conveying template data from the KnowledgeBase plug-in to the Eclipse knowledge base subsystem.