with GNATCOM.Dispinterface;

package MSHTML.IHTMLDOMTextNode2_Interface is

   type IHTMLDOMTextNode2_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IHTMLDOMTextNode2_Type);

   function Pointer (This : IHTMLDOMTextNode2_Type)
     return Pointer_To_IHTMLDOMTextNode2;

   procedure Attach (This    : in out IHTMLDOMTextNode2_Type;
                     Pointer : in     Pointer_To_IHTMLDOMTextNode2);

   function substringData
     (This           : IHTMLDOMTextNode2_Type;
      offset         : Interfaces.C.long;
      Count          : Interfaces.C.long)
     return GNATCOM.Types.BSTR;

   procedure appendData
     (This       : IHTMLDOMTextNode2_Type;
      bstrstring : GNATCOM.Types.BSTR;
      Free       : Boolean := True);

   procedure insertData
     (This       : IHTMLDOMTextNode2_Type;
      offset     : Interfaces.C.long;
      bstrstring : GNATCOM.Types.BSTR;
      Free       : Boolean := True);

   procedure deleteData
     (This   : IHTMLDOMTextNode2_Type;
      offset : Interfaces.C.long;
      Count  : Interfaces.C.long);

   procedure replaceData
     (This       : IHTMLDOMTextNode2_Type;
      offset     : Interfaces.C.long;
      Count      : Interfaces.C.long;
      bstrstring : GNATCOM.Types.BSTR;
      Free       : Boolean := True);

end MSHTML.IHTMLDOMTextNode2_Interface;

