📄 craxddrt.tli
字号:
}
#pragma implementation_key(50)
inline IApplicationPtr IReport::GetApplication ( ) {
struct IApplication * _result;
HRESULT _hr = get_Application(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IApplicationPtr(_result, false);
}
#pragma implementation_key(51)
inline VARIANT_BOOL IReport::GetEnableParameterPrompting ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_EnableParameterPrompting(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(52)
inline void IReport::PutEnableParameterPrompting ( VARIANT_BOOL pBool ) {
HRESULT _hr = put_EnableParameterPrompting(pBool);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(53)
inline VARIANT_BOOL IReport::GetDisplayProgressDialog ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_DisplayProgressDialog(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(54)
inline void IReport::PutDisplayProgressDialog ( VARIANT_BOOL pBool ) {
HRESULT _hr = put_DisplayProgressDialog(pBool);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(55)
inline _bstr_t IReport::GetRecordSelectionFormula ( ) {
BSTR _result;
HRESULT _hr = get_RecordSelectionFormula(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(56)
inline void IReport::PutRecordSelectionFormula ( _bstr_t ppRecordSelectionFormula ) {
HRESULT _hr = put_RecordSelectionFormula(ppRecordSelectionFormula);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(57)
inline _bstr_t IReport::GetGroupSelectionFormula ( ) {
BSTR _result;
HRESULT _hr = get_GroupSelectionFormula(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(58)
inline void IReport::PutGroupSelectionFormula ( _bstr_t ppGroupSelectionFormula ) {
HRESULT _hr = put_GroupSelectionFormula(ppGroupSelectionFormula);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(59)
inline ISortFieldsPtr IReport::GetRecordSortFields ( ) {
struct ISortFields * _result;
HRESULT _hr = get_RecordSortFields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISortFieldsPtr(_result, false);
}
#pragma implementation_key(60)
inline HRESULT IReport::CancelPrinting ( ) {
HRESULT _hr = raw_CancelPrinting();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(61)
inline VARIANT_BOOL IReport::GetHasSavedData ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_HasSavedData(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(62)
inline HRESULT IReport::DiscardSavedData ( ) {
HRESULT _hr = raw_DiscardSavedData();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(63)
inline IPrintingStatusPtr IReport::GetPrintingStatus ( ) {
struct IPrintingStatus * _result;
HRESULT _hr = get_PrintingStatus(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IPrintingStatusPtr(_result, false);
}
#pragma implementation_key(64)
inline _bstr_t IReport::GetReportTitle ( ) {
BSTR _result;
HRESULT _hr = get_ReportTitle(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(65)
inline void IReport::PutReportTitle ( _bstr_t ppReportTitle ) {
HRESULT _hr = put_ReportTitle(ppReportTitle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(66)
inline _bstr_t IReport::GetReportSubject ( ) {
BSTR _result;
HRESULT _hr = get_ReportSubject(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(67)
inline void IReport::PutReportSubject ( _bstr_t ppReportSubject ) {
HRESULT _hr = put_ReportSubject(ppReportSubject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(68)
inline _bstr_t IReport::GetReportAuthor ( ) {
BSTR _result;
HRESULT _hr = get_ReportAuthor(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(69)
inline void IReport::PutReportAuthor ( _bstr_t ppReportAuthor ) {
HRESULT _hr = put_ReportAuthor(ppReportAuthor);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(70)
inline _bstr_t IReport::GetReportComments ( ) {
BSTR _result;
HRESULT _hr = get_ReportComments(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(71)
inline void IReport::PutReportComments ( _bstr_t ppReportComments ) {
HRESULT _hr = put_ReportComments(ppReportComments);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(72)
inline _bstr_t IReport::GetReportTemplate ( ) {
BSTR _result;
HRESULT _hr = get_ReportTemplate(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(73)
inline void IReport::PutReportTemplate ( _bstr_t ppReportTemplate ) {
HRESULT _hr = put_ReportTemplate(ppReportTemplate);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(74)
inline _bstr_t IReport::GetKeywordsInReport ( ) {
BSTR _result;
HRESULT _hr = get_KeywordsInReport(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(75)
inline void IReport::PutKeywordsInReport ( _bstr_t ppKeywordsInReport ) {
HRESULT _hr = put_KeywordsInReport(ppKeywordsInReport);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(76)
inline _bstr_t IReport::GetApplicationName ( ) {
BSTR _result;
HRESULT _hr = get_ApplicationName(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(77)
inline void IReport::PutApplicationName ( _bstr_t ppApplicationName ) {
HRESULT _hr = put_ApplicationName(ppApplicationName);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(78)
inline HRESULT IReport::ReadRecords ( ) {
HRESULT _hr = raw_ReadRecords();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(79)
inline _variant_t IReport::GetNextRows ( long startRowN, long * pRowN ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_GetNextRows(startRowN, pRowN, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(80)
inline IRunningTotalFieldDefinitionsPtr IReport::GetRunningTotalFields ( ) {
struct IRunningTotalFieldDefinitions * _result;
HRESULT _hr = get_RunningTotalFields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IRunningTotalFieldDefinitionsPtr(_result, false);
}
#pragma implementation_key(81)
inline VARIANT_BOOL IReport::GetPerformGroupingOnServer ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_PerformGroupingOnServer(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(82)
inline void IReport::PutPerformGroupingOnServer ( VARIANT_BOOL pBool ) {
HRESULT _hr = put_PerformGroupingOnServer(pBool);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(83)
inline VARIANT_BOOL IReport::GetCanPerformGroupingOnServer ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_CanPerformGroupingOnServer(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(84)
inline _bstr_t IReport::GetSQLQueryString ( ) {
BSTR _result;
HRESULT _hr = get_SQLQueryString(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(85)
inline void IReport::PutSQLQueryString ( _bstr_t ppSQLQueryString ) {
HRESULT _hr = put_SQLQueryString(ppSQLQueryString);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(86)
inline ISQLExpressionFieldDefinitionsPtr IReport::GetSQLExpressionFields ( ) {
struct ISQLExpressionFieldDefinitions * _result;
HRESULT _hr = get_SQLExpressionFields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISQLExpressionFieldDefinitionsPtr(_result, false);
}
#pragma implementation_key(87)
inline IReportPtr IReport::OpenSubreport ( _bstr_t pSubreportName ) {
struct IReport * _result;
HRESULT _hr = raw_OpenSubreport(pSubreportName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IReportPtr(_result, false);
}
#pragma implementation_key(88)
inline ISortFieldsPtr IReport::GetGroupSortFields ( ) {
struct ISortFields * _result;
HRESULT _hr = get_GroupSortFields(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ISortFieldsPtr(_result, false);
}
#pragma implementation_key(89)
inline HRESULT IReport::AddGroup ( short GroupNumber, IDispatch * pConditionField, enum CRGroupCondition Condition, enum CRSortDirection SortDirection ) {
HRESULT _hr = raw_AddGroup(GroupNumber, pConditionField, Condition, SortDirection);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(90)
inline HRESULT IReport::SetDialogParentWindow ( long hWnd ) {
HRESULT _hr = raw_SetDialogParentWindow(hWnd);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(91)
inline VARIANT_BOOL IReport::GetEnablePerformQueriesAsynchronously ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_EnablePerformQueriesAsynchronously(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(92)
inline void IReport::PutEnablePerformQueriesAsynchronously ( VARIANT_BOOL pBool ) {
HRESULT _hr = put_EnablePerformQueriesAsynchronously(pBool);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(93)
inline VARIANT_BOOL IReport::GetEnableSelectDistinctRecords ( ) {
VARIANT_BOOL _result;
HRESULT _hr = get_EnableSelectDistinctRecords(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(94)
inline void IReport::PutEnableSelectDistinctRecords ( VARIANT_BOOL pBool ) {
HRESULT _hr = put_EnableSelectDistinctRecords(pBool);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(95)
inline HRESULT IReport::AddReportVariable ( enum CRReportVariableValueType type, _bstr_t pName, long arraySize, const _variant_t & reserved ) {
HRESULT _hr = raw_AddReportVariable(type, pName, arraySize, reserved);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(96)
inline _variant_t IReport::GetReportVariableValue ( _bstr_t pName ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = raw_GetReportVariableValue(pName, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
#pragma implementation_key(97)
inline HRESULT IReport::SetReportVariableValue ( _bstr_t pName, const _variant_t & var ) {
HRESULT _hr = raw_SetReportVariableValue(pName, var);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(98)
inline enum CRReportFormatStyle IReport::GetReportFormatStyle ( ) {
enum CRReportFormatStyle _result;
HRESULT _hr = get_ReportFormatStyle(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(99)
inline void IReport::PutReportFormatStyle ( enum CRReportFormatStyle pFormatStyle ) {
HRESULT _hr = put_ReportFormatStyle(pFormatStyle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(100)
inline HRESULT IReport::DeleteGroup ( short GroupNumber ) {
HRESULT _hr = raw_DeleteGroup(GroupNumber);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -