with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.IHTMLCSSStyleDeclaration3_Interface is

   procedure Initialize (This : in out IHTMLCSSStyleDeclaration3_Type) is
   begin
      Set_IID (This, IID_IHTMLCSSStyleDeclaration3);
   end Initialize;

   function Pointer (This : IHTMLCSSStyleDeclaration3_Type)
     return Pointer_To_IHTMLCSSStyleDeclaration3
   is
   begin
      return To_Pointer_To_IHTMLCSSStyleDeclaration3 (Address (This));
   end Pointer;

   procedure Attach (This    : in out IHTMLCSSStyleDeclaration3_Type;
                     Pointer : in     Pointer_To_IHTMLCSSStyleDeclaration3)
   is
   begin
      Attach (This, GNATCOM.IInterface.To_Pointer_To_IUnknown
              (Pointer.all'Address));
   end Attach;

   procedure Put_flex
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flex
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flex;

   function Get_flex
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flex
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flex;

   procedure Put_flexDirection
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flexDirection
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flexDirection;

   function Get_flexDirection
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flexDirection
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flexDirection;

   procedure Put_flexWrap
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flexWrap
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flexWrap;

   function Get_flexWrap
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flexWrap
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flexWrap;

   procedure Put_flexFlow
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flexFlow
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flexFlow;

   function Get_flexFlow
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flexFlow
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flexFlow;

   procedure Put_flexGrow
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flexGrow
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flexGrow;

   function Get_flexGrow
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.VARIANT
   is
       RetVal : aliased GNATCOM.Types.VARIANT;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flexGrow
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flexGrow;

   procedure Put_flexShrink
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flexShrink
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flexShrink;

   function Get_flexShrink
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.VARIANT
   is
       RetVal : aliased GNATCOM.Types.VARIANT;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flexShrink
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flexShrink;

   procedure Put_flexBasis
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_flexBasis
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_flexBasis;

   function Get_flexBasis
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.VARIANT
   is
       RetVal : aliased GNATCOM.Types.VARIANT;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_flexBasis
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_flexBasis;

   procedure Put_justifyContent
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_justifyContent
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_justifyContent;

   function Get_justifyContent
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_justifyContent
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_justifyContent;

   procedure Put_alignItems
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_alignItems
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_alignItems;

   function Get_alignItems
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_alignItems
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_alignItems;

   procedure Put_alignSelf
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_alignSelf
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_alignSelf;

   function Get_alignSelf
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_alignSelf
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_alignSelf;

   procedure Put_alignContent
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_alignContent
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_alignContent;

   function Get_alignContent
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_alignContent
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_alignContent;

   procedure Put_borderImage
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_borderImage
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_borderImage;

   function Get_borderImage
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_borderImage
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_borderImage;

   procedure Put_borderImageSource
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_borderImageSource
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_borderImageSource;

   function Get_borderImageSource
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_borderImageSource
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_borderImageSource;

   procedure Put_borderImageSlice
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_borderImageSlice
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_borderImageSlice;

   function Get_borderImageSlice
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_borderImageSlice
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_borderImageSlice;

   procedure Put_borderImageWidth
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_borderImageWidth
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_borderImageWidth;

   function Get_borderImageWidth
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_borderImageWidth
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_borderImageWidth;

   procedure Put_borderImageOutset
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_borderImageOutset
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_borderImageOutset;

   function Get_borderImageOutset
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_borderImageOutset
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_borderImageOutset;

   procedure Put_borderImageRepeat
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_borderImageRepeat
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_borderImageRepeat;

   function Get_borderImageRepeat
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_borderImageRepeat
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_borderImageRepeat;

   procedure Put_msImeAlign
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_msImeAlign
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_msImeAlign;

   function Get_msImeAlign
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_msImeAlign
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_msImeAlign;

   procedure Put_msTextCombineHorizontal
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_msTextCombineHorizontal
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_msTextCombineHorizontal;

   function Get_msTextCombineHorizontal
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_msTextCombineHorizontal
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_msTextCombineHorizontal;

   procedure Put_touchAction
     (This : IHTMLCSSStyleDeclaration3_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_touchAction
         (Pointer (This),
          p));

      if Free then
               GNATCOM.IInterface.Free (p);
      
      end if;

   end Put_touchAction;

   function Get_touchAction
     (This : IHTMLCSSStyleDeclaration3_Type)
     return GNATCOM.Types.BSTR
   is
       RetVal : aliased GNATCOM.Types.BSTR;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_touchAction
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_touchAction;

end MSHTML.IHTMLCSSStyleDeclaration3_Interface;

