LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScVbaFont Class Reference

#include <vbafont.hxx>

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

Public Member Functions

 ScVbaFont (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const ScVbaPalette &dPalette, const css::uno::Reference< css::beans::XPropertySet > &xPropertySet, ScCellRangeObj *pRangeObj=nullptr, bool bFormControl=false)
 
virtual ~ScVbaFont () override
 
virtual css::uno::Any SAL_CALL getSize () override
 
virtual css::uno::Any SAL_CALL getStandardFontSize () override
 
virtual void SAL_CALL setStandardFontSize (const css::uno::Any &_standardfontsize) override
 
virtual css::uno::Any SAL_CALL getStandardFont () override
 
virtual void SAL_CALL setStandardFont (const css::uno::Any &_standardfont) override
 
virtual css::uno::Any SAL_CALL getFontStyle () override
 
virtual void SAL_CALL setFontStyle (const css::uno::Any &_fontstyle) override
 
virtual css::uno::Any SAL_CALL getColorIndex () override
 
virtual void SAL_CALL setColorIndex (const css::uno::Any &_colorindex) override
 
virtual css::uno::Any SAL_CALL getBold () override
 
virtual css::uno::Any SAL_CALL getUnderline () override
 
virtual void SAL_CALL setUnderline (const css::uno::Any &_underline) override
 
virtual css::uno::Any SAL_CALL getStrikethrough () override
 
virtual css::uno::Any SAL_CALL getShadow () override
 
virtual css::uno::Any SAL_CALL getItalic () override
 
virtual css::uno::Any SAL_CALL getName () override
 
virtual css::uno::Any SAL_CALL getColor () override
 
virtual css::uno::Any SAL_CALL getOutlineFont () override
 
virtual void SAL_CALL setOutlineFont (const css::uno::Any &_outlinefont) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Private Member Functions

SfxItemSetGetDataSet ()
 

Private Attributes

ScCellRangeObjmpRangeObj
 

Detailed Description

Definition at line 37 of file vbafont.hxx.

Constructor & Destructor Documentation

◆ ScVbaFont()

ScVbaFont::ScVbaFont ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const ScVbaPalette dPalette,
const css::uno::Reference< css::beans::XPropertySet > &  xPropertySet,
ScCellRangeObj pRangeObj = nullptr,
bool  bFormControl = false 
)
Exceptions
css::uno::RuntimeException

Definition at line 34 of file vbafont.cxx.

◆ ~ScVbaFont()

ScVbaFont::~ScVbaFont ( )
overridevirtual

Definition at line 51 of file vbafont.cxx.

Member Function Documentation

◆ getBold()

uno::Any SAL_CALL ScVbaFont::getBold ( )
overridevirtual

Definition at line 177 of file vbafont.cxx.

References aNULL(), ATTR_FONT_WEIGHT(), and GetDataSet().

Referenced by getFontStyle().

◆ getColor()

uno::Any ScVbaFont::getColor ( )
overridevirtual

Definition at line 290 of file vbafont.cxx.

References mxFont, and OORGBToXLRGB().

◆ getColorIndex()

uno::Any SAL_CALL ScVbaFont::getColorIndex ( )
overridevirtual

Definition at line 85 of file vbafont.cxx.

References aNULL(), ATTR_FONT_COLOR(), and GetDataSet().

◆ GetDataSet()

SfxItemSet * ScVbaFont::GetDataSet ( )
private

◆ getFontStyle()

uno::Any SAL_CALL ScVbaFont::getFontStyle ( )
overridevirtual

Definition at line 158 of file vbafont.cxx.

References getBold(), and getItalic().

◆ getItalic()

uno::Any SAL_CALL ScVbaFont::getItalic ( )
overridevirtual

Definition at line 272 of file vbafont.cxx.

References aNULL(), ATTR_FONT_POSTURE(), and GetDataSet().

Referenced by getFontStyle().

◆ getName()

uno::Any SAL_CALL ScVbaFont::getName ( )
overridevirtual

Definition at line 282 of file vbafont.cxx.

References aNULL(), ATTR_FONT(), and GetDataSet().

◆ getOutlineFont()

uno::Any SAL_CALL ScVbaFont::getOutlineFont ( )
overridevirtual

Definition at line 305 of file vbafont.cxx.

References aNULL(), ATTR_FONT_CONTOUR(), GetDataSet(), and mxFont.

◆ getServiceImplName()

OUString ScVbaFont::getServiceImplName ( )
overridevirtual

Definition at line 314 of file vbafont.cxx.

◆ getServiceNames()

uno::Sequence< OUString > ScVbaFont::getServiceNames ( )
overridevirtual

Definition at line 320 of file vbafont.cxx.

References aServiceNames.

◆ getShadow()

uno::Any SAL_CALL ScVbaFont::getShadow ( )
overridevirtual

Definition at line 263 of file vbafont.cxx.

References aNULL(), ATTR_FONT_SHADOWED(), and GetDataSet().

◆ getSize()

uno::Any SAL_CALL ScVbaFont::getSize ( )
overridevirtual

Definition at line 56 of file vbafont.cxx.

References aNULL(), ATTR_FONT_HEIGHT(), and GetDataSet().

◆ getStandardFont()

uno::Any SAL_CALL ScVbaFont::getStandardFont ( )
overridevirtual

Definition at line 120 of file vbafont.cxx.

◆ getStandardFontSize()

uno::Any SAL_CALL ScVbaFont::getStandardFontSize ( )
overridevirtual

Definition at line 105 of file vbafont.cxx.

◆ getStrikethrough()

uno::Any SAL_CALL ScVbaFont::getStrikethrough ( )
overridevirtual

Definition at line 254 of file vbafont.cxx.

References aNULL(), ATTR_FONT_CROSSEDOUT(), and GetDataSet().

◆ getUnderline()

uno::Any SAL_CALL ScVbaFont::getUnderline ( )
overridevirtual

◆ setColorIndex()

void SAL_CALL ScVbaFont::setColorIndex ( const css::uno::Any &  _colorindex)
overridevirtual

Definition at line 65 of file vbafont.cxx.

References nIndex.

◆ setFontStyle()

void SAL_CALL ScVbaFont::setFontStyle ( const css::uno::Any &  _fontstyle)
overridevirtual

Definition at line 128 of file vbafont.cxx.

References o3tl::equalsIgnoreAsciiCase(), o3tl::getToken(), and u.

◆ setOutlineFont()

void SAL_CALL ScVbaFont::setOutlineFont ( const css::uno::Any &  _outlinefont)
overridevirtual

Definition at line 298 of file vbafont.cxx.

References mxFont.

◆ setStandardFont()

void SAL_CALL ScVbaFont::setStandardFont ( const css::uno::Any &  _standardfont)
overridevirtual

Definition at line 113 of file vbafont.cxx.

◆ setStandardFontSize()

void SAL_CALL ScVbaFont::setStandardFontSize ( const css::uno::Any &  _standardfontsize)
overridevirtual

Definition at line 96 of file vbafont.cxx.

◆ setUnderline()

void SAL_CALL ScVbaFont::setUnderline ( const css::uno::Any &  _underline)
overridevirtual

Definition at line 186 of file vbafont.cxx.

References mxFont, condformat::dialog::NONE, and nValue.

Member Data Documentation

◆ mpRangeObj

ScCellRangeObj* ScVbaFont::mpRangeObj
private

Definition at line 39 of file vbafont.hxx.

Referenced by GetDataSet().


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