LibreOffice Module cui (master) 1
|
#include <numpages.hxx>
Public Member Functions | |
SvxNumOptionsTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SvxNumOptionsTabPage () override |
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 | SetCharFmts (const OUString &rNumName, const OUString &rBulletName) |
void | SetMetric (FieldUnit eSet) |
void | SetModified (bool bRepaint=true) |
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 *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 | |
void | InitControls () |
void | SwitchNumberType (sal_uInt8 nType) |
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;. More... | |
void | CheckForStartValue_Impl (sal_uInt16 nNumberingType) |
DECL_LINK (NumberTypeSelectHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (LevelHdl_Impl, weld::TreeView &, void) | |
DECL_LINK (LevelHdl, void *, void) | |
DECL_LINK (PopupActivateHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (GraphicHdl_Impl, const OUString &, void) | |
DECL_LINK (BulletHdl_Impl, weld::Button &, void) | |
DECL_LINK (SizeHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (RatioHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (CharFmtHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (EditModifyHdl_Impl, weld::Entry &, void) | |
DECL_LINK (SpinModifyHdl_Impl, weld::SpinButton &, void) | |
DECL_LINK (AllLevelHdl_Impl, weld::SpinButton &, void) | |
DECL_LINK (IsLegalHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (OrientHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (SameLevelHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (BulColorHdl_Impl, ColorListBox &, void) | |
DECL_LINK (BulRelSizeHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (PreviewInvalidateHdl_Impl, Timer *, void) | |
void | EditModifyHdl_Impl (const weld::Entry *) |
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 193 of file numpages.hxx.
SvxNumOptionsTabPage::SvxNumOptionsTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 1010 of file numpages.cxx.
References SfxTabPage::GetDialogController(), and rSet.
|
overridevirtual |
Definition at line 1108 of file numpages.cxx.
References m_pLevelHdlEvent, m_xBulColLB, m_xPreviewWIN, pActNum, pSaveNum, and Application::RemoveUserEvent().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1138 of file numpages.cxx.
References bModified, bPreset, SfxTabPage::GetDialogExampleSet(), SfxItemSet::GetItemIfSet(), i, InitControls(), m_xLevelLB, nActNumLvl, nNumItemId, pActNum, pSaveNum, rSet, and SAL_MAX_UINT16.
|
private |
Definition at line 1736 of file numpages.cxx.
References EditModifyHdl_Impl(), m_xStartED, SVX_NUM_ARABIC, SVX_NUM_CHARS_LOWER_LETTER_N, and SVX_NUM_CHARS_UPPER_LETTER_N.
Referenced by InitControls().
|
static |
Definition at line 1132 of file numpages.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1177 of file numpages.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 2130 of file numpages.cxx.
References i, m_xPrefixED, m_xStartED, m_xSuffixED, nActNumLvl, pActNum, SvxNumberFormat::SetListFormat(), SetModified(), and SvxNumberFormat::SetStart().
Referenced by CheckForStartValue_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1184 of file numpages.cxx.
References bModified, nActNumLvl, nNumItemId, pActNum, pSaveNum, SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
private |
Definition at line 1325 of file numpages.cxx.
References CheckForStartValue_Impl(), eCoreUnit, SvxNumberFormat::GetBulletColor(), SvxNumberFormat::GetBulletRelSize(), SvxNumberFormat::GetCharFormatName(), SvxNumberFormat::GetGraphicSize(), SvxNumberFormat::GetIncludeUpperLevels(), SvxNumberFormat::GetIsLegal(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetStart(), SvxNumberFormat::GetSuffix(), SvxNumberFormat::GetVertOrient(), Size::Height(), i, weld::CustomWidgetController::Invalidate(), m_aPreviewWIN, m_xAllLevelNF, m_xBulColLB, m_xBulRelSizeMF, m_xCharFmtLB, m_xFmtLB, m_xHeightMF, m_xIsLegalCB, m_xOrientLB, m_xPrefixED, m_xSameLevelCB, m_xStartED, m_xSuffixED, m_xWidthMF, nActNumLvl, nBullet, pActNum, SAL_MAX_UINT16, SvxNumberingPreview::SetLevel(), SetMetricValue(), SHOW_BITMAP, SHOW_BULLET, SHOW_NUMBERING, SVX_MAX_NUM, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, SwitchNumberType(), TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, and Size::Width().
Referenced by ActivatePage(), and Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 3367 of file numpages.cxx.
References SfxItemSet::GetItem(), SfxStringListItem::GetList(), i, m_xCharFmtLB, nCount, SetCharFmts(), and SetMetric().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1196 of file numpages.cxx.
References bHTMLMode, bModified, SfxObjectShell::Current(), DBG_ASSERT, SfxItemSet::Get(), SfxItemSet::GetItemIfSet(), SvxNumBulletItem::GetNumRule(), SfxItemSet::GetPool(), CntUInt16Item::GetValue(), SfxItemPool::GetWhich(), HTMLMODE_ON, i, InitControls(), LINK_TOKEN, m_aPreviewWIN, m_xAllLevelFT, m_xAllLevelNF, m_xAllLevelsFrame, m_xCharFmtFT, m_xCharFmtLB, m_xFmtLB, m_xIsLegalCB, m_xLevelLB, m_xSameLevelCB, nActNumLvl, nNumItemId, nPos, pActNum, pSaveNum, rSet, SAL_MAX_UINT16, SvxNumberingPreview::SetNumRule(), SVX_NUM_BITMAP, and SVX_NUM_NUMBER_NONE.
|
inline |
Definition at line 297 of file numpages.hxx.
References m_sBulletCharFormatName, and m_sNumCharFmtName.
Referenced by PageCreated().
void SvxNumOptionsTabPage::SetMetric | ( | FieldUnit | eSet | ) |
Definition at line 1121 of file numpages.cxx.
References m_xHeightMF, and m_xWidthMF.
Referenced by PageCreated().
void SvxNumOptionsTabPage::SetModified | ( | bool | bRepaint = true | ) |
Definition at line 3357 of file numpages.cxx.
References bModified, weld::CustomWidgetController::Invalidate(), m_aPreviewWIN, nActNumLvl, and SvxNumberingPreview::SetLevel().
Referenced by EditModifyHdl_Impl().
|
private |
To switch between the numbering type 0 - Number; 1 - Bullet; 2 - Bitmap;.
Definition at line 1507 of file numpages.cxx.
References bHTMLMode, m_xAllLevelFT, m_xAllLevelNF, m_xBitmapFT, m_xBitmapMB, m_xBulColLB, m_xBulColorFT, m_xBulletFT, m_xBulletPB, m_xBulRelSizeFT, m_xBulRelSizeMF, m_xCharFmtFT, m_xCharFmtLB, m_xHeightFT, m_xHeightMF, m_xIsLegalCB, m_xOrientFT, m_xOrientLB, m_xPrefixED, m_xPrefixFT, m_xRatioCB, m_xSeparatorFT, m_xStartED, m_xStartFT, m_xSuffixED, m_xSuffixFT, m_xWidthFT, m_xWidthMF, nBullet, nType, pActNum, SHOW_BITMAP, and SHOW_BULLET.
Referenced by InitControls().
|
private |
Definition at line 214 of file numpages.hxx.
|
private |
Definition at line 213 of file numpages.hxx.
|
private |
Definition at line 203 of file numpages.hxx.
|
private |
Definition at line 198 of file numpages.hxx.
|
private |
Definition at line 210 of file numpages.hxx.
|
private |
Definition at line 211 of file numpages.hxx.
Referenced by Reset(), and SwitchNumberType().
|
private |
Definition at line 207 of file numpages.hxx.
|
private |
Definition at line 208 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SetModified().
|
private |
Definition at line 209 of file numpages.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 219 of file numpages.hxx.
Referenced by InitControls().
|
private |
Definition at line 221 of file numpages.hxx.
Referenced by InitControls(), Reset(), and SetModified().
|
private |
Definition at line 205 of file numpages.hxx.
Referenced by ~SvxNumOptionsTabPage().
|
private |
Definition at line 196 of file numpages.hxx.
Referenced by SetCharFmts().
|
private |
Definition at line 195 of file numpages.hxx.
Referenced by SetCharFmts().
|
private |
Definition at line 236 of file numpages.hxx.
Referenced by Reset(), and SwitchNumberType().
|
private |
Definition at line 237 of file numpages.hxx.
Referenced by InitControls(), Reset(), and SwitchNumberType().
|
private |
Definition at line 252 of file numpages.hxx.
Referenced by Reset().
|
private |
Definition at line 243 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 244 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 233 of file numpages.hxx.
Referenced by InitControls(), SwitchNumberType(), and ~SvxNumOptionsTabPage().
|
private |
Definition at line 232 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 241 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 242 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 234 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 235 of file numpages.hxx.
Referenced by InitControls(), and SwitchNumberType().
|
private |
Definition at line 230 of file numpages.hxx.
Referenced by Reset(), and SwitchNumberType().
|
private |
Definition at line 231 of file numpages.hxx.
Referenced by InitControls(), PageCreated(), Reset(), and SwitchNumberType().
|
private |
Definition at line 224 of file numpages.hxx.
Referenced by InitControls(), and Reset().
|
private |
Definition at line 253 of file numpages.hxx.
|
private |
Definition at line 222 of file numpages.hxx.
|
private |
Definition at line 247 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 248 of file numpages.hxx.
Referenced by InitControls(), SetMetric(), and SwitchNumberType().
|
private |
Definition at line 238 of file numpages.hxx.
Referenced by InitControls(), Reset(), and SwitchNumberType().
|
private |
Definition at line 223 of file numpages.hxx.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 250 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 251 of file numpages.hxx.
Referenced by InitControls(), and SwitchNumberType().
|
private |
Definition at line 227 of file numpages.hxx.
Referenced by EditModifyHdl_Impl(), InitControls(), and SwitchNumberType().
|
private |
Definition at line 226 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 255 of file numpages.hxx.
Referenced by ~SvxNumOptionsTabPage().
|
private |
Definition at line 249 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 254 of file numpages.hxx.
Referenced by InitControls(), and Reset().
|
private |
Definition at line 225 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 240 of file numpages.hxx.
Referenced by CheckForStartValue_Impl(), EditModifyHdl_Impl(), InitControls(), and SwitchNumberType().
|
private |
Definition at line 239 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 229 of file numpages.hxx.
Referenced by EditModifyHdl_Impl(), InitControls(), and SwitchNumberType().
|
private |
Definition at line 228 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 245 of file numpages.hxx.
Referenced by SwitchNumberType().
|
private |
Definition at line 246 of file numpages.hxx.
Referenced by InitControls(), SetMetric(), and SwitchNumberType().
|
private |
Definition at line 217 of file numpages.hxx.
Referenced by ActivatePage(), EditModifyHdl_Impl(), FillItemSet(), InitControls(), Reset(), and SetModified().
|
private |
Definition at line 216 of file numpages.hxx.
Referenced by InitControls(), and SwitchNumberType().
|
private |
Definition at line 218 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), and Reset().
|
private |
Definition at line 200 of file numpages.hxx.
Referenced by ActivatePage(), EditModifyHdl_Impl(), FillItemSet(), InitControls(), Reset(), SwitchNumberType(), and ~SvxNumOptionsTabPage().
|
private |
Definition at line 201 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and ~SvxNumOptionsTabPage().