xref: /trunk/main/svtools/source/inc/sgffilt.hxx (revision 01aa44aa)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _SGFFILT_HXX
25 #define _SGFFILT_HXX
26 #include <tools/urlobj.hxx>
27 
28 sal_uInt8 CheckSgfTyp(SvStream& rInp, sal_uInt16& nVersion);
29 sal_Bool SgfBMapFilter(SvStream& rInp, SvStream& rOut);
30 sal_Bool SgfVectFilter(SvStream& rInp, GDIMetaFile& rMtf);
31 sal_Bool SgfSDrwFilter(SvStream& rInp, GDIMetaFile& rMtf, INetURLObject aIniPath );
32 
33 // Konstanten f�r CheckSgfTyp()
34 #define SGF_BITIMAGE   1     /* Bitmap                      */
35 #define SGF_SIMPVECT   2     /* Einfaches Vectorformat      */
36 #define SGF_POSTSCRP   3     /* Postscript file             */
37 #define SGF_STARDRAW   7     /* StarDraw SGV-Datei          */
38 #define SGF_DONTKNOW 255     /* Unbekannt oder kein SGF/SGV */
39 
40 #define SGV_VERSION    3     /* SGV mit anderer Version wird abgewiesen */
41 							 /* 3 entspricht StarDraw 2.00/2.01 M�rz'93 */
42 #endif  //_SGFFILT_HXX
43