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

#include <sbstdobj.hxx>

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

Public Member Functions

 SbStdFont ()
 
void SetBold (bool bB)
 
bool IsBold () const
 
void SetItalic (bool bI)
 
bool IsItalic () const
 
void SetStrikeThrough (bool bS)
 
bool IsStrikeThrough () const
 
void SetUnderline (bool bU)
 
bool IsUnderline () const
 
void SetSize (sal_uInt16 nS)
 
sal_uInt16 GetSize () const
 
- Public Member Functions inherited from SbxObject
 SBX_DECL_PERSIST_NODATA (SBXID_OBJECT, 1)
 
 SbxObject (const OUString &rClassname)
 
 SbxObject (const SbxObject &)
 
SbxObjectoperator= (const SbxObject &)
 
virtual SbxDataType GetType () const override
 
virtual SbxClassType GetClass () const override
 
virtual void Clear () override
 
virtual bool IsClass (const OUString &) const
 
const OUString & GetClassName () const
 
void SetClassName (const OUString &rNew)
 
SbxPropertyGetDfltProperty ()
 
void SetDfltProperty (const OUString &r)
 
virtual SbxVariableFind (const OUString &, SbxClassType)
 
SbxVariableFindQualified (const OUString &, SbxClassType)
 
virtual bool Call (const OUString &, SbxArray *=nullptr)
 
SbxVariableExecute (const OUString &)
 
SbxVariableMake (const OUString &, SbxClassType, SbxDataType, bool bIsRuntimeFunction=false)
 
virtual void Insert (SbxVariable *)
 
void QuickInsert (SbxVariable *)
 
void Remove (const OUString &, SbxClassType)
 
virtual void Remove (SbxVariable *)
 
SbxArrayGetMethods ()
 
SbxArrayGetProperties ()
 
SbxArrayGetObjects ()
 
void Dump (SvStream &, bool bDumpAll)
 
- Public Member Functions inherited from SbxVariable
 SBX_DECL_PERSIST_NODATA (SBXID_VARIABLE, 2)
 
 SbxVariable ()
 
 SbxVariable (SbxDataType)
 
 SbxVariable (const SbxVariable &)
 
SbxVariableoperator= (const SbxVariable &)
 
void Dump (SvStream &, bool bDumpAll)
 
void SetName (const OUString &)
 
const OUString & GetName (SbxNameType=SbxNameType::NONE) const
 
sal_uInt16 GetHashCode () const
 
virtual void SetModified (bool) override
 
sal_uInt32 GetUserData () const
 
void SetUserData (sal_uInt32 n)
 
virtual SbxDataType GetType () const override
 
virtual SbxClassType GetClass () const
 
virtual SbxInfo * GetInfo ()
 
void SetInfo (SbxInfo *p)
 
void SetParameters (SbxArray *p)
 
SbxArrayGetParameters () const
 
SfxBroadcasterGetBroadcaster ()
 
bool IsBroadcaster () const
 
virtual void Broadcast (SfxHintId nHintId) override
 
const SbxObjectGetParent () const
 
SbxObjectGetParent ()
 
virtual void SetParent (SbxObject *)
 
const OUString & GetDeclareClassName () const
 
void SetDeclareClassName (const OUString &)
 
void SetComListener (const css::uno::Reference< css::uno::XInterface > &xComListener, StarBASIC *pParentBasic)
 
void ClearComListener ()
 
- Public Member Functions inherited from SbxValue
 SBX_DECL_PERSIST_NODATA (SBXID_VALUE, 1)
 
 SbxValue ()
 
 SbxValue (SbxDataType)
 
 SbxValue (const SbxValue &)
 
SbxValueoperator= (const SbxValue &)
 
virtual void Clear () override
 
virtual bool IsFixed () const override
 
bool IsInteger () const
 
bool IsLong () const
 
bool IsDouble () const
 
bool IsString () const
 
bool IsCurrency () const
 
bool IsObject () const
 
bool IsBool () const
 
bool IsErr () const
 
bool IsEmpty () const
 
bool IsNull () const
 
bool IsNumeric () const
 
