32 std::unique_ptr<weld::Builder> xBuilder(
34 std::unique_ptr<weld::MessageDialog> xQBox(xBuilder->weld_message_dialog(
"QuerySaveDialog"));
35 xQBox->set_primary_text(xQBox->get_primary_text().replaceFirst(
"$(DOC)", _rTitle));
short ExecuteQuerySaveDocument(weld::Widget *_pParent, std::u16string_view _rTitle)
Opens the general query save document dialog.
static std::unique_ptr< weld::Builder > CreateBuilder(weld::Widget *pParent, const OUString &rUIFile, bool bMobile=false, sal_uInt64 nLOKWindowId=0)
static bool IsHeadlessModeEnabled()