LibreOffice Module sfx2 (master) 1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
filedlghelper.hxx File Reference
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <comphelper/documentconstants.hxx>
#include <tools/link.hxx>
#include <comphelper/errcode.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
#include <optional>
#include <vector>
Include dependency graph for filedlghelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< FileDialogFlags >
 
class  sfx2::FileDialogHelper
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::ui
 
namespace  com::sun::star::ui::dialogs
 
namespace  com::sun::star::awt
 
namespace  com::sun::star::uno
 
namespace  weld
 
namespace  o3tl
 
namespace  sfx2
 

Macros

#define SFX2_IMPL_DIALOG_CONFIG   0
 
#define SFX2_IMPL_DIALOG_SYSTEM   1
 
#define SFX2_IMPL_DIALOG_OOO   2
 
#define SFX2_IMPL_DIALOG_REMOTE   3
 

Enumerations

enum class  FileDialogFlags {
  NONE = 0x00 ,
  Insert = 0x01 ,
  Export = 0x02 ,
  SaveACopy = 0x04 ,
  MultiSelection = 0x08 ,
  Graphic = 0x10 ,
  SignPDF = 0x20 ,
  InsertCompare = 0x40 ,
  InsertMerge = 0x80
}
 

Functions

ErrCode sfx2::FileOpenDialog_Impl (weld::Window *pParent, sal_Int16 nDialogType, FileDialogFlags nFlags, std::vector< OUString > &rpURLList, OUString &rFilter, std::optional< SfxAllItemSet > &rpSet, const OUString *pPath, sal_Int16 nDialog, const OUString &rStandardDir, const css::uno::Sequence< OUString > &rDenyList)
 
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > sfx2::createFolderPicker (const css::uno::Reference< css::uno::XComponentContext > &rContext, weld::Window *pPreferredParent)
 
ErrCode sfx2::RequestPassword (const std::shared_ptr< const SfxFilter > &pCurrentFilter, OUString const &aURL, SfxItemSet *pSet, const css::uno::Reference< css::awt::XWindow > &rParent)
 
ErrCode sfx2::SetPassword (const std::shared_ptr< const SfxFilter > &pCurrentFilter, SfxItemSet *pSet, const OUString &rPasswordToOpen, std::u16string_view rPasswordToModify, bool bAllowPasswordReset)
 
bool sfx2::IsOOXML (const std::shared_ptr< const SfxFilter > &pCurrentFilter)
 
bool sfx2::IsMSType (const std::shared_ptr< const SfxFilter > &pCurrentFilter)
 

Variables

constexpr OUStringLiteral FILEDIALOG_FILTER_ALL = u"*.*"
 

Macro Definition Documentation

◆ SFX2_IMPL_DIALOG_CONFIG

#define SFX2_IMPL_DIALOG_CONFIG   0

Definition at line 289 of file filedlghelper.hxx.

◆ SFX2_IMPL_DIALOG_OOO

#define SFX2_IMPL_DIALOG_OOO   2

Definition at line 291 of file filedlghelper.hxx.

◆ SFX2_IMPL_DIALOG_REMOTE

#define SFX2_IMPL_DIALOG_REMOTE   3

Definition at line 292 of file filedlghelper.hxx.

◆ SFX2_IMPL_DIALOG_SYSTEM

#define SFX2_IMPL_DIALOG_SYSTEM   1

Definition at line 290 of file filedlghelper.hxx.

Enumeration Type Documentation

◆ FileDialogFlags

enum class FileDialogFlags
strong
Enumerator
NONE 
Insert 
Export 
SaveACopy 
MultiSelection 
Graphic 
SignPDF 

Sign existing PDF.

InsertCompare 
InsertMerge 

Special insertion ("Compare" caption)

Definition at line 55 of file filedlghelper.hxx.

Variable Documentation

◆ FILEDIALOG_FILTER_ALL

constexpr OUStringLiteral FILEDIALOG_FILTER_ALL = u"*.*"
inlineconstexpr