diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:51:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 04:35:19 -0600 |
commit | 2a09751d51332aa413e769d0f7916aca0cf4e742 (patch) | |
tree | 7e0b53c491ec182ca48e794cbafcbe0c2eb3a9d3 /fpicker/source/office/OfficeFilePicker.hxx | |
parent | e23ea87cb395fe8dc3cdf5d6160962bc4b4dcd28 (diff) |
Remove visual noise from fpicker
Change-Id: I58ae70cc71853e17e638ef64aaded87615e37986
Reviewed-on: https://gerrit.libreoffice.org/8264
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker/source/office/OfficeFilePicker.hxx')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.hxx | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 88ea346e5162..2f357d886cf5 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -86,33 +86,33 @@ public: SvtFilePicker( const ::com::sun::star::uno::Reference < ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); virtual ~SvtFilePicker(); - //------------------------------------------------------------------------------------ + // disambiguate XInterface - //------------------------------------------------------------------------------------ + DECLARE_XINTERFACE( ) - //------------------------------------------------------------------------------------ + // disambiguate XTypeProvider - //------------------------------------------------------------------------------------ + DECLARE_XTYPEPROVIDER( ) - //------------------------------------------------------------------------------------ + // XExecutableDialog functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL setTitle( const OUString& _rTitle ) throw (::com::sun::star::uno::RuntimeException); virtual sal_Int16 SAL_CALL execute( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------------------------------------------ + // XAsynchronousExecutableDialog functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL setDialogTitle( const OUString& _rTitle ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL startExecuteModal( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XDialogClosedListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception); - //------------------------------------------------------------------------------------ + // XFilePicker functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL setMultiSelectionMode( sal_Bool bMode ) throw( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL setDefaultName( const OUString& aName ) throw( ::com::sun::star::uno::RuntimeException ); @@ -120,9 +120,9 @@ public: virtual OUString SAL_CALL getDisplayDirectory() throw( ::com::sun::star::uno::RuntimeException ); virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getFiles() throw( ::com::sun::star::uno::RuntimeException ); - //------------------------------------------------------------------------------------ + // XFilePickerControlAccess functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL setValue( sal_Int16 ElementID, sal_Int16 ControlAction, const com::sun::star::uno::Any& value ) throw( ::com::sun::star::uno::RuntimeException ); virtual com::sun::star::uno::Any SAL_CALL getValue( sal_Int16 ElementID, sal_Int16 ControlAction ) throw( ::com::sun::star::uno::RuntimeException ); @@ -130,16 +130,16 @@ public: virtual OUString SAL_CALL getLabel( sal_Int16 ElementID ) throw ( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL enableControl( sal_Int16 ElementID, sal_Bool bEnable ) throw( ::com::sun::star::uno::RuntimeException ); - //------------------------------------------------------------------------------------ + // XFilePickerNotifier functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL addFilePickerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XFilePickerListener >& xListener ) throw ( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL removeFilePickerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XFilePickerListener >& xListener ) throw ( ::com::sun::star::uno::RuntimeException ); - //------------------------------------------------------------------------------------ + // XFilePreview functions - //------------------------------------------------------------------------------------ + virtual com::sun::star::uno::Sequence< sal_Int16 > SAL_CALL getSupportedImageFormats() throw ( ::com::sun::star::uno::RuntimeException ); virtual sal_Int32 SAL_CALL getTargetColorDepth() throw ( ::com::sun::star::uno::RuntimeException ); @@ -149,23 +149,23 @@ public: virtual sal_Bool SAL_CALL setShowState( sal_Bool bShowState ) throw ( ::com::sun::star::uno::RuntimeException ); virtual sal_Bool SAL_CALL getShowState() throw ( ::com::sun::star::uno::RuntimeException ); - //------------------------------------------------------------------------------------ + // XFilterManager functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL appendFilter( const OUString& aTitle, const OUString& aFilter ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL setCurrentFilter( const OUString& aTitle ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); virtual OUString SAL_CALL getCurrentFilter() throw( ::com::sun::star::uno::RuntimeException ); - //------------------------------------------------------------------------------------ + // XFilterGroupManager functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL appendFilterGroup( const OUString& sGroupTitle, const com::sun::star::uno::Sequence< com::sun::star::beans::StringPair >& aFilters ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); - //------------------------------------------------------------------------------------ + // these methods are here because they're ambiguous - //------------------------------------------------------------------------------------ + virtual void SAL_CALL cancel() throw( ::com::sun::star::uno::RuntimeException ) { ::svt::OCommonPicker::cancel(); } virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException ) @@ -175,15 +175,15 @@ public: virtual void SAL_CALL removeEventListener(const com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>& l) throw( ::com::sun::star::uno::RuntimeException ) { ::svt::OCommonPicker::removeEventListener(l); } - //------------------------------------------------------------------------------------ + // XInitialization functions - //------------------------------------------------------------------------------------ + virtual void SAL_CALL initialize( const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& aArguments ) throw ( com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException ); - //------------------------------------------------------------------------------------ + // XServiceInfo functions - //------------------------------------------------------------------------------------ + /* XServiceInfo */ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException ); @@ -202,9 +202,9 @@ public: throw( com::sun::star::uno::Exception ); protected: - //------------------------------------------------------------------------------------ + // OCommonPicker overridables - //------------------------------------------------------------------------------------ + virtual SvtFileDialog* implCreateDialog( Window* _pParent ); virtual sal_Int16 implExecutePicker( ); virtual sal_Bool implHandleInitializationArgument( |