LibreOffice Module svtools (master) 1
Public Member Functions | Private Attributes | List of all members
SfxErrorContext Class Referencefinal

#include <ehdl.hxx>

Inheritance diagram for SfxErrorContext:
[legend]
Collaboration diagram for SfxErrorContext:
[legend]

Public Member Functions

 SfxErrorContext (sal_uInt16 nCtxIdP, weld::Window *pWin=nullptr, const ErrMsgCode *pIds=nullptr, const std::locale &rResLocaleP=SvtResLocale())
 
 SfxErrorContext (sal_uInt16 nCtxIdP, OUString aArg1, weld::Window *pWin=nullptr, const ErrMsgCode *pIds=nullptr, const std::locale &rResLocaleP=SvtResLocale())
 
bool GetString (ErrCode nErrId, OUString &rStr) override
 

Private Attributes

sal_uInt16 nCtxId
 
const ErrMsgCodepIds
 
std::locale aResLocale
 
OUString aArg1
 

Additional Inherited Members

- Private Member Functions inherited from ErrorContext
 ErrorContext (weld::Window *pWin)
 
virtual ~ErrorContext ()
 
virtual bool GetString (ErrCode nErrId, OUString &rCtxStr)=0
 
weld::WindowGetParent ()
 
- Static Private Member Functions inherited from ErrorContext
static ErrorContextGetContext ()
 

Detailed Description

Definition at line 32 of file ehdl.hxx.

Constructor & Destructor Documentation

◆ SfxErrorContext() [1/2]

SfxErrorContext::SfxErrorContext ( sal_uInt16  nCtxIdP,
weld::Window pWin = nullptr,
const ErrMsgCode pIds = nullptr,
const std::locale &  rResLocaleP = SvtResLocale() 
)

Definition at line 242 of file ehdl.cxx.

References pIds, and RID_ERRCTX.

◆ SfxErrorContext() [2/2]

SfxErrorContext::SfxErrorContext ( sal_uInt16  nCtxIdP,
OUString  aArg1,
weld::Window pWin = nullptr,
const ErrMsgCode pIds = nullptr,
const std::locale &  rResLocaleP = SvtResLocale() 
)

Definition at line 251 of file ehdl.cxx.

References pIds, and RID_ERRCTX.

Member Function Documentation

◆ GetString()

bool SfxErrorContext::GetString ( ErrCode  nErrId,
OUString &  rStr 
)
overridevirtual

Member Data Documentation

◆ aArg1

OUString SfxErrorContext::aArg1
private

Definition at line 47 of file ehdl.hxx.

Referenced by GetString().

◆ aResLocale

std::locale SfxErrorContext::aResLocale
private

Definition at line 46 of file ehdl.hxx.

Referenced by GetString().

◆ nCtxId

sal_uInt16 SfxErrorContext::nCtxId
private

Definition at line 44 of file ehdl.hxx.

Referenced by GetString().

◆ pIds

const ErrMsgCode* SfxErrorContext::pIds
private

Definition at line 45 of file ehdl.hxx.

Referenced by GetString(), and SfxErrorContext().


The documentation for this class was generated from the following files: