Discuss this help topic in SecureBlackbox Forum

TElXMLSigner.OnFormatText

TElXMLSigner     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when the Save method is executed.

Declaration

[C#/Java]
    event TSBXMLFormatTextEvent OnFormatText;
    delegate void TSBXMLFormatTextEvent(object Sender, ref string Text, TElXMLTextType TextType, int Level, string Path);

[VB.NET]
    Event OnFormatText As TSBXMLFormatTextEvent
    Delegate Sub TSBXMLFormatTextEvent(ByVal Sender As Object, ByRef Text As String, ByVal TextType As TElXMLTextType, ByVal Level As Integer, ByVal Path As String)

[Pascal]
    property OnFormatText : TSBXMLFormatTextEvent;
    TSBXMLFormatTextEvent = procedure (Sender: TObject; var Text : XMLString; TextType : TElXMLTextType; ByVal Level : integer; ByVal Path : XMLString) of object;

[C++]
    void get_OnFormatText(TSBXMLFormatTextEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFormatText(TSBXMLFormatTextEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBXMLFormatTextEvent)(void * _ObjectData, TObjectHandle Sender, sb_char16_t * pcText, int32_t &szText, TElXMLTextTypeRaw TextType, int32_t Level, const sb_char16_t * pcPath, int32_t szPath);

[PHP]
    TSBXMLFormatTextEvent|callable|NULL get_OnFormatText()
    void set_OnFormatText(TSBXMLFormatTextEvent|callable|NULL $Value)
    callable TSBXMLFormatTextEvent(TObject $Sender, string &$Text, integer $TextType, integer $Level, string $Path)

Parameters

  • Text - XML text being formatted
  • TextType - type of the XML text
  • Level - nesting level of the current XML node
  • Path - path to the element being formatted
  • pcText - XML text being formatted
  • szText - the length of pcText.
  • pcPath - path to the element being formatted
  • szPath - the length of pcPath.

Possible types of XML text:


Description

    This event is fired while the Save method is executed. It shows the XML text which is currently being processed.

See also:     Save     OnFormatElement    

Discuss this help topic in SecureBlackbox Forum