LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SvxFontNameBox_Impl Class Reference
Inheritance diagram for SvxFontNameBox_Impl:
[legend]
Collaboration diagram for SvxFontNameBox_Impl:
[legend]

Public Member Functions

 SvxFontNameBox_Impl (vcl::Window *pParent, const Reference< XDispatchProvider > &rDispatchProvider, const Reference< XFrame > &_xFrame, WinBits nStyle)
 
virtual ~SvxFontNameBox_Impl () override
 
virtual void dispose () override
 
void FillList ()
 
void Update (const css::awt::FontDescriptor *pFontDesc)
 
sal_uInt16 GetListCount () const
 
void Clear ()
 
void Fill (const FontList *pList)
 
virtual void UserDraw (const UserDrawEvent &rUDEvt) override
 
virtual bool PreNotify (NotifyEvent &rNEvt) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
virtual Reference< css::accessibility::XAccessible > CreateAccessible () override
 
void SetOwnFontList (::std::unique_ptr< FontList > &&_aOwnFontList)
 
virtual boost::property_tree::ptree DumpAsPropertyTree () override
 
- Public Member Functions inherited from FontNameBox
 FontNameBox (vcl::Window *pParent, WinBits nWinStyle)
 
virtual ~FontNameBox () override
 
void Fill (const FontList *pList)
 
void EnableWYSIWYG (bool bEnable)
 

Protected Member Functions

virtual void Select () override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
- Protected Member Functions inherited from FontNameBox
void LoadMRUEntries (const OUString &aFontMRUEntriesFile)
 
void SaveMRUEntries (const OUString &aFontMRUEntriesFile) const
 

Private Member Functions

void ReleaseFocus_Impl ()
 
void EnableControls_Impl ()
 
void EndPreview ()
 
 DECL_LINK (CheckAndMarkUnknownFont, VclWindowEvent &, void)
 
void SetOptimalSize ()
 

Private Attributes

const FontListpFontList
 
::std::unique_ptr< FontListm_aOwnFontList
 
vcl::Font aCurFont
 
Size const aLogicalSize
 
OUString aCurText
 
sal_uInt16 nFtCount
 
bool bRelease
 
Reference< XDispatchProviderm_xDispatchProvider
 
Reference< XFrame > m_xFrame
 
bool mbEndPreview
 
bool mbCheckingUnknownFont
 

Detailed Description

Definition at line 194 of file tbcontrl.cxx.

Constructor & Destructor Documentation

SvxFontNameBox_Impl::SvxFontNameBox_Impl ( vcl::Window pParent,
const Reference< XDispatchProvider > &  rDispatchProvider,
const Reference< XFrame > &  _xFrame,
WinBits  nStyle 
)

Definition at line 1334 of file tbcontrl.cxx.

References EnableControls_Impl(), LINK, SetOptimalSize(), WB_AUTOHSCROLL, and WB_DROPDOWN.

SvxFontNameBox_Impl::~SvxFontNameBox_Impl ( )
overridevirtual

Definition at line 1352 of file tbcontrl.cxx.

Member Function Documentation

void SvxFontNameBox_Impl::Clear ( )
inline

Definition at line 238 of file tbcontrl.cxx.

Referenced by EnableControls_Impl(), and lcl_GetDocFontList().

Reference< css::accessibility::XAccessible > SvxFontNameBox_Impl::CreateAccessible ( )
overridevirtual

Definition at line 3805 of file tbcontrl.cxx.

References FillList().

void SvxFontNameBox_Impl::DataChanged ( const DataChangedEvent rDCEvt)
overrideprotectedvirtual
SvxFontNameBox_Impl::DECL_LINK ( CheckAndMarkUnknownFont  ,
VclWindowEvent ,
void   
)
private
void SvxFontNameBox_Impl::dispose ( void  )
overridevirtual

Reimplemented from FontNameBox.

Definition at line 1357 of file tbcontrl.cxx.

References FontNameBox::dispose(), and LINK.

boost::property_tree::ptree SvxFontNameBox_Impl::DumpAsPropertyTree ( )
overridevirtual

Definition at line 1624 of file tbcontrl.cxx.

References aEntries.

void SvxFontNameBox_Impl::EnableControls_Impl ( )
private
void SvxFontNameBox_Impl::EndPreview ( )
inlineprivate

Definition at line 213 of file tbcontrl.cxx.

References SfxToolBoxControl::Dispatch().

Referenced by EventNotify(), and Select().

bool SvxFontNameBox_Impl::EventNotify ( NotifyEvent rNEvt)
overridevirtual
void SvxFontNameBox_Impl::Fill ( const FontList pList)
inline

Definition at line 239 of file tbcontrl.cxx.

References FontNameBox::Fill(), and FontList::GetFontNameCount().

Referenced by lcl_GetDocFontList().

void SvxFontNameBox_Impl::FillList ( )

Definition at line 1363 of file tbcontrl.cxx.

References aCurText, GetSelection(), lcl_GetDocFontList(), and pFontList.

Referenced by CreateAccessible(), and PreNotify().

sal_uInt16 SvxFontNameBox_Impl::GetListCount ( ) const
inline

Definition at line 237 of file tbcontrl.cxx.

References nFtCount.

Referenced by lcl_GetDocFontList().

bool SvxFontNameBox_Impl::PreNotify ( NotifyEvent rNEvt)
overridevirtual

Definition at line 1420 of file tbcontrl.cxx.

References EnableControls_Impl(), FillList(), NotifyEvent::GetType(), and nType.

void SvxFontNameBox_Impl::ReleaseFocus_Impl ( )
private

Definition at line 1502 of file tbcontrl.cxx.

References bRelease, and m_xFrame.

Referenced by EventNotify(), and Select().

void SvxFontNameBox_Impl::Select ( )
overrideprotectedvirtual
void SvxFontNameBox_Impl::SetOptimalSize ( )
private

Definition at line 1476 of file tbcontrl.cxx.

References aLogicalSize, Size::Height(), and Size::Width().

Referenced by DataChanged(), and SvxFontNameBox_Impl().

void SvxFontNameBox_Impl::SetOwnFontList ( ::std::unique_ptr< FontList > &&  _aOwnFontList)
inline

Definition at line 246 of file tbcontrl.cxx.

Referenced by lcl_GetDocFontList().

void SvxFontNameBox_Impl::Update ( const css::awt::FontDescriptor *  pFontDesc)
void SvxFontNameBox_Impl::UserDraw ( const UserDrawEvent rUDEvt)
overridevirtual

Member Data Documentation

vcl::Font SvxFontNameBox_Impl::aCurFont
private

Definition at line 200 of file tbcontrl.cxx.

Referenced by Select(), Update(), and UserDraw().

OUString SvxFontNameBox_Impl::aCurText
private

Definition at line 202 of file tbcontrl.cxx.

Referenced by EventNotify(), and FillList().

Size const SvxFontNameBox_Impl::aLogicalSize
private

Definition at line 201 of file tbcontrl.cxx.

Referenced by SetOptimalSize().

bool SvxFontNameBox_Impl::bRelease
private

Definition at line 204 of file tbcontrl.cxx.

Referenced by EventNotify(), and ReleaseFocus_Impl().

::std::unique_ptr<FontList> SvxFontNameBox_Impl::m_aOwnFontList
private

Definition at line 199 of file tbcontrl.cxx.

Reference< XDispatchProvider > SvxFontNameBox_Impl::m_xDispatchProvider
private

Definition at line 205 of file tbcontrl.cxx.

Referenced by Select(), and UserDraw().

Reference< XFrame > SvxFontNameBox_Impl::m_xFrame
private

Definition at line 206 of file tbcontrl.cxx.

Referenced by ReleaseFocus_Impl().

bool SvxFontNameBox_Impl::mbCheckingUnknownFont
private

Definition at line 208 of file tbcontrl.cxx.

bool SvxFontNameBox_Impl::mbEndPreview
private

Definition at line 207 of file tbcontrl.cxx.

Referenced by EventNotify(), and Select().

sal_uInt16 SvxFontNameBox_Impl::nFtCount
private

Definition at line 203 of file tbcontrl.cxx.

Referenced by GetListCount().

const FontList* SvxFontNameBox_Impl::pFontList
private

Definition at line 198 of file tbcontrl.cxx.

Referenced by DataChanged(), EnableControls_Impl(), FillList(), Select(), and UserDraw().


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