LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ScTabPageSortOptions Class Reference

#include <tpsort.hxx>

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

Public Member Functions

 ScTabPageSortOptions (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet)
 
virtual bool FillItemSet (SfxItemSet *rArgSet) override
 
virtual void Reset (const SfxItemSet *rArgSet) override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pArgSet)
 
- 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)
 

Protected Member Functions

virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
- 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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Private Member Functions

void Init ()
 
void FillUserSortListBox ()
 
 DECL_LINK (EnableHdl, weld::Toggleable &, void)
 
 DECL_LINK (SelOutPosHdl, weld::ComboBox &, void)
 
void EdOutPosModHdl ()
 
void FillAlgor ()
 
 DECL_LINK (FillAlgorHdl, weld::ComboBox &, void)
 

Private Attributes

OUString aStrUndefined
 
OUString aStrCommentsRowLabel
 
OUString aStrCommentsColLabel
 
OUString aStrImgRowLabel
 
OUString aStrImgColLabel
 
TypedWhichId< ScSortItemnWhichSort
 
ScSortParam aSortData
 
ScViewDatapViewData
 
ScDocumentpDoc
 
ScAddress theOutPos
 
std::unique_ptr< CollatorResourcem_xColRes
 
std::optional< CollatorWrapperm_oColWrap
 
std::unique_ptr< weld::CheckButtonm_xBtnCase
 
std::unique_ptr< weld::CheckButtonm_xBtnFormats
 
std::unique_ptr< weld::CheckButtonm_xBtnNaturalSort
 
std::unique_ptr< weld::CheckButtonm_xBtnCopyResult
 
std::unique_ptr< weld::ComboBoxm_xLbOutPos
 
std::unique_ptr< weld::Entrym_xEdOutPos
 
std::unique_ptr< weld::CheckButtonm_xBtnSortUser
 
std::unique_ptr< weld::ComboBoxm_xLbSortUser
 
std::unique_ptr< SvxLanguageBoxm_xLbLanguage
 
std::unique_ptr< weld::Labelm_xFtAlgorithm
 
std::unique_ptr< weld::ComboBoxm_xLbAlgorithm
 
std::unique_ptr< weld::CheckButtonm_xBtnIncComments
 
std::unique_ptr< weld::CheckButtonm_xBtnIncImages
 

Detailed Description

Definition at line 101 of file tpsort.hxx.

Constructor & Destructor Documentation

◆ ScTabPageSortOptions()

ScTabPageSortOptions::ScTabPageSortOptions ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rArgSet 
)

Definition at line 492 of file tpsort.cxx.

References Get(), GetWhich, Init(), m_xLbSortUser, ScResId(), and SfxTabPage::SetExchangeSupport().

Member Function Documentation

◆ ActivatePage()

void ScTabPageSortOptions::ActivatePage ( const SfxItemSet rSet)
overrideprotectedvirtual

◆ Create()

std::unique_ptr< SfxTabPage > ScTabPageSortOptions::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet pArgSet 
)
static

Definition at line 575 of file tpsort.cxx.

Referenced by ScSortDlg::ScSortDlg().

◆ DeactivatePage()

DeactivateRC ScTabPageSortOptions::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

◆ DECL_LINK() [1/3]

