LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SvxCharEffectsPage Class Reference

#include <chardlg.hxx>

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

Public Member Functions

 SvxCharEffectsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxCharEffectsPage () override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void ChangesApplied () override
 
void DisableControls (sal_uInt16 nDisable)
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- Public Member Functions inherited from SvxCharBasePage
virtual ~SvxCharBasePage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static WhichRangesContainer GetRanges ()
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

void Initialize ()
 
void UpdatePreview_Impl ()
 
void SetCaseMap_Impl (SvxCaseMap eCaseMap)
 
void ResetColor_Impl (const SfxItemSet &rSet)
 
bool FillItemSetColor_Impl (SfxItemSet &rSet)
 
void EnableNoneFontColor ()
 
void SelectHdl_Impl (const weld::ComboBox *)
 
 DECL_LINK (SelectListBoxHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (OutlineBtnClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (ShadowBtnClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (HiddenBtnClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (CbClickHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (ColorBoxSelectHdl_Impl, ColorListBox &, void)
 
 DECL_LINK (ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton &, void)
 

Private Attributes

bool m_bOrigFontColor
 
bool m_bNewFontColor
 
bool m_bEnableNoneFontColor
 
Color m_aOrigFontColor
 
sal_uInt16 m_nHtmlMode
 
weld::TriStateEnabled m_aOutlineState
 
weld::TriStateEnabled m_aShadowState
 
weld::TriStateEnabled m_aHiddenState
 
weld::TriStateEnabled m_aIndividualWordsState
 
std::unique_ptr< weld::Labelm_xFontColorFT
 
std::unique_ptr< ColorListBoxm_xFontColorLB
 
std::unique_ptr< weld::Labelm_xFontTransparencyFT
 
std::unique_ptr< weld::MetricSpinButtonm_xFontTransparencyMtr
 
std::unique_ptr< weld::Labelm_xEffectsFT
 
std::unique_ptr< weld::ComboBoxm_xEffectsLB
 
std::unique_ptr< weld::Labelm_xReliefFT
 
std::unique_ptr< weld::ComboBoxm_xReliefLB
 
std::unique_ptr< weld::CheckButtonm_xOutlineBtn
 
std::unique_ptr< weld::CheckButtonm_xShadowBtn
 
std::unique_ptr< weld::CheckButtonm_xHiddenBtn
 
std::unique_ptr< weld::ComboBoxm_xOverlineLB
 
std::unique_ptr< weld::Labelm_xOverlineColorFT
 
std::unique_ptr< ColorListBoxm_xOverlineColorLB
 
std::unique_ptr< weld::ComboBoxm_xStrikeoutLB
 
std::unique_ptr< weld::ComboBoxm_xUnderlineLB
 
std::unique_ptr< weld::Labelm_xUnderlineColorFT
 
std::unique_ptr< ColorListBoxm_xUnderlineColorLB
 
std::unique_ptr< weld::CheckButtonm_xIndividualWordsBtn
 
std::unique_ptr< weld::Labelm_xEmphasisFT
 
std::unique_ptr< weld::ComboBoxm_xEmphasisLB
 
std::unique_ptr< weld::Labelm_xPositionFT
 
std::unique_ptr< weld::ComboBoxm_xPositionLB
 
std::unique_ptr< weld::Labelm_xA11yWarningFT
 

Static Private Attributes

static const WhichRangesContainer pEffectsRanges
 

Additional Inherited Members

- Protected Member Functions inherited from SvxCharBasePage
 SvxCharBasePage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rAttrSet)
 
void SetPrevFontWidthScale (const SfxItemSet &rSet)
 
void SetPrevFontEscapement (sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc)
 
SvxFontGetPreviewFont ()
 
SvxFontGetPreviewCJKFont ()
 
SvxFontGetPreviewCTLFont ()
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SvxCharBasePage
SvxFontPrevWindow m_aPreviewWin
 
std::unique_ptr< weld::CustomWeldm_xPreviewWin
 
bool m_bPreviewBackgroundToCharacter
 

Detailed Description

Definition at line 162 of file chardlg.hxx.

Constructor & Destructor Documentation

◆ SvxCharEffectsPage()

SvxCharEffectsPage::SvxCharEffectsPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

Definition at line 1299 of file chardlg.cxx.

References SfxTabPage::GetDialogController().

◆ ~SvxCharEffectsPage()

SvxCharEffectsPage::~SvxCharEffectsPage ( )
overridevirtual

Member Function Documentation

◆ ChangesApplied()

void SvxCharEffectsPage::ChangesApplied ( )
overridevirtual

◆ Create()

std::unique_ptr< SfxTabPage > SvxCharEffectsPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

◆ DeactivatePage()

DeactivateRC SvxCharEffectsPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1674 of file chardlg.cxx.

References FillItemSet().

◆ DECL_LINK() [1/7]

SvxCharEffectsPage::DECL_LINK ( CbClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/7]

SvxCharEffectsPage::DECL_LINK ( ColorBoxSelectHdl_Impl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [3/7]

SvxCharEffectsPage::DECL_LINK ( HiddenBtnClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/7]

SvxCharEffectsPage::DECL_LINK ( ModifyFontTransparencyHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [5/7]

SvxCharEffectsPage::DECL_LINK ( OutlineBtnClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/7]

SvxCharEffectsPage::DECL_LINK ( SelectListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [7/7]

SvxCharEffectsPage::DECL_LINK ( ShadowBtnClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DisableControls()

void SvxCharEffectsPage::DisableControls ( sal_uInt16  nDisable)

Definition at line 2388 of file chardlg.cxx.

References DISABLE_CASEMAP, m_xEffectsFT, and m_xEffectsLB.

Referenced by PageCreated().

◆ EnableNoneFontColor()

void SvxCharEffectsPage::EnableNoneFontColor ( )
private

Definition at line 1343 of file chardlg.cxx.

References m_bEnableNoneFontColor, and m_xFontColorLB.

Referenced by ResetColor_Impl().

◆ FillItemSet()

bool SvxCharEffectsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

if there are different underline styles in the selection the item-state in the 'rOldSet' will be invalid. In this case changing the underline style will be allowed if a style is selected in the listbox.

if there are different underline styles in the selection the item-state in the 'rOldSet' will be invalid. In this case changing the underline style will be allowed if a style is selected in the listbox.

if there are different strikeout styles in the selection the item-state in the 'rOldSet' will be invalid. In this case changing the strikeout style will be allowed if a style is selected in the listbox.

if there are different effect styles in the selection the item-state in the 'rOldSet' will be invalid. In this case changing the effect style will be allowed if a style is selected in the listbox.

Reimplemented from SfxTabPage.

Definition at line 2078 of file chardlg.cxx.

References CHRDLG_POSITION_UNDER, FillItemSetColor_Impl(), SvxTextLineItem::GetColor(), SvxTextLineItem::getComplexColor(), SfxTabPage::GetDialogExampleSet(), SvxEmphasisMarkItem::GetEmphasisMark(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SfxTabPage::GetOldItem(), GetValue(), SfxTabPage::GetWhich(), SfxItemSet::InvalidateItem(), LINESTYLE_NONE, m_xEffectsLB, m_xEmphasisLB, m_xHiddenBtn, m_xIndividualWordsBtn, m_xOutlineBtn, m_xOverlineColorLB, m_xOverlineLB, m_xPositionLB, m_xReliefLB, m_xShadowBtn, m_xStrikeoutLB, m_xUnderlineColorLB, m_xUnderlineLB, nPos, SfxItemSet::Put(), rSet, SvxTextLineItem::SetColor(), SvxTextLineItem::setComplexColor(), StateToAttr(), and TRISTATE_INDET.

Referenced by DeactivatePage().

◆ FillItemSetColor_Impl()

bool SvxCharEffectsPage::FillItemSetColor_Impl ( SfxItemSet rSet)
private

◆ GetRanges()

static WhichRangesContainer SvxCharEffectsPage::GetRanges ( )
inlinestatic

Definition at line 226 of file chardlg.hxx.

References pEffectsRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ Initialize()

void SvxCharEffectsPage::Initialize ( )
private

◆ PageCreated()

void SvxCharEffectsPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

◆ Reset()

void SvxCharEffectsPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ ResetColor_Impl()

void SvxCharEffectsPage::ResetColor_Impl ( const SfxItemSet rSet)
private

◆ SelectHdl_Impl()

void SvxCharEffectsPage::SelectHdl_Impl ( const weld::ComboBox pBox)
private

◆ SetCaseMap_Impl()

void SvxCharEffectsPage::SetCaseMap_Impl ( SvxCaseMap  eCaseMap)
private

Definition at line 1492 of file chardlg.cxx.

References m_xEffectsLB, and UpdatePreview_Impl().

Referenced by Reset().

◆ UpdatePreview_Impl()

void SvxCharEffectsPage::UpdatePreview_Impl ( )
private

Member Data Documentation

◆ m_aHiddenState

weld::TriStateEnabled SvxCharEffectsPage::m_aHiddenState
private

Definition at line 174 of file chardlg.hxx.

Referenced by Reset().

◆ m_aIndividualWordsState

weld::TriStateEnabled SvxCharEffectsPage::m_aIndividualWordsState
private

Definition at line 175 of file chardlg.hxx.

Referenced by Reset().

◆ m_aOrigFontColor

Color SvxCharEffectsPage::m_aOrigFontColor
private

Definition at line 169 of file chardlg.hxx.

Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().

◆ m_aOutlineState

weld::TriStateEnabled SvxCharEffectsPage::m_aOutlineState
private

Definition at line 172 of file chardlg.hxx.

Referenced by Reset().

◆ m_aShadowState

weld::TriStateEnabled SvxCharEffectsPage::m_aShadowState
private

Definition at line 173 of file chardlg.hxx.

Referenced by Reset().

◆ m_bEnableNoneFontColor

bool SvxCharEffectsPage::m_bEnableNoneFontColor
private

Definition at line 168 of file chardlg.hxx.

Referenced by EnableNoneFontColor(), and FillItemSetColor_Impl().

◆ m_bNewFontColor

bool SvxCharEffectsPage::m_bNewFontColor
private

Definition at line 167 of file chardlg.hxx.

Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().

◆ m_bOrigFontColor

bool SvxCharEffectsPage::m_bOrigFontColor
private

Definition at line 166 of file chardlg.hxx.

Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().

◆ m_nHtmlMode

sal_uInt16 SvxCharEffectsPage::m_nHtmlMode
private

Definition at line 170 of file chardlg.hxx.

Referenced by Initialize().

◆ m_xA11yWarningFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xA11yWarningFT
private

Definition at line 200 of file chardlg.hxx.

Referenced by Initialize().

◆ m_xEffectsFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xEffectsFT
private

Definition at line 181 of file chardlg.hxx.

Referenced by DisableControls(), and Reset().

◆ m_xEffectsLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xEffectsLB
private

◆ m_xEmphasisFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xEmphasisFT
private

Definition at line 196 of file chardlg.hxx.

Referenced by Initialize(), and Reset().

◆ m_xEmphasisLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xEmphasisLB
private

◆ m_xFontColorFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xFontColorFT
private

Definition at line 177 of file chardlg.hxx.

Referenced by ResetColor_Impl().

◆ m_xFontColorLB

std::unique_ptr<ColorListBox> SvxCharEffectsPage::m_xFontColorLB
private

◆ m_xFontTransparencyFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xFontTransparencyFT
private

Definition at line 179 of file chardlg.hxx.

Referenced by PageCreated().

◆ m_xFontTransparencyMtr

std::unique_ptr<weld::MetricSpinButton> SvxCharEffectsPage::m_xFontTransparencyMtr
private

◆ m_xHiddenBtn

std::unique_ptr<weld::CheckButton> SvxCharEffectsPage::m_xHiddenBtn
private

Definition at line 187 of file chardlg.hxx.

Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().

◆ m_xIndividualWordsBtn

std::unique_ptr<weld::CheckButton> SvxCharEffectsPage::m_xIndividualWordsBtn
private

◆ m_xOutlineBtn

std::unique_ptr<weld::CheckButton> SvxCharEffectsPage::m_xOutlineBtn
private

◆ m_xOverlineColorFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xOverlineColorFT
private

Definition at line 189 of file chardlg.hxx.

Referenced by SelectHdl_Impl().

◆ m_xOverlineColorLB

std::unique_ptr<ColorListBox> SvxCharEffectsPage::m_xOverlineColorLB
private

◆ m_xOverlineLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xOverlineLB
private

◆ m_xPositionFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xPositionFT
private

Definition at line 198 of file chardlg.hxx.

Referenced by Initialize(), and SelectHdl_Impl().

◆ m_xPositionLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xPositionLB
private

◆ m_xReliefFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xReliefFT
private

Definition at line 183 of file chardlg.hxx.

Referenced by Reset().

◆ m_xReliefLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xReliefLB
private

◆ m_xShadowBtn

std::unique_ptr<weld::CheckButton> SvxCharEffectsPage::m_xShadowBtn
private

◆ m_xStrikeoutLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xStrikeoutLB
private

◆ m_xUnderlineColorFT

std::unique_ptr<weld::Label> SvxCharEffectsPage::m_xUnderlineColorFT
private

Definition at line 193 of file chardlg.hxx.

Referenced by SelectHdl_Impl().

◆ m_xUnderlineColorLB

std::unique_ptr<ColorListBox> SvxCharEffectsPage::m_xUnderlineColorLB
private

◆ m_xUnderlineLB

std::unique_ptr<weld::ComboBox> SvxCharEffectsPage::m_xUnderlineLB
private

◆ pEffectsRanges

const WhichRangesContainer SvxCharEffectsPage::pEffectsRanges
staticprivate

Definition at line 165 of file chardlg.hxx.

Referenced by GetRanges().


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