SpecialSection Event
Fired when a special section is encountered.
Syntax
ANSI (Cross Platform) virtual int FireSpecialSection(OfficeDocSpecialSectionEventParams *e);
typedef struct {
const char *SectionId;
const char *Text; int reserved; } OfficeDocSpecialSectionEventParams; Unicode (Windows) virtual INT FireSpecialSection(OfficeDocSpecialSectionEventParams *e);
typedef struct {
LPCWSTR SectionId;
LPCWSTR Text; INT reserved; } OfficeDocSpecialSectionEventParams;
- (void)onSpecialSection:(NSString*)sectionId :(NSString*)text;
#define EID_OFFICEDOC_SPECIALSECTION 14 virtual INT IPWORKSZIP_CALL FireSpecialSection(LPSTR &lpszSectionId, LPSTR &lpszText);
Remarks
The SpecialSection event is fired whenever a special section (such as <![ CDATA [ ..text... ]]>) is found in the document.
The full text of the special section is provided by the Text parameter, while the SectionId parameter provides the section identifier (e.g. "CDATA").