LibreOffice Module cui (master) 1
|
#include <cuitabline.hxx>
Public Member Functions | |
void | ShowSymbolControls (bool bOn) |
SvxLineTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxLineTabPage () override |
void | Construct () |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
virtual void | FillUserData () override |
void | SetDashList (XDashListRef const &pDshLst) |
void | SetLineEndList (XLineEndListRef const &pLneEndLst) |
void | SetObjSelected (bool bHasObj) |
void | SetPageType (PageType nInType) |
void | SetDlgType (sal_uInt16 nInType) |
void | SetPosDashLb (sal_Int32 *pInPos) |
void | SetPosLineEndLb (sal_Int32 *pInPos) |
void | SetLineEndChgd (ChangeType *pIn) |
void | SetDashChgd (ChangeType *pIn) |
void | SetColorChgd (ChangeType *pIn) |
virtual void | PageCreated (const SfxAllItemSet &aSet) 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 *) |
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 | |
DECL_LINK (GraphicHdl_Impl, const OUString &, void) | |
DECL_LINK (SizeHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (MenuCreateHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (RatioHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ClickInvisibleHdl_Impl, weld::ComboBox &, void) | |
void | ClickInvisibleHdl_Impl () |
DECL_LINK (ChangeStartClickHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ChangeStartListBoxHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ChangeStartModifyHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ChangeEndListBoxHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ChangeEndModifyHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ChangeEndClickHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ChangePreviewListBoxHdl_Impl, ColorListBox &, void) | |
DECL_LINK (ChangePreviewModifyHdl_Impl, weld::MetricSpinButton &, void) | |
void | ChangePreviewHdl_Impl (const weld::MetricSpinButton *) |
DECL_LINK (ChangeTransparentHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ChangeEdgeStyleHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ChangeCapStyleHdl_Impl, weld::ComboBox &, void) | |
void | FillXLSet_Impl () |
void | FillListboxes () |
Static Private Attributes | |
static const WhichRangesContainer | pLineRanges |
Additional Inherited Members | |
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 |
Definition at line 88 of file cuitabline.hxx.
SvxLineTabPage::SvxLineTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 79 of file tpline.cxx.
References Area, SfxTabPage::GetDialogController(), GetItemSet(), and SVX_SYMBOLTYPE_UNKNOWN.
|
overridevirtual |
Definition at line 204 of file tpline.cxx.
References m_aGalleryBrushItems, m_aSymbolBrushItems, m_xCtlPreview, m_xLbColor, m_xLbEndStyle, m_xLbLineStyle, and m_xLbStartStyle.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 243 of file tpline.cxx.
References INetURLObject::Append(), Area, Bitmap, ChangePreviewHdl_Impl(), DBG_ASSERT, SfxTabPage::GetDialogController(), SfxItemSet::GetItem(), INetURLObject::GetProtocol(), CntUInt16Item::GetValue(), Hatch, comphelper::LibreOfficeKit::isActive(), m_nDlgType, m_nPageType, m_pDashList, m_pLineEndList, m_pnColorListState, m_pnDashListState, m_pnLineEndListState, m_pPosDashLb, m_pPosLineEndLb, m_xFLEdgeStyle, m_xFlLineEnds, m_xLbEndStyle, m_xLbLineStyle, m_xLbStartStyle, nCount, nPos, rSet, SetPageType(), sNone, and SvxResId().
|
private |
Definition at line 1193 of file tpline.cxx.
References FillXLSet_Impl(), GetCoreValue(), SfxTabPage::GetOldItem(), GetValue(), m_aCtlPreview, m_ePoolUnit, m_nActLineWidth, m_rXLSet, m_xBoxEnd, m_xBoxStart, m_xBoxTransparency, m_xLbEndStyle, m_xLbLineStyle, m_xLbStartStyle, m_xMtrEndWidth, m_xMtrLineWidth, m_xMtrStartWidth, SetMetricValue(), and XATTR_LINEWIDTH().
Referenced by ActivatePage(), ClickInvisibleHdl_Impl(), and Reset().
|
private |
Definition at line 1291 of file tpline.cxx.
References ChangePreviewHdl_Impl(), m_bSymbols, m_pDashList, m_xBoxArrowStyles, m_xBoxColor, m_xBoxStart, m_xBoxWidth, m_xFlLineEnds, m_xGridEdgeCaps, m_xLBCapStyle, m_xLbLineStyle, and nPos.
Referenced by Reset().
void SvxLineTabPage::Construct | ( | ) |
|
static |
Definition at line 1177 of file tpline.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), and SvxLineTabDialog::SvxLineTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 358 of file tpline.cxx.
References FillItemSet(), Gradient, m_nDlgType, m_nPageType, m_pPosDashLb, m_pPosLineEndLb, m_xLbLineStyle, m_xLbStartStyle, and nPos.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 377 of file tpline.cxx.
References Bitmap, GetCoreValue(), SfxTabPage::GetOldItem(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), GPOS_MM, Hatch, NamedColor::m_aColor, NamedColor::m_aName, m_aSymbolGraphic, m_aSymbolSize, m_bNewSize, m_ePoolUnit, m_nDlgType, m_nPageType, m_nSymbolType, m_pDashList, m_pLineEndList, m_xLBCapStyle, m_xLbColor, m_xLBEdgeStyle, m_xLbEndStyle, m_xLbLineStyle, m_xLbStartStyle, m_xMtrEndWidth, m_xMtrLineWidth, m_xMtrStartWidth, m_xMtrTransparent, m_xTsbCenterEnd, m_xTsbCenterStart, nPos, SfxItemSet::Put(), SVX_SYMBOLTYPE_NONE, SVX_SYMBOLTYPE_UNKNOWN, TRISTATE_FALSE, XATTR_LINECAP(), XATTR_LINECOLOR(), XATTR_LINEDASH(), XATTR_LINEEND(), XATTR_LINEENDCENTER(), XATTR_LINEENDWIDTH(), XATTR_LINEJOINT(), XATTR_LINESTART(), XATTR_LINESTARTCENTER(), XATTR_LINESTARTWIDTH(), XATTR_LINESTYLE(), XATTR_LINETRANSPARENCE(), and XATTR_LINEWIDTH().
Referenced by DeactivatePage().
|
private |
Definition at line 220 of file tpline.cxx.
References comphelper::LibreOfficeKit::isActive(), m_pDashList, m_pLineEndList, m_xLbEndStyle, m_xLbLineStyle, m_xLbStartStyle, sNone, and SvxResId().
Referenced by Construct().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1368 of file tpline.cxx.
References m_xCbxSynchronize, and SfxTabPage::SetUserData().
|
private |
Definition at line 662 of file tpline.cxx.
References GetCoreValue(), NamedColor::m_aColor, m_aCtlPreview, NamedColor::m_aName, m_aXLineAttr, m_ePoolUnit, m_pDashList, m_pLineEndList, m_rXLSet, m_xLBCapStyle, m_xLbColor, m_xLBEdgeStyle, m_xLbEndStyle, m_xLbLineStyle, m_xLbStartStyle, m_xMtrEndWidth, m_xMtrLineWidth, m_xMtrStartWidth, m_xMtrTransparent, m_xTsbCenterEnd, m_xTsbCenterStart, nPos, SfxItemSet::Put(), SvxXLinePreview::SetLineAttributes(), TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by ChangePreviewHdl_Impl().
|
inlinestatic |
Definition at line 209 of file cuitabline.hxx.
References pLineRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1664 of file tpline.cxx.
References Construct(), SvxDashListItem::GetDashList(), SfxItemSet::GetItem(), m_aAutoSymbolGraphic, m_pSymbolList, m_xSymbolAttr, SetDashList(), SetDlgType(), SetLineEndList(), SetPageType(), and ShowSymbolControls().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 783 of file tpline.cxx.
References a, aStr, ChangePreviewHdl_Impl(), ClickInvisibleHdl_Impl(), SfxItemSet::Get(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), XLineEndEntry::GetLineEnd(), SdrExchangeView::GetMarkedObjMetaFile(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SfxItemSet::GetPool(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), SfxTabPage::GetUserData(), SfxItemPool::GetWhich(), Size::Height(), SdrMarkView::hideMarkHandles(), OutputDevice::LogicToLogic(), m_aAutoSymbolGraphic, m_aCtlPreview, m_aSymbolGraphic, m_aSymbolLastSize, m_aSymbolSize, m_bObjSelected, m_ePoolUnit, m_pLineEndList, m_pSymbolList, m_rOutAttrs, m_xCbxSynchronize, m_xFlLineEnds, m_xGridIconSize, m_xLBCapStyle, m_xLbColor, m_xLBEdgeStyle, m_xLbEndStyle, m_xLbLineStyle, m_xLbStartStyle, m_xMtrEndWidth, m_xMtrLineWidth, m_xMtrStartWidth, m_xMtrTransparent, m_xSymbolAttr, m_xSymbolHeightMF, m_xSymbolWidthMF, m_xTsbCenterEnd, m_xTsbCenterStart, SdrView::MarkAll(), SetMetricValue(), Graphic::SetPrefMapMode(), Graphic::SetPrefSize(), SvxXLinePreview::SetSymbol(), SdrObjEditView::ShowSdrPage(), SVX_SYMBOLTYPE_AUTO, SVX_SYMBOLTYPE_NONE, SVX_SYMBOLTYPE_UNKNOWN, TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, SdrView::UnmarkAll(), Size::Width(), XATTR_LINECAP(), XATTR_LINECOLOR(), XATTR_LINEDASH(), XATTR_LINEEND(), XATTR_LINEENDCENTER(), XATTR_LINEENDWIDTH(), XATTR_LINEJOINT(), XATTR_LINESTART(), XATTR_LINESTARTCENTER(), XATTR_LINESTARTWIDTH(), XATTR_LINESTYLE(), XATTR_LINETRANSPARENCE(), and XATTR_LINEWIDTH().
|
inline |
Definition at line 230 of file cuitabline.hxx.
References m_pnColorListState.
|
inline |
Definition at line 229 of file cuitabline.hxx.
References m_pnDashListState.
|
inline |
|
inline |
|
inline |
Definition at line 228 of file cuitabline.hxx.
References m_pnLineEndListState.
|
inline |
Definition at line 220 of file cuitabline.hxx.
References m_pLineEndList.
Referenced by PageCreated().
|
inline |
Definition at line 221 of file cuitabline.hxx.
References m_bObjSelected.
|
inline |
Definition at line 223 of file cuitabline.hxx.
References m_nPageType.
Referenced by ActivatePage(), and PageCreated().
|
inline |
Definition at line 225 of file cuitabline.hxx.
References m_pPosDashLb.
|
inline |
Definition at line 226 of file cuitabline.hxx.
References m_pPosLineEndLb.
void SvxLineTabPage::ShowSymbolControls | ( | bool | bOn | ) |
Definition at line 195 of file tpline.cxx.
References m_aCtlPreview, m_bSymbols, m_xFlSymbol, and SvxXLinePreview::ShowSymbol().
Referenced by PageCreated().
|
private |
a graphic to be displayed in the preview in case that an automatic symbol is chosen
Definition at line 98 of file cuitabline.hxx.
Referenced by PageCreated(), and Reset().
|
private |
Definition at line 135 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), FillXLSet_Impl(), Reset(), and ShowSymbolControls().
|
private |
Definition at line 105 of file cuitabline.hxx.
Referenced by ~SvxLineTabPage().
|
private |
Definition at line 103 of file cuitabline.hxx.
|
private |
Definition at line 107 of file cuitabline.hxx.
Referenced by ~SvxLineTabPage().
|
private |
Definition at line 110 of file cuitabline.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 109 of file cuitabline.hxx.
Referenced by Reset().
|
private |
Definition at line 111 of file cuitabline.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 117 of file cuitabline.hxx.
Referenced by FillXLSet_Impl().
|
private |
Definition at line 108 of file cuitabline.hxx.
|
private |
Definition at line 96 of file cuitabline.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 115 of file cuitabline.hxx.
Referenced by Reset(), and SetObjSelected().
|
private |
Definition at line 112 of file cuitabline.hxx.
Referenced by ClickInvisibleHdl_Impl(), and ShowSymbolControls().
|
private |
Definition at line 131 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 133 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl().
|
private |
Definition at line 127 of file cuitabline.hxx.
Referenced by ActivatePage(), DeactivatePage(), FillItemSet(), and SetDlgType().
|
private |
Definition at line 126 of file cuitabline.hxx.
Referenced by ActivatePage(), DeactivatePage(), FillItemSet(), and SetPageType().
|
private |
Definition at line 99 of file cuitabline.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 120 of file cuitabline.hxx.
Referenced by ActivatePage(), ClickInvisibleHdl_Impl(), FillItemSet(), FillListboxes(), FillXLSet_Impl(), and SetDashList().
|
private |
Definition at line 121 of file cuitabline.hxx.
Referenced by ActivatePage(), FillItemSet(), FillListboxes(), FillXLSet_Impl(), Reset(), and SetLineEndList().
|
private |
Definition at line 125 of file cuitabline.hxx.
Referenced by ActivatePage(), and SetColorChgd().
|
private |
Definition at line 124 of file cuitabline.hxx.
Referenced by ActivatePage(), and SetDashChgd().
|
private |
Definition at line 123 of file cuitabline.hxx.
Referenced by ActivatePage(), and SetLineEndChgd().
|
private |
Definition at line 128 of file cuitabline.hxx.
Referenced by ActivatePage(), DeactivatePage(), and SetPosDashLb().
|
private |
Definition at line 129 of file cuitabline.hxx.
Referenced by ActivatePage(), DeactivatePage(), and SetPosLineEndLb().
|
private |
a list of symbols to be shown in menu.
Symbol at position SID_ATTR_SYMBOLTYPE is to be shown in preview. The list position is to be used cyclic.
Definition at line 95 of file cuitabline.hxx.
Referenced by PageCreated(), and Reset().
|
private |
Definition at line 114 of file cuitabline.hxx.
Referenced by Reset().
|
private |
Definition at line 118 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), and FillXLSet_Impl().
|
private |
Definition at line 144 of file cuitabline.hxx.
Referenced by ClickInvisibleHdl_Impl().
|
private |
Definition at line 136 of file cuitabline.hxx.
Referenced by ClickInvisibleHdl_Impl().
|
private |
Definition at line 149 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl().
|
private |
Definition at line 146 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), and ClickInvisibleHdl_Impl().
|
private |
Definition at line 141 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl().
|
private |
Definition at line 139 of file cuitabline.hxx.
Referenced by ClickInvisibleHdl_Impl().
|
private |
Definition at line 153 of file cuitabline.hxx.
Referenced by FillUserData(), and Reset().
|
private |
Definition at line 154 of file cuitabline.hxx.
Referenced by ~SvxLineTabPage().
|
private |
Definition at line 156 of file cuitabline.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 143 of file cuitabline.hxx.
Referenced by ActivatePage(), ClickInvisibleHdl_Impl(), and Reset().
|
private |
Definition at line 163 of file cuitabline.hxx.
Referenced by ShowSymbolControls().
|
private |
Definition at line 167 of file cuitabline.hxx.
|
private |
Definition at line 157 of file cuitabline.hxx.
Referenced by ClickInvisibleHdl_Impl().
|
private |
Definition at line 164 of file cuitabline.hxx.
Referenced by Reset().
|
private |
Definition at line 161 of file cuitabline.hxx.
Referenced by ClickInvisibleHdl_Impl(), FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 138 of file cuitabline.hxx.
Referenced by FillItemSet(), FillXLSet_Impl(), Reset(), and ~SvxLineTabPage().
|
private |
Definition at line 158 of file cuitabline.hxx.
Referenced by FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 150 of file cuitabline.hxx.
Referenced by ActivatePage(), ChangePreviewHdl_Impl(), FillItemSet(), FillListboxes(), FillXLSet_Impl(), Reset(), and ~SvxLineTabPage().
|
private |
Definition at line 137 of file cuitabline.hxx.
Referenced by ActivatePage(), ChangePreviewHdl_Impl(), ClickInvisibleHdl_Impl(), DeactivatePage(), FillItemSet(), FillListboxes(), FillXLSet_Impl(), Reset(), and ~SvxLineTabPage().
|
private |
Definition at line 145 of file cuitabline.hxx.
Referenced by ActivatePage(), ChangePreviewHdl_Impl(), DeactivatePage(), FillItemSet(), FillListboxes(), FillXLSet_Impl(), Reset(), and ~SvxLineTabPage().
|
private |
Definition at line 151 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 140 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 147 of file cuitabline.hxx.
Referenced by ChangePreviewHdl_Impl(), FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 142 of file cuitabline.hxx.
Referenced by FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
attributes for the shown symbols; only necessary if not equal to line properties
Definition at line 101 of file cuitabline.hxx.
Referenced by PageCreated(), and Reset().
|
private |
Definition at line 169 of file cuitabline.hxx.
Referenced by Reset().
|
private |
Definition at line 165 of file cuitabline.hxx.
|
private |
Definition at line 170 of file cuitabline.hxx.
|
private |
Definition at line 166 of file cuitabline.hxx.
|
private |
Definition at line 168 of file cuitabline.hxx.
Referenced by Reset().
|
private |
Definition at line 152 of file cuitabline.hxx.
Referenced by FillItemSet(), FillXLSet_Impl(), and Reset().
|
private |
Definition at line 148 of file cuitabline.hxx.
Referenced by FillItemSet(), FillXLSet_Impl(), and Reset().
|
staticprivate |
Definition at line 90 of file cuitabline.hxx.
Referenced by GetRanges().