build fix
[LibreOffice.git] / filter / source / svg / svgreader.hxx
blobb200c1b9b3b8a2742bd17ddfeb810fb1cc410613
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef INCLUDED_FILTER_SOURCE_SVG_SVGREADER_HXX
10 #define INCLUDED_FILTER_SOURCE_SVG_SVGREADER_HXX
12 #include <filter/dllapi.h>
14 #include <com/sun/star/uno/XComponentContext.hpp>
15 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
16 #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
17 #include <com/sun/star/io/XInputStream.hpp>
19 namespace svgi
22 class SVGReader
24 const css::uno::Reference< css::uno::XComponentContext > m_xContext;
25 const css::uno::Reference< css::io::XInputStream > m_xInputStream;
26 const css::uno::Reference< css::xml::sax::XDocumentHandler > m_xDocumentHandler;
28 public:
29 FILTER_DLLPUBLIC SVGReader( const css::uno::Reference<css::uno::XComponentContext>& xContext,
30 const css::uno::Reference< css::io::XInputStream >& xInputStream,
31 const css::uno::Reference< css::xml::sax::XDocumentHandler >& xDocumentHandler );
33 FILTER_DLLPUBLIC bool parseAndConvert();
36 } // namespace svgi
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */