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

#include <treeopt.hxx>

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

Public Member Functions

 OfaTreeOptionsDialog (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &_xFrame, bool bActivateLastSelection)
 
 OfaTreeOptionsDialog (vcl::Window *pParent, const OUString &rExtensionId)
 
virtual ~OfaTreeOptionsDialog () override
 
virtual void dispose () override
 
OptionsPageInfoAddTabPage (sal_uInt16 nId, const OUString &rPageName, sal_uInt16 nGroup)
 
sal_uInt16 AddGroup (const OUString &rGroupName, SfxShell *pCreateShell, SfxModule *pCreateModule, sal_uInt16 nDialogId)
 
void ActivateLastSelection ()
 
void ActivatePage (sal_uInt16 nResId)
 
void ActivatePage (const OUString &rPageURL)
 
void ApplyItemSets ()
 
void SetNeedsRestart (svtools::RestartReason eReason)
 
- Public Member Functions inherited from SfxModalDialog
virtual ~SfxModalDialog () override
 

Static Public Member Functions

static void ApplyLanguageOptions (const SfxItemSet &rSet)
 

Private Member Functions

std::unique_ptr< SfxItemSetCreateItemSet (sal_uInt16 nId)
 
void InitTreeAndHandler ()
 
void Initialize (const css::uno::Reference< css::frame::XFrame > &_xFrame)
 
void InitWidgets ()
 
void LoadExtensionOptions (const OUString &rExtensionId)
 
void InsertNodes (const VectorOfNodes &rNodeList)
 
void ApplyOptions (bool deactivate)
 
 DECL_STATIC_LINK (OfaTreeOptionsDialog, ExpandedHdl_Impl, SvTreeListBox *, void)
 
 DECL_LINK (ShowPageHdl_Impl, SvTreeListBox *, void)
 
 DECL_LINK (BackHdl_Impl, Button *, void)
 
 DECL_LINK (ApplyHdl_Impl, Button *, void)
 
 DECL_LINK (OKHdl_Impl, Button *, void)
 
void SelectHdl_Impl ()
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
virtual short Execute () override
 

Static Private Member Functions

static void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet)
 
static OUString GetModuleIdentifier (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
static std::unique_ptr< ModuleLoadModule (const OUString &rModuleIdentifier)
 
static VectorOfNodes LoadNodes (Module *pModule, const OUString &rExtensionId)
 

Private Attributes

VclPtr< OKButtonpOkPB
 
VclPtr< PushButtonpApplyPB
 
VclPtr< PushButtonpBackPB
 
VclPtr< SvTreeListBoxpTreeLB
 
VclPtr< VclBoxpTabBox
 
VclPtr< vcl::Windowm_pParent
 
SvTreeListEntrypCurrentPageEntry
 
OUString sTitle
 
bool bForgetSelection
 
bool bIsFromExtensionManager
 
bool bIsForSetDocumentLanguage
 
bool bNeedsRestart
 
svtools::RestartReason eRestartReason
 
css::uno::Reference< css::awt::XContainerWindowProvider > m_xContainerWinProvider
 

Static Private Attributes

static LastPageSaverpLastPageSaver = nullptr
 

Additional Inherited Members

- Protected Member Functions inherited from SfxModalDialog
 SfxModalDialog (vcl::Window *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 

Detailed Description

Definition at line 118 of file treeopt.hxx.

Constructor & Destructor Documentation

OfaTreeOptionsDialog::OfaTreeOptionsDialog ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  _xFrame,
bool  bActivateLastSelection 
)
OfaTreeOptionsDialog::OfaTreeOptionsDialog ( vcl::Window pParent,
const OUString &  rExtensionId 
)
OfaTreeOptionsDialog::~OfaTreeOptionsDialog ( )
overridevirtual

Definition at line 548 of file treeopt.cxx.

Member Function Documentation

void OfaTreeOptionsDialog::ActivateLastSelection ( )
void OfaTreeOptionsDialog::ActivatePage ( sal_uInt16  nResId)
void OfaTreeOptionsDialog::ActivatePage ( const OUString &  rPageURL)
sal_uInt16 OfaTreeOptionsDialog::AddGroup ( const OUString &  rGroupName,
SfxShell pCreateShell,
SfxModule pCreateModule,
sal_uInt16  nDialogId 
)
OptionsPageInfo * OfaTreeOptionsDialog::AddTabPage ( sal_uInt16  nId,
const OUString &  rPageName,
sal_uInt16  nGroup 
)
void OfaTreeOptionsDialog::ApplyItemSet ( sal_uInt16  nId,
const SfxItemSet rSet 
)
staticprivate
void OfaTreeOptionsDialog::ApplyItemSets ( )
void OfaTreeOptionsDialog::ApplyLanguageOptions ( const SfxItemSet rSet)
static
void OfaTreeOptionsDialog::ApplyOptions ( bool  deactivate)
private
std::unique_ptr< SfxItemSet > OfaTreeOptionsDialog::CreateItemSet ( sal_uInt16  nId)
private
OfaTreeOptionsDialog::DECL_LINK ( ShowPageHdl_Impl  ,
SvTreeListBox ,
void   
)
private
OfaTreeOptionsDialog::DECL_LINK ( BackHdl_Impl  ,
Button ,
void   
)
private
OfaTreeOptionsDialog::DECL_LINK ( ApplyHdl_Impl  ,
Button ,
void   
)
private
OfaTreeOptionsDialog::DECL_LINK ( OKHdl_Impl  ,
Button ,
void   
)
private
OfaTreeOptionsDialog::DECL_STATIC_LINK ( OfaTreeOptionsDialog  ,
ExpandedHdl_Impl  ,
SvTreeListBox ,
void   
)
private
void OfaTreeOptionsDialog::dispose ( void  )
overridevirtual
bool OfaTreeOptionsDialog::EventNotify ( NotifyEvent rNEvt)
overrideprivatevirtual
short OfaTreeOptionsDialog::Execute ( )
overrideprivatevirtual
OUString OfaTreeOptionsDialog::GetModuleIdentifier ( const css::uno::Reference< css::frame::XFrame > &  xFrame)
staticprivate
void OfaTreeOptionsDialog::Initialize ( const css::uno::Reference< css::frame::XFrame > &  _xFrame)
private
void OfaTreeOptionsDialog::InitTreeAndHandler ( )
private
void OfaTreeOptionsDialog::InitWidgets ( )
private
void OfaTreeOptionsDialog::InsertNodes ( const VectorOfNodes rNodeList)
private

Definition at line 1999 of file treeopt.cxx.

References lcl_insertLeaf(), and pTreeLB.

Referenced by LoadExtensionOptions().

void OfaTreeOptionsDialog::LoadExtensionOptions ( const OUString &  rExtensionId)
private

Definition at line 1725 of file treeopt.cxx.

References GetModuleIdentifier(), InsertNodes(), LoadModule(), and LoadNodes().

Referenced by OfaTreeOptionsDialog().

std::unique_ptr< Module > OfaTreeOptionsDialog::LoadModule ( const OUString &  rModuleIdentifier)
staticprivate

Definition at line 1771 of file treeopt.cxx.

References i, x, and y.

Referenced by LoadExtensionOptions().

VectorOfNodes OfaTreeOptionsDialog::LoadNodes ( Module pModule,
const OUString &  rExtensionId 
)
staticprivate

Definition at line 1835 of file treeopt.cxx.

References getGroupName(), i, isNodeActive(), Module::m_aNodeList, and sId.

Referenced by LoadExtensionOptions().

void OfaTreeOptionsDialog::SelectHdl_Impl ( )
private
void OfaTreeOptionsDialog::SetNeedsRestart ( svtools::RestartReason  eReason)

Definition at line 2021 of file treeopt.cxx.

References bNeedsRestart, and eRestartReason.

Referenced by SvxJavaOptionsPage::RequestRestart().

Member Data Documentation

bool OfaTreeOptionsDialog::bForgetSelection
private

Definition at line 134 of file treeopt.hxx.

Referenced by ActivatePage(), and SelectHdl_Impl().

bool OfaTreeOptionsDialog::bIsForSetDocumentLanguage
private

Definition at line 138 of file treeopt.hxx.

Referenced by ActivatePage(), and CreateItemSet().

bool OfaTreeOptionsDialog::bIsFromExtensionManager
private
bool OfaTreeOptionsDialog::bNeedsRestart
private

Definition at line 140 of file treeopt.hxx.

Referenced by SetNeedsRestart().

svtools::RestartReason OfaTreeOptionsDialog::eRestartReason
private

Definition at line 141 of file treeopt.hxx.

Referenced by SetNeedsRestart().

VclPtr<vcl::Window> OfaTreeOptionsDialog::m_pParent
private

Definition at line 128 of file treeopt.hxx.

Referenced by dispose().

css::uno::Reference< css::awt::XContainerWindowProvider > OfaTreeOptionsDialog::m_xContainerWinProvider
private

Definition at line 144 of file treeopt.hxx.

Referenced by SelectHdl_Impl().

VclPtr<PushButton> OfaTreeOptionsDialog::pApplyPB
private

Definition at line 122 of file treeopt.hxx.

Referenced by dispose(), InitTreeAndHandler(), and InitWidgets().

VclPtr<PushButton> OfaTreeOptionsDialog::pBackPB
private

Definition at line 123 of file treeopt.hxx.

Referenced by dispose(), InitTreeAndHandler(), and InitWidgets().

SvTreeListEntry* OfaTreeOptionsDialog::pCurrentPageEntry
private

Definition at line 130 of file treeopt.hxx.

Referenced by dispose(), and SelectHdl_Impl().

LastPageSaver * OfaTreeOptionsDialog::pLastPageSaver = nullptr
staticprivate

Definition at line 146 of file treeopt.hxx.

Referenced by ActivateLastSelection(), ActivatePage(), and SelectHdl_Impl().

VclPtr<OKButton> OfaTreeOptionsDialog::pOkPB
private

Definition at line 121 of file treeopt.hxx.

Referenced by dispose(), InitTreeAndHandler(), and InitWidgets().

VclPtr<VclBox> OfaTreeOptionsDialog::pTabBox
private

Definition at line 126 of file treeopt.hxx.

Referenced by dispose(), InitWidgets(), and SelectHdl_Impl().

VclPtr<SvTreeListBox> OfaTreeOptionsDialog::pTreeLB
private
OUString OfaTreeOptionsDialog::sTitle
private

Definition at line 132 of file treeopt.hxx.

Referenced by SelectHdl_Impl().


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