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