LibreOffice Module sfx2 (master) 1
Namespaces | Functions
QuerySaveDocument.hxx File Reference
#include <sal/config.h>
#include <string_view>
#include <sfx2/dllapi.h>
Include dependency graph for QuerySaveDocument.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  weld


SFX2_DLLPUBLIC short ExecuteQuerySaveDocument (weld::Widget *_pParent, std::u16string_view _rTitle)
 Opens the general query save document dialog. More...

Function Documentation

◆ ExecuteQuerySaveDocument()

SFX2_DLLPUBLIC short ExecuteQuerySaveDocument ( weld::Widget _pParent,
std::u16string_view  _rTitle 

Opens the general query save document dialog.

_pParentThe parent window. @_rTitle The title of the document.

Definition at line 24 of file QuerySaveDocument.cxx.

References Application::CreateBuilder(), Application::IsHeadlessModeEnabled(), and RET_NO.

Referenced by SfxObjectShell::PrepareClose().