with GNATCOM.Dispinterface;

package MSHTML.IPrintManagerTemplatePrinter2_Interface is

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

   procedure Initialize (This : in out IPrintManagerTemplatePrinter2_Type);

   function Pointer (This : IPrintManagerTemplatePrinter2_Type)
     return Pointer_To_IPrintManagerTemplatePrinter2;

   procedure Attach (This    : in out IPrintManagerTemplatePrinter2_Type;
                     Pointer : in     Pointer_To_IPrintManagerTemplatePrinter2);

   procedure startPrint
     (This : IPrintManagerTemplatePrinter2_Type);

   procedure drawPreviewPage
     (This      : IPrintManagerTemplatePrinter2_Type;
      pElemDisp : GNATCOM.Types.Pointer_To_IDispatch;
      nPage     : Interfaces.C.long);

   procedure setPageCount
     (This  : IPrintManagerTemplatePrinter2_Type;
      nPage : Interfaces.C.long);

   procedure invalidatePreview
     (This : IPrintManagerTemplatePrinter2_Type);

   function getPrintTaskOptionValue
     (This    : IPrintManagerTemplatePrinter2_Type;
      bstrKey : GNATCOM.Types.BSTR;
      Free    : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure endPrint
     (This : IPrintManagerTemplatePrinter2_Type);

   function Get_showHeaderFooter
     (This : IPrintManagerTemplatePrinter2_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function Get_shrinkToFit
     (This : IPrintManagerTemplatePrinter2_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function Get_percentScale
     (This : IPrintManagerTemplatePrinter2_Type)
     return Interfaces.C.C_float;

end MSHTML.IPrintManagerTemplatePrinter2_Interface;