ScTabPageSortOptions::DECL_LINK ( EnableHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

ScTabPageSortOptions::DECL_LINK ( FillAlgorHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/3]

ScTabPageSortOptions::DECL_LINK ( SelOutPosHdl  ,
weld::ComboBox ,
void   
)
private

◆ EdOutPosModHdl()

void ScTabPageSortOptions::EdOutPosModHdl ( )
private

Definition at line 808 of file tpsort.cxx.

References aStr, ScDocument::GetAddressConvention(), i, m_xEdOutPos, m_xLbOutPos, nCount, ScAddress::Parse(), pDoc, and VALID.

Referenced by Reset().

◆ FillAlgor()

void ScTabPageSortOptions::FillAlgor ( )
private

◆ FillItemSet()

bool ScTabPageSortOptions::FillItemSet ( SfxItemSet rArgSet)
overridevirtual

◆ FillUserSortListBox()

void ScTabPageSortOptions::FillUserSortListBox ( )
private

Definition at line 751 of file tpsort.cxx.

References ScGlobal::GetUserList(), i, m_xLbSortUser, nCount, and ScUserList::size().

Referenced by Init().

◆ Init()

void ScTabPageSortOptions::Init ( void  )
private

◆ Reset()

void ScTabPageSortOptions::Reset ( const SfxItemSet rArgSet)
overridevirtual

Member Data Documentation

◆ aSortData

ScSortParam ScTabPageSortOptions::aSortData
private

Definition at line 122 of file tpsort.hxx.

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

◆ aStrCommentsColLabel

OUString ScTabPageSortOptions::aStrCommentsColLabel
private

Definition at line 117 of file tpsort.hxx.

Referenced by ActivatePage(), and Init().

◆ aStrCommentsRowLabel

OUString ScTabPageSortOptions::aStrCommentsRowLabel
private

Definition at line 116 of file tpsort.hxx.

Referenced by ActivatePage().

◆ aStrImgColLabel

OUString ScTabPageSortOptions::aStrImgColLabel
private

Definition at line 119 of file tpsort.hxx.

Referenced by ActivatePage(), and Init().

◆ aStrImgRowLabel

OUString ScTabPageSortOptions::aStrImgRowLabel
private

Definition at line 118 of file tpsort.hxx.

Referenced by ActivatePage().

◆ aStrUndefined

OUString ScTabPageSortOptions::aStrUndefined
private

Definition at line 115 of file tpsort.hxx.

Referenced by Init().

◆ m_oColWrap

std::optional<CollatorWrapper> ScTabPageSortOptions::m_oColWrap
private

Definition at line 128 of file tpsort.hxx.

Referenced by FillAlgor(), FillItemSet(), and Init().

◆ m_xBtnCase

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnCase
private

Definition at line 130 of file tpsort.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnCopyResult

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnCopyResult
private

Definition at line 133 of file tpsort.hxx.

Referenced by DeactivatePage(), FillItemSet(), Init(), and Reset().

◆ m_xBtnFormats

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnFormats
private

Definition at line 131 of file tpsort.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnIncComments

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnIncComments
private

Definition at line 141 of file tpsort.hxx.

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

◆ m_xBtnIncImages

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnIncImages
private

Definition at line 142 of file tpsort.hxx.

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

◆ m_xBtnNaturalSort

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnNaturalSort
private

Definition at line 132 of file tpsort.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnSortUser

std::unique_ptr<weld::CheckButton> ScTabPageSortOptions::m_xBtnSortUser
private

Definition at line 136 of file tpsort.hxx.

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

◆ m_xColRes

std::unique_ptr<CollatorResource> ScTabPageSortOptions::m_xColRes
private

Definition at line 127 of file tpsort.hxx.

Referenced by FillAlgor(), Init(), and Reset().

◆ m_xEdOutPos

std::unique_ptr<weld::Entry> ScTabPageSortOptions::m_xEdOutPos
private

Definition at line 135 of file tpsort.hxx.

Referenced by DeactivatePage(), EdOutPosModHdl(), Init(), and Reset().

◆ m_xFtAlgorithm

std::unique_ptr<weld::Label> ScTabPageSortOptions::m_xFtAlgorithm
private

Definition at line 139 of file tpsort.hxx.

Referenced by FillAlgor().

◆ m_xLbAlgorithm

std::unique_ptr<weld::ComboBox> ScTabPageSortOptions::m_xLbAlgorithm
private

Definition at line 140 of file tpsort.hxx.

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

◆ m_xLbLanguage

std::unique_ptr<SvxLanguageBox> ScTabPageSortOptions::m_xLbLanguage
private

Definition at line 138 of file tpsort.hxx.

Referenced by FillAlgor(), FillItemSet(), Init(), and Reset().

◆ m_xLbOutPos

std::unique_ptr<weld::ComboBox> ScTabPageSortOptions::m_xLbOutPos
private

Definition at line 134 of file tpsort.hxx.

Referenced by EdOutPosModHdl(), Init(), and Reset().

◆ m_xLbSortUser

std::unique_ptr<weld::ComboBox> ScTabPageSortOptions::m_xLbSortUser
private

Definition at line 137 of file tpsort.hxx.

Referenced by FillItemSet(), FillUserSortListBox(), Reset(), and ScTabPageSortOptions().

◆ nWhichSort

TypedWhichId<ScSortItem> ScTabPageSortOptions::nWhichSort
private

Definition at line 121 of file tpsort.hxx.

Referenced by FillItemSet(), and Init().

◆ pDoc

ScDocument* ScTabPageSortOptions::pDoc
private

Definition at line 124 of file tpsort.hxx.

Referenced by DeactivatePage(), EdOutPosModHdl(), Init(), and Reset().

◆ pViewData

ScViewData* ScTabPageSortOptions::pViewData
private

Definition at line 123 of file tpsort.hxx.

Referenced by DeactivatePage(), Init(), and Reset().

◆ theOutPos

ScAddress ScTabPageSortOptions::theOutPos
private

Definition at line 125 of file tpsort.hxx.

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


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