LibreOffice Module sdext (master)  1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
OptimizerDialog Class Reference

#include <optimizerdialog.hxx>

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

Public Member Functions

 OptimizerDialog (const css::uno::Reference< css::uno::XComponentContext > &rxContext, css::uno::Reference< css::frame::XFrame > const &rxFrame, css::uno::Reference< css::frame::XDispatch > const &rxStatusDispatcher)
 
 ~OptimizerDialog ()
 
void execute ()
 
void UpdateStatus (const css::uno::Sequence< css::beans::PropertyValue > &rStatus)
 
void UpdateConfiguration ()
 
void EnablePage (sal_Int16 nStep)
 
void DisablePage (sal_Int16 nStep)
 
void SwitchPage (sal_Int16 nNewStep)
 
void UpdateControlStates (sal_Int16 nStep=-1)
 
OUString GetSelectedString (OUString const &token)
 
css::uno::Reference< css::frame::XDispatch > & GetStatusDispatcher ()
 
css::uno::Reference< css::frame::XFrame > & GetFrame ()
 
const css::uno::Reference< css::uno::XComponentContext > & GetComponentContext () const
 
- Public Member Functions inherited from UnoDialog
 UnoDialog (const css::uno::Reference< css::uno::XComponentContext > &rxMSF, css::uno::Reference< css::frame::XFrame > const &rxFrame)
 
 ~UnoDialog ()
 
void execute ()
 
void endExecute (bool bStatus)
 
css::uno::Reference< css::uno::XInterface > insertControlModel (const OUString &rServiceName, const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
void setVisible (const OUString &rName, bool bVisible)
 
css::uno::Reference< css::awt::XButton > insertButton (const OUString &rName, const css::uno::Reference< css::awt::XActionListener > &xActionListener, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XFixedText > insertFixedText (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XCheckBox > insertCheckBox (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XControl > insertFormattedField (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XComboBox > insertComboBox (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XRadioButton > insertRadioButton (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XListBox > insertListBox (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
css::uno::Reference< css::awt::XControl > insertImage (const OUString &rName, const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rPropertyValues)
 
void setControlProperty (const OUString &rControlName, const OUString &rPropertyName, const css::uno::Any &rPropertyValue)
 
css::uno::Any getControlProperty (const OUString &rControlName, const OUString &rPropertyName)
 
void enableControl (const OUString &rControlName)
 
void disableControl (const OUString &rControlName)
 
void reschedule () const
 
bool endStatus () const
 
css::uno::Reference< css::awt::XControl > getControl (const OUString &rControlName) const
 
const css::uno::Reference< css::frame::XController > & controller () const
 
void setPropertyValues (const css::uno::Sequence< OUString > &rNameSeq, const css::uno::Sequence< css::uno::Any > &rValueSeq)
 
- Public Member Functions inherited from ConfigurationAccess
 ConfigurationAccess (const css::uno::Reference< css::uno::XComponentContext > &rXFactory)
 
 ~ConfigurationAccess ()
 
void SaveConfiguration ()
 
OUString getString (const PPPOptimizerTokenEnum) const
 
css::uno::Any GetConfigProperty (const PPPOptimizerTokenEnum) const
 
void SetConfigProperty (const PPPOptimizerTokenEnum, const css::uno::Any &aValue)
 
bool GetConfigProperty (const PPPOptimizerTokenEnum, const bool bDefault) const
 
sal_Int16 GetConfigProperty (const PPPOptimizerTokenEnum, const sal_Int16 nDefault) const
 
sal_Int32 GetConfigProperty (const PPPOptimizerTokenEnum, const sal_Int32 nDefault) const
 
css::uno::Sequence< css::beans::PropertyValue > GetConfigurationSequence ()
 
std::vector< OptimizerSettings > & GetOptimizerSettings ()
 
std::vector< OptimizerSettings >::iterator GetOptimizerSettingsByName (const OUString &rName)
 

Public Attributes

sal_Int16 mnCurrentStep
 
sal_Int16 mnTabIndex
 
bool mbIsReadonly
 
OptimizationStats maStats
 

Private Member Functions

void InitDialog ()
 
void InitRoadmap ()
 
void InitNavigationBar ()
 
void InitPage0 ()
 
void InitPage1 ()
 
void InitPage2 ()
 
void InitPage3 ()
 
void InitPage4 ()
 
void UpdateControlStatesPage0 ()
 
void UpdateControlStatesPage1 ()
 
void UpdateControlStatesPage2 ()
 
void UpdateControlStatesPage3 ()
 
void UpdateControlStatesPage4 ()
 
void ActivatePage (sal_Int16 nStep)
 
void DeactivatePage (sal_Int16 nStep)
 
void InsertRoadmapItem (const sal_Int32 nIndex, const OUString &rLabel, const sal_Int32 nItemID)
 

Private Attributes

css::uno::Reference< css::frame::XFrame > mxFrame
 
css::uno::Reference< css::uno::XInterface > mxRoadmapControl
 
css::uno::Reference< css::uno::XInterface > mxRoadmapControlModel
 
css::uno::Reference< css::awt::XItemListener > mxItemListener
 
css::uno::Reference< css::awt::XActionListener > mxActionListener
 
css::uno::Reference< css::awt::XActionListener > mxActionListenerListBox0Pg0
 
css::uno::Reference< css::awt::XTextListener > mxTextListenerFormattedField0Pg1
 
css::uno::Reference< css::awt::XTextListener > mxTextListenerComboBox0Pg1
 
css::uno::Reference< css::awt::XSpinListener > mxSpinListenerFormattedField0Pg1
 
css::uno::Reference< css::frame::XDispatch > mxStatusDispatcher
 
std::vector< std::vector< OUString > > maControlPages
 

Additional Inherited Members

- Protected Attributes inherited from UnoDialog
css::uno::Reference< css::uno::XComponentContext > mxContext
 
css::uno::Reference< css::frame::XController > mxController
 

Detailed Description

Definition at line 51 of file optimizerdialog.hxx.

Constructor & Destructor Documentation

OptimizerDialog::OptimizerDialog ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
css::uno::Reference< css::frame::XFrame > const &  rxFrame,
css::uno::Reference< css::frame::XDispatch > const &  rxStatusDispatcher 
)
OptimizerDialog::~OptimizerDialog ( )

Member Function Documentation

void OptimizerDialog::ActivatePage ( sal_Int16  nStep)
private

Definition at line 914 of file optimizerdialogcontrols.cxx.

References maControlPages, and UnoDialog::setVisible().

Referenced by OptimizerDialog(), and SwitchPage().

void OptimizerDialog::DeactivatePage ( sal_Int16  nStep)
private
void OptimizerDialog::DisablePage ( sal_Int16  nStep)
void OptimizerDialog::EnablePage ( sal_Int16  nStep)
void OptimizerDialog::execute ( )
const css::uno::Reference< css::uno::XComponentContext >& OptimizerDialog::GetComponentContext ( ) const
inline

Definition at line 117 of file optimizerdialog.hxx.

References UnoDialog::mxContext.

Referenced by ActionListener::actionPerformed().

css::uno::Reference< css::frame::XFrame>& OptimizerDialog::GetFrame ( )
inline

Definition at line 116 of file optimizerdialog.hxx.

References mxFrame.

Referenced by ActionListener::actionPerformed().

OUString OptimizerDialog::GetSelectedString ( OUString const &  token)

Definition at line 300 of file optimizerdialog.cxx.

References UnoDialog::getControlProperty().

Referenced by ActionListener::actionPerformed().

css::uno::Reference< css::frame::XDispatch >& OptimizerDialog::GetStatusDispatcher ( )
inline

Definition at line 115 of file optimizerdialog.hxx.

References mxStatusDispatcher.

Referenced by ActionListener::actionPerformed().

void OptimizerDialog::InitDialog ( )
private
void OptimizerDialog::InitNavigationBar ( )
private
void OptimizerDialog::InitPage0 ( )
private
void OptimizerDialog::InitPage1 ( )
private
void OptimizerDialog::InitPage2 ( )
private
void OptimizerDialog::InitPage3 ( )
private
void OptimizerDialog::InitPage4 ( )
private
void OptimizerDialog::InitRoadmap ( )
private
void OptimizerDialog::InsertRoadmapItem ( const sal_Int32  nIndex,
const OUString &  rLabel,
const sal_Int32  nItemID 
)
private

Definition at line 137 of file optimizerdialog.cxx.

References Any, Exception, and mxRoadmapControlModel.

Referenced by InitRoadmap().

void OptimizerDialog::SwitchPage ( sal_Int16  nNewStep)
void OptimizerDialog::UpdateConfiguration ( )
void OptimizerDialog::UpdateControlStates ( sal_Int16  nStep = -1)
void OptimizerDialog::UpdateControlStatesPage0 ( )
private
void OptimizerDialog::UpdateControlStatesPage1 ( )
private
void OptimizerDialog::UpdateControlStatesPage2 ( )
private
void OptimizerDialog::UpdateControlStatesPage3 ( )
private
void OptimizerDialog::UpdateControlStatesPage4 ( )
private
void OptimizerDialog::UpdateStatus ( const css::uno::Sequence< css::beans::PropertyValue > &  rStatus)

Member Data Documentation

std::vector< std::vector< OUString > > OptimizerDialog::maControlPages
private
OptimizationStats OptimizerDialog::maStats
bool OptimizerDialog::mbIsReadonly

Definition at line 63 of file optimizerdialog.hxx.

Referenced by InitPage4(), OptimizerDialog(), and UpdateControlStatesPage4().

sal_Int16 OptimizerDialog::mnCurrentStep

Definition at line 61 of file optimizerdialog.hxx.

Referenced by ActionListener::actionPerformed(), and SwitchPage().

sal_Int16 OptimizerDialog::mnTabIndex
css::uno::Reference< css::awt::XActionListener > OptimizerDialog::mxActionListener
private

Definition at line 72 of file optimizerdialog.hxx.

Referenced by InitNavigationBar(), InitPage0(), and InitPage1().

css::uno::Reference< css::awt::XActionListener > OptimizerDialog::mxActionListenerListBox0Pg0
private

Definition at line 73 of file optimizerdialog.hxx.

Referenced by InitPage0().

css::uno::Reference< css::frame::XFrame > OptimizerDialog::mxFrame
private

Definition at line 66 of file optimizerdialog.hxx.

Referenced by GetFrame().

css::uno::Reference< css::awt::XItemListener > OptimizerDialog::mxItemListener
private

Definition at line 71 of file optimizerdialog.hxx.

Referenced by execute(), InitPage1(), InitPage2(), InitPage3(), and InitPage4().

css::uno::Reference< css::uno::XInterface > OptimizerDialog::mxRoadmapControl
private

Definition at line 68 of file optimizerdialog.hxx.

Referenced by execute(), and InitRoadmap().

css::uno::Reference< css::uno::XInterface > OptimizerDialog::mxRoadmapControlModel
private

Definition at line 69 of file optimizerdialog.hxx.

Referenced by InitRoadmap(), and InsertRoadmapItem().

css::uno::Reference< css::awt::XSpinListener > OptimizerDialog::mxSpinListenerFormattedField0Pg1
private

Definition at line 76 of file optimizerdialog.hxx.

Referenced by InitPage2().

css::uno::Reference< css::frame::XDispatch > OptimizerDialog::mxStatusDispatcher
private

Definition at line 77 of file optimizerdialog.hxx.

Referenced by GetStatusDispatcher().

css::uno::Reference< css::awt::XTextListener > OptimizerDialog::mxTextListenerComboBox0Pg1
private

Definition at line 75 of file optimizerdialog.hxx.

Referenced by InitPage2().

css::uno::Reference< css::awt::XTextListener > OptimizerDialog::mxTextListenerFormattedField0Pg1
private

Definition at line 74 of file optimizerdialog.hxx.

Referenced by InitPage2().


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