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

#include <informationdialog.hxx>

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

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 OString &rDialogId, const OString &rRelocateId=OString())
 
virtual DialoggetDialog () 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 DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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::CheckButtonmxCheckBox
 
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::Builderm_xBuilder
 
std::unique_ptr< weld::MessageDialogm_xDialog
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Widgetm_xRelocate
 
std::unique_ptr< weld::Containerm_xOrigParent
 
- Protected Attributes inherited from ConfigurationAccess
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 27 of file informationdialog.hxx.

Constructor & Destructor Documentation

◆ InformationDialog()

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::~InformationDialog ( )

Definition at line 134 of file informationdialog.cxx.

Member Function Documentation

◆ execute()

void InformationDialog::execute ( )

◆ InitDialog()

void InformationDialog::InitDialog ( )
private

Member Data Documentation

◆ maSaveAsURL

const OUString& InformationDialog::maSaveAsURL
private

Definition at line 48 of file informationdialog.hxx.

Referenced by execute(), and InitDialog().

◆ mnApproxSize

sal_Int64 InformationDialog::mnApproxSize
private

Definition at line 46 of file informationdialog.hxx.

Referenced by InitDialog().

◆ mnDestSize

sal_Int64 InformationDialog::mnDestSize
private

Definition at line 45 of file informationdialog.hxx.

Referenced by InitDialog().

◆ mnSourceSize

sal_Int64 InformationDialog::mnSourceSize
private

Definition at line 44 of file informationdialog.hxx.

Referenced by InitDialog().

◆ mrbOpenNewDocument

bool& InformationDialog::mrbOpenNewDocument
private

Definition at line 47 of file informationdialog.hxx.

Referenced by execute(), and InitDialog().

◆ mxCheckBox

std::unique_ptr<weld::CheckButton> InformationDialog::mxCheckBox
private

Definition at line 42 of file informationdialog.hxx.

Referenced by execute(), and InitDialog().


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