LibreOffice Module extensions (master) 1
|
#include <sal/config.h>
#include <cstddef>
#include "updatehdl.hxx"
#include <helpids.h>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/awt/ActionEvent.hpp>
#include <com/sun/star/awt/PushButtonType.hpp>
#include <com/sun/star/awt/UnoControlDialog.hpp>
#include <com/sun/star/awt/VclWindowPeerAttribute.hpp>
#include <com/sun/star/awt/WindowAttribute.hpp>
#include <com/sun/star/awt/XButton.hpp>
#include <com/sun/star/awt/XControl.hpp>
#include <com/sun/star/awt/XControlContainer.hpp>
#include <com/sun/star/awt/XMessageBox.hpp>
#include <com/sun/star/awt/XAnimation.hpp>
#include <com/sun/star/awt/XTopWindow.hpp>
#include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/awt/XVclContainer.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/awt/XWindow2.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/TerminationVetoException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/task/InteractionRequestStringResolver.hpp>
#include <strings.hrc>
#include <unotools/resmgr.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/diagnose_ex.hxx>
Go to the source code of this file.
Variables | |
constexpr OUStringLiteral | COMMAND_CLOSE = u"close" |
constexpr OUStringLiteral | CTRL_THROBBER = u"throbber" |
constexpr OUStringLiteral | CTRL_PROGRESS = u"progress" |
constexpr OUStringLiteral | TEXT_STATUS = u"text_status" |
constexpr OUStringLiteral | TEXT_PERCENT = u"text_percent" |
constexpr OUStringLiteral | TEXT_DESCRIPTION = u"text_description" |
constexpr OUStringLiteral | FIXED_LINE_MODEL = u"com.sun.star.awt.UnoControlFixedLineModel" |
constexpr OUStringLiteral | FIXED_TEXT_MODEL = u"com.sun.star.awt.UnoControlFixedTextModel" |
constexpr OUStringLiteral | EDIT_FIELD_MODEL = u"com.sun.star.awt.UnoControlEditModel" |
constexpr OUStringLiteral | BUTTON_MODEL = u"com.sun.star.awt.UnoControlButtonModel" |
constexpr OUStringLiteral | GROUP_BOX_MODEL = u"com.sun.star.awt.UnoControlGroupBoxModel" |
#define BOX1_BTN_X ( DIALOG_BORDER + EDIT_WIDTH - BUTTON_WIDTH - INNER_BORDER ) |
Definition at line 932 of file updatehdl.cxx.
#define BOX1_BTN_Y ( DIALOG_BORDER + LABEL_HEIGHT + INNER_BORDER) |
Definition at line 933 of file updatehdl.cxx.
#define BOX_HEIGHT1 ( LABEL_HEIGHT + 3*BUTTON_HEIGHT + 2*BUTTON_Y_OFFSET + 2*INNER_BORDER ) |
Definition at line 929 of file updatehdl.cxx.
#define BOX_HEIGHT2 50 |
Definition at line 930 of file updatehdl.cxx.
#define BUTTON_BAR_HEIGHT 24 |
Definition at line 938 of file updatehdl.cxx.
#define BUTTON_BAR_Y_POS ( EDIT2_Y_POS + DIALOG_BORDER + BOX_HEIGHT2 ) |
Definition at line 943 of file updatehdl.cxx.
#define BUTTON_HEIGHT 14 |
Definition at line 919 of file updatehdl.cxx.
#define BUTTON_WIDTH 50 |
Definition at line 920 of file updatehdl.cxx.
#define BUTTON_X_OFFSET 7 |
Definition at line 921 of file updatehdl.cxx.
#define BUTTON_Y_OFFSET 3 |
Definition at line 922 of file updatehdl.cxx.
#define BUTTON_Y_POS ( BUTTON_BAR_Y_POS + 8 ) |
Definition at line 944 of file updatehdl.cxx.
#define CLOSE_BTN_X ( DIALOG_WIDTH - DIALOG_BORDER - BUTTON_WIDTH ) |
Definition at line 945 of file updatehdl.cxx.
#define DIALOG_BORDER 5 |
Definition at line 926 of file updatehdl.cxx.
#define DIALOG_HEIGHT ( BOX_HEIGHT1 + BOX_HEIGHT2 + LABEL_OFFSET + BUTTON_BAR_HEIGHT + 3 * DIALOG_BORDER ) |
Definition at line 940 of file updatehdl.cxx.
#define DIALOG_WIDTH 300 |
Definition at line 925 of file updatehdl.cxx.
#define DOWNLOAD_BTN_X ( INSTALL_BTN_X - BUTTON_X_OFFSET - BUTTON_WIDTH ) |
Definition at line 947 of file updatehdl.cxx.
#define EDIT2_Y_POS ( LABEL_Y_POS + LABEL_HEIGHT ) |
Definition at line 942 of file updatehdl.cxx.
#define EDIT_WIDTH ( DIALOG_WIDTH - 2 * DIALOG_BORDER ) |
Definition at line 931 of file updatehdl.cxx.
#define INNER_BORDER 3 |
Definition at line 927 of file updatehdl.cxx.
#define INSTALL_BTN_X ( CLOSE_BTN_X - 2 * BUTTON_X_OFFSET - BUTTON_WIDTH ) |
Definition at line 946 of file updatehdl.cxx.
#define LABEL_HEIGHT 10 |
Definition at line 923 of file updatehdl.cxx.
#define LABEL_OFFSET ( LABEL_HEIGHT + 4 ) |
Definition at line 939 of file updatehdl.cxx.
#define LABEL_Y_POS ( 2 * DIALOG_BORDER + BOX_HEIGHT1 ) |
Definition at line 941 of file updatehdl.cxx.
#define PROGRESS_HEIGHT 10 |
Definition at line 949 of file updatehdl.cxx.
#define PROGRESS_WIDTH 80 |
Definition at line 948 of file updatehdl.cxx.
#define PROGRESS_X_POS ( DIALOG_BORDER + 8 ) |
Definition at line 950 of file updatehdl.cxx.
#define PROGRESS_Y_POS ( DIALOG_BORDER + 2*LABEL_OFFSET ) |
Definition at line 951 of file updatehdl.cxx.
#define TEXT_OFFSET 1 |
Definition at line 928 of file updatehdl.cxx.
#define THROBBER_HEIGHT 16 |
Definition at line 935 of file updatehdl.cxx.
#define THROBBER_WIDTH 16 |
Definition at line 934 of file updatehdl.cxx.
#define THROBBER_X_POS ( DIALOG_BORDER + 8 ) |
Definition at line 936 of file updatehdl.cxx.
#define THROBBER_Y_POS ( DIALOG_BORDER + 23 ) |
Definition at line 937 of file updatehdl.cxx.
|
constexpr |
Definition at line 79 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog().
|
constexpr |
Definition at line 67 of file updatehdl.cxx.
Referenced by UpdateHandler::actionPerformed(), and UpdateHandler::windowClosing().
|
constexpr |
Definition at line 70 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog(), UpdateHandler::setProgress(), UpdateHandler::showControls(), and UpdateHandler::updateState().
|
constexpr |
Definition at line 69 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog(), and UpdateHandler::startThrobber().
|
constexpr |
Definition at line 78 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog().
|
constexpr |
Definition at line 76 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog().
|
constexpr |
Definition at line 77 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog().
|
constexpr |
Definition at line 80 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog().
|
constexpr |
Definition at line 74 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog(), UpdateHandler::handle(), UpdateHandler::setErrorMessage(), and UpdateHandler::updateState().
|
constexpr |
Definition at line 73 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog(), UpdateHandler::setProgress(), UpdateHandler::showControls(), and UpdateHandler::updateState().
|
constexpr |
Definition at line 72 of file updatehdl.cxx.
Referenced by UpdateHandler::createDialog(), UpdateHandler::showControls(), and UpdateHandler::updateState().