bool IsNumericRTL () const
 
bool ImpIsNumeric (bool bOnlyIntntl) const
 
virtual SbxDataType GetType () const override
 
SbxDataType GetFullType () const
 
bool SetType (SbxDataType)
 
bool Get (SbxValues &) const
 
const SbxValuesGetValues_Impl () const
 
bool Put (const SbxValues &)
 
SbxValuesdata ()
 
sal_Unicode GetChar () const
 
sal_Int16 GetInteger () const
 
sal_Int32 GetLong () const
 
sal_Int64 GetInt64 () const
 
sal_uInt64 GetUInt64 () const
 
sal_Int64 GetCurrency () const
 
SbxDecimalGetDecimal () const
 
float GetSingle () const
 
double GetDouble () const
 
double GetDate () const
 
bool GetBool () const
 
const OUString & GetCoreString () const
 
OUString GetOUString () const
 
SbxBaseGetObject () const
 
sal_uInt8 GetByte () const
 
sal_uInt16 GetUShort () const
 
sal_uInt32 GetULong () const
 
bool PutInteger (sal_Int16)
 
bool PutLong (sal_Int32)
 
bool PutSingle (float)
 
bool PutDouble (double)
 
void PutDate (double)
 
bool PutBool (bool)
 
void PutErr (sal_uInt16)
 
void PutStringExt (const OUString &)
 
bool PutInt64 (sal_Int64)
 
bool PutUInt64 (sal_uInt64)
 
bool PutString (const OUString &)
 
bool PutChar (sal_Unicode)
 
bool PutByte (sal_uInt8)
 
bool PutUShort (sal_uInt16)
 
bool PutULong (sal_uInt32)
 
bool PutEmpty ()
 
void PutNull ()
 
void PutDecimal (css::bridge::oleautomation::Decimal const &rAutomationDec)
 
bool PutDecimal (SbxDecimal *pDecimal)
 
void fillAutomationDecimal (css::bridge::oleautomation::Decimal &rAutomationDec) const
 
bool PutCurrency (sal_Int64)
 
bool PutObject (SbxBase *)
 
bool Convert (SbxDataType)
 
bool Compute (SbxOperator, const SbxValue &)
 
bool Compare (SbxOperator, const SbxValue &) const
 
bool Scan (const OUString &, sal_uInt16 *)
 
void Format (OUString &, const OUString *=nullptr) const
 
bool operator<= (const SbxValue &) const
 
bool operator>= (const SbxValue &) const
 
SbxValueoperator*= (const SbxValue &)
 
SbxValueoperator/= (const SbxValue &)
 
SbxValueoperator+= (const SbxValue &)
 
SbxValueoperator-= (const SbxValue &)
 
- Public Member Functions inherited from SbxBase
void SetFlags (SbxFlagBits n)
 
SbxFlagBits GetFlags () const
 
void SetFlag (SbxFlagBits n)
 
void ResetFlag (SbxFlagBits n)
 
bool IsSet (SbxFlagBits n) const
 
bool IsReset (SbxFlagBits n) const
 
bool CanRead () const
 
bool CanWrite () const
 
bool IsModified () const
 
bool IsHidden () const
 
bool IsVisible () const
 
virtual bool IsFixed () const
 
virtual void SetModified (bool)
 
virtual SbxDataType GetType () const
 
virtual void Clear ()=0
 
std::pair< bool, sal_uInt32 > Store (SvStream &)
 
virtual bool LoadCompleted ()
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

virtual ~SbStdFont () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
void PropBold (SbxVariable *pVar, bool bWrite)
 
void PropItalic (SbxVariable *pVar, bool bWrite)
 
void PropStrikeThrough (SbxVariable *pVar, bool bWrite)
 
void PropUnderline (SbxVariable *pVar, bool bWrite)
 
void PropSize (SbxVariable *pVar, bool bWrite)
 
void PropName (SbxVariable *pVar, bool bWrite)
 

Private Attributes

bool bBold
 
bool bItalic
 
bool bStrikeThrough
 
bool bUnderline
 
sal_uInt16 nSize
 
