📄 mso9.tli
字号:
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(147)
inline HRESULT Office::_CommandBarButton::CopyFace ( ) {
HRESULT _hr = raw_CopyFace();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(148)
inline int Office::_CommandBarButton::GetFaceId ( ) {
int _result;
HRESULT _hr = get_FaceId(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(149)
inline void Office::_CommandBarButton::PutFaceId ( int pid ) {
HRESULT _hr = put_FaceId(pid);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(150)
inline HRESULT Office::_CommandBarButton::PasteFace ( ) {
HRESULT _hr = raw_PasteFace();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(151)
inline _bstr_t Office::_CommandBarButton::GetShortcutText ( ) {
BSTR _result;
HRESULT _hr = get_ShortcutText(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(152)
inline void Office::_CommandBarButton::PutShortcutText ( _bstr_t pbstrText ) {
HRESULT _hr = put_ShortcutText(pbstrText);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(153)
inline enum MsoButtonState Office::_CommandBarButton::GetState ( ) {
enum MsoButtonState _result;
HRESULT _hr = get_State(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(154)
inline void Office::_CommandBarButton::PutState ( enum MsoButtonState pstate ) {
HRESULT _hr = put_State(pstate);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(155)
inline enum MsoButtonStyle Office::_CommandBarButton::GetStyle ( ) {
enum MsoButtonStyle _result;
HRESULT _hr = get_Style(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(156)
inline void Office::_CommandBarButton::PutStyle ( enum MsoButtonStyle pstyle ) {
HRESULT _hr = put_Style(pstyle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(157)
inline enum MsoCommandBarButtonHyperlinkType Office::_CommandBarButton::GetHyperlinkType ( ) {
enum MsoCommandBarButtonHyperlinkType _result;
HRESULT _hr = get_HyperlinkType(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(158)
inline void Office::_CommandBarButton::PutHyperlinkType ( enum MsoCommandBarButtonHyperlinkType phlType ) {
HRESULT _hr = put_HyperlinkType(phlType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface CommandBarPopup wrapper method implementations
//
#pragma implementation_key(159)
inline Office::CommandBarPtr Office::CommandBarPopup::GetCommandBar ( ) {
struct CommandBar * _result;
HRESULT _hr = get_CommandBar(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return CommandBarPtr(_result, false);
}
#pragma implementation_key(160)
inline Office::CommandBarControlsPtr Office::CommandBarPopup::GetControls ( ) {
struct CommandBarControls * _result;
HRESULT _hr = get_Controls(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return CommandBarControlsPtr(_result, false);
}
#pragma implementation_key(161)
inline enum MsoOLEMenuGroup Office::CommandBarPopup::GetOLEMenuGroup ( ) {
enum MsoOLEMenuGroup _result;
HRESULT _hr = get_OLEMenuGroup(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(162)
inline void Office::CommandBarPopup::PutOLEMenuGroup ( enum MsoOLEMenuGroup pomg ) {
HRESULT _hr = put_OLEMenuGroup(pomg);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _CommandBarComboBox wrapper method implementations
//
#pragma implementation_key(163)
inline HRESULT Office::_CommandBarComboBox::AddItem ( _bstr_t Text, const _variant_t & Index ) {
HRESULT _hr = raw_AddItem(Text, Index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(164)
inline HRESULT Office::_CommandBarComboBox::Clear ( ) {
HRESULT _hr = raw_Clear();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(165)
inline int Office::_CommandBarComboBox::GetDropDownLines ( ) {
int _result;
HRESULT _hr = get_DropDownLines(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(166)
inline void Office::_CommandBarComboBox::PutDropDownLines ( int pcLines ) {
HRESULT _hr = put_DropDownLines(pcLines);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(167)
inline int Office::_CommandBarComboBox::GetDropDownWidth ( ) {
int _result;
HRESULT _hr = get_DropDownWidth(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(168)
inline void Office::_CommandBarComboBox::PutDropDownWidth ( int pdx ) {
HRESULT _hr = put_DropDownWidth(pdx);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(169)
inline _bstr_t Office::_CommandBarComboBox::GetList ( int Index ) {
BSTR _result;
HRESULT _hr = get_List(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(170)
inline void Office::_CommandBarComboBox::PutList ( int Index, _bstr_t pbstrItem ) {
HRESULT _hr = put_List(Index, pbstrItem);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(171)
inline int Office::_CommandBarComboBox::GetListCount ( ) {
int _result;
HRESULT _hr = get_ListCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(172)
inline int Office::_CommandBarComboBox::GetListHeaderCount ( ) {
int _result;
HRESULT _hr = get_ListHeaderCount(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(173)
inline void Office::_CommandBarComboBox::PutListHeaderCount ( int pcItems ) {
HRESULT _hr = put_ListHeaderCount(pcItems);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(174)
inline int Office::_CommandBarComboBox::GetListIndex ( ) {
int _result;
HRESULT _hr = get_ListIndex(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(175)
inline void Office::_CommandBarComboBox::PutListIndex ( int pi ) {
HRESULT _hr = put_ListIndex(pi);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(176)
inline HRESULT Office::_CommandBarComboBox::RemoveItem ( int Index ) {
HRESULT _hr = raw_RemoveItem(Index);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(177)
inline enum MsoComboStyle Office::_CommandBarComboBox::GetStyle ( ) {
enum MsoComboStyle _result;
HRESULT _hr = get_Style(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(178)
inline void Office::_CommandBarComboBox::PutStyle ( enum MsoComboStyle pstyle ) {
HRESULT _hr = put_Style(pstyle);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(179)
inline _bstr_t Office::_CommandBarComboBox::GetText ( ) {
BSTR _result;
HRESULT _hr = get_Text(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(180)
inline void Office::_CommandBarComboBox::PutText ( _bstr_t pbstrText ) {
HRESULT _hr = put_Text(pbstrText);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface _CommandBarActiveX wrapper method implementations
//
#pragma implementation_key(181)
inline _bstr_t Office::_CommandBarActiveX::GetControlCLSID ( ) {
BSTR _result;
HRESULT _hr = get_ControlCLSID(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
#pragma implementation_key(182)
inline void Office::_CommandBarActiveX::PutControlCLSID ( _bstr_t pbstrClsid ) {
HRESULT _hr = put_ControlCLSID(pbstrClsid);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
#pragma implementation_key(183)
inline IUnknownPtr Office::_CommandBarActiveX::GetQueryControlInterface ( _bstr_t bstrIid ) {
IUnknown * _result;
HRESULT _hr = get_QueryControlInterface(bstrIid, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IUnknownPtr(_result, false);
}
#pragma implementation_key(184)
inline HRESULT Office::_CommandBarActiveX::SetInnerObjectFactory ( IUnknown * pUnk ) {
HRESULT _hr = raw_SetInnerObjectFactory(pUnk);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(185)
inline HRESULT Office::_CommandBarActiveX::EnsureControl ( ) {
HRESULT _hr = raw_EnsureControl();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(186)
inline void Office::_CommandBarActiveX::PutInitWith ( IUnknown * _arg1 ) {
HRESULT _hr = put_InitWith(_arg1);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface Adjustments wrapper method implementations
//
#pragma implementation_key(187)
inline IDispatchPtr Office::Adjustments::GetParent ( ) {
IDispatch * _result;
HRESULT _hr = get_Parent(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(188)
inline int Office::Adjustments::GetCount ( ) {
int _result;
HRESULT _hr = get_Count(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(189)
inline float Office::Adjustments::GetItem ( int Index ) {
float _result;
HRESULT _hr = get_Item(Index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
#pragma implementation_key(190)
inline void Office::Adjustments::PutItem ( int Index, float Val ) {
HRESULT _hr = put_Item(Index, Val);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface CalloutFormat wrapper method implementations
//
#pragma implementation_key(191)
inline IDispatchPtr Office::CalloutFormat::GetParent ( ) {
IDispatch * _result;
HRESULT _hr = get_Parent(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return IDispatchPtr(_result, false);
}
#pragma implementation_key(192)
inline HRESULT Office::CalloutFormat::AutomaticLength ( ) {
HRESULT _hr = raw_AutomaticLength();
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(193)
inline HRESULT Office::CalloutFormat::CustomDrop ( float Drop ) {
HRESULT _hr = raw_CustomDrop(Drop);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(194)
inline HRESULT Office::CalloutFormat::CustomLength ( float Length ) {
HRESULT _hr = raw_CustomLength(Length);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(195)
inline HRESULT Office::CalloutFormat::PresetDrop ( enum MsoCalloutDropType DropType ) {
HRESULT _hr = raw_PresetDrop(DropType);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
#pragma implementation_key(196)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -