LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvxFontPrevWindow Class Referencefinal

#include <fntctrl.hxx>

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

Public Member Functions

 SvxFontPrevWindow ()
 
virtual ~SvxFontPrevWindow () override
 
SvxFontGetFont ()
 
const SvxFontGetFont () const
 
void SetFont (const SvxFont &rNormalFont, const SvxFont &rCJKFont, const SvxFont &rCTLFont)
 
SvxFontGetCJKFont ()
 
SvxFontGetCTLFont ()
 
void SetColor (const Color &rColor)
 
void ResetColor ()
 
void SetBackColor (const Color &rColor)
 
void SetTextLineColor (const Color &rColor)
 
void SetOverlineColor (const Color &rColor)
 
void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
 
bool IsTwoLines () const
 
void SetTwoLines (bool bSet)
 
void SetBrackets (sal_Unicode cStart, sal_Unicode cEnd)
 
void SetFontWidthScale (sal_uInt16 nScaleInPercent)
 
void AutoCorrectFontColor ()
 
void SetPreviewText (const OUString &rString)
 
void SetFontNameAsPreviewText ()
 
void SetFromItemSet (const SfxItemSet &rSet, bool bPreviewBackgroundToCharacter)
 
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
virtual void Resize ()
 
virtual bool MouseButtonDown (const MouseEvent &)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &)
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual bool Command (const CommandEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void GrabFocus ()
 
bool HasFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
bool IsActive () const
 
int GetTextHeight () const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Private Member Functions

virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 

Static Private Member Functions

static SVX_DLLPRIVATE void ApplySettings (vcl::RenderContext &rRenderContext)
 
static SVX_DLLPRIVATE void SetFontSize (const SfxItemSet &rSet, sal_uInt16 nSlot, SvxFont &rFont)
 
static SVX_DLLPRIVATE void SetFontLang (const SfxItemSet &rSet, sal_uInt16 nSlot, SvxFont &rFont)
 

Private Attributes

std::unique_ptr< FontPrevWin_ImplpImpl
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 

Detailed Description

Definition at line 31 of file fntctrl.hxx.

Constructor & Destructor Documentation

SvxFontPrevWindow::SvxFontPrevWindow ( )

Definition at line 540 of file fntctrl.cxx.

SvxFontPrevWindow::~SvxFontPrevWindow ( )
overridevirtual

Definition at line 544 of file fntctrl.cxx.

Member Function Documentation

void SvxFontPrevWindow::ApplySettings ( vcl::RenderContext rRenderContext)
staticprivate
void SvxFontPrevWindow::AutoCorrectFontColor ( )
SvxFont & SvxFontPrevWindow::GetCJKFont ( )

Definition at line 553 of file fntctrl.cxx.

References pImpl.

Referenced by SetFromItemSet().

SvxFont & SvxFontPrevWindow::GetCTLFont ( )

Definition at line 548 of file fntctrl.cxx.

References pImpl.

Referenced by SetFromItemSet().

SvxFont & SvxFontPrevWindow::GetFont ( )

Definition at line 558 of file fntctrl.cxx.

References pImpl.

Referenced by SetFromItemSet().

const SvxFont & SvxFontPrevWindow::GetFont ( ) const

Definition at line 564 of file fntctrl.cxx.

References pImpl.

bool SvxFontPrevWindow::IsTwoLines ( ) const

Definition at line 821 of file fntctrl.cxx.

References pImpl.

Referenced by Paint().

void SvxFontPrevWindow::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle  
)
overridevirtual
void SvxFontPrevWindow::ResetColor ( )

Definition at line 596 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

void SvxFontPrevWindow::SetBackColor ( const Color rColor)

Definition at line 602 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

Referenced by SetFromItemSet().

void SvxFontPrevWindow::SetBrackets ( sal_Unicode  cStart,
sal_Unicode  cEnd 
)

Definition at line 831 of file fntctrl.cxx.

References pImpl.

void SvxFontPrevWindow::SetColor ( const Color rColor)

Definition at line 590 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

void SvxFontPrevWindow::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overrideprivatevirtual
void SvxFontPrevWindow::SetFont ( const SvxFont rNormalFont,
const SvxFont rCJKFont,
const SvxFont rCTLFont 
)

Definition at line 580 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

void SvxFontPrevWindow::SetFontLang ( const SfxItemSet rSet,
sal_uInt16  nSlot,
SvxFont rFont 
)
staticprivate

Definition at line 874 of file fntctrl.cxx.

References SfxItemSet::Get(), GetLanguage(), GetWhich(), and LANGUAGE_NONE.

Referenced by SetFromItemSet().

void SvxFontPrevWindow::SetFontNameAsPreviewText ( )

Definition at line 575 of file fntctrl.cxx.

References pImpl.

Referenced by SetFromItemSet().

void SvxFontPrevWindow::SetFontSize ( const SfxItemSet rSet,
sal_uInt16  nSlot,
SvxFont rFont 
)
staticprivate
void SvxFontPrevWindow::SetFontWidthScale ( sal_uInt16  nScaleInPercent)

Definition at line 837 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

Referenced by SetFromItemSet().

void SvxFontPrevWindow::SetFromItemSet ( const SfxItemSet rSet,
bool  bPreviewBackgroundToCharacter 
)
void SvxFontPrevWindow::SetOverlineColor ( const Color rColor)

Definition at line 614 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

void SvxFontPrevWindow::SetPreviewText ( const OUString &  rString)

Definition at line 569 of file fntctrl.cxx.

References pImpl.

Referenced by SetFromItemSet().

void SvxFontPrevWindow::SetTextLineColor ( const Color rColor)

Definition at line 608 of file fntctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pImpl.

void SvxFontPrevWindow::SetTwoLines ( bool  bSet)

Definition at line 826 of file fntctrl.cxx.

References pImpl.

Member Data Documentation

std::unique_ptr<FontPrevWin_Impl> SvxFontPrevWindow::pImpl
private

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