OUString aName
 

Additional Inherited Members

- Static Public Member Functions inherited from SbxVariable
static OUString NameToCaseInsensitiveName (const OUString &rName)
 
static constexpr sal_uInt16 MakeHashCode (std::u16string_view aName)
 
- Static Public Member Functions inherited from SbxValue
static ErrCode ScanNumIntnl (const OUString &rSrc, double &nVal, bool bSingle=false)
 
- Static Public Member Functions inherited from SbxBase
static SbxBaseRef Load (SvStream &)
 
static ErrCode const & GetError ()
 
static OUString const & GetErrorMsg ()
 
static void SetError (ErrCode)
 
static void SetError (ErrCode, const OUString &)
 
static bool IsError ()
 
static void ResetError ()
 
static void AddFactory (SbxFactory *)
 
static void RemoveFactory (SbxFactory const *)
 
static SbxBaseRef Create (sal_uInt16, sal_uInt32)
 
static SbxObjectRef CreateObject (const OUString &)
 
- Protected Member Functions inherited from SbxObject
virtual bool LoadData (SvStream &, sal_uInt16) override
 
virtual std::pair< bool, sal_uInt32 > StoreData (SvStream &) const override
 
virtual ~SbxObject () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual bool IsOptionCompatible () const
 
- Protected Member Functions inherited from SbxVariable
virtual ~SbxVariable () override
 
virtual bool LoadData (SvStream &, sal_uInt16) override
 
virtual std::pair< bool, sal_uInt32 > StoreData (SvStream &) const override
 
- Protected Member Functions inherited from SbxValue
virtual void Broadcast (SfxHintId)
 
virtual ~SbxValue () override
 
virtual bool LoadData (SvStream &, sal_uInt16) override
 
virtual std::pair< bool, sal_uInt32 > StoreData (SvStream &) const override
 
- Protected Member Functions inherited from SbxBase
 SbxBase ()
 
 SbxBase (const SbxBase &)
 
SbxBaseoperator= (const SbxBase &)
 
virtual ~SbxBase () override
 
virtual sal_uInt16 GetVersion () const =0
 
virtual sal_uInt16 GetSbxId () const =0
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from SbxObject
SbxArrayRef pMethods
 
SbxArrayRef pProps
 
SbxArrayRef pObjs
 
SbxPropertypDfltProp
 
OUString aClassName
 
OUString aDfltPropName
 
- Protected Attributes inherited from SbxVariable
SbxInfoRef pInfo
 
sal_uInt32 nUserData = 0
 
SbxObjectpParent = nullptr
 
- Protected Attributes inherited from SbxValue
SbxValues aData
 
OUString aPic
 
OUString aToolString
 
- Protected Attributes inherited from SbxBase
SbxFlagBits nFlags
 

Detailed Description

Definition at line 53 of file sbstdobj.hxx.

Constructor & Destructor Documentation

◆ ~SbStdFont()

SbStdFont::~SbStdFont ( )
overrideprivatevirtual

Definition at line 241 of file stdobj1.cxx.

◆ SbStdFont()

SbStdFont::SbStdFont ( )

Definition at line 210 of file stdobj1.cxx.

References DontStore, SbxObject::Find(), SbxObject::Make(), p, Property, ReadWrite, and SbxVARIANT.

Member Function Documentation

◆ GetSize()

sal_uInt16 SbStdFont::GetSize ( ) const
inline

Definition at line 85 of file sbstdobj.hxx.

References nSize.

Referenced by PropSize().

◆ IsBold()

bool SbStdFont::IsBold ( ) const
inline

Definition at line 77 of file sbstdobj.hxx.

References bBold.

Referenced by PropBold().

◆ IsItalic()

bool SbStdFont::IsItalic ( ) const
inline

Definition at line 79 of file sbstdobj.hxx.

References bItalic.

Referenced by PropItalic().

◆ IsStrikeThrough()

bool SbStdFont::IsStrikeThrough ( ) const
inline

Definition at line 81 of file sbstdobj.hxx.

References bStrikeThrough.

Referenced by PropStrikeThrough().

