Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*
3 : : * Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 : : *
5 : : * The contents of this file are subject to the Mozilla Public License Version
6 : : * 1.1 (the "License"); you may not use this file except in compliance with
7 : : * the License. You may obtain a copy of the License at
8 : : * http://www.mozilla.org/MPL/
9 : : *
10 : : * Software distributed under the License is distributed on an "AS IS" basis,
11 : : * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 : : * for the specific language governing rights and limitations under the
13 : : * License.
14 : : *
15 : : * The Initial Developer of the Original Code is
16 : : * Fridrich Strba <fridrich.strba@bluewin.ch>
17 : : * Thorsten Behrens <tbehrens@novell.com>
18 : : *
19 : : * Contributor(s):
20 : : *
21 : : * Alternatively, the contents of this file may be used under the terms of
22 : : * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
23 : : * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
24 : : * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
25 : : * instead of those above.
26 : : */
27 : : #ifndef INCLUDED_SVGREADER_HXX
28 : : #define INCLUDED_SVGREADER_HXX
29 : :
30 : : #include <filter/dllapi.h>
31 : :
32 : : #include <com/sun/star/uno/XComponentContext.hpp>
33 : : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
34 : : #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
35 : : #include <com/sun/star/io/XInputStream.hpp>
36 : :
37 : : namespace svgi
38 : : {
39 : :
40 : 0 : class SVGReader
41 : : {
42 : : const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xServiceFactory;
43 : : const ::com::sun::star::uno::Reference< com::sun::star::io::XInputStream > m_xInputStream;
44 : : const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > m_xDocumentHandler;
45 : :
46 : : public:
47 : : FILTER_DLLPUBLIC SVGReader( const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& xServiceFactory,
48 : : const com::sun::star::uno::Reference< com::sun::star::io::XInputStream >& xInputStream,
49 : : const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler );
50 : :
51 : : FILTER_DLLPUBLIC sal_Bool parseAndConvert();
52 : : };
53 : :
54 : : } // namespace svgi
55 : :
56 : : #endif
57 : :
58 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|