with GNATCOM.Dispinterface;

package MSHTML.IHTMLDOMTextNode3_Interface is

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

   procedure Initialize (This : in out IHTMLDOMTextNode3_Type);

   function Pointer (This : IHTMLDOMTextNode3_Type)
     return Pointer_To_IHTMLDOMTextNode3;

   procedure Attach (This    : in out IHTMLDOMTextNode3_Type;
                     Pointer : in     Pointer_To_IHTMLDOMTextNode3);

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

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

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

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

   function splitText
     (This     : IHTMLDOMTextNode3_Type;
      offset   : Interfaces.C.long)
     return Pointer_To_IHTMLDOMNode;

   function Get_wholeText
     (This : IHTMLDOMTextNode3_Type)
     return GNATCOM.Types.BSTR;

   function replaceWholeText
     (This      : IHTMLDOMTextNode3_Type;
      bstrText  : GNATCOM.Types.BSTR;
      Free      : Boolean := True)
     return Pointer_To_IHTMLDOMNode;

   function hasAttributes
     (This            : IHTMLDOMTextNode3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure normalize
     (This : IHTMLDOMTextNode3_Type);

end MSHTML.IHTMLDOMTextNode3_Interface;

