LibreOffice Module sdext (master)
1
|
#include <unodialog.hxx>
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 |
Definition at line 44 of file unodialog.hxx.
UnoDialog::UnoDialog | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxMSF, |
css::uno::Reference< css::frame::XFrame > const & | rxFrame | ||
) |
Definition at line 37 of file unodialog.cxx.
References create(), false, mxContext, mxContext, mxControl, mxController, mxControlModel, mxDialog, mxReschedule, and xFrame.
UnoDialog::~UnoDialog | ( | ) |
Definition at line 66 of file unodialog.cxx.
References mxDialog.
|
inline |
Definition at line 93 of file unodialog.hxx.
References mxController.
Referenced by ActionListener::actionPerformed().
void UnoDialog::disableControl | ( | const OUString & | rControlName | ) |
Definition at line 303 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().
|
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().
|
inline |
Definition at line 92 of file unodialog.hxx.
References mxDialog.
Referenced by OptimizerDialog::InitRoadmap().
Any UnoDialog::getControlProperty | ( | const OUString & | rControlName, |
const OUString & | rPropertyName | ||
) |
Definition at line 279 of file unodialog.cxx.
References Any, Exception, and mxDialogModelNameAccess.
Referenced by ActionListener::actionPerformed(), SpinListenerFormattedField0Pg1::down(), InformationDialog::execute(), OptimizerDialog::GetSelectedString(), SetBold(), TextListenerFormattedField0Pg1::textChanged(), TextListenerComboBox0Pg1::textChanged(), SpinListenerFormattedField0Pg1::up(), OptimizerDialog::UpdateConfiguration(), and OptimizerDialog::UpdateControlStatesPage4().
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 | ||
) |
Definition at line 86 of file unodialog.cxx.
References Any, Exception, mxDialogModelMSF, and mxDialogModelNameContainer.
Referenced by OptimizerDialog::InitPage4(), OptimizerDialog::InitRoadmap(), insertButton(), insertCheckBox(), insertComboBox(), insertFixedText(), insertFormattedField(), insertImage(), insertListBox(), insertRadioButton(), and InsertSeparator().
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().
|
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 | ||
) |
Definition at line 263 of file unodialog.cxx.
References Exception, and mxDialogModelNameAccess.
Referenced by ActionListener::actionPerformed(), disableControl(), OptimizerDialog::DisablePage(), SpinListenerFormattedField0Pg1::down(), enableControl(), OptimizerDialog::EnablePage(), SpinListenerFormattedField0Pg1::first(), InformationDialog::InitDialog(), OptimizerDialog::InitNavigationBar(), OptimizerDialog::InitPage1(), OptimizerDialog::InitPage4(), ItemListener::itemStateChanged(), SpinListenerFormattedField0Pg1::last(), SetBold(), OptimizerDialog::SwitchPage(), SpinListenerFormattedField0Pg1::up(), OptimizerDialog::UpdateControlStatesPage0(), OptimizerDialog::UpdateControlStatesPage1(), OptimizerDialog::UpdateControlStatesPage2(), OptimizerDialog::UpdateControlStatesPage3(), OptimizerDialog::UpdateControlStatesPage4(), and OptimizerDialog::UpdateStatus().
|
inline |
Definition at line 94 of file unodialog.hxx.
References mxDialogModelMultiPropertySet.
Referenced by InformationDialog::InitDialog(), and OptimizerDialog::InitDialog().
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().
|
private |
Definition at line 113 of file unodialog.hxx.
Referenced by endExecute(), and endStatus().
|
protected |
Definition at line 98 of file unodialog.hxx.
Referenced by OptimizerDialog::GetComponentContext(), InformationDialog::InitDialog(), UnoDialog(), and OptimizerDialog::UpdateControlStatesPage4().
|
private |
Definition at line 112 of file unodialog.hxx.
Referenced by UnoDialog().
|
protected |
Definition at line 99 of file unodialog.hxx.
Referenced by controller(), OptimizerDialog::InitPage1(), OptimizerDialog::InitPage3(), OptimizerDialog::OptimizerDialog(), UnoDialog(), and OptimizerDialog::UpdateControlStatesPage4().
|
private |
Definition at line 109 of file unodialog.hxx.
Referenced by UnoDialog().
|
private |
Definition at line 111 of file unodialog.hxx.
Referenced by endExecute(), execute(), getControl(), insertButton(), insertCheckBox(), insertComboBox(), insertFixedText(), insertFormattedField(), insertImage(), insertListBox(), insertRadioButton(), setVisible(), UnoDialog(), and ~UnoDialog().
|
private |
Definition at line 103 of file unodialog.hxx.
|
private |
Definition at line 105 of file unodialog.hxx.
Referenced by insertControlModel().
|
private |
Definition at line 104 of file unodialog.hxx.
Referenced by setPropertyValues().
|
private |
Definition at line 107 of file unodialog.hxx.
Referenced by getControlProperty(), and setControlProperty().
|
private |
Definition at line 106 of file unodialog.hxx.
Referenced by insertControlModel().
|
private |
Definition at line 102 of file unodialog.hxx.
Referenced by reschedule(), and UnoDialog().