◆ IsUnderline()

bool SbStdFont::IsUnderline ( ) const
inline

Definition at line 83 of file sbstdobj.hxx.

References bUnderline.

Referenced by PropUnderline().

◆ Notify()

void SbStdFont::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual

◆ PropBold()

void SbStdFont::PropBold ( SbxVariable pVar,
bool  bWrite 
)
private

Definition at line 157 of file stdobj1.cxx.

References SbxValue::GetBool(), IsBold(), SbxValue::PutBool(), and SetBold().

Referenced by Notify().

◆ PropItalic()

void SbStdFont::PropItalic ( SbxVariable pVar,
bool  bWrite 
)
private

Definition at line 165 of file stdobj1.cxx.

References SbxValue::GetBool(), IsItalic(), SbxValue::PutBool(), and SetItalic().

Referenced by Notify().

◆ PropName()

void SbStdFont::PropName ( SbxVariable pVar,
bool  bWrite 
)
private

Definition at line 197 of file stdobj1.cxx.

References aName, SbxValue::GetOUString(), and SbxValue::PutString().

Referenced by Notify().

◆ PropSize()

void SbStdFont::PropSize ( SbxVariable pVar,
bool  bWrite 
)
private

Definition at line 189 of file stdobj1.cxx.

References SbxValue::GetInteger(), GetSize(), SbxValue::PutInteger(), and SetSize().

Referenced by Notify().

◆ PropStrikeThrough()

void SbStdFont::PropStrikeThrough ( SbxVariable pVar,
bool  bWrite 
)
private

Definition at line 173 of file stdobj1.cxx.

References SbxValue::GetBool(), IsStrikeThrough(), SbxValue::PutBool(), and SetStrikeThrough().

Referenced by Notify().

◆ PropUnderline()

void SbStdFont::PropUnderline ( SbxVariable pVar,
bool  bWrite 
)
private

Definition at line 181 of file stdobj1.cxx.

References SbxValue::GetBool(), IsUnderline(), SbxValue::PutBool(), and SetUnderline().

Referenced by Notify().

◆ SetBold()

void SbStdFont::SetBold ( bool  bB)
inline

Definition at line 76 of file sbstdobj.hxx.

References bBold.

Referenced by PropBold().

◆ SetItalic()

void SbStdFont::SetItalic ( bool  bI)
inline

Definition at line 78 of file sbstdobj.hxx.

References bItalic.

Referenced by PropItalic().

◆ SetSize()

void SbStdFont::SetSize ( sal_uInt16  nS)
inline

Definition at line 84 of file sbstdobj.hxx.

References nSize.

Referenced by PropSize().

◆ SetStrikeThrough()

void SbStdFont::SetStrikeThrough ( bool  bS)
inline

Definition at line 80 of file sbstdobj.hxx.

References bStrikeThrough.

Referenced by PropStrikeThrough().

◆ SetUnderline()

void SbStdFont::SetUnderline ( bool  bU)
inline

Definition at line 82 of file sbstdobj.hxx.

References bUnderline.

Referenced by PropUnderline().

Member Data Documentation

◆ aName

OUString SbStdFont::aName
private

Definition at line 60 of file sbstdobj.hxx.

Referenced by PropName().

◆ bBold

bool SbStdFont::bBold
private

Definition at line 55 of file sbstdobj.hxx.

Referenced by IsBold(), and SetBold().

◆ bItalic

bool SbStdFont::bItalic
private

Definition at line 56 of file sbstdobj.hxx.

Referenced by IsItalic(), and SetItalic().

◆ bStrikeThrough

bool SbStdFont::bStrikeThrough
private

Definition at line 57 of file sbstdobj.hxx.

Referenced by IsStrikeThrough(), and SetStrikeThrough().

◆ bUnderline

bool SbStdFont::bUnderline
private

Definition at line 58 of file sbstdobj.hxx.

Referenced by IsUnderline(), and SetUnderline().

◆ nSize

sal_uInt16 SbStdFont::nSize
private

Definition at line 59 of file sbstdobj.hxx.

Referenced by GetSize(), and SetSize().


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