diff options
author | Noel Grandin <noel@peralex.com> | 2016-10-19 15:44:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-10-20 09:06:00 +0200 |
commit | d76027bb78f71ee69748ce01d8ea0f702a32aa61 (patch) | |
tree | e3251c661df3611e1102d86486dc88990e702555 /sd | |
parent | c2b48a763df113e63e6a27ee05b9a6834e4e49a4 (diff) |
add dumpAsXmlEditDoc
to dump the current editing document to editdoc.xml on F12
Change-Id: I1b9cc2edb6429aa0bf651bdd52cac70dfd4db9d0
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index abcaaeecea6c..bd60739f0515 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -26,6 +26,7 @@ #include <editeng/outliner.hxx> #include <editeng/editview.hxx> +#include <editeng/editeng.hxx> #include "app.hrc" #include "helpids.h" @@ -224,6 +225,8 @@ void Window::KeyInput(const KeyEvent& rKEvt) if (getenv("SD_DEBUG") && rKEvt.GetKeyCode().GetCode() == KEY_F12 && mpViewShell) { mpViewShell->GetDoc()->dumpAsXml(nullptr); + OutlinerView *pOLV = mpViewShell->GetView()->GetTextEditOutlinerView(); + pOLV->GetEditView().GetEditEngine()->dumpAsXmlEditDoc(nullptr); return; } |