summaryrefslogtreecommitdiff
path: root/filter/source/pdf/pdfinteract.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/pdf/pdfinteract.cxx')
-rw-r--r--filter/source/pdf/pdfinteract.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/filter/source/pdf/pdfinteract.cxx b/filter/source/pdf/pdfinteract.cxx
index bae82a81d3ab..28c69e7437a2 100644
--- a/filter/source/pdf/pdfinteract.cxx
+++ b/filter/source/pdf/pdfinteract.cxx
@@ -25,21 +25,24 @@
#include "com/sun/star/task/PDFExportException.hpp"
#include <cppuhelper/supportsservice.hxx>
-// - PDFInteractionHandler -
+
PDFInteractionHandler::PDFInteractionHandler()
{
}
+
PDFInteractionHandler::~PDFInteractionHandler()
{
}
+
void SAL_CALL PDFInteractionHandler::handle( const Reference< task::XInteractionRequest >& i_xRequest )
throw (RuntimeException, std::exception)
{
handleInteractionRequest( i_xRequest );
}
+
sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Reference< task::XInteractionRequest >& i_xRequest )
throw (RuntimeException, std::exception)
{
@@ -60,35 +63,41 @@ sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Referen
return bHandled;
}
+
OUString PDFInteractionHandler_getImplementationName ()
throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.PDF.PDFExportInteractionHandler" );
}
+
Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( ) throw (RuntimeException)
{
Sequence<OUString> aRet { "com.sun.star.filter.pdfexport.PDFExportInteractionHandler" };
return aRet;
}
+
Reference< XInterface > SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & ) throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new PDFInteractionHandler);
}
+
OUString SAL_CALL PDFInteractionHandler::getImplementationName()
throw (RuntimeException, std::exception)
{
return PDFInteractionHandler_getImplementationName();
}
+
sal_Bool SAL_CALL PDFInteractionHandler::supportsService( const OUString& rServiceName )
throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
+
css::uno::Sequence< OUString > SAL_CALL PDFInteractionHandler::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
{
return PDFInteractionHandler_getSupportedServiceNames();