with GNATCOM.Dispinterface;

package MSHTML.IHTMLDocument4_Object is

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

   procedure focus
     (This : IHTMLDocument4_Type);

   function hasFocus
     (This : IHTMLDocument4_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onselectionchange
     (This : IHTMLDocument4_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onselectionchange
     (This : IHTMLDocument4_Type)
     return GNATCOM.Types.VARIANT;

   function Get_namespaces
     (This : IHTMLDocument4_Type)
     return GNATCOM.Types.VARIANT;

   function createDocumentFromUrl
     (This        : IHTMLDocument4_Type;
      bstrURL     : GNATCOM.Types.VARIANT;
      bstrOptions : GNATCOM.Types.VARIANT;
      Free        : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure Put_media
     (This : IHTMLDocument4_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_media
     (This : IHTMLDocument4_Type)
     return GNATCOM.Types.VARIANT;

   function CreateEventObject
     (This            : IHTMLDocument4_Type;
      pvarEventObject : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True)
     return GNATCOM.Types.VARIANT;

   function FireEvent
     (This            : IHTMLDocument4_Type;
      bstrEventName   : GNATCOM.Types.VARIANT;
      pvarEventObject : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True)
     return GNATCOM.Types.VARIANT;

   function createRenderStyle
     (This : IHTMLDocument4_Type;
      v    : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure Put_oncontrolselect
     (This : IHTMLDocument4_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_oncontrolselect
     (This : IHTMLDocument4_Type)
     return GNATCOM.Types.VARIANT;

   function Get_URLUnencoded
     (This : IHTMLDocument4_Type)
     return GNATCOM.Types.VARIANT;

end MSHTML.IHTMLDocument4_Object;

