update emoji autocorrect entries from po-files
[LibreOffice.git] / writerfilter / inc / dmapper / DomainMapperFactory.hxx
blob306870a5003cb10a2606056ccb9c9c98458cbf25
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
9 #ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
10 #define INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
12 #include <dmapper/resourcemodel.hxx>
13 #include <com/sun/star/io/XInputStream.hpp>
14 #include <com/sun/star/lang/XComponent.hpp>
15 #include <com/sun/star/text/XTextRange.hpp>
16 #include <com/sun/star/uno/XComponentContext.hpp>
18 namespace utl
20 class MediaDescriptor;
23 namespace writerfilter
25 namespace dmapper
28 enum class SourceDocumentType
30 OOXML,
31 RTF
34 /// Interface to create a DomainMapper instance.
35 class DomainMapperFactory
37 public:
38 static Stream::Pointer_t
39 createMapper(css::uno::Reference<css::uno::XComponentContext> const& xContext,
40 css::uno::Reference<css::io::XInputStream> const& xInputStream,
41 css::uno::Reference<css::lang::XComponent> const& xModel,
42 bool bRepairStorage,
43 SourceDocumentType eDocumentType,
44 css::uno::Reference<css::text::XTextRange> const& xInsertTextRange,
45 utl::MediaDescriptor& rMediaDesc);
47 } // namespace dmapper
48 } // namespace writerfilter
50 #endif // INCLUDED_WRITERFILTER_INC_DMAPPER_DOMAINMAPPERFACTORY_HXX
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */