LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxNumOptionsTabPage Class Reference

#include <numpages.hxx>

Inheritance diagram for SvxNumOptionsTabPage:
[legend]
Collaboration diagram for SvxNumOptionsTabPage:
[legend]

Public Member Functions

 SvxNumOptionsTabPage (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual ~SvxNumOptionsTabPage () override
 
virtual void dispose () 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
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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 (PopupActivateHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (GraphicHdl_Impl, const OString &, void)
 
 DECL_LINK (BulletHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SizeHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (RatioHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (CharFmtHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (EditModifyHdl_Impl, weld::Entry &, void)
 
 DECL_LINK (EditListBoxHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (AllLevelHdl_Impl, weld::SpinButton &, void)
 
 DECL_LINK (OrientHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (SameLevelHdl_Impl, weld::ToggleButton &, 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 *)
 

Private Attributes

OUString m_sNumCharFmtName
 
OUString m_sBulletCharFormatName
 
Timer aInvalidateTimer
 
std::unique_ptr< SvxNumRulepActNum
 
std::unique_ptr< SvxNumRulepSaveNum
 
Size aInitSize [SVX_MAX_NUM]
 
bool bLastWidthModified: 1
 
bool bModified: 1
 
bool bPreset: 1
 
bool bAutomaticCharStyles: 1
 
bool bHTMLMode: 1
 
std::vector< OUString > aGrfNames
 
vcl::Font aActBulletFont
 
sal_uInt8 nBullet
 
sal_uInt16 nActNumLvl
 
sal_uInt16 nNumItemId
 
MapUnit eCoreUnit
 
SvxNumberingPreview m_aPreviewWIN
 
std::unique_ptr< weld::Widgetm_xGrid
 
std::unique_ptr< weld::TreeViewm_xLevelLB
 
std::unique_ptr< weld::ComboBoxm_xFmtLB
 
std::unique_ptr< weld::Labelm_xSeparatorFT
 
std::unique_ptr< weld::Labelm_xPrefixFT
 
std::unique_ptr< weld::Entrym_xPrefixED
 
std::unique_ptr< weld::Labelm_xSuffixFT
 
std::unique_ptr< weld::Entrym_xSuffixED
 
std::unique_ptr< weld::Labelm_xCharFmtFT
 
std::unique_ptr< weld::ComboBoxm_xCharFmtLB
 
std::unique_ptr< weld::Labelm_xBulColorFT
 
std::unique_ptr< ColorListBoxm_xBulColLB
 
std::unique_ptr< weld::Labelm_xBulRelSizeFT
 
std::unique_ptr< weld::MetricSpinButtonm_xBulRelSizeMF
 
std::unique_ptr< weld::Labelm_xAllLevelFT
 
std::unique_ptr< weld::SpinButtonm_xAllLevelNF
 
std::unique_ptr< weld::Labelm_xStartFT
 
std::unique_ptr< weld::SpinButtonm_xStartED
 
std::unique_ptr< weld::Labelm_xBulletFT
 
std::unique_ptr< weld::Buttonm_xBulletPB
 
std::unique_ptr< weld::Labelm_xBitmapFT
 
std::unique_ptr< weld::MenuButtonm_xBitmapMB
 
std::unique_ptr< weld::Labelm_xWidthFT
 
std::unique_ptr< weld::MetricSpinButtonm_xWidthMF
 
std::unique_ptr< weld::Labelm_xHeightFT
 
std::unique_ptr< weld::MetricSpinButtonm_xHeightMF
 
std::unique_ptr< weld::CheckButtonm_xRatioCB
 
std::unique_ptr< weld::Labelm_xOrientFT
 
std::unique_ptr< weld::ComboBoxm_xOrientLB
 
std::unique_ptr< weld::Widgetm_xAllLevelsFrame
 
std::unique_ptr< weld::Menum_xGalleryMenu
 
std::unique_ptr< weld::CheckButtonm_xSameLevelCB
 
std::unique_ptr< weld::CustomWeldm_xPreviewWIN
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 210 of file numpages.hxx.

Constructor & Destructor Documentation

SvxNumOptionsTabPage::SvxNumOptionsTabPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
SvxNumOptionsTabPage::~SvxNumOptionsTabPage ( )
overridevirtual

Definition at line 1131 of file numpages.cxx.

Member Function Documentation

void SvxNumOptionsTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
void SvxNumOptionsTabPage::CheckForStartValue_Impl ( sal_uInt16  nNumberingType)
private
VclPtr< SfxTabPage > SvxNumOptionsTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static
DeactivateRC SvxNumOptionsTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1202 of file numpages.cxx.

References FillItemSet().

SvxNumOptionsTabPage::DECL_LINK ( NumberTypeSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( LevelHdl_Impl  ,
weld::TreeView ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( PopupActivateHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( GraphicHdl_Impl  ,
const OString &  ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( BulletHdl_Impl  ,
weld::Button ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( SizeHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( RatioHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( CharFmtHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( EditModifyHdl_Impl  ,
weld::Entry ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( EditListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( AllLevelHdl_Impl  ,
weld::SpinButton ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( OrientHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( SameLevelHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( BulColorHdl_Impl  ,
ColorListBox ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( BulRelSizeHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxNumOptionsTabPage::DECL_LINK ( PreviewInvalidateHdl_Impl  ,
Timer ,
void   
)
private
void SvxNumOptionsTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1136 of file numpages.cxx.

References SfxTabPage::dispose(), m_xBulColLB, m_xPreviewWIN, pActNum, and pSaveNum.

void SvxNumOptionsTabPage::EditModifyHdl_Impl ( const weld::Entry pEdit)
private
bool SvxNumOptionsTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1209 of file numpages.cxx.

References bModified, nActNumLvl, nNumItemId, pActNum, pSaveNum, and SfxItemSet::Put().

Referenced by DeactivatePage().

void SvxNumOptionsTabPage::InitControls ( )
private
void SvxNumOptionsTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 3347 of file numpages.cxx.

References SfxItemSet::GetItem(), SfxStringListItem::GetList(), i, m_xCharFmtLB, SetCharFmts(), and SetMetric().

void SvxNumOptionsTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxNumOptionsTabPage::SetCharFmts ( const OUString &  rNumName,
const OUString &  rBulletName 
)
inline

Definition at line 313 of file numpages.hxx.

Referenced by PageCreated().

void SvxNumOptionsTabPage::SetMetric ( FieldUnit  eSet)

Definition at line 1145 of file numpages.cxx.

References m_xHeightMF, and m_xWidthMF.

Referenced by PageCreated().

void SvxNumOptionsTabPage::SetModified ( bool  bRepaint = true)
void SvxNumOptionsTabPage::SwitchNumberType ( sal_uInt8  nType)
private

Member Data Documentation

vcl::Font SvxNumOptionsTabPage::aActBulletFont
private

Definition at line 232 of file numpages.hxx.

Referenced by SvxNumOptionsTabPage().

std::vector<OUString> SvxNumOptionsTabPage::aGrfNames
private

Definition at line 231 of file numpages.hxx.

Size SvxNumOptionsTabPage::aInitSize[SVX_MAX_NUM]
private

Definition at line 223 of file numpages.hxx.

Timer SvxNumOptionsTabPage::aInvalidateTimer
private

Definition at line 218 of file numpages.hxx.

Referenced by SvxNumOptionsTabPage().

bool SvxNumOptionsTabPage::bAutomaticCharStyles
private

Definition at line 228 of file numpages.hxx.

bool SvxNumOptionsTabPage::bHTMLMode
private

Definition at line 229 of file numpages.hxx.

Referenced by Reset(), and SwitchNumberType().

bool SvxNumOptionsTabPage::bLastWidthModified
private

Definition at line 225 of file numpages.hxx.

bool SvxNumOptionsTabPage::bModified
private

Definition at line 226 of file numpages.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SetModified().

bool SvxNumOptionsTabPage::bPreset
private

Definition at line 227 of file numpages.hxx.

Referenced by ActivatePage().

MapUnit SvxNumOptionsTabPage::eCoreUnit
private

Definition at line 237 of file numpages.hxx.

Referenced by InitControls(), and SvxNumOptionsTabPage().

SvxNumberingPreview SvxNumOptionsTabPage::m_aPreviewWIN
private

Definition at line 239 of file numpages.hxx.

Referenced by InitControls(), Reset(), and SetModified().

OUString SvxNumOptionsTabPage::m_sBulletCharFormatName
private

Definition at line 216 of file numpages.hxx.

OUString SvxNumOptionsTabPage::m_sNumCharFmtName
private

Definition at line 215 of file numpages.hxx.

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xAllLevelFT
private

Definition at line 254 of file numpages.hxx.

Referenced by Reset(), and SwitchNumberType().

std::unique_ptr<weld::SpinButton> SvxNumOptionsTabPage::m_xAllLevelNF
private

Definition at line 255 of file numpages.hxx.

Referenced by InitControls(), Reset(), SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::Widget> SvxNumOptionsTabPage::m_xAllLevelsFrame
private

Definition at line 269 of file numpages.hxx.

Referenced by Reset().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xBitmapFT
private

Definition at line 260 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::MenuButton> SvxNumOptionsTabPage::m_xBitmapMB
private

Definition at line 261 of file numpages.hxx.

Referenced by SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<ColorListBox> SvxNumOptionsTabPage::m_xBulColLB
private

Definition at line 251 of file numpages.hxx.

Referenced by dispose(), InitControls(), SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xBulColorFT
private

Definition at line 250 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xBulletFT
private

Definition at line 258 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::Button> SvxNumOptionsTabPage::m_xBulletPB
private

Definition at line 259 of file numpages.hxx.

Referenced by SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xBulRelSizeFT
private

Definition at line 252 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::MetricSpinButton> SvxNumOptionsTabPage::m_xBulRelSizeMF
private

Definition at line 253 of file numpages.hxx.

Referenced by InitControls(), SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xCharFmtFT
private

Definition at line 248 of file numpages.hxx.

Referenced by Reset(), and SwitchNumberType().

std::unique_ptr<weld::ComboBox> SvxNumOptionsTabPage::m_xCharFmtLB
private
std::unique_ptr<weld::ComboBox> SvxNumOptionsTabPage::m_xFmtLB
private

Definition at line 242 of file numpages.hxx.

Referenced by InitControls(), Reset(), and SvxNumOptionsTabPage().

std::unique_ptr<weld::Menu> SvxNumOptionsTabPage::m_xGalleryMenu
private

Definition at line 270 of file numpages.hxx.

std::unique_ptr<weld::Widget> SvxNumOptionsTabPage::m_xGrid
private

Definition at line 240 of file numpages.hxx.

Referenced by SvxNumOptionsTabPage().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xHeightFT
private

Definition at line 264 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::MetricSpinButton> SvxNumOptionsTabPage::m_xHeightMF
private

Definition at line 265 of file numpages.hxx.

Referenced by InitControls(), SetMetric(), SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::TreeView> SvxNumOptionsTabPage::m_xLevelLB
private

Definition at line 241 of file numpages.hxx.

Referenced by ActivatePage(), Reset(), and SvxNumOptionsTabPage().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xOrientFT
private

Definition at line 267 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::ComboBox> SvxNumOptionsTabPage::m_xOrientLB
private

Definition at line 268 of file numpages.hxx.

Referenced by InitControls(), SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::Entry> SvxNumOptionsTabPage::m_xPrefixED
private
std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xPrefixFT
private

Definition at line 244 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::CustomWeld> SvxNumOptionsTabPage::m_xPreviewWIN
private

Definition at line 272 of file numpages.hxx.

Referenced by dispose().

std::unique_ptr<weld::CheckButton> SvxNumOptionsTabPage::m_xRatioCB
private

Definition at line 266 of file numpages.hxx.

Referenced by SvxNumOptionsTabPage(), and SwitchNumberType().

std::unique_ptr<weld::CheckButton> SvxNumOptionsTabPage::m_xSameLevelCB
private

Definition at line 271 of file numpages.hxx.

Referenced by InitControls(), Reset(), and SvxNumOptionsTabPage().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xSeparatorFT
private

Definition at line 243 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::SpinButton> SvxNumOptionsTabPage::m_xStartED
private
std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xStartFT
private

Definition at line 256 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::Entry> SvxNumOptionsTabPage::m_xSuffixED
private
std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xSuffixFT
private

Definition at line 246 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::Label> SvxNumOptionsTabPage::m_xWidthFT
private

Definition at line 262 of file numpages.hxx.

Referenced by SwitchNumberType().

std::unique_ptr<weld::MetricSpinButton> SvxNumOptionsTabPage::m_xWidthMF
private

Definition at line 263 of file numpages.hxx.

Referenced by InitControls(), SetMetric(), SvxNumOptionsTabPage(), and SwitchNumberType().

sal_uInt16 SvxNumOptionsTabPage::nActNumLvl
private
sal_uInt8 SvxNumOptionsTabPage::nBullet
private

Definition at line 234 of file numpages.hxx.

Referenced by InitControls(), and SwitchNumberType().

sal_uInt16 SvxNumOptionsTabPage::nNumItemId
private

Definition at line 236 of file numpages.hxx.

Referenced by ActivatePage(), FillItemSet(), and Reset().

std::unique_ptr<SvxNumRule> SvxNumOptionsTabPage::pActNum
private
std::unique_ptr<SvxNumRule> SvxNumOptionsTabPage::pSaveNum
private

Definition at line 221 of file numpages.hxx.

Referenced by ActivatePage(), dispose(), FillItemSet(), and Reset().


The documentation for this class was generated from the following files: