LibreOffice Module sw (master) 1
|
#include <outline.hxx>
Public Member Functions | |
SwOutlineSettingsTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwOutlineSettingsTabPage () override |
void | SetWrtShell (SwWrtShell *pShell) |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
void | SetNumRule (SwNumRule *pRule) |
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 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 (LevelHdl, weld::TreeView &, void) | |
DECL_LINK (ToggleComplete, weld::SpinButton &, void) | |
DECL_LINK (CollSelect, weld::ComboBox &, void) | |
void | CollSave () |
DECL_LINK (NumberSelect, weld::ComboBox &, void) | |
DECL_LINK (DelimModify, weld::Entry &, void) | |
DECL_LINK (StartModified, weld::SpinButton &, void) | |
DECL_LINK (CharFormatHdl, weld::ComboBox &, void) | |
void | Update () |
void | SetModified () |
void | CheckForStartValue_Impl (sal_uInt16 nNumberingType) |
Private Attributes | |
OUString | m_aNoFormatName |
OUString | m_aSaveCollNames [MAXLEVEL] |
SwWrtShell * | m_pSh |
SwNumRule * | m_pNumRule |
OUString * | m_pCollNames |
sal_uInt16 | m_nActLevel |
NumberingPreview | m_aPreviewWIN |
std::unique_ptr< weld::TreeView > | m_xLevelLB |
std::unique_ptr< weld::ComboBox > | m_xCollBox |
std::unique_ptr< SwNumberingTypeListBox > | m_xNumberBox |
std::unique_ptr< weld::ComboBox > | m_xCharFormatLB |
std::unique_ptr< weld::Label > | m_xAllLevelFT |
std::unique_ptr< weld::SpinButton > | m_xAllLevelNF |
std::unique_ptr< weld::Entry > | m_xPrefixED |
std::unique_ptr< weld::Entry > | m_xSuffixED |
std::unique_ptr< weld::SpinButton > | m_xStartEdit |
std::unique_ptr< weld::CustomWeld > | m_xPreviewWIN |
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 67 of file outline.hxx.
SwOutlineSettingsTabPage::SwOutlineSettingsTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 390 of file outline.cxx.
References Extended, LINK, m_aNoFormatName, m_xAllLevelNF, m_xCharFormatLB, m_xCollBox, m_xLevelLB, m_xNumberBox, m_xPrefixED, m_xStartEdit, m_xSuffixED, NoNumbering, rSet, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 711 of file outline.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 766 of file outline.cxx.
References SwOutlineTabDialog::GetActNumLevel(), lcl_BitToLevel(), m_nActLevel, m_xLevelLB, and MAXLEVEL.
Referenced by Reset().
|
private |
Definition at line 798 of file outline.cxx.
References m_xStartEdit, SVX_NUM_ARABIC, SVX_NUM_CHARS_LOWER_LETTER_N, and SVX_NUM_CHARS_UPPER_LETTER_N.
Referenced by Update().
|
private |
Definition at line 610 of file outline.cxx.
References i, m_aSaveCollNames, m_pCollNames, and MAXLEVEL.
Referenced by SetWrtShell().
|
static |
Definition at line 792 of file outline.cxx.
Referenced by SwOutlineTabDialog::SwOutlineTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 776 of file outline.cxx.
References m_nActLevel, and SwOutlineTabDialog::SetActNumLevel().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 782 of file outline.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 787 of file outline.cxx.
References ActivatePage(), and rSet.
|
inlineprivate |
Definition at line 99 of file outline.hxx.
References weld::CustomWidgetController::Invalidate(), and m_aPreviewWIN.
Referenced by Update().
|
inline |
Definition at line 115 of file outline.hxx.
References m_aPreviewWIN, m_pNumRule, and NumberingPreview::SetNumRule().
void SwOutlineSettingsTabPage::SetWrtShell | ( | SwWrtShell * | pShell | ) |
Definition at line 715 of file outline.cxx.
References CollSave(), FillCharStyleListBox(), SwNumRule::Get(), SfxTabPage::GetDialogController(), SwView::GetDocShell(), SwFormat::GetName(), SvxNumberType::GetNumberingType(), TextFormatCollFunc::GetNumRule(), SwViewShell::GetShellRes(), SvxNumberFormat::GetStart(), SwEditShell::GetTextFormatColl(), SwEditShell::GetTextFormatCollCount(), SwStyleNameMapper::GetUIName(), SwWrtShell::GetView(), i, SwFormat::IsDefault(), lcl_BitToLevel(), m_aPreviewWIN, m_nActLevel, m_pCollNames, m_pNumRule, m_pSh, m_xCharFormatLB, m_xCollBox, m_xLevelLB, m_xNumberBox, m_xStartEdit, MAXLEVEL, nCount, RES_POOLCOLL_HEADLINE1, NumberingPreview::SetNumRule(), NumberingPreview::SetOutlineNames(), and Update().
|
private |
Definition at line 425 of file outline.cxx.
References CheckForStartValue_Impl(), SwNumRule::Get(), SwNumFormat::GetCharFormat(), SvxNumberFormat::GetIncludeUpperLevels(), SwFormat::GetName(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SwViewShell::GetShellRes(), SvxNumberFormat::GetStart(), SvxNumberFormat::GetSuffix(), SvxNumberFormat::HasListFormat(), i, lcl_BitToLevel(), m_aNoFormatName, m_nActLevel, m_pCollNames, m_pNumRule, m_xAllLevelFT, m_xAllLevelNF, m_xCharFormatLB, m_xCollBox, m_xNumberBox, m_xPrefixED, m_xStartEdit, m_xSuffixED, MAXLEVEL, and SetModified().
Referenced by SetWrtShell().
|
private |
Definition at line 69 of file outline.hxx.
Referenced by SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 75 of file outline.hxx.
Referenced by SetModified(), SetNumRule(), and SetWrtShell().
|
private |
Definition at line 70 of file outline.hxx.
Referenced by CollSave().
|
private |
Definition at line 74 of file outline.hxx.
Referenced by ActivatePage(), DeactivatePage(), SetWrtShell(), and Update().
|
private |
Definition at line 73 of file outline.hxx.
Referenced by CollSave(), SetWrtShell(), and Update().
|
private |
Definition at line 72 of file outline.hxx.
Referenced by SetNumRule(), SetWrtShell(), and Update().
|
private |
Definition at line 71 of file outline.hxx.
Referenced by SetWrtShell().
|
private |
Definition at line 81 of file outline.hxx.
Referenced by Update().
|
private |
Definition at line 82 of file outline.hxx.
Referenced by SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 80 of file outline.hxx.
Referenced by SetWrtShell(), SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 78 of file outline.hxx.
Referenced by SetWrtShell(), SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 77 of file outline.hxx.
Referenced by ActivatePage(), SetWrtShell(), and SwOutlineSettingsTabPage().
|
private |
Definition at line 79 of file outline.hxx.
Referenced by SetWrtShell(), SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 83 of file outline.hxx.
Referenced by SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 86 of file outline.hxx.
|
private |
Definition at line 85 of file outline.hxx.
Referenced by CheckForStartValue_Impl(), SetWrtShell(), SwOutlineSettingsTabPage(), and Update().
|
private |
Definition at line 84 of file outline.hxx.
Referenced by SwOutlineSettingsTabPage(), and Update().