INTEGRATION: CWS xmlfilter01 (1.29.112); FILE MERGED

2003/03/23 16:42:54 cl 1.29.112.1: #108138# added menu entry for xslt filter settings dialog
This commit is contained in:
Jens-Heiner Rechtien
2003-04-04 15:39:39 +00:00
parent 30c470695a
commit 201778889f

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: textsh1.cxx,v $
*
* $Revision: 1.29 $
* $Revision: 1.30 $
*
* last change: $Author: os $ $Date: 2002-11-27 08:58:58 $
* last change: $Author: hr $ $Date: 2003-04-04 16:39:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,6 +59,13 @@
*
************************************************************************/
#ifndef _COM_SUN_STAR_UI_DIALOGS_XEXECUTABLEDIALOG_HPP_
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#endif
#ifndef _COMPHELPER_PROCESSFACTORY_HXX_
#include <comphelper/processfactory.hxx>
#endif
#ifdef PRECOMPILED
#include "ui_pch.hxx"
#endif
@@ -1150,6 +1157,24 @@ void SwTextShell::Execute(SfxRequest &rReq)
rWrtSh.ClickToINetAttr((const SwFmtINetFmt&)rItem, URLLOAD_NOFILTER);
}
}
break;
case SID_OPEN_XML_FILTERSETTINGS:
{
try
{
com::sun::star::uno::Reference < ::com::sun::star::ui::dialogs::XExecutableDialog > xDialog(::comphelper::getProcessServiceFactory()->createInstance(rtl::OUString::createFromAscii("com.sun.star.comp.ui.XSLTFilterDialog")), com::sun::star::uno::UNO_QUERY);
if( xDialog.is() )
{
xDialog->execute();
}
}
catch( ::com::sun::star::uno::Exception& )
{
}
rReq.Ignore ();
}
break;
default:
ASSERT(!this, falscher Dispatcher);