with GNATCOM.Dispinterface;

package MSHTML.IHTMLElement3_Interface is

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

   procedure Initialize (This : in out IHTMLElement3_Type);

   function Pointer (This : IHTMLElement3_Type)
     return Pointer_To_IHTMLElement3;

   procedure Attach (This    : in out IHTMLElement3_Type;
                     Pointer : in     Pointer_To_IHTMLElement3);

   procedure mergeAttributes
     (This      : IHTMLElement3_Type;
      mergeThis : Pointer_To_IHTMLElement;
      pvarFlags : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING);

   function Get_isMultiLine
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function Get_canHaveHTML
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure Put_onlayoutcomplete
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onlayoutcomplete
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onpage
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onpage
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_inflateBlock
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT_BOOL);

   function Get_inflateBlock
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure Put_onbeforedeactivate
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onbeforedeactivate
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure setActive
     (This : IHTMLElement3_Type);

   procedure Put_contentEditable
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   function Get_contentEditable
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.BSTR;

   function Get_isContentEditable
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure Put_hideFocus
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT_BOOL);

   function Get_hideFocus
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure Put_disabled
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT_BOOL);

   function Get_disabled
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function Get_isDisabled
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure Put_onmove
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onmove
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_oncontrolselect
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

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

   function FireEvent
     (This            : IHTMLElement3_Type;
      bstrEventName   : GNATCOM.Types.BSTR;
      pvarEventObject : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free            : Boolean := True)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure Put_onresizestart
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onresizestart
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onresizeend
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onresizeend
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onmovestart
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onmovestart
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onmoveend
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onmoveend
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onmouseenter
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onmouseenter
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onmouseleave
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onmouseleave
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onactivate
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onactivate
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_ondeactivate
     (This : IHTMLElement3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_ondeactivate
     (This : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT;

   function dragDrop
     (This  : IHTMLElement3_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function Get_glyphMode
     (This : IHTMLElement3_Type)
     return Interfaces.C.long;

end MSHTML.IHTMLElement3_Interface;

