34#include <osl/thread.hxx>
35#include <osl/conditn.hxx>
36#include <rtl/ustring.hxx>
79inline constexpr OUStringLiteral
STRING_SEPARATOR(u
"------------------------------------------" );
native implementation of the file picker on Vista and upcoming windows versions.
void impl_sta_enableFeatures(::sal_Int32 nFeatures, ::sal_Int32 nTemplate)
create all needed (optional!) UI controls addressed by the field nFeatures.
ERequest
used for marshalling requests.
@ E_SET_MULTISELECTION_MODE
@ E_REMOVE_PICKER_LISTENER
css::uno::Sequence< OUString > m_lItems
void impl_sta_SetDefaultName(Request &rRequest)
implementation of request E_SET_DEFAULT_NAME
void impl_sta_CreateOpenDialog(Request &rRequest)
implementation of request E_CREATE_OPEN_DIALOG
void impl_sta_appendFilterGroup(Request &rRequest)
implementation of request E_APPEND_FILTERGROUP
void impl_sta_removeFilePickerListener(Request &rRequest)
implementation of request E_REMOVE_FILEPICKER_LISTENER
virtual void onDirectoryChanged() override
TFileDialog impl_getBaseDialogInterface()
void impl_sta_setCurrentFilter(Request &rRequest)
implementation of request E_SET_CURRENT_FILTER
virtual ~VistaFilePickerImpl()
void impl_sta_SetControlLabel(Request &rRequest)
implementation of request E_SET_CONTROL_LABEL
TFileDialogCustomize impl_getCustomizeInterface()
returns an interface, which can be used to customize the internally used COM dialog.
void impl_sta_SetControlValue(Request &rRequest)
implementation of request E_SET_CONTROL_VALUE
static void impl_sta_GetControlLabel(Request &rRequest)
implementation of request E_GET_CONTROL_LABEL
virtual void onAutoExtensionChanged(bool bChecked) override
virtual bool onFileTypeChanged(UINT nTypeIndex) override
void impl_sta_ShowDialogModal(Request &rRequest)
implementation of request E_SHOW_DIALOG_MODAL
void impl_sta_SetTitle(Request &rRequest)
implementation of request E_SET_TITLE
void impl_sta_appendFilter(Request &rRequest)
implementation of request E_APPEND_FILTER
void impl_sta_GetControlValue(Request &rRequest)
implementation of request E_GET_CONTROL_VALUE
void impl_sta_addFilePickerListener(Request &rRequest)
implementation of request E_ADD_FILEPICKER_LISTENER
void impl_sta_InitDialog(Request &rRequest, DWORD nOrFlags)
void impl_sta_getSelectedFiles(Request &rRequest)
implementation of request E_GET_SELECTED_FILES
void impl_sta_CreateSaveDialog(Request &rRequest)
implementation of request E_CREATE_SAVE_DIALOG
void impl_sta_CreateDialog()
void impl_sta_GetDirectory(Request &rRequest)
implementation of request E_GET_DIRECTORY
void impl_sta_EnableControl(Request &rRequest)
implementation of request E_ENABLE_CONTROL
void impl_SetDefaultExtension(const OUString ¤tFilter)
void impl_sta_getCurrentFilter(Request &rRequest)
implementation of request E_GET_CURRENT_FILTER
void impl_sta_SetDirectory(Request &rRequest)
implementation of request E_SET_DIRECTORY
void impl_sta_setFiltersOnDialog()
fill filter list of internal used dialog.
void doRequest(Request &rRequest)
std::shared_ptr< TDialogImplBase > m_pDialog
object representing a file dialog
void impl_sta_SetMultiSelectionMode(Request &rRequest)
implementation of request E_SET_MULTISELECTION_MODE
CFilterContainer m_lFilters
void impl_sta_CreateFolderPicker(Request &rRequest)
implementation of request E_CREATE_FOLDER_PICKER
void impl_sta_SetFileName(Request &rRequest)
implementation of request E_SET_FILENAME
TFileDialogEvents m_iEventHandler
help us to handle dialog events and provide them to interested office listener.
const OUStringLiteral PROP_PICKER_LISTENER
const ::sal_Int32 FEATURE_READONLY
constexpr OUStringLiteral PROP_FILTER_GROUP(u"filter-group")
const ::sal_Int32 FEATURE_PREVIEW
constexpr OUStringLiteral PROP_CONTROL_VALUE(u"control_value")
constexpr OUStringLiteral PROP_FILTER_TITLE(u"filter_title")
const ::sal_Int32 FEATURE_VERSION
constexpr OUStringLiteral PROP_FILTER_VALUE(u"filter_value")
const ::sal_Int32 FEATURE_SELECTION
sal::systools::COMReference< IFileDialogCustomize > TFileDialogCustomize
const ::sal_Int32 FEATURE_TEMPLATE
constexpr OUStringLiteral PROP_FEATURES(u"features")
constexpr OUStringLiteral PROP_TITLE(u"title")
const ::sal_Int32 FEATURE_FILTEROPTIONS
constexpr OUStringLiteral PROP_CONTROL_LABEL(u"control_label")
const ::sal_Int32 FEATURE_PLAY
constexpr OUStringLiteral PROP_PARENT_WINDOW(u"ParentWindow")
const ::sal_Int32 FEATURE_LINK
constexpr OUStringLiteral PROP_SELECTED_FILES(u"selected_files")
sal::systools::COMReference< IFileDialog > TFileDialog
constexpr OUStringLiteral PROP_FILENAME(u"filename")
const ::sal_Int32 FEATURE_IMAGETEMPLATE
constexpr OUStringLiteral STRING_SEPARATOR(u"------------------------------------------")
sal::systools::COMReference< IFileDialogEvents > TFileDialogEvents
const ::sal_Int32 FEATURE_AUTOEXTENSION
constexpr OUStringLiteral PROP_TEMPLATE_DESCR(u"templatedescription")
constexpr OUStringLiteral PROP_DIALOG_SHOW_RESULT(u"dialog_show_result")
const ::sal_Int32 FEATURE_PASSWORD
const ::sal_Int32 FEATURE_IMAGEANCHOR
constexpr OUStringLiteral PROP_CONTROL_ACTION(u"control_action")
const OUStringLiteral PROP_CONTROL_ID
constexpr OUStringLiteral PROP_MULTISELECTION_MODE(u"multiselection_mode")
const ::sal_Int32 FEATURE_GPGPASSWORD
constexpr OUStringLiteral PROP_DIRECTORY(u"directory")
constexpr OUStringLiteral PROP_CONTROL_ENABLE(u"control_enable")