FormatText Event
Reports XML text that is currently being processed.
Syntax
ANSI (Cross Platform) virtual int FireFormatText(SOAPQuickSignerFormatTextEventParams *e);
typedef struct {
char *Text;
int TextType;
int Level;
const char *Path; int reserved; } SOAPQuickSignerFormatTextEventParams; Unicode (Windows) virtual INT FireFormatText(SOAPQuickSignerFormatTextEventParams *e);
typedef struct {
LPWSTR Text;
INT TextType;
INT Level;
LPCWSTR Path; INT reserved; } SOAPQuickSignerFormatTextEventParams;
- (void)onFormatText:(NSString**)text :(int)textType :(int)level :(NSString*)path;
#define EID_SOAPQUICKSIGNER_FORMATTEXT 4 virtual INT SECUREBLACKBOX_CALL FireFormatText(LPSTR &lpszText, INT &iTextType, INT &iLevel, LPSTR &lpszPath);
Remarks
TextType parameter specifies the type of the XML text (normal or Base64-encoded) that is stored in the element; Path and Level specify the path to the XML element and its nesting level.
Among other purposes, this event may be used to add whitespace formatting before or after a particular element in the signature.