merge the formfield patch from ooo-build
[ooovba.git] / filter / source / svg / svgreader.hxx
blob420d326066c3de28d073b77d5b62fe5d1f592822
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * Author:
6 * Fridrich Strba <fridrich.strba@bluewin.ch>
7 * Thorsten Behrens <tbehrens@novell.com>
9 * Copyright (C) 2008, Novell Inc.
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
14 ************************************************************************/
16 #ifndef INCLUDED_SVGREADER_HXX
17 #define INCLUDED_SVGREADER_HXX
19 #include <com/sun/star/uno/XComponentContext.hpp>
20 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
21 #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
22 #include <com/sun/star/io/XInputStream.hpp>
24 namespace svgi
27 class SVGReader
29 const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xServiceFactory;
30 const ::com::sun::star::uno::Reference< com::sun::star::io::XInputStream > m_xInputStream;
31 const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > m_xDocumentHandler;
33 public:
34 SVGReader( const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& xServiceFactory,
35 const com::sun::star::uno::Reference< com::sun::star::io::XInputStream >& xInputStream,
36 const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler );
38 sal_Bool parseAndConvert();
41 } // namespace svgi
43 #endif