LibreOffice Module cui (master) 1
|
#include <chardlg.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
static WhichRangesContainer | GetRanges () |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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) | |
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) |
SvxFont & | GetPreviewFont () |
SvxFont & | GetPreviewCJKFont () |
SvxFont & | GetPreviewCTLFont () |
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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Protected Attributes inherited from SvxCharBasePage | |
SvxFontPrevWindow | m_aPreviewWin |
std::unique_ptr< weld::CustomWeld > | m_xPreviewWin |
bool | m_bPreviewBackgroundToCharacter |
Definition at line 162 of file chardlg.hxx.
SvxCharEffectsPage::SvxCharEffectsPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 1299 of file chardlg.cxx.
References SfxTabPage::GetDialogController().
|
overridevirtual |
Definition at line 1349 of file chardlg.cxx.
References m_xFontColorLB, m_xFontTransparencyMtr, m_xOverlineColorLB, and m_xUnderlineColorLB.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2062 of file chardlg.cxx.
References m_xEffectsLB, m_xEmphasisLB, m_xFontTransparencyMtr, m_xHiddenBtn, m_xIndividualWordsBtn, m_xOutlineBtn, m_xOverlineLB, m_xPositionLB, m_xReliefLB, m_xShadowBtn, m_xStrikeoutLB, and m_xUnderlineLB.
Referenced by Reset().
|
static |
Definition at line 1681 of file chardlg.cxx.
References rSet.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), and SvxSearchFormatDialog::SvxSearchFormatDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1674 of file chardlg.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
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().
|
private |
Definition at line 1343 of file chardlg.cxx.
References m_bEnableNoneFontColor, and m_xFontColorLB.
Referenced by ResetColor_Impl().
|
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().
|
private |
Definition at line 1569 of file chardlg.cxx.
References model::ComplexColor::addTransformation(), COL_NONE_COLOR, model::convertToThemeColorType(), eType, basegfx::fround(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SfxTabPage::GetWhich(), SfxItemSet::InvalidateItem(), model::LumMod, model::LumOff, NamedColor::m_aColor, m_aOrigFontColor, m_bEnableNoneFontColor, m_bNewFontColor, m_bOrigFontColor, NamedColor::m_nLumMod, NamedColor::m_nLumOff, NamedColor::m_nThemeIndex, m_xFontColorLB, m_xFontTransparencyMtr, SfxItemSet::Put(), rSet, Color::SetAlpha(), SvxColorItem::setComplexColor(), model::ComplexColor::setSchemeColor(), and model::Unknown.
Referenced by FillItemSet().
|
inlinestatic |
Definition at line 226 of file chardlg.hxx.
References pEffectsRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
private |
!! hide some controls please
Definition at line 1357 of file chardlg.cxx.
References SfxObjectShell::Current(), SfxItemSet::GetItemIfSet(), SfxTabPage::GetItemSet(), CntUInt16Item::GetValue(), HTMLMODE_ON, SvtCJKOptions::IsAsianTypographyEnabled(), LINK, m_nHtmlMode, m_xA11yWarningFT, m_xEffectsLB, m_xEmphasisFT, m_xEmphasisLB, m_xFontColorLB, m_xFontTransparencyMtr, m_xHiddenBtn, m_xIndividualWordsBtn, m_xOutlineBtn, m_xOverlineColorLB, m_xOverlineLB, m_xPositionFT, m_xPositionLB, m_xReliefLB, m_xShadowBtn, m_xStrikeoutLB, m_xUnderlineColorLB, m_xUnderlineLB, SelectHdl_Impl(), and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2397 of file chardlg.cxx.
References DisableControls(), SfxItemSet::GetItem(), CntUInt16Item::GetValue(), SvxCharBasePage::m_bPreviewBackgroundToCharacter, m_xFontTransparencyFT, m_xFontTransparencyMtr, SVX_ENABLE_CHAR_TRANSPARENCY, and SVX_PREVIEW_CHARACTER.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1686 of file chardlg.cxx.
References weld::TriStateEnabled::bTriStateEnabled, ChangesApplied(), CHRDLG_POSITION_OVER, CHRDLG_POSITION_UNDER, COL_AUTO(), SfxItemSet::Get(), SvxTextLineItem::GetColor(), SvxEmphasisMarkItem::GetEmphasisMark(), SfxItemSet::GetItemState(), SvxCharBasePage::GetPreviewCJKFont(), SvxCharBasePage::GetPreviewCTLFont(), SvxCharBasePage::GetPreviewFont(), SfxTabPage::GetWhich(), LINESTYLE_NONE, m_aHiddenState, m_aIndividualWordsState, m_aOutlineState, SvxCharBasePage::m_aPreviewWin, m_aShadowState, m_xEffectsFT, m_xEffectsLB, m_xEmphasisFT, m_xEmphasisLB, m_xHiddenBtn, m_xIndividualWordsBtn, m_xOutlineBtn, m_xOverlineColorLB, m_xOverlineLB, m_xPositionLB, m_xReliefFT, m_xReliefLB, m_xShadowBtn, m_xStrikeoutLB, m_xUnderlineColorLB, m_xUnderlineLB, nPos, ResetColor_Impl(), rSet, SelectHdl_Impl(), SetCaseMap_Impl(), SvxCharBasePage::SetPrevFontWidthScale(), STRIKEOUT_NONE, and TRISTATE_INDET.
|
private |
Definition at line 1506 of file chardlg.cxx.
References SvxFontPrevWindow::AutoCorrectFontColor(), COL_AUTO(), EnableNoneFontColor(), basegfx::fround(), SfxItemSet::Get(), Color::GetAlpha(), SfxItemSet::GetItemState(), SvxCharBasePage::GetPreviewCJKFont(), SvxCharBasePage::GetPreviewCTLFont(), SvxCharBasePage::GetPreviewFont(), SvxColorItem::GetValue(), SfxTabPage::GetWhich(), Color::IsTransparent(), m_aOrigFontColor, SvxCharBasePage::m_aPreviewWin, m_bNewFontColor, m_bOrigFontColor, m_xFontColorFT, m_xFontColorLB, m_xFontTransparencyMtr, rSet, and Color::SetAlpha().
Referenced by Reset().
|
private |
Definition at line 1622 of file chardlg.cxx.
References weld::ComboBox::get_active(), m_xEmphasisLB, m_xIndividualWordsBtn, m_xOutlineBtn, m_xOverlineColorFT, m_xOverlineColorLB, m_xOverlineLB, m_xPositionFT, m_xPositionLB, m_xReliefLB, m_xShadowBtn, m_xStrikeoutLB, m_xUnderlineColorFT, m_xUnderlineColorLB, m_xUnderlineLB, and UpdatePreview_Impl().
Referenced by Initialize(), and Reset().
|
private |
Definition at line 1492 of file chardlg.cxx.
References m_xEffectsLB, and UpdatePreview_Impl().
Referenced by Reset().
|
private |
Definition at line 1420 of file chardlg.cxx.
References SvxFontPrevWindow::AutoCorrectFontColor(), CHRDLG_POSITION_UNDER, SvxCharBasePage::GetPreviewCJKFont(), SvxCharBasePage::GetPreviewCTLFont(), SvxCharBasePage::GetPreviewFont(), SvxCharBasePage::m_aPreviewWin, m_xEffectsLB, m_xEmphasisLB, m_xFontColorLB, m_xIndividualWordsBtn, m_xOutlineBtn, m_xOverlineColorLB, m_xOverlineLB, m_xPositionLB, m_xReliefLB, m_xShadowBtn, m_xStrikeoutLB, m_xUnderlineColorLB, m_xUnderlineLB, SvxFont::SetCaseMap(), SvxFontPrevWindow::SetOverlineColor(), SvxFontPrevWindow::SetTextLineColor(), and StateToAttr().
Referenced by SelectHdl_Impl(), and SetCaseMap_Impl().
|
private |
Definition at line 174 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 175 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 169 of file chardlg.hxx.
Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().
|
private |
Definition at line 172 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 173 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 168 of file chardlg.hxx.
Referenced by EnableNoneFontColor(), and FillItemSetColor_Impl().
|
private |
Definition at line 167 of file chardlg.hxx.
Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().
|
private |
Definition at line 166 of file chardlg.hxx.
Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().
|
private |
Definition at line 170 of file chardlg.hxx.
Referenced by Initialize().
|
private |
Definition at line 200 of file chardlg.hxx.
Referenced by Initialize().
|
private |
Definition at line 181 of file chardlg.hxx.
Referenced by DisableControls(), and Reset().
|
private |
Definition at line 182 of file chardlg.hxx.
Referenced by ChangesApplied(), DisableControls(), FillItemSet(), Initialize(), Reset(), SetCaseMap_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 196 of file chardlg.hxx.
Referenced by Initialize(), and Reset().
|
private |
Definition at line 197 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 177 of file chardlg.hxx.
Referenced by ResetColor_Impl().
|
private |
Definition at line 178 of file chardlg.hxx.
Referenced by EnableNoneFontColor(), FillItemSetColor_Impl(), Initialize(), ResetColor_Impl(), UpdatePreview_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 179 of file chardlg.hxx.
Referenced by PageCreated().
|
private |
Definition at line 180 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSetColor_Impl(), Initialize(), PageCreated(), ResetColor_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 187 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().
|
private |
Definition at line 195 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 185 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 189 of file chardlg.hxx.
Referenced by SelectHdl_Impl().
|
private |
Definition at line 190 of file chardlg.hxx.
Referenced by FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), UpdatePreview_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 188 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 198 of file chardlg.hxx.
Referenced by Initialize(), and SelectHdl_Impl().
|
private |
Definition at line 199 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 183 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 184 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 186 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 191 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 193 of file chardlg.hxx.
Referenced by SelectHdl_Impl().
|
private |
Definition at line 194 of file chardlg.hxx.
Referenced by FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), UpdatePreview_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 192 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
staticprivate |
Definition at line 165 of file chardlg.hxx.
Referenced by GetRanges().