diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 16:20:47 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 16:20:47 +0000 |
commit | 6291ae7fcd0a61b0ed0c391ef4a345fb58cf8822 (patch) | |
tree | 2f31978425cba525b4d669768070e7917583f60c | |
parent | cca5239484b03d26b33bd50b1d29d6fdc599a28e (diff) |
INTEGRATION: CWS fwk74 (1.13.434); FILE MERGED
2007/10/17 09:27:07 cd 1.13.434.4: RESYNC: (1.13-1.14); FILE MERGED
2007/10/09 07:05:25 cd 1.13.434.3: #i10000 Added missing include statement
2007/10/02 06:12:50 cd 1.13.434.2: #i73355# Added functions to replace existing icons in custom icon repository
2007/08/14 09:10:38 cd 1.13.434.1: #i73354# Store imported icons persistent in another image manager
-rw-r--r-- | svx/source/dialog/cfg.hxx | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/svx/source/dialog/cfg.hxx b/svx/source/dialog/cfg.hxx index c6acf00ac402..52ba168c6731 100644 --- a/svx/source/dialog/cfg.hxx +++ b/svx/source/dialog/cfg.hxx @@ -4,9 +4,9 @@ * * $RCSfile: cfg.hxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: kz $ $Date: 2007-10-09 15:17:25 $ + * last change: $Author: ihi $ $Date: 2007-11-19 17:20:47 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -108,6 +108,7 @@ #include <sfx2/minarray.hxx> #include <sfx2/tabdlg.hxx> #include <vector> +#include <vcl/msgbox.hxx> #include "selector.hxx" @@ -809,6 +810,8 @@ private: CancelButton aBtnCancel; HelpButton aBtnHelp; PushButton aBtnImport; + PushButton aBtnDelete; + FixedLine aFlSeparator; sal_Int32 m_nExpectedSize; @@ -819,9 +822,14 @@ private: ::com::sun::star::ui::XImageManager > m_xParentImageManager; ::com::sun::star::uno::Reference< + ::com::sun::star::ui::XImageManager > m_xImportedImageManager; + + ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphicProvider > m_xGraphProvider; - bool ImportGraphic( const rtl::OUString& aURL ); + bool ReplaceGraphicItem( const ::rtl::OUString& aURL ); + + bool ImportGraphic( const ::rtl::OUString& aURL ); void ImportGraphics( const com::sun::star::uno::Sequence< rtl::OUString >& aURLs ); @@ -834,7 +842,7 @@ public: ::com::sun::star::ui::XImageManager >& rXImageManager, const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XImageManager >& rXParentImageManager - ); + ); ~SvxIconSelectorDialog(); @@ -843,6 +851,22 @@ public: DECL_LINK( SelectHdl, ToolBox * ); DECL_LINK( ImportHdl, PushButton * ); + DECL_LINK( DeleteHdl, PushButton * ); }; +class SvxIconReplacementDialog : public MessBox +{ +public: + SvxIconReplacementDialog( + Window *pWindow, + const rtl::OUString& aMessage, + bool aYestoAll); + + SvxIconReplacementDialog( + Window *pWindow, + const rtl::OUString& aMessage ); + + rtl::OUString ReplaceIconName( const rtl::OUString& ); + USHORT ShowDialog(); +}; #endif // _SVXCFG_HXX |