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 |
![]() | |
virtual | ~SvxCharBasePage () override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
static const sal_uInt16 * | GetRanges () |
![]() | |
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::ToggleButton &, void) | |
DECL_LINK (ShadowBtnClickHdl, weld::ToggleButton &, void) | |
DECL_LINK (HiddenBtnClickHdl, weld::ToggleButton &, void) | |
DECL_LINK (CbClickHdl_Impl, weld::ToggleButton &, void) | |
DECL_LINK (ColorBoxSelectHdl_Impl, ColorListBox &, void) | |
DECL_LINK (ModifyFontTransparencyHdl_Impl, weld::MetricSpinButton &, void) | |
Static Private Attributes | |
static const sal_uInt16 | pEffectsRanges [] |
Additional Inherited Members | |
![]() | |
SvxCharBasePage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &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 () |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 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 |
![]() | |
SvxFontPrevWindow | m_aPreviewWin |
std::unique_ptr< weld::CustomWeld > | m_xPreviewWin |
bool | m_bPreviewBackgroundToCharacter |
Definition at line 159 of file chardlg.hxx.
SvxCharEffectsPage::SvxCharEffectsPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 1301 of file chardlg.cxx.
References Initialize(), SvxCharBasePage::m_aPreviewWin, m_xFontColorLB, m_xOverlineColorLB, SvxCharBasePage::m_xPreviewWin, m_xUnderlineColorLB, and PERCENT().
|
overridevirtual |
Definition at line 1348 of file chardlg.cxx.
References m_xFontColorLB, m_xFontTransparencyMtr, m_xOverlineColorLB, and m_xUnderlineColorLB.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2051 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 1664 of file chardlg.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), and SvxSearchFormatDialog::SvxSearchFormatDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1657 of file chardlg.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void SvxCharEffectsPage::DisableControls | ( | sal_uInt16 | nDisable | ) |
Definition at line 2367 of file chardlg.cxx.
References DISABLE_CASEMAP, m_xEffectsFT, and m_xEffectsLB.
Referenced by PageCreated().
|
private |
Definition at line 1342 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 2067 of file chardlg.cxx.
References CHRDLG_POSITION_UNDER, FillItemSetColor_Impl(), SvxTextLineItem::GetColor(), 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(), SvxTextLineItem::SetColor(), StateToAttr(), and TRISTATE_INDET.
Referenced by DeactivatePage().
|
private |
Definition at line 1567 of file chardlg.cxx.
References COL_NONE_COLOR, basegfx::fround(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SfxTabPage::GetWhich(), SfxItemSet::InvalidateItem(), m_aOrigFontColor, m_bEnableNoneFontColor, m_bNewFontColor, m_bOrigFontColor, m_xFontColorLB, m_xFontTransparencyMtr, SfxItemSet::Put(), and Color::SetAlpha().
Referenced by FillItemSet().
|
inlinestatic |
Definition at line 223 of file chardlg.hxx.
References pEffectsRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
private |
!! hide some controls please
Definition at line 1356 of file chardlg.cxx.
References SfxObjectShell::Current(), SfxShell::GetItem(), SfxTabPage::GetItemSet(), GetValue, HTMLMODE_ON, 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().
Referenced by SvxCharEffectsPage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2376 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 1669 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(), SelectHdl_Impl(), SetCaseMap_Impl(), SvxCharBasePage::SetPrevFontWidthScale(), STRIKEOUT_NONE, and TRISTATE_INDET.
|
private |
Definition at line 1503 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, and Color::SetAlpha().
Referenced by Reset().
|
private |
Definition at line 1605 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 1489 of file chardlg.cxx.
References m_xEffectsLB, and UpdatePreview_Impl().
Referenced by Reset().
|
private |
Definition at line 1417 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 171 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 172 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 166 of file chardlg.hxx.
Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().
|
private |
Definition at line 169 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 170 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 165 of file chardlg.hxx.
Referenced by EnableNoneFontColor(), and FillItemSetColor_Impl().
|
private |
Definition at line 164 of file chardlg.hxx.
Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().
|
private |
Definition at line 163 of file chardlg.hxx.
Referenced by FillItemSetColor_Impl(), and ResetColor_Impl().
|
private |
Definition at line 167 of file chardlg.hxx.
Referenced by Initialize().
|
private |
Definition at line 197 of file chardlg.hxx.
Referenced by Initialize().
|
private |
Definition at line 178 of file chardlg.hxx.
Referenced by DisableControls(), and Reset().
|
private |
Definition at line 179 of file chardlg.hxx.
Referenced by ChangesApplied(), DisableControls(), FillItemSet(), Initialize(), Reset(), SetCaseMap_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 193 of file chardlg.hxx.
Referenced by Initialize(), and Reset().
|
private |
Definition at line 194 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 174 of file chardlg.hxx.
Referenced by ResetColor_Impl().
|
private |
Definition at line 175 of file chardlg.hxx.
Referenced by EnableNoneFontColor(), FillItemSetColor_Impl(), Initialize(), ResetColor_Impl(), SvxCharEffectsPage(), UpdatePreview_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 176 of file chardlg.hxx.
Referenced by PageCreated().
|
private |
Definition at line 177 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSetColor_Impl(), Initialize(), PageCreated(), ResetColor_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 184 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), and Reset().
|
private |
Definition at line 192 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 182 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 SelectHdl_Impl().
|
private |
Definition at line 187 of file chardlg.hxx.
Referenced by FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), SvxCharEffectsPage(), UpdatePreview_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 185 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 195 of file chardlg.hxx.
Referenced by Initialize(), and SelectHdl_Impl().
|
private |
Definition at line 196 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 180 of file chardlg.hxx.
Referenced by Reset().
|
private |
Definition at line 181 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 ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 188 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
private |
Definition at line 190 of file chardlg.hxx.
Referenced by SelectHdl_Impl().
|
private |
Definition at line 191 of file chardlg.hxx.
Referenced by FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), SvxCharEffectsPage(), UpdatePreview_Impl(), and ~SvxCharEffectsPage().
|
private |
Definition at line 189 of file chardlg.hxx.
Referenced by ChangesApplied(), FillItemSet(), Initialize(), Reset(), SelectHdl_Impl(), and UpdatePreview_Impl().
|
staticprivate |
Definition at line 162 of file chardlg.hxx.
Referenced by GetRanges().