⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 craxddrt.tlh

📁 一个很好用的报表控件
💻 TLH
📖 第 1 页 / 共 5 页
字号:
_COM_SMARTPTR_TYPEDEF(IDArea, __uuidof(IDArea));
_COM_SMARTPTR_TYPEDEF(IDSection, __uuidof(IDSection));
_COM_SMARTPTR_TYPEDEF(ISectionEvent, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(IDFieldObject, __uuidof(IDFieldObject));
_COM_SMARTPTR_TYPEDEF(IDReportObject, __uuidof(IDReportObject));
_COM_SMARTPTR_TYPEDEF(IDTextObject, __uuidof(IDTextObject));
_COM_SMARTPTR_TYPEDEF(IDSubreportObject, __uuidof(IDSubreportObject));
_COM_SMARTPTR_TYPEDEF(IDDatabaseFieldDefinition, __uuidof(IDDatabaseFieldDefinition));
_COM_SMARTPTR_TYPEDEF(IDFormulaFieldDefinition, __uuidof(IDFormulaFieldDefinition));
_COM_SMARTPTR_TYPEDEF(IDParameterFieldDefinition, __uuidof(IDParameterFieldDefinition));
_COM_SMARTPTR_TYPEDEF(ISpecialVarFieldDefinition, __uuidof(ISpecialVarFieldDefinition));
_COM_SMARTPTR_TYPEDEF(IDRunningTotalFieldDefinition, __uuidof(IDRunningTotalFieldDefinition));
_COM_SMARTPTR_TYPEDEF(IDSQLExpressionFieldDefinition, __uuidof(IDSQLExpressionFieldDefinition));
_COM_SMARTPTR_TYPEDEF(IDGraphObject, __uuidof(IDGraphObject));
_COM_SMARTPTR_TYPEDEF(IMapObject, __uuidof(IMapObject));
_COM_SMARTPTR_TYPEDEF(IOlapGridObject, __uuidof(IOlapGridObject));
_COM_SMARTPTR_TYPEDEF(IDCrossTabObject, __uuidof(IDCrossTabObject));
_COM_SMARTPTR_TYPEDEF(IFormattingInfo, __uuidof(IFormattingInfo));
_COM_SMARTPTR_TYPEDEF(IFieldMappingData, __uuidof(IFieldMappingData));
_COM_SMARTPTR_TYPEDEF(IParameterValue, __uuidof(IParameterValue));
_COM_SMARTPTR_TYPEDEF(IParameterValues, __uuidof(IParameterValues));
_COM_SMARTPTR_TYPEDEF(IParameterValueInfo, __uuidof(IParameterValueInfo));
_COM_SMARTPTR_TYPEDEF(IParameterValueInfos, __uuidof(IParameterValueInfos));
_COM_SMARTPTR_TYPEDEF(ICrystalReportSourceEx, __uuidof(ICrystalReportSourceEx));
_COM_SMARTPTR_TYPEDEF(ICrystalReportSourceEx2, __uuidof(ICrystalReportSourceEx2));

//
// Type library items
//

struct __declspec(uuid("846b7490-93de-11d4-8c9f-00a0c9b7e1c1"))
Report;
    // [ default ] interface IReport
    // interface IDReport
    // [ default, source ] dispinterface IReportEvent

struct __declspec(uuid("0bac5962-44c9-11d1-abec-00a0c9274b91"))
IReport : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetNeedUpdatePages))
    VARIANT_BOOL NeedUpdatePages;
    __declspec(property(get=GetReportTitle,put=PutReportTitle))
    _bstr_t ReportTitle;
    __declspec(property(get=GetReportSubject,put=PutReportSubject))
    _bstr_t ReportSubject;
    __declspec(property(get=GetReportAuthor,put=PutReportAuthor))
    _bstr_t ReportAuthor;
    __declspec(property(get=GetReportComments,put=PutReportComments))
    _bstr_t ReportComments;
    __declspec(property(get=GetReportTemplate,put=PutReportTemplate))
    _bstr_t ReportTemplate;
    __declspec(property(get=GetKeywordsInReport,put=PutKeywordsInReport))
    _bstr_t KeywordsInReport;
    __declspec(property(get=GetApplicationName,put=PutApplicationName))
    _bstr_t ApplicationName;
    __declspec(property(get=GetEnableAsyncQuery,put=PutEnableAsyncQuery))
    VARIANT_BOOL EnableAsyncQuery;
    __declspec(property(get=GetEnableGeneratingDataForHiddenObject,put=PutEnableGeneratingDataForHiddenObject))
    VARIANT_BOOL EnableGeneratingDataForHiddenObject;
    __declspec(property(get=GetRunningTotalFields))
    IRunningTotalFieldDefinitionsPtr RunningTotalFields;
    __declspec(property(get=GetPerformGroupingOnServer,put=PutPerformGroupingOnServer))
    VARIANT_BOOL PerformGroupingOnServer;
    __declspec(property(get=GetCanPerformGroupingOnServer))
    VARIANT_BOOL CanPerformGroupingOnServer;
    __declspec(property(get=GetSQLQueryString,put=PutSQLQueryString))
    _bstr_t SQLQueryString;
    __declspec(property(get=GetSQLExpressionFields))
    ISQLExpressionFieldDefinitionsPtr SQLExpressionFields;
    __declspec(property(get=GetPageEngine))
    IPageEnginePtr PageEngine;
    __declspec(property(get=GetEnablePerformQueriesAsynchronously,put=PutEnablePerformQueriesAsynchronously))
    VARIANT_BOOL EnablePerformQueriesAsynchronously;
    __declspec(property(get=GetEnableSelectDistinctRecords,put=PutEnableSelectDistinctRecords))
    VARIANT_BOOL EnableSelectDistinctRecords;
    __declspec(property(get=GetReportFormatStyle,put=PutReportFormatStyle))
    enum CRReportFormatStyle ReportFormatStyle;
    __declspec(property(get=GetPrinterDuplex,put=PutPrinterDuplex))
    enum CRPrinterDuplexType PrinterDuplex;
    __declspec(property(get=GetPaperSource,put=PutPaperSource))
    enum CRPaperSource PaperSource;
    __declspec(property(get=GetExportOptions))
    IExportOptionsPtr ExportOptions;
    __declspec(property(get=GetSavePreviewPicture,put=PutSavePreviewPicture))
    VARIANT_BOOL SavePreviewPicture;
    __declspec(property(get=GetFieldMappingType,put=PutFieldMappingType))
    enum CRFieldMappingType FieldMappingType;
    __declspec(property(get=GetGroupSortFields))
    ISortFieldsPtr GroupSortFields;
    __declspec(property(get=GetAreas))
    IAreasPtr Areas;
    __declspec(property(get=GetSections))
    ISectionsPtr Sections;
    __declspec(property(get=GetPrintDate,put=PutPrintDate))
    DATE PrintDate;
    __declspec(property(get=GetUseIndexForSpeed,put=PutUseIndexForSpeed))
    VARIANT_BOOL UseIndexForSpeed;
    __declspec(property(get=GetTranslateDosStrings,put=PutTranslateDosStrings))
    VARIANT_BOOL TranslateDosStrings;
    __declspec(property(get=GetTranslateDosMemos,put=PutTranslateDosMemos))
    VARIANT_BOOL TranslateDosMemos;
    __declspec(property(get=GetConvertDateTimeType,put=PutConvertDateTimeType))
    enum CRConvertDateTimeType ConvertDateTimeType;
    __declspec(property(get=GetConvertNullFieldToDefault,put=PutConvertNullFieldToDefault))
    VARIANT_BOOL ConvertNullFieldToDefault;
    __declspec(property(get=GetCaseInsensitiveSQLData,put=PutCaseInsensitiveSQLData))
    VARIANT_BOOL CaseInsensitiveSQLData;
    __declspec(property(get=GetVerifyOnEveryPrint,put=PutVerifyOnEveryPrint))
    VARIANT_BOOL VerifyOnEveryPrint;
    __declspec(property(get=GetDatabase))
    IDatabasePtr Database;
    __declspec(property(get=GetPrinterName))
    _bstr_t PrinterName;
    __declspec(property(get=GetDriverName))
    _bstr_t DriverName;
    __declspec(property(get=GetPortName))
    _bstr_t PortName;
    __declspec(property(get=GetPaperOrientation,put=PutPaperOrientation))
    enum CRPaperOrientation PaperOrientation;
    __declspec(property(get=GetPaperSize,put=PutPaperSize))
    enum CRPaperSize PaperSize;
    __declspec(property(get=GetApplication))
    IApplicationPtr Application;
    __declspec(property(get=GetFormulaFields))
    IFormulaFieldDefinitionsPtr FormulaFields;
    __declspec(property(get=GetParameterFields))
    IParameterFieldDefinitionsPtr ParameterFields;
    __declspec(property(get=GetGroupNameFields))
    IGroupNameFieldDefinitionsPtr GroupNameFields;
    __declspec(property(get=GetReportAlerts))
    IReportAlertsPtr ReportAlerts;
    __declspec(property(get=GetEnableParameterPrompting,put=PutEnableParameterPrompting))
    VARIANT_BOOL EnableParameterPrompting;
    __declspec(property(get=GetDisplayProgressDialog,put=PutDisplayProgressDialog))
    VARIANT_BOOL DisplayProgressDialog;
    __declspec(property(get=GetRecordSelectionFormula,put=PutRecordSelectionFormula))
    _bstr_t RecordSelectionFormula;
    __declspec(property(get=GetGroupSelectionFormula,put=PutGroupSelectionFormula))
    _bstr_t GroupSelectionFormula;
    __declspec(property(get=GetRecordSortFields))
    ISortFieldsPtr RecordSortFields;
    __declspec(property(get=GetFormulaSyntax,put=PutFormulaSyntax))
    enum CRFormulaSyntax FormulaSyntax;
    __declspec(property(get=GetLastGetFormulaSyntax))
    enum CRFormulaSyntax LastGetFormulaSyntax;
    __declspec(property(get=GetSummaryFields))
    ISummaryFieldDefinitionsPtr SummaryFields;
    __declspec(property(get=GetParent))
    IReportPtr Parent;
    __declspec(property(get=GetKind))
    enum CRReportKind Kind;
    __declspec(property(get=GetNumberOfGroup))
    long NumberOfGroup;
    __declspec(property(get=GetMorePrintEngineErrorMessages,put=PutMorePrintEngineErrorMessages))
    VARIANT_BOOL MorePrintEngineErrorMessages;
    __declspec(property(get=GetHasSavedData))
    VARIANT_BOOL HasSavedData;
    __declspec(property(get=GetLeftMargin,put=PutLeftMargin))
    long LeftMargin;
    __declspec(property(get=GetRightMargin,put=PutRightMargin))
    long RightMargin;
    __declspec(property(get=GetTopMargin,put=PutTopMargin))
    long TopMargin;
    __declspec(property(get=GetBottomMargin,put=PutBottomMargin))
    long BottomMargin;
    __declspec(property(get=GetPrintingStatus))
    IPrintingStatusPtr PrintingStatus;

    //
    // Wrapper methods for error-handling
    //

    IAreasPtr GetAreas ( );
    ISectionsPtr GetSections ( );
    DATE GetPrintDate ( );
    void PutPrintDate (
        DATE pDate );
    VARIANT_BOOL GetUseIndexForSpeed ( );
    void PutUseIndexForSpeed (
        VARIANT_BOOL pBool );
    VARIANT_BOOL GetTranslateDosStrings ( );
    void PutTranslateDosStrings (
        VARIANT_BOOL pBool );
    VARIANT_BOOL GetTranslateDosMemos ( );
    void PutTranslateDosMemos (
        VARIANT_BOOL pBool );
    enum CRConvertDateTimeType GetConvertDateTimeType ( );
    void PutConvertDateTimeType (
        enum CRConvertDateTimeType pDateTimeType );
    VARIANT_BOOL GetConvertNullFieldToDefault ( );
    void PutConvertNullFieldToDefault (
        VARIANT_BOOL pBool );
    VARIANT_BOOL GetCaseInsensitiveSQLData ( );
    void PutCaseInsensitiveSQLData (
        VARIANT_BOOL pBool );
    VARIANT_BOOL GetVerifyOnEveryPrint ( );
    void PutVerifyOnEveryPrint (
        VARIANT_BOOL pBool );
    IDatabasePtr GetDatabase ( );
    _bstr_t GetPrinterName ( );
    _bstr_t GetDriverName ( );
    _bstr_t GetPortName ( );
    enum CRPaperOrientation GetPaperOrientation ( );
    void PutPaperOrientation (
        enum CRPaperOrientation pPaperOrientation );
    enum CRPaperSize GetPaperSize ( );
    void PutPaperSize (
        enum CRPaperSize pPaperSize );
    HRESULT Save (
        _bstr_t pReportFileName );
    HRESULT PrintOut (
        const _variant_t & promptUser = vtMissing,
        const _variant_t & numberOfCopy = vtMissing,
        const _variant_t & collated = vtMissing,
        const _variant_t & startPageN = vtMissing,
        const _variant_t & stopPageN = vtMissing );
    HRESULT SelectPrinter (
        _bstr_t pDriverName,
        _bstr_t pPrinterName,
        _bstr_t pPortName );
    IFormulaFieldDefinitionsPtr GetFormulaFields ( );
    IParameterFieldDefinitionsPtr GetParameterFields ( );
    IGroupNameFieldDefinitionsPtr GetGroupNameFields ( );
    ISummaryFieldDefinitionsPtr GetSummaryFields ( );
    enum CRReportKind GetKind ( );
    IReportPtr GetParent ( );
    long GetNumberOfGroup ( );
    VARIANT_BOOL GetMorePrintEngineErrorMessages ( );
    void PutMorePrintEngineErrorMessages (
        VARIANT_BOOL pBool );
    long GetLeftMargin ( );
    void PutLeftMargin (
        long pLeftMargin );
    long GetRightMargin ( );
    void PutRightMargin (
        long pRightMargin );
    long GetTopMargin ( );
    void PutTopMargin (
        long pTopMargin );
    long GetBottomMargin ( );
    void PutBottomMargin (
        long pBottomMargin );
    IPageEnginePtr GetPageEngine ( );
    HRESULT Export (
        const _variant_t & promptUser = vtMissing );
    IExportOptionsPtr GetExportOptions ( );
    IApplicationPtr GetApplication ( );
    VARIANT_BOOL GetEnableParameterPrompting ( );
    void PutEnableParameterPrompting (
        VARIANT_BOOL pBool );
    VARIANT_BOOL GetDisplayProgressDialog ( );
    void PutDisplayProgressDialog (
        VARIANT_BOOL pBool );
    _bstr_t GetRecordSelectionFormula ( );
    void PutRecordSelectionFormula (
        _bstr_t ppRecordSelectionFormula );
    _bstr_t GetGroupSelectionFormula ( );
    void PutGroupSelectionFormula (
        _bstr_t ppGroupSelectionFormula );
    ISortFieldsPtr GetRecordSortFields ( );
    HRESULT CancelPrinting ( );
    VARIANT_BOOL GetHasSavedData ( );
    HRESULT DiscardSavedData ( );
    IPrintingStatusPtr GetPrintingStatus ( );
    _bstr_t GetReportTitle ( );
    void PutReportTitle (
        _bstr_t ppReportTitle );
    _bstr_t GetReportSubject ( );
    void PutReportSubject (
        _bstr_t ppReportSubject );
    _bstr_t GetReportAuthor ( );
    void PutReportAuthor (
        _bstr_t ppReportAuthor );
    _bstr_t GetReportComments ( );
    void PutReportComments (
        _bstr_t ppReportComments );
    _bstr_t GetReportTemplate ( );
    void PutReportTemplate (
        _bstr_t ppReportTemplate );
    _bstr_t GetKeywordsInReport ( );
    void PutKeywordsInReport (
        _bstr_t ppKeywordsInReport );
    _bstr_t GetApplicationName ( );
    void PutApplicationName (
        _bstr_t ppApplicationName );
    HRESULT ReadRecords ( );
    _variant_t GetNextRows (
        long startRowN,
        long * pRowN );
    IRunningTotalFieldDefinitionsPtr GetRunningTotalFields ( );
    VARIANT_BOOL GetPerformGroupingOnServer ( );
    void PutPerformGroupingOnServer (
        VARIANT_BOOL pBool );
    VARIANT_BOOL GetCanPerformGroupingOnServer ( );
    _bstr_t GetSQLQueryString ( );
    void PutSQLQueryString (
        _bstr_t ppSQLQueryString );
    ISQLExpressionFieldDefinitionsPtr GetSQLExpressionFields ( );
    IReportPtr OpenSubreport (
        _bstr_t pSubreportName );
    ISortFieldsPtr GetGroupSortFields ( );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -