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

#include <unodialog.hxx>

Inheritance diagram for UnoDialog:
[legend]

Public Member Functions

 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)
 

Protected Attributes

css::uno::Reference< css::uno::XComponentContext > mxContext
 
css::uno::Reference< css::frame::XController > mxController
 

Private Attributes

css::uno::Reference< css::awt::XReschedule > mxReschedule
 
css::uno::Reference< css::uno::XInterface > mxDialogModel
 
css::uno::Reference< css::beans::XMultiPropertySet > mxDialogModelMultiPropertySet
 
css::uno::Reference< css::lang::XMultiServiceFactory > mxDialogModelMSF
 
css::uno::Reference< css::container::XNameContainer > mxDialogModelNameContainer
 
css::uno::Reference< css::container::XNameAccess > mxDialogModelNameAccess
 
css::uno::Reference< css::awt::XControlModel > mxControlModel
 
css::uno::Reference< css::awt::XUnoControlDialog > mxDialog
 
css::uno::Reference< css::awt::XControl > mxControl
 
bool mbStatus
 

Detailed Description

Definition at line 44 of file unodialog.hxx.

Constructor & Destructor Documentation

UnoDialog::UnoDialog ( const css::uno::Reference< css::uno::XComponentContext > &  rxMSF,
css::uno::Reference< css::frame::XFrame > const &  rxFrame 
)
UnoDialog::~UnoDialog ( )

Definition at line 66 of file unodialog.cxx.

References mxDialog.

Member Function Documentation

const css::uno::Reference<css::frame::XController>& UnoDialog::controller ( ) const
inline

Definition at line 93 of file unodialog.hxx.

References mxController.

Referenced by ActionListener::actionPerformed().

void UnoDialog::disableControl ( const OUString &  rControlName)

Definition at line 304 of file unodialog.cxx.

References Any, and setControlProperty().

Referenced by OptimizerDialog::SwitchPage().

void UnoDialog::enableControl ( const OUString &  rControlName)

Definition at line 297 of file unodialog.cxx.

References Any, and setControlProperty().

Referenced by OptimizerDialog::SwitchPage().

void UnoDialog::endExecute ( bool  bStatus)

Definition at line 80 of file unodialog.cxx.

References mbStatus, and mxDialog.

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

bool UnoDialog::endStatus ( ) const
inline

Definition at line 91 of file unodialog.hxx.

References mbStatus.

Referenced by OptimizerDialog::~OptimizerDialog().

void UnoDialog::execute ( )

Definition at line 73 of file unodialog.cxx.

References mxDialog.

Referenced by InformationDialog::execute(), and OptimizerDialog::execute().

css::uno::Reference<css::awt::XControl> UnoDialog::getControl ( const OUString &  rControlName) const
inline

Definition at line 92 of file unodialog.hxx.

References mxDialog.

Referenced by OptimizerDialog::InitRoadmap().

Any UnoDialog::getControlProperty ( const OUString &  rControlName,
const OUString &  rPropertyName 
)
Reference< XButton > UnoDialog::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 
)

Definition at line 118 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertButton().

Reference< XCheckBox > UnoDialog::insertCheckBox ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 161 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertCheckBox().

Reference< XComboBox > UnoDialog::insertComboBox ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 195 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertComboBox().

Reference< XInterface > UnoDialog::insertControlModel ( const OUString &  rServiceName,
const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)
Reference< XFixedText > UnoDialog::insertFixedText ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 144 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertFixedText().

Reference< XControl > UnoDialog::insertFormattedField ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 178 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertFormattedField().

Reference< XControl > UnoDialog::insertImage ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 246 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertImage().

Reference< XListBox > UnoDialog::insertListBox ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 229 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertListBox().

Reference< XRadioButton > UnoDialog::insertRadioButton ( const OUString &  rName,
const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rPropertyValues 
)

Definition at line 212 of file unodialog.cxx.

References Any, Exception, insertControlModel(), and mxDialog.

Referenced by InsertRadioButton().

void UnoDialog::reschedule ( ) const
inline

Definition at line 90 of file unodialog.hxx.

References mxReschedule.

Referenced by ActionListener::actionPerformed(), and OptimizerDialog::UpdateStatus().

void UnoDialog::setControlProperty ( const OUString &  rControlName,
const OUString &  rPropertyName,
const css::uno::Any &  rPropertyValue 
)
void UnoDialog::setPropertyValues ( const css::uno::Sequence< OUString > &  rNameSeq,
const css::uno::Sequence< css::uno::Any > &  rValueSeq 
)
inline
void UnoDialog::setVisible ( const OUString &  rName,
bool  bVisible 
)

Definition at line 104 of file unodialog.cxx.

References Exception, and mxDialog.

Referenced by OptimizerDialog::ActivatePage(), and OptimizerDialog::DeactivatePage().

Member Data Documentation

bool UnoDialog::mbStatus
private

Definition at line 113 of file unodialog.hxx.

Referenced by endExecute(), and endStatus().

css::uno::Reference< css::uno::XComponentContext > UnoDialog::mxContext
protected
css::uno::Reference< css::awt::XControl > UnoDialog::mxControl
private

Definition at line 112 of file unodialog.hxx.

Referenced by UnoDialog().

css::uno::Reference< css::frame::XController > UnoDialog::mxController
protected
css::uno::Reference< css::awt::XControlModel > UnoDialog::mxControlModel
private

Definition at line 109 of file unodialog.hxx.

Referenced by UnoDialog().

css::uno::Reference< css::awt::XUnoControlDialog > UnoDialog::mxDialog
private
css::uno::Reference< css::uno::XInterface > UnoDialog::mxDialogModel
private

Definition at line 103 of file unodialog.hxx.

css::uno::Reference< css::lang::XMultiServiceFactory > UnoDialog::mxDialogModelMSF
private

Definition at line 105 of file unodialog.hxx.

Referenced by insertControlModel().

css::uno::Reference< css::beans::XMultiPropertySet > UnoDialog::mxDialogModelMultiPropertySet
private

Definition at line 104 of file unodialog.hxx.

Referenced by setPropertyValues().

css::uno::Reference< css::container::XNameAccess > UnoDialog::mxDialogModelNameAccess
private

Definition at line 107 of file unodialog.hxx.

Referenced by getControlProperty(), and setControlProperty().

css::uno::Reference< css::container::XNameContainer > UnoDialog::mxDialogModelNameContainer
private

Definition at line 106 of file unodialog.hxx.

Referenced by insertControlModel().

css::uno::Reference< css::awt::XReschedule > UnoDialog::mxReschedule
private

Definition at line 102 of file unodialog.hxx.

Referenced by reschedule(), and UnoDialog().


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