diff options
-rw-r--r-- | svx/source/dialog/hlmailtp.cxx | 22 | ||||
-rw-r--r-- | svx/source/dialog/hyperdlg.src | 50 |
2 files changed, 43 insertions, 29 deletions
diff --git a/svx/source/dialog/hlmailtp.cxx b/svx/source/dialog/hlmailtp.cxx index 17854bcc4dce..209ac801a50e 100644 --- a/svx/source/dialog/hlmailtp.cxx +++ b/svx/source/dialog/hlmailtp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hlmailtp.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: ka $ $Date: 2001-07-30 14:46:43 $ + * last change: $Author: cl $ $Date: 2001-08-15 15:46:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,6 +69,10 @@ #include <com/sun/star/frame/FrameSearchFlag.hpp> #endif +#ifndef _SFXREQUEST_HXX +#include <sfx2/request.hxx> +#endif + #include <comphelper/processfactory.hxx> #ifndef _SFXVIEWFRM_HXX @@ -527,10 +531,18 @@ IMPL_LINK ( SvxHyperlinkMailTp, LostFocusReceiverHdl_Impl, void *, EMPTYARG ) IMPL_LINK ( SvxHyperlinkMailTp, ClickAdrBookHdl_Impl, void *, EMPTYARG ) { SfxViewFrame* pViewFrame = SfxViewFrame::Current(); - uno::Reference< frame::XDispatchProvider > xProv( pViewFrame->GetFrame()->GetFrameInterface(), uno::UNO_QUERY ); + if( pViewFrame ) + { + SfxItemPool &rPool = pViewFrame->GetPool(); + SfxRequest aReq(SID_VIEW_DATA_SOURCE_BROWSER, 0, rPool); + pViewFrame->ExecuteSlot( aReq, sal_True ); + } + + +/* uno::Reference< frame::XDispatchProvider > xProv( pViewFrame->GetFrame()->GetFrameInterface(), uno::UNO_QUERY ); if ( xProv.is() ) { -/*!!! (pb) we need a new config item here +!!! (pb) we need a new config item here SfxAppIniManagerProperty aProp; GetpApp()->Property( aProp ); if( !aProp.GetIniManager() ) @@ -569,8 +581,8 @@ IMPL_LINK ( SvxHyperlinkMailTp, ClickAdrBookHdl_Impl, void *, EMPTYARG ) aDisp->dispatch( aURL, aArgs ); } } -*/ } +*/ return( 0L ); } diff --git a/svx/source/dialog/hyperdlg.src b/svx/source/dialog/hyperdlg.src index c766479bebed..802dd15abab2 100644 --- a/svx/source/dialog/hyperdlg.src +++ b/svx/source/dialog/hyperdlg.src @@ -2,9 +2,9 @@ * * $RCSfile: hyperdlg.src,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: kz $ $Date: 2001-07-26 22:31:49 $ + * last change: $Author: cl $ $Date: 2001-08-15 15:46:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -887,33 +887,35 @@ TabPage RID_SVXPAGE_HYPERLINK_MAIL Pos = MAP_APPFONT ( 235, 25 ) ; Size = MAP_APPFONT( 13, 13 ); TabStop = TRUE ; - QuickHelpText = "Adressbuch" ; - QuickHelpText [ ENGLISH ] = "Adressbook" ; - QuickHelpText [ english_us ] = "Address Book" ; + ButtonImage = Image { ImageBitmap = Bitmap { File = "adrbook.bmp" ; }; MaskColor = STD_MASKCOLOR ; }; - QuickHelpText[ portuguese ] = "Adressbook"; - QuickHelpText[ russian ] = " "; - QuickHelpText[ greek ] = " "; - QuickHelpText[ dutch ] = "Adresboek"; - QuickHelpText[ french ] = "Carnet d'adresses"; - QuickHelpText[ spanish ] = "Libreta de direcciones"; - QuickHelpText[ italian ] = "Rubrica"; - QuickHelpText[ danish ] = "Adressekartotek"; - QuickHelpText[ swedish ] = "Adressbok"; - QuickHelpText[ polish ] = "Ksika adresowa"; - QuickHelpText[ portuguese_brazilian ] = "Adressbook"; - QuickHelpText[ japanese ] = "ڽ"; - QuickHelpText[ korean ] = "ּҷ"; - QuickHelpText[ chinese_simplified ] = "ͨѶ"; - QuickHelpText[ chinese_traditional ] = "qT"; - QuickHelpText[ arabic ] = " "; - QuickHelpText[ turkish ] = "Adressbuch"; - QuickHelpText[ catalan ] = "Libreta de direcciones"; - QuickHelpText[ finnish ] = "Osoitekirja"; + + QuickHelpText = "Datenquellen..." ; + QuickHelpText [ english ] = "Data sources..." ; + QuickHelpText [ english_us ] = "Data Sources..." ; + QuickHelpText[ portuguese ] = "Fontes de dados..."; + QuickHelpText[ russian ] = " ..."; + QuickHelpText[ greek ] = " ..."; + QuickHelpText[ dutch ] = "Gegevensbronnen..."; + QuickHelpText[ french ] = "Sources de donnes..."; + QuickHelpText[ spanish ] = "Fuentes de datos..."; + QuickHelpText[ italian ] = "Sorgente dati..."; + QuickHelpText[ danish ] = "Data sources"; + QuickHelpText[ swedish ] = "Datakllor..."; + QuickHelpText[ polish ] = "rda danych..."; + QuickHelpText[ portuguese_brazilian ] = "Data sources"; + QuickHelpText[ japanese ] = "データソース..."; + QuickHelpText[ korean ] = "데이터 소스"; + QuickHelpText[ chinese_simplified ] = "数据源..."; + QuickHelpText[ chinese_traditional ] = "資料源..."; + QuickHelpText[ turkish ] = "Data sources"; + QuickHelpText[ arabic ] = " ..."; + QuickHelpText[ catalan ] = "Fuentes de datos..."; + QuickHelpText[ finnish ] = "Tietolhteet"; }; FixedLine GRP_MORE |