LibreOffice Module fpicker (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvtFileDialog Class Referencefinal

#include <iodlg.hxx>

Inheritance diagram for SvtFileDialog:
[legend]
Collaboration diagram for SvtFileDialog:
[legend]

Public Member Functions

 SvtFileDialog (weld::Window *pParent, PickerFlags nBits)
 
virtual ~SvtFileDialog () override
 
virtual short run () override
 
void FileSelect ()
 
void FilterSelect () override
 
void SetDenyList (const css::uno::Sequence< OUString > &rDenyList) override
 
const css::uno::Sequence< OUString > & GetDenyList () const override
 
void SetStandardDir (const OUString &rStdDir) override
 
const OUString & GetStandardDir () const override
 
std::vector< OUString > GetPathList () const override
 
void AddFilter (const OUString &rFilter, const OUString &rType) override
 
void AddFilterGroup (const OUString &_rFilter, const css::uno::Sequence< css::beans::StringPair > &rFilters) override
 
void SetCurFilter (const OUString &rFilter) override
 
OUString GetCurFilter () const override
 
sal_uInt16 GetFilterCount () const
 
const OUString & GetFilterName (sal_uInt16 nPos) const
 
void PrevLevel_Impl ()
 
void OpenURL_Impl (const OUString &rURL)
 
SvtFileViewGetView () override
 
void InitSize ()
 
void UpdateControls (const OUString &rURL) override
 
void EnableAutocompletion (bool _bEnable=true) override
 
void SetFileCallback (::svt::IFilePickerListener *pNotifier) override
 
sal_Int32 getAvailableWidth () override
 
sal_Int32 getAvailableHeight () override
 
void setImage (const css::uno::Any &rImage) override
 
bool getShowState () override
 
bool isAutoExtensionEnabled () const
 
OUString getCurrentFileText () const override
 
void setCurrentFileText (const OUString &_rText, bool _bSelectAll=false) override
 
void onAsyncOperationStarted () override
 
void onAsyncOperationFinished () override
 
void RemovablePlaceSelected (bool enable=true)
 
void SetPath (const OUString &rNewURL) override
 
void SetHasFilename (bool bHasFilename) override
 
const OUString & GetPath () override
 
void SetDefaultExt (const OUString &rExt)
 
void EraseDefaultExt (sal_Int32 _nIndex=0)
 
const OUString & GetDefaultExt () const
 
bool ContentIsFolder (const OUString &rURL) override
 
bool ContentHasParentFolder (const OUString &rURL)
 
bool ContentCanMakeFolder (const OUString &rURL)
 
bool ContentGetTitle (const OUString &rURL, OUString &rTitle)
 
- Public Member Functions inherited from SvtFileDialog_Base
 SvtFileDialog_Base (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Static Public Member Functions

static void displayIOException (const OUString &_rURL, css::ucb::IOErrorCode _eCode)
 
- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 

Private Member Functions

 DECL_LINK (FilterSelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (FilterSelectTimerHdl_Impl, Timer *, void)
 
 DECL_LINK (NewFolderHdl_Impl, weld::Button &, void)
 
 DECL_LINK (OpenUrlHdl_Impl, weld::ComboBox &, bool)
 
 DECL_LINK (OpenClickHdl_Impl, weld::Button &, void)
 
 DECL_LINK (CancelHdl_Impl, weld::Button &, void)
 
 DECL_LINK (FileNameGetFocusHdl_Impl, weld::Widget &, void)
 
 DECL_LINK (FileNameModifiedHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (URLBoxModifiedHdl_Impl, weld::ComboBox &, bool)
 
 DECL_LINK (ConnectToServerPressed_Hdl, weld::Button &, void)
 
 DECL_LINK (AddPlacePressed_Hdl, weld::Button &, void)
 
 DECL_LINK (RemovePlacePressed_Hdl, weld::Button &, void)
 
 DECL_LINK (PreviewSizeAllocHdl, const Size &, void)
 
void OpenHdl_Impl (void const *pVoid)
 
SvtFileDialogFilter_ImplFindFilter_Impl (const OUString &_rFilter, bool _bMultiExt, bool &_rFilterChanged)
 find a filter with the given wildcard More...
 
void ExecuteFilter ()
 
void OpenMultiSelection_Impl ()
 
void AddControls_Impl ()
 
 DECL_LINK (SelectHdl_Impl, SvtFileView *, void)
 
 DECL_LINK (DblClickHdl_Impl, SvtFileView *, bool)
 
 DECL_LINK (EntrySelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (OpenDoneHdl_Impl, SvtFileView *, void)
 
 DECL_LINK (AutoExtensionHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClickHdl_Impl, weld::Button &, void)
 
 DECL_LINK (PlayButtonHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SizeAllocHdl, const Size &, void)
 
void EnableUI (bool _bEnable)
 enables or disables the complete UI of the file picker, with only offering a cancel button More...
 
void EnableControl (weld::Widget *pControl, bool bEnable)
 enables or disables a control More...
 
virtual bool PrepareExecute () override
 
SvtFileDialogFilter_ImplimplAddFilter (const OUString &_rFilter, const OUString &_rType)
 
void createNewUserFilter (const OUString &_rNewFilter)
 updates m_xUserFilter with a new filter More...
 
AdjustFilterFlags adjustFilter (const OUString &_rFilter)
 
virtual weld::WidgetgetControl (sal_Int16 nControlId, bool bLabelControl=false) const override
 
virtual void enableControl (sal_Int16 _nControlId, bool _bEnable) override
 
virtual OUString getCurFilter () const override
 
OUString implGetInitialURL (const OUString &_rPath, const OUString &_rFallback)
 
void executeAsync (::svt::AsyncPickerAction::Action _eAction, const OUString &_rURL, const OUString &_rFilter)
 executes a certain FileView action asynchronously More...
 
void initDefaultPlaces ()
 

Static Private Member Functions

static bool IsolateFilterFromPath_Impl (OUString &rPath, OUString &rFilter)
 
static void appendDefaultExtension (OUString &_rFileName, const OUString &_rFilterDefaultExtension, const OUString &_rFilterExtensions)
 helper function to check and append the default filter extension if necessary. More...
 

Private Attributes

std::unique_ptr< weld::CheckButtonm_xCbReadOnly
 
std::unique_ptr< weld::CheckButtonm_xCbLinkBox
 
std::unique_ptr< weld::CheckButtonm_xCbPreviewBox
 
std::unique_ptr< weld::CheckButtonm_xCbSelection
 
std::unique_ptr< weld::Buttonm_xPbPlay
 
std::unique_ptr< weld::Widgetm_xPreviewFrame
 
std::unique_ptr< weld::Imagem_xPrevBmp
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< SvtFileViewm_xFileView
 
::svt::IFilePickerListenerm_pFileNotifier
 
std::unique_ptr< SvtExpFileDlg_Implm_xImpl
 
Size m_aPreviewSize
 
PickerFlags m_nPickerFlags
 
bool m_bIsInExecute: 1
 
::svt::SmartContent m_aContent
 
::std::set< weld::Widget * > m_aDisabledControls
 
::utl::OConfigurationNode m_aConfiguration
 
::rtl::Reference< ::svt::AsyncPickerActionm_pCurrentAsyncAction
 
bool m_bInExecuteAsync
 
bool m_bHasFilename
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_aPath
 
OUString m_aDefExt
 

Additional Inherited Members

- Protected Member Functions inherited from svt::IFilePickerController
 ~IFilePickerController ()
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 54 of file iodlg.hxx.

Constructor & Destructor Documentation

SvtFileDialog::SvtFileDialog ( weld::Window pParent,
PickerFlags  nBits 
)
SvtFileDialog::~SvtFileDialog ( )
overridevirtual

Member Function Documentation

void SvtFileDialog::AddControls_Impl ( )
private
void SvtFileDialog::AddFilter ( const OUString &  rFilter,
const OUString &  rType 
)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1713 of file iodlg.cxx.

References implAddFilter(), m_bIsInExecute, and SAL_WARN_IF.

void SvtFileDialog::AddFilterGroup ( const OUString &  _rFilter,
const css::uno::Sequence< css::beans::StringPair > &  rFilters 
)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1720 of file iodlg.cxx.

References implAddFilter(), m_bIsInExecute, and SAL_WARN_IF.

AdjustFilterFlags SvtFileDialog::adjustFilter ( const OUString &  _rFilter)
private

Definition at line 548 of file iodlg.cxx.

References Changed, createNewUserFilter(), FindFilter_Impl(), NONE, NonEmpty, and UserFilter.

Referenced by OpenHdl_Impl(), and PrepareExecute().

void SvtFileDialog::appendDefaultExtension ( OUString &  _rFileName,
const OUString &  _rFilterDefaultExtension,
const OUString &  _rFilterExtensions 
)
staticprivate

helper function to check and append the default filter extension if necessary.

The function checks if the specified filename already contains one of the valid extensions of the specified filter. If not the filter default extension is appended to the filename.

Parameters
_rFileNamethe filename which is checked and extended if necessary.
_rFilterDefaultExtensionthe default extension of the used filter.
_rFilterExtensionsa list of one or more valid filter extensions of the used filter.

Definition at line 2255 of file iodlg.cxx.

References FILEDIALOG_DEF_EXTSEP, FILEDIALOG_FILTER_ALL, and nPos.

Referenced by OpenHdl_Impl().

bool SvtFileDialog::ContentCanMakeFolder ( const OUString &  rURL)
bool SvtFileDialog::ContentGetTitle ( const OUString &  rURL,
OUString &  rTitle 
)
bool SvtFileDialog::ContentHasParentFolder ( const OUString &  rURL)
bool SvtFileDialog::ContentIsFolder ( const OUString &  rURL)
inlineoverridevirtual

Implements SvtFileDialog_Base.

Definition at line 216 of file iodlg.hxx.

References svt::SmartContent::isFolder(), and svt::SmartContent::isValid().

void SvtFileDialog::createNewUserFilter ( const OUString &  _rNewFilter)
private

updates m_xUserFilter with a new filter

No checks for necessity are made.

Definition at line 526 of file iodlg.cxx.

References EraseDefaultExt(), FILEDIALOG_FILTER_ALL, m_xImpl, and SetDefaultExt().

Referenced by adjustFilter().

SvtFileDialog::DECL_LINK ( FilterSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvtFileDialog::DECL_LINK ( FilterSelectTimerHdl_Impl  ,
Timer ,
void   
)
private
SvtFileDialog::DECL_LINK ( NewFolderHdl_Impl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( OpenUrlHdl_Impl  ,
weld::ComboBox ,
bool   
)
private
SvtFileDialog::DECL_LINK ( OpenClickHdl_Impl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( CancelHdl_Impl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( FileNameGetFocusHdl_Impl  ,
weld::Widget ,
void   
)
private
SvtFileDialog::DECL_LINK ( FileNameModifiedHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvtFileDialog::DECL_LINK ( URLBoxModifiedHdl_Impl  ,
weld::ComboBox ,
bool   
)
private
SvtFileDialog::DECL_LINK ( ConnectToServerPressed_Hdl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( AddPlacePressed_Hdl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( RemovePlacePressed_Hdl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( PreviewSizeAllocHdl  ,
const Size ,
void   
)
private
SvtFileDialog::DECL_LINK ( SelectHdl_Impl  ,
SvtFileView ,
void   
)
private
SvtFileDialog::DECL_LINK ( DblClickHdl_Impl  ,
SvtFileView ,
bool   
)
private
SvtFileDialog::DECL_LINK ( EntrySelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvtFileDialog::DECL_LINK ( OpenDoneHdl_Impl  ,
SvtFileView ,
void   
)
private
SvtFileDialog::DECL_LINK ( AutoExtensionHdl_Impl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( ClickHdl_Impl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( PlayButtonHdl_Impl  ,
weld::Button ,
void   
)
private
SvtFileDialog::DECL_LINK ( SizeAllocHdl  ,
const Size ,
void   
)
private
void SvtFileDialog::displayIOException ( const OUString &  _rURL,
css::ucb::IOErrorCode  _eCode 
)
static
void SvtFileDialog::EnableAutocompletion ( bool  _bEnable = true)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 898 of file iodlg.cxx.

References m_xImpl.

void SvtFileDialog::EnableControl ( weld::Widget pControl,
bool  bEnable 
)
private

enables or disables a control

You are strongly encouraged to prefer this method over pControl->Enable( bEnable ). See <member>EnableUI</member> for details.

Definition at line 1431 of file iodlg.cxx.

References m_aDisabledControls, SAL_WARN, and weld::Widget::set_sensitive().

Referenced by enableControl().

void SvtFileDialog::enableControl ( sal_Int16  _nControlId,
bool  _bEnable 
)
overrideprivatevirtual

Implements svt::IFilePickerController.

Definition at line 2029 of file iodlg.cxx.

References EnableControl(), and getControl().

void SvtFileDialog::EnableUI ( bool  _bEnable)
private

enables or disables the complete UI of the file picker, with only offering a cancel button

This method preserves the "enabled" state of its controls in the following sense: If you disable a certain control, then disable the dialog UI, then enable the dialog UI, the control will still be disabled. This is under the assumption that you'll use EnableControl. Direct access to the control (such as pControl->Enable()) will break this.

Definition at line 1418 of file iodlg.cxx.

References m_aDisabledControls, and weld::GenericDialogController::m_xDialog.

Referenced by onAsyncOperationFinished(), and onAsyncOperationStarted().

void SvtFileDialog::EraseDefaultExt ( sal_Int32  _nIndex = 0)
inline

Definition at line 289 of file iodlg.hxx.

References m_aDefExt.

Referenced by createNewUserFilter(), and PrepareExecute().

void SvtFileDialog::executeAsync ( ::svt::AsyncPickerAction::Action  _eAction,
const OUString &  _rURL,
const OUString &  _rFilter 
)
private

executes a certain FileView action asynchronously

Definition at line 1617 of file iodlg.cxx.

References GetDenyList(), utl::OConfigurationNode::getNodeValue(), m_aConfiguration, m_bInExecuteAsync, m_pCurrentAsyncAction, m_xFileView, and SAL_WARN_IF.

Referenced by ExecuteFilter(), OpenURL_Impl(), and PrevLevel_Impl().

void SvtFileDialog::ExecuteFilter ( )
private

Definition at line 1064 of file iodlg.cxx.

References executeAsync(), and m_xImpl.

Referenced by OpenHdl_Impl().

void SvtFileDialog::FileSelect ( )
void SvtFileDialog::FilterSelect ( )
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1645 of file iodlg.cxx.

References CTRL_STATE_CHANGED, m_pFileNotifier, and svt::IFilePickerListener::notify().

Referenced by PrepareExecute().

SvtFileDialogFilter_Impl * SvtFileDialog::FindFilter_Impl ( const OUString &  _rFilter,
bool  _bMultiExt,
bool &  _rFilterChanged 
)
private

find a filter with the given wildcard

Parameters
_rFilterthe wildcard pattern to look for in the filter list
_bMultiExtallow for filters with more than one extension pattern
_rFilterChangedset to <TRUE> if the filter changed
Returns
the filter which has been found

Definition at line 1006 of file iodlg.cxx.

References FILEDIALOG_DEF_EXTSEP, and SvtFileDialogFilter_Impl::GetType().

Referenced by adjustFilter().

sal_Int32 SvtFileDialog::getAvailableHeight ( )
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 2159 of file iodlg.cxx.

References Size::Height(), m_aPreviewSize, and m_xPrevBmp.

sal_Int32 SvtFileDialog::getAvailableWidth ( )
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 2151 of file iodlg.cxx.

References m_aPreviewSize, m_xPrevBmp, and Size::Width().

weld::Widget * SvtFileDialog::getControl ( sal_Int16  nControlId,
bool  bLabelControl = false 
) const
overrideprivatevirtual
OUString SvtFileDialog::GetCurFilter ( ) const
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1750 of file iodlg.cxx.

References SvtFileDialogFilter_Impl::GetName(), and m_xImpl.

Referenced by getCurFilter().

OUString SvtFileDialog::getCurFilter ( ) const
overrideprivatevirtual

Implements svt::IFilePickerController.

Definition at line 1761 of file iodlg.cxx.

References GetCurFilter().

OUString SvtFileDialog::getCurrentFileText ( ) const
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 2190 of file iodlg.cxx.

References m_xImpl.

const OUString & SvtFileDialog::GetDefaultExt ( ) const
inline

Definition at line 294 of file iodlg.hxx.

References m_aDefExt.

Referenced by OpenHdl_Impl(), and PrepareExecute().

const css::uno::Sequence< OUString > & SvtFileDialog::GetDenyList ( ) const
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1671 of file iodlg.cxx.

References m_xImpl.

Referenced by executeAsync().

sal_uInt16 SvtFileDialog::GetFilterCount ( ) const

Definition at line 1766 of file iodlg.cxx.

References m_xImpl.

Referenced by GetFilterName(), and PrepareExecute().

const OUString & SvtFileDialog::GetFilterName ( sal_uInt16  nPos) const

Definition at line 1771 of file iodlg.cxx.

References assert(), GetFilterCount(), and m_xImpl.

Referenced by PrepareExecute().

const OUString & SvtFileDialog::GetPath ( )
inlineoverridevirtual

Implements SvtFileDialog_Base.

Definition at line 278 of file iodlg.hxx.

References m_aPath.

std::vector< OUString > SvtFileDialog::GetPathList ( ) const
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1796 of file iodlg.cxx.

References m_aPath, m_bIsInExecute, m_xFileView, and m_xImpl.

bool SvtFileDialog::getShowState ( )
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 2213 of file iodlg.cxx.

References m_xPreviewFrame.

const OUString & SvtFileDialog::GetStandardDir ( ) const
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1681 of file iodlg.cxx.

References m_xImpl.

Referenced by initDefaultPlaces(), and PrepareExecute().

SvtFileView * SvtFileDialog::GetView ( )
inlineoverridevirtual

Implements SvtFileDialog_Base.

Definition at line 300 of file iodlg.hxx.

References m_xFileView.

Referenced by SvtUpButton_Impl::FillURLMenu().

SvtFileDialogFilter_Impl * SvtFileDialog::implAddFilter ( const OUString &  _rFilter,
const OUString &  _rType 
)
private

Definition at line 1702 of file iodlg.cxx.

References m_xImpl.

Referenced by AddFilter(), AddFilterGroup(), and PrepareExecute().

OUString SvtFileDialog::implGetInitialURL ( const OUString &  _rPath,
const OUString &  _rFallback 
)
private
void SvtFileDialog::initDefaultPlaces ( )
private

Definition at line 2282 of file iodlg.cxx.

References FpsResId(), GetStandardDir(), m_xContext, and m_xImpl.

Referenced by AddControls_Impl().

void SvtFileDialog::InitSize ( )
bool SvtFileDialog::isAutoExtensionEnabled ( ) const

Definition at line 2208 of file iodlg.cxx.

References m_xImpl.

bool SvtFileDialog::IsolateFilterFromPath_Impl ( OUString &  rPath,
OUString &  rFilter 
)
staticprivate
void SvtFileDialog::onAsyncOperationFinished ( )
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1362 of file iodlg.cxx.

References EnableUI(), m_bInExecuteAsync, m_pCurrentAsyncAction, and m_xImpl.

void SvtFileDialog::onAsyncOperationStarted ( )
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1354 of file iodlg.cxx.

References EnableUI(), and m_xImpl.

void SvtFileDialog::OpenHdl_Impl ( void const *  pVoid)
private
void SvtFileDialog::OpenMultiSelection_Impl ( )
private
void SvtFileDialog::OpenURL_Impl ( const OUString &  rURL)

Definition at line 1695 of file iodlg.cxx.

References executeAsync(), m_xFileView, and m_xImpl.

Referenced by OpenHdl_Impl(), PrepareExecute(), and PlacesListBox::updateView().

bool SvtFileDialog::PrepareExecute ( )
overrideprivatevirtual
void SvtFileDialog::PrevLevel_Impl ( )

Definition at line 1687 of file iodlg.cxx.

References executeAsync(), and m_xFileView.

void SvtFileDialog::RemovablePlaceSelected ( bool  enable = true)

Definition at line 1372 of file iodlg.cxx.

References m_xImpl.

short SvtFileDialog::run ( )
overridevirtual
void SvtFileDialog::SetCurFilter ( const OUString &  rFilter)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1732 of file iodlg.cxx.

References SvtFileDialogFilter_Impl::GetName(), m_bIsInExecute, m_xImpl, nPos, and SAL_WARN_IF.

void SvtFileDialog::setCurrentFileText ( const OUString &  _rText,
bool  _bSelectAll = false 
)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 2198 of file iodlg.cxx.

References m_xImpl.

void SvtFileDialog::SetDefaultExt ( const OUString &  rExt)
inline

Definition at line 284 of file iodlg.hxx.

References m_aDefExt.

Referenced by createNewUserFilter(), and PrepareExecute().

void SvtFileDialog::SetDenyList ( const css::uno::Sequence< OUString > &  rDenyList)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 1665 of file iodlg.cxx.

References m_xImpl.

void SvtFileDialog::SetFileCallback ( ::svt::IFilePickerListener pNotifier)
inlineoverridevirtual

Implements SvtFileDialog_Base.

Definition at line 190 of file iodlg.hxx.

void SvtFileDialog::SetHasFilename ( bool  bHasFilename)
inlineoverridevirtual

Implements SvtFileDialog_Base.

Definition at line 272 of file iodlg.hxx.

References m_bHasFilename.

void SvtFileDialog::setImage ( const css::uno::Any &  rImage)
overridevirtual

Implements SvtFileDialog_Base.

Definition at line 2167 of file iodlg.cxx.

References aData, m_xPrevBmp, m_xPreviewFrame, and ReadDIBBitmapEx().

void SvtFileDialog::SetPath ( const OUString &  rNewURL)
inlineoverridevirtual

Implements SvtFileDialog_Base.

Definition at line 266 of file iodlg.hxx.

References m_aPath.

void SvtFileDialog::SetStandardDir ( const OUString &  rStdDir)
overridevirtual
void SvtFileDialog::UpdateControls ( const OUString &  rURL)
overridevirtual

Member Data Documentation

::utl::OConfigurationNode SvtFileDialog::m_aConfiguration
private

Definition at line 76 of file iodlg.hxx.

Referenced by executeAsync(), and SvtFileDialog().

::svt::SmartContent SvtFileDialog::m_aContent
private
OUString SvtFileDialog::m_aDefExt
private

Definition at line 133 of file iodlg.hxx.

Referenced by EraseDefaultExt(), GetDefaultExt(), and SetDefaultExt().

::std::set<weld::Widget*> SvtFileDialog::m_aDisabledControls
private

Definition at line 74 of file iodlg.hxx.

Referenced by EnableControl(), and EnableUI().

OUString SvtFileDialog::m_aPath
private
Size SvtFileDialog::m_aPreviewSize
private

Definition at line 68 of file iodlg.hxx.

Referenced by AddControls_Impl(), getAvailableHeight(), and getAvailableWidth().

bool SvtFileDialog::m_bHasFilename
private

Definition at line 80 of file iodlg.hxx.

Referenced by implGetInitialURL(), PrepareExecute(), and SetHasFilename().

bool SvtFileDialog::m_bInExecuteAsync
private

Definition at line 79 of file iodlg.hxx.

Referenced by executeAsync(), and onAsyncOperationFinished().

bool SvtFileDialog::m_bIsInExecute
private

Definition at line 70 of file iodlg.hxx.

Referenced by AddFilter(), AddFilterGroup(), GetPathList(), run(), and SetCurFilter().

PickerFlags SvtFileDialog::m_nPickerFlags
private

Definition at line 69 of file iodlg.hxx.

Referenced by AddControls_Impl().

::rtl::Reference< ::svt::AsyncPickerAction > SvtFileDialog::m_pCurrentAsyncAction
private

Definition at line 78 of file iodlg.hxx.

Referenced by executeAsync(), onAsyncOperationFinished(), and run().

::svt::IFilePickerListener* SvtFileDialog::m_pFileNotifier
private

Definition at line 66 of file iodlg.hxx.

Referenced by FileSelect(), FilterSelect(), and UpdateControls().

std::unique_ptr<weld::CheckButton> SvtFileDialog::m_xCbLinkBox
private

Definition at line 58 of file iodlg.hxx.

Referenced by AddControls_Impl(), and getControl().

std::unique_ptr<weld::CheckButton> SvtFileDialog::m_xCbPreviewBox
private

Definition at line 59 of file iodlg.hxx.

Referenced by AddControls_Impl(), and getControl().

std::unique_ptr<weld::CheckButton> SvtFileDialog::m_xCbReadOnly
private

Definition at line 57 of file iodlg.hxx.

Referenced by getControl(), and SvtFileDialog().

std::unique_ptr<weld::CheckButton> SvtFileDialog::m_xCbSelection
private

Definition at line 60 of file iodlg.hxx.

Referenced by AddControls_Impl(), getControl(), and SvtFileDialog().

std::unique_ptr<weld::Container> SvtFileDialog::m_xContainer
private

Definition at line 64 of file iodlg.hxx.

Referenced by SvtFileDialog().

css::uno::Reference< css::uno::XComponentContext > SvtFileDialog::m_xContext
private

Definition at line 82 of file iodlg.hxx.

Referenced by initDefaultPlaces(), and ~SvtFileDialog().

std::unique_ptr<SvtFileView> SvtFileDialog::m_xFileView
private
std::unique_ptr<SvtExpFileDlg_Impl> SvtFileDialog::m_xImpl
private
std::unique_ptr<weld::Button> SvtFileDialog::m_xPbPlay
private

Definition at line 61 of file iodlg.hxx.

Referenced by AddControls_Impl(), and getControl().

std::unique_ptr<weld::Image> SvtFileDialog::m_xPrevBmp
private

Definition at line 63 of file iodlg.hxx.

Referenced by AddControls_Impl(), getAvailableHeight(), getAvailableWidth(), and setImage().

std::unique_ptr<weld::Widget> SvtFileDialog::m_xPreviewFrame
private

Definition at line 62 of file iodlg.hxx.

Referenced by AddControls_Impl(), getShowState(), and setImage().


The documentation for this class was generated from the following files: