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 : * This file incorporates work covered by the following license notice:
10 : *
11 : */
12 : #ifndef INCLUDED_SVGREADER_HXX
13 : #define INCLUDED_SVGREADER_HXX
14 :
15 : #include <filter/dllapi.h>
16 :
17 : #include <com/sun/star/uno/XComponentContext.hpp>
18 : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
19 : #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
20 : #include <com/sun/star/io/XInputStream.hpp>
21 :
22 : namespace svgi
23 : {
24 :
25 0 : class SVGReader
26 : {
27 : const ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xContext;
28 : const ::com::sun::star::uno::Reference< com::sun::star::io::XInputStream > m_xInputStream;
29 : const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > m_xDocumentHandler;
30 :
31 : public:
32 : FILTER_DLLPUBLIC SVGReader( const com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>& xContext,
33 : const com::sun::star::uno::Reference< com::sun::star::io::XInputStream >& xInputStream,
34 : const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler );
35 :
36 : FILTER_DLLPUBLIC sal_Bool parseAndConvert();
37 : };
38 :
39 : } // namespace svgi
40 :
41 : #endif
42 :
43 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|