From d76027bb78f71ee69748ce01d8ea0f702a32aa61 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Oct 2016 15:44:39 +0200 Subject: add dumpAsXmlEditDoc to dump the current editing document to editdoc.xml on F12 Change-Id: I1b9cc2edb6429aa0bf651bdd52cac70dfd4db9d0 --- sd/source/ui/view/sdwindow.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sd/source/ui/view') 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 #include +#include #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; } -- cgit