Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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
11 :
12 : #include <filter/dllapi.h>
13 :
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>
18 :
19 : namespace svgi
20 : {
21 :
22 0 : class SVGReader
23 : {
24 : const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xContext;
25 : const ::com::sun::star::uno::Reference< com::sun::star::io::XInputStream > m_xInputStream;
26 : const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > m_xDocumentHandler;
27 :
28 : public:
29 : FILTER_DLLPUBLIC SVGReader( const com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>& xContext,
30 : const com::sun::star::uno::Reference< com::sun::star::io::XInputStream >& xInputStream,
31 : const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler );
32 :
33 : FILTER_DLLPUBLIC bool parseAndConvert();
34 : };
35 :
36 : } // namespace svgi
37 :
38 : #endif
39 :
40 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|