unit SttXml_TLB;

// ************************************************************************ //
// WARNING                                                                    
// -------                                                                    
// The types declared in this file were generated from data read from a       
// Type Library. If this type library is explicitly or indirectly (via        
// another type library referring to this type library) re-imported, or the   
// 'Refresh' command of the Type Library Editor activated while editing the   
// Type Library, the contents of this file will be regenerated and all        
// manual modifications will be lost.                                         
// ************************************************************************ //

// PASTLWTR : 1.2
// File generated on 2005/08/31 03:54:07 PM from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\atstest\COM\SttXml.tlb (1)
// LIBID: {7D48D9C2-63C6-3DC1-855D-D2BDED25D423}
// LCID: 0
// Helpfile: 
// HelpString: STT Xml conversion utility.
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
//   (2) v1.10 mscorlib, (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.tlb)
//   (3) v1.10 System_EnterpriseServices, (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.EnterpriseServices.tlb)
//   (4) v1.1 mscoree, (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscoree.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface

uses Windows, ActiveX, Classes, Graphics, mscoree_TLB, mscorlib_TLB, StdVCL, System_EnterpriseServices_TLB, 
Variants;
  

// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:        
//   Type Libraries     : LIBID_xxxx                                      
//   CoClasses          : CLASS_xxxx                                      
//   DISPInterfaces     : DIID_xxxx                                       
//   Non-DISP interfaces: IID_xxxx                                        
// *********************************************************************//
const
  // TypeLibrary Major and minor versions
  SttXmlMajorVersion = 2;
  SttXmlMinorVersion = 4;

  LIBID_SttXml: TGUID = '{7D48D9C2-63C6-3DC1-855D-D2BDED25D423}';

  IID__CDebugger: TGUID = '{978B7CAB-EAD8-3397-AEEF-6365F46B9DD6}';
  IID_ISttXml: TGUID = '{8D72145B-5F3F-462F-968E-A1D0A759A892}';
  IID__CSttXml: TGUID = '{9D895E48-08DA-339A-931A-5DF278920BF1}';
  CLASS_CDebugger: TGUID = '{1BB1F684-7C63-3DBC-B616-C90DF264D126}';
  CLASS_CSttXml: TGUID = '{1E235AF2-6187-31F1-A64E-6384D69B0218}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  _CDebugger = interface;
  _CDebuggerDisp = dispinterface;
  ISttXml = interface;
  ISttXmlDisp = dispinterface;
  _CSttXml = interface;
  _CSttXmlDisp = dispinterface;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
// *********************************************************************//
  CDebugger = _CDebugger;
  CSttXml = _CSttXml;


// *********************************************************************//
// Interface: _CDebugger
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {978B7CAB-EAD8-3397-AEEF-6365F46B9DD6}
// *********************************************************************//
  _CDebugger = interface(IDispatch)
    ['{978B7CAB-EAD8-3397-AEEF-6365F46B9DD6}']
  end;

// *********************************************************************//
// DispIntf:  _CDebuggerDisp
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {978B7CAB-EAD8-3397-AEEF-6365F46B9DD6}
// *********************************************************************//
  _CDebuggerDisp = dispinterface
    ['{978B7CAB-EAD8-3397-AEEF-6365F46B9DD6}']
  end;

// *********************************************************************//
// Interface: ISttXml
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {8D72145B-5F3F-462F-968E-A1D0A759A892}
// *********************************************************************//
  ISttXml = interface(IDispatch)
    ['{8D72145B-5F3F-462F-968E-A1D0A759A892}']
    procedure Initialize; safecall;
    procedure ConvertToHTML(const XmlFile: WideString; const XslFile: WideString; 
                            const HtmlFile: WideString); safecall;
    procedure ConvertToDoc(const XmlFile: WideString; const XslFile: WideString; 
                           const DocFile: WideString); safecall;
    procedure ConvertToPdf(const XmlFile: WideString; const Doc2PdfFile: WideString; 
                           const PdfFile: WideString); safecall;
    procedure ConvertToSV(const XmlFile: WideString; const SVFile: WideString; 
                          const XPath: WideString; const Seperator: WideString); safecall;
    procedure ConvertToXls(const XmlFile: WideString; const XslFile: WideString; 
                           const XlsFile: WideString); safecall;
  end;

// *********************************************************************//
// DispIntf:  ISttXmlDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {8D72145B-5F3F-462F-968E-A1D0A759A892}
// *********************************************************************//
  ISttXmlDisp = dispinterface
    ['{8D72145B-5F3F-462F-968E-A1D0A759A892}']
    procedure Initialize; dispid 1610743808;
    procedure ConvertToHTML(const XmlFile: WideString; const XslFile: WideString; 
                            const HtmlFile: WideString); dispid 1610743809;
    procedure ConvertToDoc(const XmlFile: WideString; const XslFile: WideString; 
                           const DocFile: WideString); dispid 1610743810;
    procedure ConvertToPdf(const XmlFile: WideString; const Doc2PdfFile: WideString; 
                           const PdfFile: WideString); dispid 1610743811;
    procedure ConvertToSV(const XmlFile: WideString; const SVFile: WideString; 
                          const XPath: WideString; const Seperator: WideString); dispid 1610743812;
    procedure ConvertToXls(const XmlFile: WideString; const XslFile: WideString; 
                           const XlsFile: WideString); dispid 1610743813;
  end;

// *********************************************************************//
// Interface: _CSttXml
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9D895E48-08DA-339A-931A-5DF278920BF1}
// *********************************************************************//
  _CSttXml = interface(IDispatch)
    ['{9D895E48-08DA-339A-931A-5DF278920BF1}']
  end;

// *********************************************************************//
// DispIntf:  _CSttXmlDisp
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9D895E48-08DA-339A-931A-5DF278920BF1}
// *********************************************************************//
  _CSttXmlDisp = dispinterface
    ['{9D895E48-08DA-339A-931A-5DF278920BF1}']
  end;

// *********************************************************************//
// The Class CoCDebugger provides a Create and CreateRemote method to          
// create instances of the default interface _CDebugger exposed by              
// the CoClass CDebugger. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoCDebugger = class
    class function Create: _CDebugger;
    class function CreateRemote(const MachineName: string): _CDebugger;
  end;

// *********************************************************************//
// The Class CoCSttXml provides a Create and CreateRemote method to          
// create instances of the default interface _CSttXml exposed by              
// the CoClass CSttXml. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoCSttXml = class
    class function Create: _CSttXml;
    class function CreateRemote(const MachineName: string): _CSttXml;
  end;

implementation

uses ComObj;

class function CoCDebugger.Create: _CDebugger;
begin
  Result := CreateComObject(CLASS_CDebugger) as _CDebugger;
end;

class function CoCDebugger.CreateRemote(const MachineName: string): _CDebugger;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_CDebugger) as _CDebugger;
end;

class function CoCSttXml.Create: _CSttXml;
begin
  Result := CreateComObject(CLASS_CSttXml) as _CSttXml;
end;

class function CoCSttXml.CreateRemote(const MachineName: string): _CSttXml;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_CSttXml) as _CSttXml;
end;

end.
