1*ddde725dSArmin Le Grand/**************************************************************
2*ddde725dSArmin Le Grand *
3*ddde725dSArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one
4*ddde725dSArmin Le Grand * or more contributor license agreements.  See the NOTICE file
5*ddde725dSArmin Le Grand * distributed with this work for additional information
6*ddde725dSArmin Le Grand * regarding copyright ownership.  The ASF licenses this file
7*ddde725dSArmin Le Grand * to you under the Apache License, Version 2.0 (the
8*ddde725dSArmin Le Grand * "License"); you may not use this file except in compliance
9*ddde725dSArmin Le Grand * with the License.  You may obtain a copy of the License at
10*ddde725dSArmin Le Grand *
11*ddde725dSArmin Le Grand *   http:\\www.apache.org\licenses\LICENSE-2.0
12*ddde725dSArmin Le Grand *
13*ddde725dSArmin Le Grand * Unless required by applicable law or agreed to in writing,
14*ddde725dSArmin Le Grand * software distributed under the License is distributed on an
15*ddde725dSArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*ddde725dSArmin Le Grand * KIND, either express or implied.  See the License for the
17*ddde725dSArmin Le Grand * specific language governing permissions and limitations
18*ddde725dSArmin Le Grand * under the License.
19*ddde725dSArmin Le Grand *
20*ddde725dSArmin Le Grand *************************************************************/
21*ddde725dSArmin Le Grand#ifndef __com_sun_star_graphic_XSvgParser_idl__
22*ddde725dSArmin Le Grand#define __com_sun_star_graphic_XSvgParser_idl__
23*ddde725dSArmin Le Grand
24*ddde725dSArmin Le Grand#include <com/sun/star/uno/XInterface.idl>
25*ddde725dSArmin Le Grand#include <com/sun/star/io/XInputStream.idl>
26*ddde725dSArmin Le Grand
27*ddde725dSArmin Le Grandmodule com {  module sun {  module star {  module graphic {
28*ddde725dSArmin Le Grand
29*ddde725dSArmin Le Grandinterface XPrimitive2D;
30*ddde725dSArmin Le Grand
31*ddde725dSArmin Le Grand/** XSvgParser interface
32*ddde725dSArmin Le Grand
33*ddde725dSArmin Le Grand    This interface allows to parse a SVG stream in form of a sequence of bytes
34*ddde725dSArmin Le Grand    to be parsed into a sequence of XPrimitive2Ds
35*ddde725dSArmin Le Grand */
36*ddde725dSArmin Le Grandinterface XSvgParser : ::com::sun::star::uno::XInterface
37*ddde725dSArmin Le Grand{
38*ddde725dSArmin Le Grand    /** Retrieve decomposed list of simpler primitives
39*ddde725dSArmin Le Grand
40*ddde725dSArmin Le Grand        @param xSvgStream
41*ddde725dSArmin Le Grand        The file containing the SVG XML data
42*ddde725dSArmin Le Grand     */
43*ddde725dSArmin Le Grand    sequence< XPrimitive2D > getDecomposition(
44*ddde725dSArmin Le Grand        [in] io::XInputStream xSvgStream,
45*ddde725dSArmin Le Grand        [in] string aAbsolutePath);
46*ddde725dSArmin Le Grand};
47*ddde725dSArmin Le Grand
48*ddde725dSArmin Le Grand}; }; }; };
49*ddde725dSArmin Le Grand
50*ddde725dSArmin Le Grand#endif
51