Make Chart Creation Wizard async

Desktop / LibreOffice - Szymon Kłos [collabora.com] - 18 May 2020 18:45 EDT

- FuInsertChart as a memeber in ScTabViewShell stores instance is needed to react on the dialog's result
- CreationWizardUnoDlg converted to XAsynchronousExecutableDialog added dialog close handler which notifies listeners In the Online dialog become dead after closing, additional PostUserEvent was needed to kill the dialog after real close (without it user needed to select any cell to close dialog)
- Reuse in Writer

Change-Id: Ib09b5d83af9e1aa67218e093aa161419e8ddb922 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90380

77445e201c45 Make Chart Creation Wizard async
.../controller/dialogs/dlg_CreationWizard_UNO.cxx | 56 +++++++++++------
.../controller/inc/dlg_CreationWizard_UNO.hxx | 17 +++--
sc/source/ui/drawfunc/fuins2.cxx | 73 +++++-----------------
sc/source/ui/inc/fuinsert.hxx | 10 ++-
sc/source/ui/inc/tabvwsh.hxx | 2 +
sc/source/ui/view/tabvwsh2.cxx | 2 +-
sc/source/ui/view/tabvwsh4.cxx | 1 +
sc/source/ui/view/tabvwshb.cxx | 35 ++++++++++-
sw/source/uibase/inc/chartins.hxx | 8 ++-
sw/source/uibase/inc/textsh.hxx | 3 +
sw/source/uibase/shells/textsh.cxx | 23 ++++++-
sw/source/uibase/table/chartins.cxx | 32 +++++-----
vcl/source/control/wizardmachine.cxx | 15 ++++-
13 files changed, 169 insertions(+), 108 deletions(-)

Upstream: cgit.freedesktop.org


  • Share