LibreOffice Module sdext (master) 1
|
#include <informationdialog.hxx>
Public Member Functions | |
InformationDialog (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::awt::XWindow > &rxDialogParent, const OUString &rSaveAsURL, bool &bOpenNewDocument, sal_Int64 nSourceSize, sal_Int64 nDestSize, sal_Int64 nApproxDest) | |
~InformationDialog () | |
void | execute () |
Public Member Functions inherited from weld::MessageDialogController | |
MessageDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, const OUString &rRelocateId={}) | |
virtual Dialog * | getDialog () override |
virtual | ~MessageDialogController () override |
void | set_primary_text (const OUString &rText) |
OUString | get_primary_text () const |
void | set_secondary_text (const OUString &rText) |
OUString | get_secondary_text () const |
void | set_default_response (int nResponse) |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
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) |
Private Member Functions | |
void | InitDialog () |
Private Attributes | |
std::unique_ptr< weld::CheckButton > | mxCheckBox |
sal_Int64 | mnSourceSize |
sal_Int64 | mnDestSize |
sal_Int64 | mnApproxSize |
bool & | mrbOpenNewDocument |
const OUString & | maSaveAsURL |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::MessageDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::MessageDialog > | m_xDialog |
std::unique_ptr< weld::Container > | m_xContentArea |
std::unique_ptr< weld::Widget > | m_xRelocate |
std::unique_ptr< weld::Container > | m_xOrigParent |
Protected Attributes inherited from ConfigurationAccess | |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 27 of file informationdialog.hxx.
InformationDialog::InformationDialog | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
const css::uno::Reference< css::awt::XWindow > & | rxDialogParent, | ||
const OUString & | rSaveAsURL, | ||
bool & | bOpenNewDocument, | ||
sal_Int64 | nSourceSize, | ||
sal_Int64 | nDestSize, | ||
sal_Int64 | nApproxDest | ||
) |
Definition at line 119 of file informationdialog.cxx.
References GetFrameWeld(), and InitDialog().
InformationDialog::~InformationDialog | ( | ) |
Definition at line 134 of file informationdialog.cxx.
void InformationDialog::execute | ( | ) |
Definition at line 138 of file informationdialog.cxx.
References maSaveAsURL, mrbOpenNewDocument, mxCheckBox, and weld::DialogController::run().
|
private |
Definition at line 52 of file informationdialog.cxx.
References aURL, ConfigurationAccess::getString(), i, ImpValueOfInMB(), maSaveAsURL, mnApproxSize, mnDestSize, mnSourceSize, mrbOpenNewDocument, mxCheckBox, ConfigurationAccess::mxContext, weld::MessageDialogController::set_primary_text(), weld::MessageDialogController::set_secondary_text(), weld::DialogController::set_title(), STR_INFO_PRIMARY, STR_INFO_SECONDARY_1, STR_INFO_SECONDARY_2, STR_INFO_SECONDARY_3, STR_INFO_SECONDARY_4, STR_SUN_OPTIMIZATION_WIZARD2, and u.
Referenced by InformationDialog().
|
private |
Definition at line 48 of file informationdialog.hxx.
Referenced by execute(), and InitDialog().
|
private |
Definition at line 46 of file informationdialog.hxx.
Referenced by InitDialog().
|
private |
Definition at line 45 of file informationdialog.hxx.
Referenced by InitDialog().
|
private |
Definition at line 44 of file informationdialog.hxx.
Referenced by InitDialog().
|
private |
Definition at line 47 of file informationdialog.hxx.
Referenced by execute(), and InitDialog().
|
private |
Definition at line 42 of file informationdialog.hxx.
Referenced by execute(), and InitDialog().