LibreOffice Module sfx2 (master) 1
|
#include <memory>
#include <optional>
#include <string_view>
#include <sfx2/filedlghelper.hxx>
#include <sal/types.h>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/ControlActions.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/FilePreviewImageFormats.hpp>
#include <com/sun/star/ui/dialogs/FolderPicker.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XControlInformation.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilePreview.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XContainerQuery.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <com/sun/star/util/RevisionTag.hpp>
#include <comphelper/fileurl.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <tools/urlobj.hxx>
#include <vcl/help.hxx>
#include <vcl/weld.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/ucbhelper.hxx>
#include <osl/file.hxx>
#include <osl/security.hxx>
#include <vcl/mnemonic.hxx>
#include <vcl/svapp.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/saveopt.hxx>
#include <unotools/securityoptions.hxx>
#include <svl/itemset.hxx>
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
#include <vcl/dibtools.hxx>
#include <vcl/graphicfilter.hxx>
#include <unotools/viewoptions.hxx>
#include <svtools/helpids.h>
#include <comphelper/docpasswordrequest.hxx>
#include <comphelper/docpasswordhelper.hxx>
#include <ucbhelper/content.hxx>
#include <comphelper/storagehelper.hxx>
#include <sfx2/app.hxx>
#include <sfx2/frame.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/sfxresid.hxx>
#include <sfx2/sfxsids.hrc>
#include "filtergrouping.hxx"
#include "filedlgimpl.hxx"
#include <sfx2/strings.hrc>
#include <sal/log.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <o3tl/string_view.hxx>
#include <officecfg/Office/Common.hxx>
#include <errno.h>
#include <sys/stat.h>
Go to the source code of this file.
Namespaces | |
namespace | sfx2 |
Functions | |
static std::optional< OUString > | sfx2::GetLastFilterConfigId (FileDialogHelper::Context _eContext) |
static OUString | sfx2::EncodeSpaces_Impl (const OUString &rSource) |
static OUString | sfx2::DecodeSpaces_Impl (const OUString &rSource) |
sfx2::IMPL_LINK_NOARG (FileDialogHelper_Impl, TimeOutHdl_Impl, Timer *, void) | |
static bool | sfx2::lcl_isSystemFilePicker (const uno::Reference< XExecutableDialog > &_rxFP) |
static open_or_save_t | sfx2::lcl_OpenOrSave (sal_Int16 const nDialogType) |
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > | sfx2::createFolderPicker (const css::uno::Reference< css::uno::XComponentContext > &rContext, weld::Window *pPreferredParent) |
sfx2::IMPL_LINK_NOARG (FileDialogHelper_Impl, InitControls, void *, void) | |
static void | sfx2::SetToken (OUString &rOrigStr, sal_Int32 nToken, sal_Unicode cTok, std::u16string_view rStr) |
sfx2::IMPL_LINK_NOARG (FileDialogHelper, ExecuteSystemFilePicker, void *, void) | |
static int | sfx2::impl_isFolder (const OUString &rPath) |
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) |
bool | sfx2::IsMSType (const std::shared_ptr< const SfxFilter > &pCurrentFilter) |
bool | sfx2::IsOOXML (const std::shared_ptr< const SfxFilter > &pCurrentFilter) |
ErrCode | sfx2::SetPassword (const std::shared_ptr< const SfxFilter > &pCurrentFilter, SfxItemSet *pSet, const OUString &rPasswordToOpen, std::u16string_view rPasswordToModify, bool bAllowPasswordReset) |
ErrCode | sfx2::RequestPassword (const std::shared_ptr< const SfxFilter > &pCurrentFilter, OUString const &aURL, SfxItemSet *pSet, const css::uno::Reference< css::awt::XWindow > &rParent) |
Variables | |
constexpr OUStringLiteral | IODLG_CONFIGNAME = u"FilePicker_Save" |
constexpr OUStringLiteral | IMPGRF_CONFIGNAME = u"FilePicker_Graph" |
constexpr OUStringLiteral | USERITEM_NAME = u"UserItem" |
constexpr OUStringLiteral | sfx2::GRF_CONFIG_STR = u" " |
constexpr OUStringLiteral | sfx2::STD_CONFIG_STR = u"1 " |
|
constexpr |
Definition at line 112 of file filedlghelper.cxx.
Referenced by sfx2::FileDialogHelper_Impl::loadConfig(), and sfx2::FileDialogHelper_Impl::saveConfig().
|
constexpr |
Definition at line 111 of file filedlghelper.cxx.
Referenced by sfx2::FileDialogHelper_Impl::loadConfig(), sfx2::FileDialogHelper_Impl::LoadLastUsedFilter(), sfx2::FileDialogHelper_Impl::saveConfig(), and sfx2::FileDialogHelper_Impl::SaveLastUsedFilter().
|
constexpr |
Definition at line 113 of file filedlghelper.cxx.
Referenced by sfx2::FileDialogHelper_Impl::loadConfig(), and sfx2::FileDialogHelper_Impl::saveConfig().