LibreOffice Module sdext (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
FileOpenDialog Class Reference

#include <fileopendialog.hxx>

Classes

struct  FilterEntry
 

Public Member Functions

 FileOpenDialog (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
 ~FileOpenDialog ()
 
sal_Int16 execute ()
 
void setDefaultName (const OUString &)
 
OUString getURL () const
 
OUString getFilterName () const
 

Private Attributes

css::uno::Reference< css::ui::dialogs::XFilePicker3 > mxFilePicker
 
std::vector< FilterEntryaFilterEntryList
 

Detailed Description

Definition at line 28 of file fileopendialog.hxx.

Constructor & Destructor Documentation

◆ FileOpenDialog()

FileOpenDialog::FileOpenDialog ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit

◆ ~FileOpenDialog()

FileOpenDialog::~FileOpenDialog ( )

Definition at line 141 of file fileopendialog.cxx.

Member Function Documentation

◆ execute()

sal_Int16 FileOpenDialog::execute ( )

Definition at line 144 of file fileopendialog.cxx.

References mxFilePicker.

Referenced by ActionListener::actionPerformed().

◆ getFilterName()

OUString FileOpenDialog::getFilterName ( ) const

Definition at line 157 of file fileopendialog.cxx.

References aFilterEntryList, aUIName, and mxFilePicker.

Referenced by ActionListener::actionPerformed().

◆ getURL()

OUString FileOpenDialog::getURL ( ) const

Definition at line 152 of file fileopendialog.cxx.

References mxFilePicker.

Referenced by ActionListener::actionPerformed().

◆ setDefaultName()

void FileOpenDialog::setDefaultName ( const OUString &  rDefaultName)

Definition at line 148 of file fileopendialog.cxx.

References mxFilePicker.

Referenced by ActionListener::actionPerformed().

Member Data Documentation

◆ aFilterEntryList

std::vector< FilterEntry > FileOpenDialog::aFilterEntryList
private

Definition at line 42 of file fileopendialog.hxx.

Referenced by FileOpenDialog(), and getFilterName().

◆ mxFilePicker

css::uno::Reference< css::ui::dialogs::XFilePicker3 > FileOpenDialog::mxFilePicker
private

Definition at line 40 of file fileopendialog.hxx.

Referenced by execute(), FileOpenDialog(), getFilterName(), getURL(), and setDefaultName().


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