15#include <com/sun/star/system/XSystemShellExecute.hpp>
16#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
17#include <com/sun/star/system/SystemShellExecute.hpp>
20 : GenericDialogController(pParent,
"svx/ui/fileexporteddialog.ui",
"FileExportedDialog")
21 , m_xFileLabel(m_xBuilder->weld_label(
"Filelabel"))
22 , m_xButton(m_xBuilder->weld_button(
"ok"))
31 css::uno::Reference<css::system::XSystemShellExecute> exec(
35 exec->execute(uri, OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY);
37 catch (
const css::uno::Exception&)
IMPL_LINK_NOARG(FileExportedDialog, OpenHdl, weld::Button &, void)
Reference< XExecutableDialog > m_xDialog
FileExportedDialog(weld::Window *pParent, OUString atitle)
std::unique_ptr< weld::Button > m_xButton
std::unique_ptr< weld::Label > m_xFileLabel
static const OUString & getUserProfileURL()
#define TOOLS_WARN_EXCEPTION(area, stream)
#define LINK(Instance, Class, Member)
Reference< XComponentContext > getProcessComponentContext()