PI Event
Fired when a processing instruction section is encountered.
Syntax
ANSI (Cross Platform) virtual int FirePI(OfficeDocPIEventParams *e);
typedef struct {
const char *Text; int reserved; } OfficeDocPIEventParams; Unicode (Windows) virtual INT FirePI(OfficeDocPIEventParams *e);
typedef struct {
LPCWSTR Text; INT reserved; } OfficeDocPIEventParams;
- (void)onPI:(NSString*)text;
#define EID_OFFICEDOC_PI 12 virtual INT IPWORKSZIP_CALL FirePI(LPSTR &lpszText);
Remarks
The PI event is fired whenever a processing instruction section (<? ..text... ?>) is found in the document.
The full text of the processing instruction is provided by the Text parameter.