tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / writerperfect / source / draw / PageMakerImportFilter.hxx
blobb98213a2798920703ab645fd851802d5d671dd1f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 */
8 #pragma once
10 #include <ImportFilter.hxx>
12 #include <DocumentHandlerForOdg.hxx>
14 /* This component will be instantiated for both import or export. Whether it calls
15 * setSourceDocument or setTargetDocument determines which Impl function the filter
16 * member calls */
17 class PageMakerImportFilter : public writerperfect::ImportFilter<OdgGenerator>
19 public:
20 explicit PageMakerImportFilter(
21 const css::uno::Reference<css::uno::XComponentContext>& rxContext)
22 : writerperfect::ImportFilter<OdgGenerator>(rxContext)
26 // XServiceInfo
27 virtual OUString SAL_CALL getImplementationName() override;
28 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
29 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
31 private:
32 virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
33 virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
34 OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */