/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_FILTER_SOURCE_HTMLFILTERDETECT_FILTERDETECT_HXX #define INCLUDED_FILTER_SOURCE_HTMLFILTERDETECT_FILTERDETECT_HXX #include #include #include #include #include class HtmlFilterDetect : public cppu::WeakImplHelper3< com::sun::star::document::XExtendedFilterDetection, com::sun::star::lang::XInitialization, com::sun::star::lang::XServiceInfo> { com::sun::star::uno::Reference mxCtx; public: HtmlFilterDetect(const com::sun::star::uno::Reference& xCtx) : mxCtx(xCtx) {} virtual ~HtmlFilterDetect() {} // XExtendedFilterDetection virtual OUString SAL_CALL detect(com::sun::star::uno::Sequence& lDescriptor) throw (com::sun::star::uno::RuntimeException); // XInitialization virtual void SAL_CALL initialize(const ::com::sun::star::uno::Sequence& aArguments) throw (com::sun::star::uno::Exception, com::sun::star::uno::RuntimeException); // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (com::sun::star::uno::RuntimeException); virtual com::sun::star::uno::Sequence SAL_CALL getSupportedServiceNames() throw (com::sun::star::uno::RuntimeException); }; OUString HtmlFilterDetect_getImplementationName(); com::sun::star::uno::Sequence HtmlFilterDetect_getSupportedServiceNames(); com::sun::star::uno::Reference HtmlFilterDetect_createInstance(const com::sun::star::uno::Reference& rCtx); #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */