LibreOffice Module cui (master) 1
|
#include <border.hxx>
Public Member Functions | |
SvxBorderTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreAttrs) | |
virtual | ~SvxBorderTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rCoreAttrs) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ChangesApplied () override |
void | HideShadowControls () |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
void | SetTableMode () |
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 *rAttrSet) |
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) |
Protected Member Functions | |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
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 |
Private Member Functions | |
DECL_LINK (SelStyleHdl_Impl, SvtLineListBox &, void) | |
DECL_LINK (SelColHdl_Impl, ColorListBox &, void) | |
DECL_LINK (SelPreHdl_Impl, ValueSet *, void) | |
DECL_LINK (SelSdwHdl_Impl, ValueSet *, void) | |
DECL_LINK (LinesChanged_Impl, LinkParamNone *, void) | |
DECL_LINK (ModifyDistanceHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifyWidthLBHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ModifyWidthMFHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (SyncHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (RemoveAdjacentCellBorderHdl_Impl, weld::Toggleable &, void) | |
sal_uInt16 | GetPresetImageId (sal_uInt16 nValueSetIdx) const |
TranslateId | GetPresetStringId (sal_uInt16 nValueSetIdx) const |
void | FillPresetVS () |
void | FillShadowVS () |
void | FillValueSets () |
void | SetLineWidth (sal_Int64 nWidth, sal_Int32 nRemovedType=0) |
void | FillLineListBox_Impl () |
void | ResetFrameLine_Impl (svx::FrameBorderType eBorder, const editeng::SvxBorderLine *pCurLine, bool bValid) |
share for individual Frame-/Core-Line More... | |
bool | IsBorderLineStyleAllowed (SvxBorderLineStyle nStyle) const |
void | UpdateRemoveAdjCellBorderCB (sal_uInt16 nPreset) |
Static Private Attributes | |
static const WhichRangesContainer | pRanges |
static const std::vector< int > | m_aLineWidths |
Definition at line 77 of file border.hxx.
SvxBorderTabPage::SvxBorderTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rCoreAttrs | ||
) |
Definition at line 287 of file border.cxx.
References SfxTabPage::GetDialogController(), and NONE.
|
overridevirtual |
Definition at line 596 of file border.cxx.
References m_xFrameSelWin, m_xLbLineColor, m_xLbLineStyle, m_xLbShadowColor, m_xWndPresets, m_xWndPresetsWin, m_xWndShadows, and m_xWndShadowsWin.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 886 of file border.cxx.
References m_xBottomMF, m_xLeftMF, m_xMergeAdjacentBordersCB, m_xMergeWithNextCB, m_xRightMF, and m_xTopMF.
|
static |
Definition at line 608 of file border.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), and SvxBorderBackgroundDlg::SvxBorderBackgroundDlg().
|
overrideprotectedvirtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 904 of file border.cxx.
References svx::BLTR, svx::Bottom, SfxItemSet::ClearItem(), svx::DontCare, SvxBoxInfoItem::EnableHor(), SvxBoxInfoItem::EnableVer(), SfxItemSet::Get(), GetCoreValue(), SvxBoxInfoItem::GetDefDist(), SvxBoxItem::GetDistance(), svx::FrameSelector::GetFrameBorderState(), svx::FrameSelector::GetFrameBorderStyle(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxTabPage::GetOldItem(), SfxItemSet::GetPool(), SfxTabPage::GetWhich(), SfxItemPool::GetWhich(), svx::Horizontal, i, svx::FrameSelector::IsBorderEnabled(), SvxBoxInfoItem::IsMinDist(), SvxBoxInfoItem::IsValid(), svx::Left, m_aFrameSel, m_xBottomMF, m_xLeftMF, m_xMarginControls, m_xMergeAdjacentBordersCB, m_xMergeWithNextCB, m_xRightMF, m_xShadowControls, m_xTopMF, mbHorEnabled, mbRemoveAdjacentCellBorders, mbUseMarginItem, mbVerEnabled, mnBoxSlot, mnShadowSlot, nMinValue, nState, SfxItemSet::Put(), svx::Right, SvxBoxInfoItem::SetDefDist(), SvxBoxInfoItem::SetDist(), SvxBoxItem::SetDistance(), SvxLineItem::SetLine(), SvxBoxInfoItem::SetLine(), SvxBoxItem::SetLine(), SvxBoxInfoItem::SetMinDist(), SvxBoxItem::SetRemoveAdjacentCellBorder(), SvxBoxInfoItem::SetValid(), svx::TLBR, svx::Top, TRISTATE_INDET, and svx::Vertical.
Referenced by DeactivatePage().
|
private |
Definition at line 1487 of file border.cxx.
References vcl::ConvertDoubleValue(), i, IsBorderLineStyleAllowed(), lcl_GetMinLineWidth(), lcl_mediumColor(), m_xLbLineStyle, m_xLineWidthMF, sameColor(), and sameDistColor().
|
private |
Definition at line 1409 of file border.cxx.
References BORDER_PRESET_COUNT, GetPresetImageId(), GetPresetStringId(), m_aBorderImgVec, m_xWndPresets, SvxResId(), WB_DOUBLEBORDER, and WB_ITEMBORDER.
Referenced by FillValueSets().
|
private |
Definition at line 1429 of file border.cxx.
References BORDER_SHADOW_COUNT, CuiResId(), m_aShadowImgVec, m_xWndShadows, WB_DOUBLEBORDER, and WB_ITEMBORDER.
Referenced by FillValueSets().
|
private |
Definition at line 1454 of file border.cxx.
References FillPresetVS(), and FillShadowVS().
|
private |
Definition at line 1343 of file border.cxx.
References BORDER_PRESET_COUNT, DBG_ASSERT, IID_PRE_CELL_ALL, IID_PRE_CELL_DIAG, IID_PRE_CELL_L, IID_PRE_CELL_LR, IID_PRE_CELL_NONE, IID_PRE_CELL_TB, IID_PRE_HOR_ALL, IID_PRE_HOR_HOR, IID_PRE_HOR_NONE, IID_PRE_HOR_OUTER, IID_PRE_HOR_OUTER2, IID_PRE_TABLE_ALL, IID_PRE_TABLE_NONE, IID_PRE_TABLE_OUTER, IID_PRE_TABLE_OUTER2, IID_PRE_TABLE_OUTERH, IID_PRE_VER_ALL, IID_PRE_VER_NONE, IID_PRE_VER_OUTER, IID_PRE_VER_OUTER2, IID_PRE_VER_VER, mbBLTREnabled, mbHorEnabled, mbTLBREnabled, and mbVerEnabled.
Referenced by FillPresetVS(), and GetPresetStringId().
|
private |
Definition at line 1376 of file border.cxx.
References GetPresetImageId().
Referenced by FillPresetVS().
|
inlinestatic |
Definition at line 87 of file border.hxx.
References pRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
void SvxBorderTabPage::HideShadowControls | ( | ) |
|
private |
Definition at line 625 of file border.cxx.
References maUsedBorderStyles.
Referenced by FillLineListBox_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1673 of file border.cxx.
References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), HideShadowControls(), m_xMergeAdjacentBordersCB, m_xMergeWithNextCB, m_xPropertiesFrame, nSWMode, and SVX_HIDESHADOWCTL.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 634 of file border.cxx.
References svx::BLTR, svx::Bottom, COL_BLACK(), vcl::ConvertDoubleValue(), SfxObjectShell::Current(), svx::FrameSelector::DeselectAllBorders(), SvxBoxItem::GetBottom(), SvxBoxInfoItem::GetDefDist(), SvxBoxItem::GetDistance(), SvxBoxInfoItem::GetHori(), SfxTabPage::GetItem(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SvxBoxItem::GetLeft(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SvxBoxItem::GetRight(), Application::GetSettings(), SvxBoxItem::GetSmallestDistance(), AllSettings::GetStyleSettings(), SvxBoxItem::GetTop(), CntUInt16Item::GetValue(), SfxBoolItem::GetValue(), SvxBoxInfoItem::GetVert(), svx::FrameSelector::GetVisibleColor(), svx::FrameSelector::GetVisibleWidth(), SfxTabPage::GetWhich(), SfxItemPool::GetWhich(), StyleSettings::GetWindowTextColor(), svx::FrameSelector::HideAllBorders(), svx::Horizontal, HTMLMODE_ON, svx::FrameSelector::IsAnyBorderVisible(), svx::FrameSelector::IsBorderEnabled(), SvxBoxInfoItem::IsDist(), SvxBoxInfoItem::IsMinDist(), SvxBoxInfoItem::IsValid(), svx::Left, m_aFrameSel, m_xBottomMF, m_xEdShadowSize, m_xFrameSelWin, m_xFtShadowColor, m_xFtShadowSize, m_xLbLineColor, m_xLbLineStyle, m_xLbShadowColor, m_xLeftMF, m_xLineWidthMF, m_xMarginControls, m_xMergeAdjacentBordersCB, m_xMergeWithNextCB, m_xRemoveAdjacentCellBordersCB, m_xRightMF, m_xShadowControls, m_xShadowFrame, m_xSynchronizeCB, m_xTopMF, m_xUserDefFT, m_xWndPresets, m_xWndShadows, mbBottomModified, mbLeftModified, mbRemoveAdjacentCellBorders, mbRightModified, mbSync, mbTopModified, mbUseMarginItem, mnBoxSlot, mnShadowSlot, nMinValue, nSWMode, ResetFrameLine_Impl(), svx::Right, rSet, svx::FrameSelector::SelectAllVisibleBorders(), svx::FrameSelector::SetBorderDontCare(), SetLineWidth(), SetMetricValue(), svx::FrameSelector::ShowBorder(), svx::TLBR, svx::Top, TRISTATE_INDET, and svx::Vertical.
|
private |
share for individual Frame-/Core-Line
Definition at line 614 of file border.cxx.
References svx::FrameSelector::IsBorderEnabled(), m_aFrameSel, svx::FrameSelector::SetBorderDontCare(), and svx::FrameSelector::ShowBorder().
Referenced by Reset().
|
private |
Definition at line 1460 of file border.cxx.
References m_aLineWidths, m_xLineWidthLB, and m_xLineWidthMF.
Referenced by Reset().
void SvxBorderTabPage::SetTableMode | ( | ) |
Definition at line 1699 of file border.cxx.
References nSWMode.
Referenced by SvxFormatCellsDialog::PageCreated().
|
private |
Definition at line 1625 of file border.cxx.
References bIsCalcDoc, svx::Bottom, svx::FrameSelector::GetFrameBorderState(), SfxTabPage::GetItemSet(), SvxBoxItem::GetLine(), SfxTabPage::GetOldItem(), svx::Hide, i, IID_PRE_CELL_NONE, IID_PRE_TABLE_NONE, SvxBoxInfoItem::IsValid(), svx::Left, m_aFrameSel, m_xRemoveAdjacentCellBordersCB, mbRemoveAdjacentCellBorders, mnBoxSlot, svx::Right, and svx::Top.
|
private |
Definition at line 119 of file border.hxx.
Referenced by UpdateRemoveAdjCellBorderCB().
|
private |
Definition at line 101 of file border.hxx.
Referenced by FillPresetVS().
|
private |
Definition at line 124 of file border.hxx.
Referenced by FillItemSet(), Reset(), ResetFrameLine_Impl(), and UpdateRemoveAdjCellBorderCB().
|
staticprivate |
Definition at line 80 of file border.hxx.
Referenced by SetLineWidth().
|
private |
Definition at line 100 of file border.hxx.
Referenced by FillShadowVS().
|
private |
Definition at line 142 of file border.hxx.
|
private |
Definition at line 143 of file border.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 150 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 128 of file border.hxx.
Referenced by Reset(), and ~SvxBorderTabPage().
|
private |
Definition at line 151 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 149 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 131 of file border.hxx.
Referenced by Reset(), and ~SvxBorderTabPage().
|
private |
Definition at line 130 of file border.hxx.
Referenced by FillLineListBox_Impl(), Reset(), and ~SvxBorderTabPage().
|
private |
Definition at line 152 of file border.hxx.
Referenced by Reset(), and ~SvxBorderTabPage().
|
private |
Definition at line 136 of file border.hxx.
|
private |
Definition at line 137 of file border.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 132 of file border.hxx.
Referenced by SetLineWidth().
|
private |
Definition at line 133 of file border.hxx.
Referenced by FillLineListBox_Impl(), Reset(), and SetLineWidth().
|
private |
Definition at line 161 of file border.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 157 of file border.hxx.
Referenced by ChangesApplied(), FillItemSet(), PageCreated(), and Reset().
|
private |
Definition at line 155 of file border.hxx.
Referenced by ChangesApplied(), FillItemSet(), PageCreated(), and Reset().
|
private |
properties - "Merge with next paragraph" in Writer
Definition at line 154 of file border.hxx.
Referenced by PageCreated().
|
private |
Definition at line 158 of file border.hxx.
Referenced by Reset(), and UpdateRemoveAdjCellBorderCB().
|
private |
Definition at line 159 of file border.hxx.
|
private |
Definition at line 138 of file border.hxx.
|
private |
Definition at line 139 of file border.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 160 of file border.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 146 of file border.hxx.
Referenced by HideShadowControls(), and Reset().
|
private |
Definition at line 135 of file border.hxx.
|
private |
Definition at line 144 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 140 of file border.hxx.
|
private |
Definition at line 141 of file border.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 127 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 125 of file border.hxx.
Referenced by FillPresetVS(), Reset(), and ~SvxBorderTabPage().
|
private |
Definition at line 126 of file border.hxx.
Referenced by ~SvxBorderTabPage().
|
private |
Definition at line 147 of file border.hxx.
Referenced by FillShadowVS(), Reset(), and ~SvxBorderTabPage().
|
private |
Definition at line 148 of file border.hxx.
Referenced by ~SvxBorderTabPage().
|
private |
Definition at line 121 of file border.hxx.
Referenced by IsBorderLineStyleAllowed().
|
private |
true = Bottom-left to top-right border enabled.
Definition at line 111 of file border.hxx.
Referenced by GetPresetImageId().
|
private |
Definition at line 116 of file border.hxx.
Referenced by Reset().
|
private |
true = Inner horizontal border enabled.
Definition at line 108 of file border.hxx.
Referenced by FillItemSet(), and GetPresetImageId().
|
private |
Definition at line 113 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 118 of file border.hxx.
Referenced by FillItemSet(), Reset(), and UpdateRemoveAdjCellBorderCB().
|
private |
Definition at line 114 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 117 of file border.hxx.
Referenced by Reset().
|
private |
true = Top-left to bottom-right border enabled.
Definition at line 110 of file border.hxx.
Referenced by GetPresetImageId().
|
private |
Definition at line 115 of file border.hxx.
Referenced by Reset().
|
private |
Definition at line 112 of file border.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
true = Inner vertical border enabled.
Definition at line 109 of file border.hxx.
Referenced by FillItemSet(), and GetPresetImageId().
|
private |
Definition at line 105 of file border.hxx.
Referenced by FillItemSet(), Reset(), and UpdateRemoveAdjCellBorderCB().
|
private |
Definition at line 106 of file border.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
minimum distance
Definition at line 103 of file border.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
table, textframe, paragraph
Definition at line 104 of file border.hxx.
Referenced by PageCreated(), Reset(), and SetTableMode().
|
staticprivate |
Definition at line 79 of file border.hxx.
Referenced by GetRanges().