with GNATCOM.Dispinterface;

package MSHTML.IPrintManagerTemplatePrinter_Interface is

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

   procedure Initialize (This : in out IPrintManagerTemplatePrinter_Type);

   function Pointer (This : IPrintManagerTemplatePrinter_Type)
     return Pointer_To_IPrintManagerTemplatePrinter;

   procedure Attach (This    : in out IPrintManagerTemplatePrinter_Type;
                     Pointer : in     Pointer_To_IPrintManagerTemplatePrinter);

   procedure startPrint
     (This : IPrintManagerTemplatePrinter_Type);

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

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

   procedure invalidatePreview
     (This : IPrintManagerTemplatePrinter_Type);

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

   procedure endPrint
     (This : IPrintManagerTemplatePrinter_Type);

end MSHTML.IPrintManagerTemplatePrinter_Interface;

