LibreOffice Module svx (master) 1
|
#include <hdft.hxx>
Public Member Functions | |
virtual bool | FillItemSet (SfxItemSet *rOutSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual | ~SvxHFPage () override |
void | DisableDeleteQueryBox () |
virtual void | PageCreated (const SfxAllItemSet &) override |
void | EnableDynamicSpacing () |
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 () |
Protected Member Functions | |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
SvxHFPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet, sal_uInt16 nSetId) | |
void | InitHandler () |
void | TurnOn (const weld::Toggleable *pButton) |
DECL_LINK (TurnOnHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (BackgroundHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (ValueChangeHdl, weld::MetricSpinButton &, void) | |
void | RangeHdl () |
void | UpdateExample () |
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 | |
sal_uInt16 | nId |
std::unique_ptr< SfxItemSet > | pBBSet |
bool | mbDisableQueryBox: 1 |
bool | mbEnableDrawingLayerFillStyles: 1 |
SvxPageWindow | m_aBspWin |
std::unique_ptr< weld::Label > | m_xPageLbl |
std::unique_ptr< weld::CheckButton > | m_xTurnOnBox |
std::unique_ptr< weld::CheckButton > | m_xCntSharedBox |
std::unique_ptr< weld::CheckButton > | m_xCntSharedFirstBox |
std::unique_ptr< weld::Label > | m_xLMLbl |
std::unique_ptr< weld::MetricSpinButton > | m_xLMEdit |
std::unique_ptr< weld::Label > | m_xRMLbl |
std::unique_ptr< weld::MetricSpinButton > | m_xRMEdit |
std::unique_ptr< weld::Label > | m_xDistFT |
std::unique_ptr< weld::MetricSpinButton > | m_xDistEdit |
std::unique_ptr< weld::CheckButton > | m_xDynSpacingCB |
std::unique_ptr< weld::Label > | m_xHeightFT |
std::unique_ptr< weld::MetricSpinButton > | m_xHeightEdit |
std::unique_ptr< weld::CheckButton > | m_xHeightDynBtn |
std::unique_ptr< weld::Button > | m_xBackgroundBtn |
std::unique_ptr< weld::CustomWeld > | m_xBspWin |
Static Protected Attributes | |
static const WhichRangesContainer | pRanges |
Private Member Functions | |
SVX_DLLPRIVATE void | ResetBackground_Impl (const SfxItemSet &rSet) |
Additional Inherited Members | |
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 |
Definition at line 123 of file hdft.cxx.
References CM, weld::CustomWidgetController::EnableRTL(), GetModuleFieldUnit(), InitHandler(), m_aBspWin, m_xBackgroundBtn, m_xCntSharedBox, m_xCntSharedFirstBox, m_xContainer, m_xDistEdit, m_xDynSpacingCB, m_xHeightDynBtn, m_xHeightEdit, m_xLMEdit, m_xPageLbl, m_xRMEdit, m_xTurnOnBox, nId, nId, rSet, SfxTabPage::SetExchangeSupport(), and SetFieldUnit().
|
overrideprotectedvirtual |
Reimplemented from SfxTabPage.
Definition at line 788 of file hdft.cxx.
References All, SfxItemSet::Get(), SfxTabPage::GetItem(), SfxSetItem::GetItemSet(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SvxLRSpaceItem::GetRight(), SvxSizeItem::GetSize(), SvxULSpaceItem::GetUpper(), SfxBoolItem::GetValue(), SfxTabPage::GetWhich(), Size::Height(), Left, m_aBspWin, m_xCntSharedBox, m_xCntSharedFirstBox, nId, RangeHdl(), ResetBackground_Impl(), Right, rSet, SvxPageWindow::SetBottom(), SvxPageWindow::SetFooter(), SvxPageWindow::SetFtDist(), SvxPageWindow::SetFtHeight(), SvxPageWindow::SetFtLeft(), SvxPageWindow::SetFtRight(), SvxPageWindow::SetHdDist(), SvxPageWindow::SetHdHeight(), SvxPageWindow::SetHdLeft(), SvxPageWindow::SetHdRight(), SvxPageWindow::SetHeader(), SvxPageWindow::SetHorz(), SvxPageWindow::SetLeft(), SvxPageWindow::SetRight(), SvxPageWindow::SetSize(), SvxPageWindow::SetTable(), SvxPageWindow::SetTop(), SvxPageWindow::SetUsage(), and SvxPageWindow::SetVert().
Referenced by Reset().
|
overrideprotectedvirtual |
|
protected |
|
protected |
|
protected |
void SvxHFPage::EnableDynamicSpacing | ( | ) |
Definition at line 1029 of file hdft.cxx.
References m_xDynSpacingCB.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 190 of file hdft.cxx.
References SfxPoolItem::Clone(), DBG_ASSERT, SfxItemSet::Get(), GetCoreValue(), SfxItemPool::GetDefaultItem(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SvxSizeItem::GetSize(), SfxTabPage::GetWhich(), SfxItemPool::IsWhich(), m_xCntSharedBox, m_xCntSharedFirstBox, m_xDistEdit, m_xDynSpacingCB, m_xHeightDynBtn, m_xHeightEdit, m_xLMEdit, m_xRMEdit, m_xTurnOnBox, mbEnableDrawingLayerFillStyles, SfxItemSet::MergeRange(), nId, pBBSet, SfxItemSet::Put(), rSet, Size::setHeight(), SvxLRSpaceItem::SetLeft(), SvxULSpaceItem::SetLower(), SvxLRSpaceItem::SetRight(), SvxSizeItem::SetSize(), SvxULSpaceItem::SetUpper(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by DeactivatePage().
|
protected |
Definition at line 433 of file hdft.cxx.
References LINK, m_xBackgroundBtn, m_xDistEdit, m_xHeightEdit, m_xLMEdit, m_xRMEdit, and m_xTurnOnBox.
Referenced by SvxHFPage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1034 of file hdft.cxx.
References SfxItemSet::GetItem(), SfxBoolItem::GetValue(), mbEnableDrawingLayerFillStyles, and rSet.
|
protected |
Definition at line 957 of file hdft.cxx.
References SvxPageWindow::GetBottom(), SvxPageWindow::GetFtDist(), SvxPageWindow::GetFtHeight(), SvxPageWindow::GetHdDist(), SvxPageWindow::GetHdHeight(), SvxPageWindow::GetLeft(), SvxPageWindow::GetRight(), SvxPageWindow::GetSize(), SvxPageWindow::GetTop(), Size::Height(), m_aBspWin, m_xDistEdit, m_xHeightEdit, m_xLMEdit, m_xRMEdit, m_xTurnOnBox, MINBODY, nId, and Size::Width().
Referenced by ActivatePage(), and Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 321 of file hdft.cxx.
References ActivatePage(), SfxObjectShell::Current(), DBG_ASSERT, DEF_DIST_CALC, DEF_DIST_WRITER, SfxItemSet::Get(), SfxTabPage::GetItem(), SfxShell::GetItem(), SfxItemSet::GetItemIfSet(), SfxTabPage::GetItemSet(), SfxSetItem::GetItemSet(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SvxLRSpaceItem::GetRight(), SvxSizeItem::GetSize(), SvxULSpaceItem::GetUpper(), CntUInt16Item::GetValue(), SfxBoolItem::GetValue(), SfxTabPage::GetWhich(), SfxItemSet::HasItem(), Size::Height(), HTMLMODE_ON, m_xBackgroundBtn, m_xCntSharedBox, m_xCntSharedFirstBox, m_xDistEdit, m_xDynSpacingCB, m_xHeightDynBtn, m_xHeightEdit, m_xLMEdit, m_xRMEdit, m_xTurnOnBox, nId, RangeHdl(), ResetBackground_Impl(), rSet, SetMetricValue(), and TurnOn().
|
private |
Definition at line 689 of file hdft.cxx.
References SfxItemSet::Get(), SfxSetItem::GetItemSet(), SfxItemSet::GetItemState(), SfxItemSet::GetPool(), SfxBoolItem::GetValue(), SfxTabPage::GetWhich(), m_aBspWin, mbEnableDrawingLayerFillStyles, rSet, SvxPageWindow::setFooterFillAttributes(), SvxPageWindow::setHeaderFillAttributes(), SvxPageWindow::setPageFillAttributes(), and setSvxBrushItemAsFillAttributesToTargetSet().
Referenced by ActivatePage(), and Reset().
|
protected |
Definition at line 444 of file hdft.cxx.
References SfxTabPage::GetFrameWeld(), SvxPageWindow::GetUsage(), Left, m_aBspWin, m_xBackgroundBtn, m_xCntSharedBox, m_xCntSharedFirstBox, m_xDistEdit, m_xDistFT, m_xDynSpacingCB, m_xHeightDynBtn, m_xHeightEdit, m_xHeightFT, m_xLMEdit, m_xLMLbl, m_xRMEdit, m_xRMLbl, m_xTurnOnBox, mbDisableQueryBox, nId, RET_YES, Right, weld::DialogController::run(), TRISTATE_TRUE, and UpdateExample().
Referenced by Reset().
|
protected |
Definition at line 668 of file hdft.cxx.
References GetCoreValue(), weld::CustomWidgetController::Invalidate(), m_aBspWin, m_xDistEdit, m_xHeightEdit, m_xLMEdit, m_xRMEdit, m_xTurnOnBox, nId, SvxPageWindow::SetFooter(), SvxPageWindow::SetFtDist(), SvxPageWindow::SetFtHeight(), SvxPageWindow::SetFtLeft(), SvxPageWindow::SetFtRight(), SvxPageWindow::SetHdDist(), SvxPageWindow::SetHdHeight(), SvxPageWindow::SetHdLeft(), SvxPageWindow::SetHdRight(), and SvxPageWindow::SetHeader().
Referenced by TurnOn().
|
protected |
Definition at line 65 of file hdft.hxx.
Referenced by ActivatePage(), RangeHdl(), ResetBackground_Impl(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
Definition at line 80 of file hdft.hxx.
Referenced by InitHandler(), Reset(), SvxHFPage(), and TurnOn().
|
protected |
|
protected |
Definition at line 68 of file hdft.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), SvxHFPage(), and TurnOn().
|
protected |
Definition at line 69 of file hdft.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), SvxHFPage(), and TurnOn().
|
protected |
Definition at line 75 of file hdft.hxx.
Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
|
protected |
Definition at line 76 of file hdft.hxx.
Referenced by EnableDynamicSpacing(), FillItemSet(), Reset(), SvxHFPage(), and TurnOn().
|
protected |
Definition at line 79 of file hdft.hxx.
Referenced by FillItemSet(), Reset(), SvxHFPage(), and TurnOn().
|
protected |
Definition at line 78 of file hdft.hxx.
Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
|
protected |
Definition at line 71 of file hdft.hxx.
Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
|
protected |
Definition at line 66 of file hdft.hxx.
Referenced by SvxHFPage().
|
protected |
Definition at line 73 of file hdft.hxx.
Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
|
protected |
Definition at line 67 of file hdft.hxx.
Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
|
protected |
Definition at line 63 of file hdft.hxx.
Referenced by FillItemSet(), PageCreated(), and ResetBackground_Impl().
|
protected |
Definition at line 60 of file hdft.hxx.
Referenced by ActivatePage(), FillItemSet(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().
|
protected |
Definition at line 61 of file hdft.hxx.
Referenced by FillItemSet().
|
staticprotected |