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