LibreOffice Module sw (master) 1
|
#include <numpara.hxx>
Public Member Functions | |
SwParagraphNumTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwParagraphNumTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual void | ChangesApplied () override |
void | EnableNewStart () |
void | DisableOutline () |
void | DisableNumbering () |
weld::ComboBox & | GetStyleBox () |
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 | |
DECL_LINK (NewStartHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (StyleHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (LineCountHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (EditNumStyleHdl_Impl, weld::Button &, void) | |
DECL_LINK (EditNumStyleSelectHdl_Impl, weld::ComboBox &, void) | |
void | ExecuteEditNumStyle_Impl (sal_uInt16 nId, const OUString &rStr, SfxStyleFamily nFamily) |
Private Attributes | |
const OUString | msOutlineNumbering |
bool | m_bModified: 1 |
bool | m_bCurNumrule: 1 |
std::unique_ptr< weld::Widget > | m_xOutlineStartBX |
std::unique_ptr< weld::ComboBox > | m_xOutlineLvLB |
std::unique_ptr< weld::Widget > | m_xNumberStyleBX |
std::unique_ptr< weld::ComboBox > | m_xNumberStyleLB |
std::unique_ptr< weld::Button > | m_xEditNumStyleBtn |
std::unique_ptr< weld::Widget > | m_xListLvBX |
std::unique_ptr< weld::ComboBox > | m_xListLvLB |
std::unique_ptr< weld::CheckButton > | m_xNewStartCB |
std::unique_ptr< weld::Widget > | m_xNewStartBX |
std::unique_ptr< weld::CheckButton > | m_xNewStartNumberCB |
std::unique_ptr< weld::SpinButton > | m_xNewStartNF |
std::unique_ptr< weld::Widget > | m_xCountParaFram |
std::unique_ptr< weld::CheckButton > | m_xCountParaCB |
std::unique_ptr< weld::CheckButton > | m_xRestartParaCountCB |
std::unique_ptr< weld::Widget > | m_xRestartBX |
std::unique_ptr< weld::SpinButton > | m_xRestartNF |
Static Private Attributes | |
static const WhichRangesContainer | s_aPageRg |
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 27 of file numpara.hxx.
SwParagraphNumTabPage::SwParagraphNumTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 39 of file numpara.cxx.
References SfxObjectShell::Current(), sw::proofreadingiterator::get(), SfxItemSet::GetItemIfSet(), CntUInt16Item::GetValue(), HTMLMODE_ON, LINK, m_xCountParaCB, m_xCountParaFram, m_xEditNumStyleBtn, m_xListLvBX, m_xNewStartCB, m_xNewStartNumberCB, m_xNumberStyleLB, m_xRestartParaCountCB, and TRISTATE_FALSE.
|
overridevirtual |
Definition at line 95 of file numpara.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 185 of file numpara.cxx.
References m_xCountParaCB, m_xListLvLB, m_xNewStartCB, m_xNewStartNumberCB, m_xNumberStyleLB, m_xOutlineLvLB, m_xRestartNF, and m_xRestartParaCountCB.
|
static |
Definition at line 99 of file numpara.cxx.
References rSet.
Referenced by SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().
|
private |
|
private |
|
private |
|
private |
|
private |
void SwParagraphNumTabPage::DisableNumbering | ( | ) |
Definition at line 323 of file numpara.cxx.
References m_xListLvBX, m_xNumberStyleBX, and SwResId().
void SwParagraphNumTabPage::DisableOutline | ( | ) |
Definition at line 317 of file numpara.cxx.
References m_xOutlineStartBX, and SwResId().
void SwParagraphNumTabPage::EnableNewStart | ( | ) |
Definition at line 330 of file numpara.cxx.
References m_xNewStartBX, and m_xNewStartCB.
|
private |
Definition at line 375 of file numpara.cxx.
References SfxViewShell::Current(), SfxDispatcher::Execute(), SfxShell::GetDispatcher(), SfxTabPage::GetFrameWeld(), weld::Window::GetXWindow(), nCount, and nId.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 104 of file numpara.cxx.
References SfxStringItem::Clone(), SfxUInt16Item::Clone(), FN_NUMBER_NEWSTART, FN_NUMBER_NEWSTART_AT, SfxTabPage::GetOldItem(), m_bModified, m_xCountParaCB, m_xListLvBX, m_xListLvLB, m_xNewStartCB, m_xNewStartNF, m_xNewStartNumberCB, m_xNumberStyleLB, m_xOutlineLvLB, m_xRestartNF, m_xRestartParaCountCB, SfxItemSet::Put(), RES_PARATR_LIST_LEVEL(), rSet, SwFormatLineNumber::SetCountLines(), SwFormatLineNumber::SetStartValue(), and TRISTATE_TRUE.
|
inlinestatic |
Definition at line 73 of file numpara.hxx.
References s_aPageRg.
Referenced by SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().
|
inline |
Definition at line 83 of file numpara.hxx.
References m_xNumberStyleLB.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 197 of file numpara.cxx.
References FN_NUMBER_NEWSTART, FN_NUMBER_NEWSTART_AT, SfxItemSet::Get(), SfxItemSet::GetItemState(), SwFormatLineNumber::GetStartValue(), SfxBoolItem::GetValue(), GetValue, SfxTabPage::GetWhich(), SwFormatLineNumber::IsCount(), m_bCurNumrule, m_bModified, m_xCountParaCB, m_xListLvBX, m_xListLvLB, m_xNewStartCB, m_xNewStartNF, m_xNewStartNumberCB, m_xNumberStyleBX, m_xNumberStyleLB, m_xOutlineLvLB, m_xRestartNF, m_xRestartParaCountCB, msOutlineNumbering, RES_LINENUMBER(), RES_PARATR_LIST_LEVEL(), rSet, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
private |
Definition at line 33 of file numpara.hxx.
Referenced by Reset().
|
private |
Definition at line 32 of file numpara.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 50 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), Reset(), and SwParagraphNumTabPage().
|
private |
Definition at line 49 of file numpara.hxx.
Referenced by SwParagraphNumTabPage().
|
private |
Definition at line 39 of file numpara.hxx.
Referenced by SwParagraphNumTabPage().
|
private |
Definition at line 41 of file numpara.hxx.
Referenced by DisableNumbering(), FillItemSet(), Reset(), and SwParagraphNumTabPage().
|
private |
Definition at line 42 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 45 of file numpara.hxx.
Referenced by EnableNewStart().
|
private |
Definition at line 44 of file numpara.hxx.
Referenced by ChangesApplied(), EnableNewStart(), FillItemSet(), Reset(), and SwParagraphNumTabPage().
|
private |
Definition at line 47 of file numpara.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 46 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), Reset(), and SwParagraphNumTabPage().
|
private |
Definition at line 37 of file numpara.hxx.
Referenced by DisableNumbering(), and Reset().
|
private |
Definition at line 38 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), GetStyleBox(), Reset(), and SwParagraphNumTabPage().
|
private |
Definition at line 36 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 35 of file numpara.hxx.
Referenced by DisableOutline().
|
private |
Definition at line 53 of file numpara.hxx.
|
private |
Definition at line 54 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), and Reset().
|
private |
Definition at line 51 of file numpara.hxx.
Referenced by ChangesApplied(), FillItemSet(), Reset(), and SwParagraphNumTabPage().
|
private |
Definition at line 30 of file numpara.hxx.
Referenced by Reset().
|
staticprivate |
Definition at line 62 of file numpara.hxx.
Referenced by GetRanges().