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

📄 craxddrt.tli

📁 一个很好用的报表控件
💻 TLI
📖 第 1 页 / 共 5 页
字号:
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(200)
inline VARIANT_BOOL ISection::GetKeepTogether ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_KeepTogether(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(201)
inline void ISection::PutKeepTogether ( VARIANT_BOOL pBool ) {
    HRESULT _hr = put_KeepTogether(pBool);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(202)
inline VARIANT_BOOL ISection::GetResetPageNumberAfter ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_ResetPageNumberAfter(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(203)
inline void ISection::PutResetPageNumberAfter ( VARIANT_BOOL pBool ) {
    HRESULT _hr = put_ResetPageNumberAfter(pBool);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(204)
inline VARIANT_BOOL ISection::GetPrintAtBottomOfPage ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_PrintAtBottomOfPage(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(205)
inline void ISection::PutPrintAtBottomOfPage ( VARIANT_BOOL pBool ) {
    HRESULT _hr = put_PrintAtBottomOfPage(pBool);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(206)
inline VARIANT_BOOL ISection::GetUnderlaySection ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_UnderlaySection(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(207)
inline void ISection::PutUnderlaySection ( VARIANT_BOOL pBool ) {
    HRESULT _hr = put_UnderlaySection(pBool);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(208)
inline VARIANT_BOOL ISection::GetSuppressIfBlank ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_SuppressIfBlank(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(209)
inline void ISection::PutSuppressIfBlank ( VARIANT_BOOL pBool ) {
    HRESULT _hr = put_SuppressIfBlank(pBool);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(210)
inline long ISection::GetMinimumHeight ( ) {
    long _result;
    HRESULT _hr = get_MinimumHeight(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(211)
inline IFieldObjectPtr ISection::AddFieldObject ( const _variant_t & Field, long Left, long Top ) {
    struct IFieldObject * _result;
    HRESULT _hr = raw_AddFieldObject(Field, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IFieldObjectPtr(_result, false);
}

#pragma implementation_key(212)
inline ITextObjectPtr ISection::AddTextObject ( _bstr_t pText, long Left, long Top, const _variant_t & formatText ) {
    struct ITextObject * _result;
    HRESULT _hr = raw_AddTextObject(pText, Left, Top, formatText, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ITextObjectPtr(_result, false);
}

#pragma implementation_key(213)
inline IBlobFieldObjectPtr ISection::AddBlobFieldObject ( const _variant_t & Field, long Left, long Top ) {
    struct IBlobFieldObject * _result;
    HRESULT _hr = raw_AddBlobFieldObject(Field, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IBlobFieldObjectPtr(_result, false);
}

#pragma implementation_key(214)
inline IFieldObjectPtr ISection::AddSpecialVarFieldObject ( enum CRSpecialVarType specialVarType, long Left, long Top ) {
    struct IFieldObject * _result;
    HRESULT _hr = raw_AddSpecialVarFieldObject(specialVarType, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IFieldObjectPtr(_result, false);
}

#pragma implementation_key(215)
inline ISubreportObjectPtr ISection::AddSubreportObject ( _bstr_t pSubreportName, long Left, long Top ) {
    struct ISubreportObject * _result;
    HRESULT _hr = raw_AddSubreportObject(pSubreportName, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ISubreportObjectPtr(_result, false);
}

#pragma implementation_key(216)
inline ISubreportObjectPtr ISection::ImportSubreport ( _bstr_t subreportFileName, long Left, long Top ) {
    struct ISubreportObject * _result;
    HRESULT _hr = raw_ImportSubreport(subreportFileName, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ISubreportObjectPtr(_result, false);
}

#pragma implementation_key(217)
inline HRESULT ISection::DeleteObject ( const _variant_t & reportObject ) {
    HRESULT _hr = raw_DeleteObject(reportObject);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(218)
inline ILineObjectPtr ISection::AddLineObject ( long Left, long Top, long Right, long Bottom, const _variant_t & pEndSection ) {
    struct ILineObject * _result;
    HRESULT _hr = raw_AddLineObject(Left, Top, Right, Bottom, pEndSection, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ILineObjectPtr(_result, false);
}

#pragma implementation_key(219)
inline IBoxObjectPtr ISection::AddBoxObject ( long Left, long Top, long Right, long Bottom, const _variant_t & pEndSection ) {
    struct IBoxObject * _result;
    HRESULT _hr = raw_AddBoxObject(Left, Top, Right, Bottom, pEndSection, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IBoxObjectPtr(_result, false);
}

#pragma implementation_key(220)
inline ICrossTabObjectPtr ISection::AddCrossTabObject ( long Left, long Top ) {
    struct ICrossTabObject * _result;
    HRESULT _hr = raw_AddCrossTabObject(Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ICrossTabObjectPtr(_result, false);
}

#pragma implementation_key(221)
inline ICROleObjectPtr ISection::AddPictureObject ( _bstr_t pImageFilePath, long Left, long Top ) {
    struct ICROleObject * _result;
    HRESULT _hr = raw_AddPictureObject(pImageFilePath, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ICROleObjectPtr(_result, false);
}

#pragma implementation_key(222)
inline IGraphObjectPtr ISection::AddGraphObject ( enum CRGraphDataType graphDataType, long Left, long Top, const _variant_t & pCrossTabObject ) {
    struct IGraphObject * _result;
    HRESULT _hr = raw_AddGraphObject(graphDataType, Left, Top, pCrossTabObject, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IGraphObjectPtr(_result, false);
}

#pragma implementation_key(223)
inline IFieldObjectPtr ISection::AddSummaryFieldObject ( const _variant_t & Field, enum CRSummaryType SummaryType, long Left, long Top, const _variant_t & secondSummaryFieldOrFactor ) {
    struct IFieldObject * _result;
    HRESULT _hr = raw_AddSummaryFieldObject(Field, SummaryType, Left, Top, secondSummaryFieldOrFactor, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IFieldObjectPtr(_result, false);
}

#pragma implementation_key(224)
inline IFieldObjectPtr ISection::AddUnboundFieldObject ( CRFieldValueType ValueType, long Left, long Top ) {
    struct IFieldObject * _result;
    HRESULT _hr = raw_AddUnboundFieldObject(ValueType, Left, Top, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IFieldObjectPtr(_result, false);
}

//
// interface IReportObjects wrapper method implementations
//

#pragma implementation_key(225)
inline IUnknownPtr IReportObjects::Get_NewEnum ( ) {
    IUnknown * _result;
    HRESULT _hr = get__NewEnum(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

#pragma implementation_key(226)
inline IDispatchPtr IReportObjects::GetItem ( const _variant_t & index ) {
    IDispatch * _result;
    HRESULT _hr = get_Item(index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(227)
inline long IReportObjects::GetCount ( ) {
    long _result;
    HRESULT _hr = get_Count(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(228)
inline ISectionPtr IReportObjects::GetParent ( ) {
    struct ISection * _result;
    HRESULT _hr = get_Parent(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return ISectionPtr(_result, false);
}

//
// interface IFieldObject wrapper method implementations
//

#pragma implementation_key(229)
inline _bstr_t IFieldObject::GetName ( ) {
    BSTR _result;
    HRESULT _hr = get_Name(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(230)
inline void IFieldObject::PutName ( _bstr_t ppName ) {
    HRESULT _hr = put_Name(ppName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(231)
inline enum CRObjectKind IFieldObject::GetKind ( ) {
    enum CRObjectKind _result;
    HRESULT _hr = get_Kind(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(232)
inline long IFieldObject::GetLeft ( ) {
    long _result;
    HRESULT _hr = get_Left(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(233)
inline void IFieldObject::PutLeft ( long pLeft ) {
    HRESULT _hr = put_Left(pLeft);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(234)
inline long IFieldObject::GetTop ( ) {
    long _result;
    HRESULT _hr = get_Top(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(235)
inline void IFieldObject::PutTop ( long pTop ) {
    HRESULT _hr = put_Top(pTop);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(236)
inline long IFieldObject::GetWidth ( ) {
    long _result;
    HRESULT _hr = get_Width(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(237)
inline void IFieldObject::PutWidth ( long pWidth ) {
    HRESULT _hr = put_Width(pWidth);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(238)
inline long IFieldObject::GetHeight ( ) {
    long _result;
    HRESULT _hr = get_Height(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(239)
inline void IFieldObject::PutHeight ( long pHeight ) {
    HRESULT _hr = put_Height(pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(240)
inline enum CRLineStyle IFieldObject::GetLeftLineStyle ( ) {
    enum CRLineStyle _result;
    HRESULT _hr = get_LeftLineStyle(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(241)
inline void IFieldObject::PutLeftLineStyle ( enum CRLineStyle pLeftLineStyle ) {
    HRESULT _hr = put_LeftLineStyle(pLeftLineStyle);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(242)
inline enum CRLineStyle IFieldObject::GetRightLineStyle ( ) {
    enum CRLineStyle _result;
    HRESULT _hr = get_RightLineStyle(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(243)
inline void IFieldObject::PutRightLineStyle ( enum CRLineStyle pRightLineStyle ) {
    HRESULT _hr = put_RightLineStyle(pRightLineStyle);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(244)
inline enum CRLineStyle IFieldObject::GetTopLineStyle ( ) {
    enum CRLineStyle _result;
    HRESULT _hr = get_TopLineStyle(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(245)
inline void IFieldObject::PutTopLineStyle ( enum CRLineStyle pTopLineStyle ) {
    HRESULT _hr = put_TopLineStyle(pTopLineStyle);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(246)
inline enum CRLineStyle IFieldObject::GetBottomLineStyle ( ) {
    enum CRLineStyle _result;
    HRESULT _hr = get_BottomLineStyle(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(247)
inline void IFieldObject::PutBottomLineStyle ( enum CRLineStyle pBottomLineStyle ) {
    HRESULT _hr = put_BottomLineStyle(pBottomLineStyle);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));

⌨️ 快捷键说明

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