Comment Event
Fired when a comment section is encountered.
Syntax
ANSI (Cross Platform) virtual int FireComment(OfficeDocCommentEventParams *e);
typedef struct {
const char *Text; int reserved; } OfficeDocCommentEventParams; Unicode (Windows) virtual INT FireComment(OfficeDocCommentEventParams *e);
typedef struct {
LPCWSTR Text; INT reserved; } OfficeDocCommentEventParams;
- (void)onComment:(NSString*)text;
#define EID_OFFICEDOC_COMMENT 3 virtual INT IPWORKSZIP_CALL FireComment(LPSTR &lpszText);
Remarks
The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.
The full text of the comment is provided by the Text parameter.