EvalEntity Event
Fired every time an entity needs to be evaluated.
Syntax
ANSI (Cross Platform) virtual int FireEvalEntity(OfficeDocEvalEntityEventParams *e);
typedef struct {
const char *Entity;
char *Value; int reserved; } OfficeDocEvalEntityEventParams; Unicode (Windows) virtual INT FireEvalEntity(OfficeDocEvalEntityEventParams *e);
typedef struct {
LPCWSTR Entity;
LPWSTR Value; INT reserved; } OfficeDocEvalEntityEventParams;
- (void)onEvalEntity:(NSString*)entity :(NSString**)value;
#define EID_OFFICEDOC_EVALENTITY 8 virtual INT IPWORKSZIP_CALL FireEvalEntity(LPSTR &lpszEntity, LPSTR &lpszValue);
Remarks
The Value parameter contains a suggested value for the entity (normally the entity name itself). You may set Value to a value of your choice, which will be later passed into the text stream.