00001 // $Id: oilfltrs.h 1473 2006-07-18 20:11:06Z alex $ 00002 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE 00003 ================================XARAHEADERSTART=========================== 00004 00005 Xara LX, a vector drawing and manipulation program. 00006 Copyright (C) 1993-2006 Xara Group Ltd. 00007 Copyright on certain contributions may be held in joint with their 00008 respective authors. See AUTHORS file for details. 00009 00010 LICENSE TO USE AND MODIFY SOFTWARE 00011 ---------------------------------- 00012 00013 This file is part of Xara LX. 00014 00015 Xara LX is free software; you can redistribute it and/or modify it 00016 under the terms of the GNU General Public License version 2 as published 00017 by the Free Software Foundation. 00018 00019 Xara LX and its component source files are distributed in the hope 00020 that it will be useful, but WITHOUT ANY WARRANTY; without even the 00021 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00022 See the GNU General Public License for more details. 00023 00024 You should have received a copy of the GNU General Public License along 00025 with Xara LX (see the file GPL in the root directory of the 00026 distribution); if not, write to the Free Software Foundation, Inc., 51 00027 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00028 00029 00030 ADDITIONAL RIGHTS 00031 ----------------- 00032 00033 Conditional upon your continuing compliance with the GNU General Public 00034 License described above, Xara Group Ltd grants to you certain additional 00035 rights. 00036 00037 The additional rights are to use, modify, and distribute the software 00038 together with the wxWidgets library, the wxXtra library, and the "CDraw" 00039 library and any other such library that any version of Xara LX relased 00040 by Xara Group Ltd requires in order to compile and execute, including 00041 the static linking of that library to XaraLX. In the case of the 00042 "CDraw" library, you may satisfy obligation under the GNU General Public 00043 License to provide source code by providing a binary copy of the library 00044 concerned and a copy of the license accompanying it. 00045 00046 Nothing in this section restricts any of the rights you have under 00047 the GNU General Public License. 00048 00049 00050 SCOPE OF LICENSE 00051 ---------------- 00052 00053 This license applies to this program (XaraLX) and its constituent source 00054 files only, and does not necessarily apply to other Xara products which may 00055 in part share the same code base, and are subject to their own licensing 00056 terms. 00057 00058 This license does not apply to files in the wxXtra directory, which 00059 are built into a separate library, and are subject to the wxWindows 00060 license contained within that directory in the file "WXXTRA-LICENSE". 00061 00062 This license does not apply to the binary libraries (if any) within 00063 the "libs" directory, which are subject to a separate license contained 00064 within that directory in the file "LIBS-LICENSE". 00065 00066 00067 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS 00068 ---------------------------------------------- 00069 00070 Subject to the terms of the GNU Public License (see above), you are 00071 free to do whatever you like with your modifications. However, you may 00072 (at your option) wish contribute them to Xara's source tree. You can 00073 find details of how to do this at: 00074 http://www.xaraxtreme.org/developers/ 00075 00076 Prior to contributing your modifications, you will need to complete our 00077 contributor agreement. This can be found at: 00078 http://www.xaraxtreme.org/developers/contribute/ 00079 00080 Please note that Xara will not accept modifications which modify any of 00081 the text between the start and end of this header (marked 00082 XARAHEADERSTART and XARAHEADEREND). 00083 00084 00085 MARKS 00086 ----- 00087 00088 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara 00089 designs are registered or unregistered trademarks, design-marks, and/or 00090 service marks of Xara Group Ltd. All rights in these marks are reserved. 00091 00092 00093 Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK. 00094 http://www.xara.com/ 00095 00096 =================================XARAHEADEREND============================ 00097 */ 00098 00099 // The module that controls the OIL side of import/export filters. 00100 00101 #ifndef INC_OILFLTRS 00102 #define INC_OILFLTRS 00103 00104 #include "filters.h" 00105 #include "selop.h" 00106 //#include "cmxres.h" 00107 00108 class CCLexFile; 00109 class RTFTextFilter; 00110 00111 /******************************************************************************************** 00112 00113 > class OILFilter : public CC_CLASS_MEMDUMP 00114 00115 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00116 Created: 18/03/94 00117 Purpose: This class is used to encapsulate the platform specific features of a filter. 00118 Every Filter object has a pointer to an OILFilter object. For example, 00119 under Windows, it holds the file extensions that this file understands. 00120 SeeAlso: Filter 00121 00122 ********************************************************************************************/ 00123 00124 class OILFilter : public CC_CLASS_MEMDUMP 00125 { 00126 CC_DECLARE_MEMDUMP(OILFilter); 00127 00128 public: 00129 OILFilter() {} 00130 virtual ~OILFilter() { } 00131 OILFilter(Filter *pFilter); 00132 00133 // The COMMDLG filter string resource IDs to be used for this filter: 00134 String_64 FilterName; // The filter name, e.g. "Corel 4.0 EPS" 00135 String_32 FilterExt; // The extensions to use, e.g. "*.eps" 00136 00137 // When a COMMDLG is open, indicates the position in the filter list of this particular 00138 // filter. 00139 INT32 Position; 00140 00141 Filter *Parent; 00142 00143 static BOOL InitFilters(List&); 00144 00145 static BOOL CreatePluginFilters(List&); 00146 00147 virtual TCHAR *ConstructFilterString(UINT32 NumberToExport = 1); 00148 virtual String_64 GetFilterName(UINT32 NumberToExport); 00149 00150 // Some useful helper functions for checking that filename extensions match the 00151 // ones that this filter supports. Also for fixing ones that don't match. 00152 BOOL DoesExtensionOfFileMatch(CCLexFile* File); 00153 BOOL DoesExtensionOfPathNameMatch(PathName *Path); 00154 BOOL FixExtensionOfPathName(PathName *Path); 00155 }; 00156 00157 00158 /******************************************************************************************** 00159 00160 > class OILFilterFamily : public OILFilter 00161 00162 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00163 Created: 26/07/94 00164 Purpose: Automate the production of the OIL parts of a filter family object. 00165 SeeAlso: FilterFamily 00166 00167 ********************************************************************************************/ 00168 00169 class OILFilterFamily : public OILFilter 00170 { 00171 CC_DECLARE_MEMDUMP(OILFilterFamily); 00172 00173 public: 00174 OILFilterFamily(Filter *pFilter); 00175 OILFilterFamily(Filter *pFilter, UINT32 FilterNameID); 00176 00177 virtual TCHAR *ConstructFilterString(UINT32 NumberToExport = 1); 00178 }; 00179 00180 00181 00182 // 00183 // These are the OILy parts of the built-in filters. 00184 // 00185 00186 00187 /******************************************************************************************** 00188 00189 > class AIEPSOILFilter : public OILFilter 00190 00191 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00192 Created: 22/02/94 00193 Purpose: Provide the OIL parts of the Illustrator EPS filter. 00194 SeeAlso: EPSFilter 00195 00196 ********************************************************************************************/ 00197 00198 class AIEPSOILFilter : public OILFilter 00199 { 00200 public: 00201 AIEPSOILFilter(Filter *pFilter); 00202 }; 00203 00204 /******************************************************************************************** 00205 00206 > class AI5EPSOILFilter : public OILFilter 00207 00208 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00209 Created: 22/02/94 00210 Purpose: Provide the OIL parts of the Illustrator 5.0 EPS filter. 00211 SeeAlso: EPSFilter 00212 00213 ********************************************************************************************/ 00214 00215 class AI5EPSOILFilter : public OILFilter 00216 { 00217 public: 00218 AI5EPSOILFilter(Filter *pFilter); 00219 }; 00220 00221 /******************************************************************************************** 00222 00223 > class AI8EPSOILFilter : public OILFilter 00224 00225 Author: Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com> 00226 Created: 28/03/00 00227 Purpose: Provide the OIL parts of the Illustrator 8.0 EPS filter. 00228 SeeAlso: EPSFilter 00229 00230 ********************************************************************************************/ 00231 00232 class AI8EPSOILFilter : public OILFilter 00233 { 00234 public: 00235 AI8EPSOILFilter(Filter *pFilter); 00236 }; 00237 00238 00239 /******************************************************************************************** 00240 00241 > class ArtWorksEPSOILFilter : public OILFilter 00242 00243 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00244 Created: 22/02/94 00245 Purpose: Provide the OIL parts of the ArtWorks EPS filter. 00246 SeeAlso: EPSFilter 00247 00248 ********************************************************************************************/ 00249 00250 class ArtWorksEPSOILFilter : public OILFilter 00251 { 00252 public: 00253 ArtWorksEPSOILFilter(Filter *pFilter); 00254 }; 00255 00256 /******************************************************************************************** 00257 00258 > class CamelotEPSOILFilter : public OILFilter 00259 00260 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00261 Created: 22/02/94 00262 Purpose: Provide the OIL parts of the ArtWorks EPS filter. 00263 SeeAlso: EPSFilter 00264 00265 ********************************************************************************************/ 00266 00267 class CamelotEPSOILFilter : public OILFilter 00268 { 00269 public: 00270 CamelotEPSOILFilter(Filter *pFilter); 00271 }; 00272 00273 00274 00275 /******************************************************************************************** 00276 00277 > class NativeEPSOILFilter : public CamelotEPSOILFilter 00278 00279 Author: Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com> 00280 Created: 15/12/94 00281 Purpose: The Native File format Oil Filter (Extension etc) 00282 00283 ********************************************************************************************/ 00284 00285 class NativeEPSOILFilter : public CamelotEPSOILFilter 00286 { 00287 public: 00288 NativeEPSOILFilter (Filter* pFilter); 00289 }; 00290 00291 00292 /******************************************************************************************** 00293 00294 > class Corel3EPSOILFilter : public OILFilter 00295 00296 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00297 Created: 22/02/94 00298 Purpose: Provide the OIL parts of the Corel 3.x EPS filter. 00299 SeeAlso: EPSFilter 00300 00301 ********************************************************************************************/ 00302 00303 class Corel3EPSOILFilter : public OILFilter 00304 { 00305 public: 00306 Corel3EPSOILFilter(Filter *pFilter); 00307 }; 00308 00309 /******************************************************************************************** 00310 00311 > class Corel4EPSOILFilter : public OILFilter 00312 00313 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00314 Created: 22/02/94 00315 Purpose: Provide the OIL parts of the Corel 4.x EPS filter. 00316 SeeAlso: EPSFilter 00317 00318 ********************************************************************************************/ 00319 00320 class Corel4EPSOILFilter : public OILFilter 00321 { 00322 public: 00323 Corel4EPSOILFilter(Filter *pFilter); 00324 }; 00325 00326 00327 /******************************************************************************************** 00328 00329 > class DrawOILFilter : public OILFilter 00330 00331 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00332 Created: 22/02/94 00333 Purpose: Provide the OIL parts of the Draw filter. 00334 SeeAlso: DrawFilter 00335 00336 ********************************************************************************************/ 00337 00338 class DrawOILFilter : public OILFilter 00339 { 00340 public: 00341 DrawOILFilter(Filter *pFilter); 00342 }; 00343 00344 /******************************************************************************************** 00345 00346 > class FlashOILFilter : public OILFilter 00347 00348 Author: Graeme_Sutherland (Xara Group Ltd) <camelotdev@xara.com> 00349 Created: 17/8/99 00350 Purpose: Provide the OIL parts of the Flash 4 filter. 00351 SeeAlso: FlashFilter 00352 00353 ********************************************************************************************/ 00354 00355 class FlashOILFilter : public OILFilter 00356 { 00357 public: 00358 FlashOILFilter(Filter *pFilter); 00359 }; 00360 00361 /******************************************************************************************** 00362 00363 > class PhotoShopEPSOILFilter : public OILFilter 00364 00365 Author: Chris_Gallimore (Xara Group Ltd) <camelotdev@xara.com> 00366 Created: 9/11/00 00367 Purpose: Provide the OIL parts of the PhotoShop EPS filter. 00368 SeeAlso: PhotoShopEPSFilter 00369 00370 ********************************************************************************************/ 00371 00372 class PhotoShopEPSOILFilter : public OILFilter 00373 { 00374 public: 00375 PhotoShopEPSOILFilter(Filter *pFilter); 00376 }; 00377 00378 /******************************************************************************************** 00379 00380 > class CorelPaletteFileOILFilter : public OILFilter 00381 00382 Author: Ben_Summers (Xara Group Ltd) <camelotdev@xara.com> 00383 Created: 15 03 95 00384 Purpose: Provide the OIL parts of the Corel Palette file filter. 00385 SeeAlso: CorelPaletteFileFilter 00386 00387 ********************************************************************************************/ 00388 00389 class CorelPaletteFileOILFilter : public OILFilter 00390 { 00391 public: 00392 CorelPaletteFileOILFilter(Filter *pFilter); 00393 }; 00394 00395 /******************************************************************************************** 00396 00397 > class CDROILFilter : public OILFilter 00398 00399 Author: Ben_Summers (Xara Group Ltd) <camelotdev@xara.com> 00400 Created: 15/03/95 00401 Purpose: Provide the OIL parts of the CDR filter. 00402 SeeAlso: CDRFilter 00403 00404 ********************************************************************************************/ 00405 00406 class CDROILFilter : public OILFilter 00407 { 00408 public: 00409 CDROILFilter(Filter *pFilter); 00410 }; 00411 00412 /******************************************************************************************** 00413 00414 > class CMXOILFilter : public OILFilter 00415 00416 Author: Ben_Summers (Xara Group Ltd) <camelotdev@xara.com> 00417 Created: 17/06/96 00418 Purpose: Provide the OIL parts of the CMX filter. 00419 SeeAlso: CMXFilter 00420 00421 ********************************************************************************************/ 00422 00423 class CMX16OILFilter : public OILFilter 00424 { 00425 public: 00426 CMX16OILFilter(Filter *pFilter); 00427 }; 00428 00429 00430 /******************************************************************************************** 00431 00432 > class CMXOILFilter : public OILFilter 00433 00434 Author: Ben_Summers (Xara Group Ltd) <camelotdev@xara.com> 00435 Created: 17/06/96 00436 Purpose: Provide the OIL parts of the CMX filter. 00437 SeeAlso: CMXFilter 00438 00439 ********************************************************************************************/ 00440 00441 class CMX32OILFilter : public OILFilter 00442 { 00443 public: 00444 CMX32OILFilter(Filter *pFilter); 00445 }; 00446 00447 00448 /******************************************************************************************** 00449 00450 > class CMXImportOILFilter : public OILFilter 00451 00452 Author: Ben_Summers (Xara Group Ltd) <camelotdev@xara.com> 00453 Created: 05/08/96 00454 Purpose: Provide the OIL parts of the CMX import filter. 00455 SeeAlso: CMXImportFilter 00456 00457 ********************************************************************************************/ 00458 00459 class CMXImportOILFilter : public OILFilter 00460 { 00461 public: 00462 CMXImportOILFilter(Filter *pFilter); 00463 }; 00464 00465 00466 00467 /******************************************************************************************** 00468 > class MSPaletteOILFilter : public OILFilter 00469 00470 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 00471 Created: 30/4/96 00472 Purpose: Provide the OIL parts of the Windows Palette file filter. 00473 SeeAlso: MSPaletteFilter 00474 ********************************************************************************************/ 00475 class MSPaletteOILFilter : public OILFilter 00476 { 00477 public: 00478 MSPaletteOILFilter(Filter *pFilter); 00479 }; 00480 00481 00482 /******************************************************************************************** 00483 > class AdobeColourTableOILFilter : public OILFilter 00484 00485 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 00486 Created: 30/4/96 00487 Purpose: Provide the OIL parts of the Adobe Colour Table file filter. 00488 SeeAlso: AdobeColourTableFilter 00489 ********************************************************************************************/ 00490 class AdobeColourTableOILFilter : public OILFilter 00491 { 00492 public: 00493 AdobeColourTableOILFilter(Filter *pFilter); 00494 00495 INT32 HowCompatible(PathName& Filename); 00496 }; 00497 00498 00499 /******************************************************************************************** 00500 > class AdobeColourSwatchOILFilter : public OILFilter 00501 00502 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 00503 Created: 30/4/96 00504 Purpose: Provide the OIL parts of the Adobe Colour Swatch file filter. 00505 SeeAlso: AdobeColourSwatchFilter 00506 ********************************************************************************************/ 00507 class AdobeColourSwatchOILFilter : public OILFilter 00508 { 00509 public: 00510 AdobeColourSwatchOILFilter(Filter *pFilter); 00511 00512 INT32 HowCompatible(PathName& Filename); 00513 }; 00514 00515 00516 /******************************************************************************************** 00517 > class PSPPaletteOILFilter : public OILFilter 00518 00519 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 00520 Created: 9/5/96 00521 Purpose: Provide the OIL parts of the paint shop pro palette file filter. 00522 SeeAlso: PaintShopProPaletteFilter 00523 ********************************************************************************************/ 00524 class PSPPaletteOILFilter : public OILFilter 00525 { 00526 public: 00527 PSPPaletteOILFilter(Filter *pFilter); 00528 }; 00529 00530 00531 /******************************************************************************************** 00532 > class JCWColourOILFilter : public OILFilter 00533 00534 Author: Jason_Williams (Xara Group Ltd) <camelotdev@xara.com> 00535 Created: 30/8/96 00536 Purpose: Provide the OIL parts of the Jason palette filter 00537 SeeAlso: JCWColourFilter 00538 ********************************************************************************************/ 00539 class JCWColourOILFilter : public OILFilter 00540 { 00541 public: 00542 JCWColourOILFilter(Filter *pFilter); 00543 INT32 HowCompatible(PathName& Filename); 00544 }; 00545 00546 /******************************************************************************************** 00547 00548 > class FreeHandEPSOILFilter : public OILFilter 00549 00550 Author: Ben_Summers (Xara Group Ltd) <camelotdev@xara.com> 00551 Created: 31/05/95 00552 Purpose: Provide the OIL parts of the FreeHand EPS filter. 00553 SeeAlso: FreeHandEPSFilter 00554 00555 ********************************************************************************************/ 00556 00557 class FreeHandEPSOILFilter : public OILFilter 00558 { 00559 public: 00560 FreeHandEPSOILFilter(Filter *pFilter); 00561 }; 00562 00563 /******************************************************************************************** 00564 00565 > class MetaFileOILFilter : public OILFilter 00566 00567 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00568 Created: 22/02/94 00569 Purpose: Provide the OIL parts of the MetaFile filter. 00570 SeeAlso: MetaFileFilter 00571 00572 ********************************************************************************************/ 00573 00574 class MetaFileOILFilter : public OILFilter 00575 { 00576 public: 00577 MetaFileOILFilter(Filter *pFilter); 00578 }; 00579 00580 00581 /******************************************************************************************** 00582 00583 > class EnhancedMetaFileOILFilter : public OILFilter 00584 00585 Author: Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com> 00586 Created: 31/5/95 00587 Purpose: Provide the OIL parts of the Enhanced MetaFile filter. 00588 SeeAlso: EnhancedMetaFilter 00589 00590 ********************************************************************************************/ 00591 00592 class EnhancedMetaFileOILFilter : public OILFilter 00593 { 00594 public: 00595 EnhancedMetaFileOILFilter(Filter *pFilter); 00596 }; 00597 00598 00599 00600 /******************************************************************************************** 00601 00602 > class AldusFormatOILFilter : public OILFilter 00603 00604 Author: Andy_Pennell (Xara Group Ltd) <camelotdev@xara.com> 00605 Created: 10/3/95 00606 Purpose: Provide the OIL parts of the Aldus-format filter 00607 SeeAlso: MetaFileFilter 00608 00609 ********************************************************************************************/ 00610 00611 class AldusFormatOILFilter : public OILFilter 00612 { 00613 public: 00614 AldusFormatOILFilter(Filter *pFilter,LPTCHAR,LPTCHAR); 00615 }; 00616 00617 00618 /******************************************************************************************** 00619 00620 > class BMPOILFilter : public OILFilter 00621 00622 Author: Tim_Browse (Xara Group Ltd) <camelotdev@xara.com> 00623 Created: 22/02/94 00624 Purpose: Provide the OIL parts of the BMP filter. 00625 SeeAlso: BMPFilter 00626 00627 ********************************************************************************************/ 00628 00629 class BMPOILFilter : public OILFilter 00630 { 00631 public: 00632 BMPOILFilter(Filter *pFilter); 00633 }; 00634 00635 /******************************************************************************************** 00636 00637 > class AccusoftOILFilter : public OILFilter 00638 00639 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00640 Created: 1/11/94 00641 Purpose: Provide the OIL parts of the Accusoft filters. 00642 SeeAlso: AccusoftFilter 00643 00644 ********************************************************************************************/ 00645 00646 class AccusoftOILFilter : public OILFilter 00647 { 00648 public: 00649 AccusoftOILFilter(Filter *pFilter); 00650 }; 00651 00652 /******************************************************************************************** 00653 00654 > class AccusoftBMPOILFilter : public OILFilter 00655 00656 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00657 Created: 27/1/95 00658 Purpose: Provide the OIL parts of the Accusoft BMP filter. 00659 SeeAlso: AccusoftFilter 00660 00661 ********************************************************************************************/ 00662 00663 class AccusoftBMPOILFilter : public OILFilter 00664 { 00665 public: 00666 AccusoftBMPOILFilter(Filter *pFilter); 00667 }; 00668 00669 /******************************************************************************************** 00670 00671 > class BrookTroutOILFilter : public OILFilter 00672 00673 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00674 Created: 1/11/94 00675 Purpose: Provide the OIL parts of the DBrookTroutCX filter which loads in the file as a BMP. 00676 SeeAlso: AccusoftFilter 00677 00678 ********************************************************************************************/ 00679 00680 class BrookTroutOILFilter : public OILFilter 00681 { 00682 public: 00683 BrookTroutOILFilter(Filter *pFilter); 00684 }; 00685 00686 /******************************************************************************************** 00687 00688 > class CALSOILFilter : public OILFilter 00689 00690 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00691 Created: 1/11/94 00692 Purpose: Provide the OIL parts of the CALS filter which loads in the file as a BMP. 00693 SeeAlso: AccusoftFilter 00694 00695 ********************************************************************************************/ 00696 00697 class CALSOILFilter : public OILFilter 00698 { 00699 public: 00700 CALSOILFilter(Filter *pFilter); 00701 }; 00702 00703 /******************************************************************************************** 00704 00705 > class DCXOILFilter : public OILFilter 00706 00707 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00708 Created: 1/11/94 00709 Purpose: Provide the OIL parts of the DCX filter which loads in the file as a BMP. 00710 SeeAlso: AccusoftFilter 00711 00712 ********************************************************************************************/ 00713 00714 class DCXOILFilter : public OILFilter 00715 { 00716 public: 00717 DCXOILFilter(Filter *pFilter); 00718 }; 00719 00720 /******************************************************************************************** 00721 00722 > class GIFOILFilter : public OILFilter 00723 00724 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00725 Created: 1/11/94 00726 Purpose: Provide the OIL parts of the GIF filter which loads in the file as a BMP. 00727 SeeAlso: AccusoftFilter 00728 00729 ********************************************************************************************/ 00730 00731 class GIFOILFilter : public OILFilter 00732 { 00733 public: 00734 GIFOILFilter(Filter *pFilter); 00735 String_64 GetFilterName(UINT32 NumberToExport); 00736 }; 00737 00738 /******************************************************************************************** 00739 00740 > class GX2OILFilter : public OILFilter 00741 00742 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00743 Created: 1/11/94 00744 Purpose: Provide the OIL parts of the GX2 filter which loads in the file as a BMP. 00745 SeeAlso: AccusoftFilter 00746 00747 ********************************************************************************************/ 00748 00749 class GX2OILFilter : public OILFilter 00750 { 00751 public: 00752 GX2OILFilter(Filter *pFilter); 00753 }; 00754 00755 /******************************************************************************************** 00756 00757 > class HaloCUTOILFilter : public OILFilter 00758 00759 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00760 Created: 1/11/94 00761 Purpose: Provide the OIL parts of the HaloCUT filter which loads in the file as a BMP. 00762 SeeAlso: AccusoftFilter 00763 00764 ********************************************************************************************/ 00765 00766 class HaloCUTOILFilter : public OILFilter 00767 { 00768 public: 00769 HaloCUTOILFilter(Filter *pFilter); 00770 }; 00771 00772 /******************************************************************************************** 00773 00774 > class IFFOILFilter : public OILFilter 00775 00776 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00777 Created: 1/11/94 00778 Purpose: Provide the OIL parts of the IFF filter which loads in the file as a BMP. 00779 SeeAlso: AccusoftFilter 00780 00781 ********************************************************************************************/ 00782 00783 class IFFOILFilter : public OILFilter 00784 { 00785 public: 00786 IFFOILFilter(Filter *pFilter); 00787 }; 00788 00789 /******************************************************************************************** 00790 00791 > class IMGOILFilter : public OILFilter 00792 00793 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00794 Created: 1/11/94 00795 Purpose: Provide the OIL parts of the IMG filter which loads in the file as a BMP. 00796 SeeAlso: AccusoftFilter 00797 00798 ********************************************************************************************/ 00799 00800 class IMGOILFilter : public OILFilter 00801 { 00802 public: 00803 IMGOILFilter(Filter *pFilter); 00804 }; 00805 00806 /******************************************************************************************** 00807 00808 > class IOCAOILFilter : public OILFilter 00809 00810 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00811 Created: 1/11/94 00812 Purpose: Provide the OIL parts of the IOCA filter which loads in the file as a BMP. 00813 SeeAlso: AccusoftFilter 00814 00815 ********************************************************************************************/ 00816 00817 class IOCAOILFilter : public OILFilter 00818 { 00819 public: 00820 IOCAOILFilter(Filter *pFilter); 00821 }; 00822 00823 00824 00825 00826 00827 /******************************************************************************************** 00828 00829 > class JPEGImportOILFilter : public OILFilter 00830 00831 Author: Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com> 00832 Created: 09/08/96 00833 Purpose: OILFilter for non-Accusost version of JPEG import filter. 00834 00835 ********************************************************************************************/ 00836 class JPEGImportOILFilter : public OILFilter 00837 { 00838 public: 00839 JPEGImportOILFilter(Filter *pFilter); 00840 }; 00841 00842 00843 00844 /******************************************************************************************** 00845 00846 > class JPEGExportOILFilter : public OILFilter 00847 00848 Author: Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com> 00849 Created: 29/10/96 00850 Purpose: OILFilter for non-Accusost version of JPEG export filter. 00851 00852 ********************************************************************************************/ 00853 class JPEGExportOILFilter : public OILFilter 00854 { 00855 public: 00856 JPEGExportOILFilter(Filter *pFilter); 00857 }; 00858 00859 00860 00861 00862 /******************************************************************************************** 00863 00864 > class JPEGOILFilter : public OILFilter 00865 00866 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00867 Created: 1/11/94 00868 Purpose: Provide the OIL parts of the JPEG filter which loads in the file as a BMP. 00869 SeeAlso: AccusoftFilter 00870 00871 ********************************************************************************************/ 00872 00873 class JPEGOILFilter : public OILFilter 00874 { 00875 public: 00876 JPEGOILFilter(Filter *pFilter); 00877 }; 00878 00879 /******************************************************************************************** 00880 00881 > class KOFAXOILFilter : public OILFilter 00882 00883 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00884 Created: 1/11/94 00885 Purpose: Provide the OIL parts of the KOFAX filter which loads in the file as a BMP. 00886 SeeAlso: AccusoftFilter 00887 00888 ********************************************************************************************/ 00889 00890 class KOFAXOILFilter : public OILFilter 00891 { 00892 public: 00893 KOFAXOILFilter(Filter *pFilter); 00894 }; 00895 00896 /******************************************************************************************** 00897 00898 > class LaserDataOILFilter : public OILFilter 00899 00900 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00901 Created: 1/11/94 00902 Purpose: Provide the OIL parts of the LaserData filter which loads in the file as a BMP. 00903 SeeAlso: AccusoftFilter 00904 00905 ********************************************************************************************/ 00906 00907 class LaserDataOILFilter : public OILFilter 00908 { 00909 public: 00910 LaserDataOILFilter(Filter *pFilter); 00911 }; 00912 00913 /******************************************************************************************** 00914 00915 > class MacPaintOILFilter : public OILFilter 00916 00917 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00918 Created: 1/11/94 00919 Purpose: Provide the OIL parts of the MacPaint filter which loads in the file as a BMP. 00920 SeeAlso: AccusoftFilter 00921 00922 ********************************************************************************************/ 00923 00924 class MacPaintOILFilter : public OILFilter 00925 { 00926 public: 00927 MacPaintOILFilter(Filter *pFilter); 00928 }; 00929 00930 /******************************************************************************************** 00931 00932 > class MSIconsOILFilter : public OILFilter 00933 00934 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00935 Created: 1/11/94 00936 Purpose: Provide the OIL parts of the MSIcons filter which loads in the file as a BMP. 00937 SeeAlso: AccusoftFilter 00938 00939 ********************************************************************************************/ 00940 00941 class MSIconsOILFilter : public OILFilter 00942 { 00943 public: 00944 MSIconsOILFilter(Filter *pFilter); 00945 }; 00946 00947 /******************************************************************************************** 00948 00949 > class MSPaintOILFilter : public OILFilter 00950 00951 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00952 Created: 1/11/94 00953 Purpose: Provide the OIL parts of the MSPaint filter which loads in the file as a BMP. 00954 SeeAlso: AccusoftFilter 00955 00956 ********************************************************************************************/ 00957 00958 class MSPaintOILFilter : public OILFilter 00959 { 00960 public: 00961 MSPaintOILFilter(Filter *pFilter); 00962 }; 00963 00964 /******************************************************************************************** 00965 00966 > class PCXOILFilter : public OILFilter 00967 00968 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00969 Created: 1/11/94 00970 Purpose: Provide the OIL parts of the PCX filter which loads in the file as a BMP. 00971 SeeAlso: AccusoftFilter 00972 00973 ********************************************************************************************/ 00974 00975 class PCXOILFilter : public OILFilter 00976 { 00977 public: 00978 PCXOILFilter(Filter *pFilter); 00979 }; 00980 00981 /******************************************************************************************** 00982 00983 > class PhotoCDOILFilter : public OILFilter 00984 00985 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 00986 Created: 1/11/94 00987 Purpose: Provide the OIL parts of the PHOTOCD filter which loads in the file as a BMP. 00988 SeeAlso: AccusoftFilter 00989 00990 ********************************************************************************************/ 00991 00992 class PhotoCDOILFilter : public OILFilter 00993 { 00994 public: 00995 PhotoCDOILFilter(Filter *pFilter); 00996 }; 00997 00998 /******************************************************************************************** 00999 01000 > class PhotoShopOILFilter : public OILFilter 01001 01002 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01003 Created: 1/11/94 01004 Purpose: Provide the OIL parts of the PhotoShop filter which loads in the file as a BMP. 01005 SeeAlso: AccusoftFilter 01006 01007 ********************************************************************************************/ 01008 01009 class PhotoShopOILFilter : public OILFilter 01010 { 01011 public: 01012 PhotoShopOILFilter(Filter *pFilter); 01013 }; 01014 01015 /******************************************************************************************** 01016 01017 > class PICTOILFilter : public OILFilter 01018 01019 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01020 Created: 1/11/94 01021 Purpose: Provide the OIL parts of the PICT filter which loads in the file as a BMP. 01022 SeeAlso: AccusoftFilter 01023 01024 ********************************************************************************************/ 01025 01026 class PICTOILFilter : public OILFilter 01027 { 01028 public: 01029 PICTOILFilter(Filter *pFilter); 01030 }; 01031 01032 /******************************************************************************************** 01033 01034 > class SUNOILFilter : public OILFilter 01035 01036 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01037 Created: 1/11/94 01038 Purpose: Provide the OIL parts of the SUN filter which loads in the file as a BMP. 01039 SeeAlso: AccusoftFilter 01040 01041 ********************************************************************************************/ 01042 01043 class SUNOILFilter : public OILFilter 01044 { 01045 public: 01046 SUNOILFilter(Filter *pFilter); 01047 }; 01048 01049 /******************************************************************************************** 01050 01051 > class TARGAOILFilter : public OILFilter 01052 01053 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01054 Created: 1/11/94 01055 Purpose: Provide the OIL parts of the TARGA filter which loads in the file as a BMP. 01056 SeeAlso: AccusoftFilter 01057 01058 ********************************************************************************************/ 01059 01060 class TARGAOILFilter : public OILFilter 01061 { 01062 public: 01063 TARGAOILFilter(Filter *pFilter); 01064 }; 01065 01066 /******************************************************************************************** 01067 > class TIFFOILFilter : public OILFilter 01068 01069 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01070 Created: 1/11/94 01071 Purpose: Provide the OIL parts of the TIFF filter which loads in the file as a BMP. 01072 SeeAlso: AccusoftFilter 01073 01074 ********************************************************************************************/ 01075 01076 class TIFFOILFilter : public OILFilter 01077 { 01078 public: 01079 TIFFOILFilter(Filter *pFilter); 01080 }; 01081 01082 /******************************************************************************************** 01083 01084 > class WPGOILFilter : public OILFilter 01085 01086 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01087 Created: 1/11/94 01088 Purpose: Provide the OIL parts of the WPG filter which loads in the file as a BMP. 01089 SeeAlso: AccusoftFilter 01090 01091 ********************************************************************************************/ 01092 01093 class WPGOILFilter : public OILFilter 01094 { 01095 public: 01096 WPGOILFilter(Filter *pFilter); 01097 }; 01098 01099 01100 /******************************************************************************************** 01101 01102 > class XWindowsOILFilter : public OILFilter 01103 01104 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01105 Created: 1/11/94 01106 Purpose: Provide the OIL parts of the XWindows filter which loads in the file as a BMP. 01107 SeeAlso: AccusoftFilter 01108 01109 ********************************************************************************************/ 01110 01111 class XWindowsOILFilter : public OILFilter 01112 { 01113 public: 01114 XWindowsOILFilter(Filter *pFilter); 01115 }; 01116 01117 /******************************************************************************************** 01118 01119 > class SpriteOILFilter : public OILFilter 01120 01121 Author: Richard_Millican (Xara Group Ltd) <camelotdev@xara.com> 01122 Created: 18/8/95 01123 Purpose: Provide the OIL parts of the Acorn Sprite filter which loads in the file as a BMP. 01124 SeeAlso: SpriteFilter 01125 01126 ********************************************************************************************/ 01127 01128 class SpriteOILFilter : public OILFilter 01129 { 01130 public: 01131 SpriteOILFilter(Filter *pFilter); 01132 }; 01133 01134 01135 /******************************************************************************************** 01136 01137 > class DXFOILFilter : public DXFFilter 01138 01139 Author: Andy_Hayward (Xara Group Ltd) <camelotdev@xara.com> 01140 Created: 12/12/95 01141 Purpose: Provide the OIL parts of the DXF filter 01142 SeeAlso: DXFFilter 01143 01144 ********************************************************************************************/ 01145 01146 class DXFOILFilter : public OILFilter 01147 { 01148 public: 01149 DXFOILFilter(Filter *pFilter); 01150 }; 01151 01152 /******************************************************************************************** 01153 01154 > class NativeOILFilter : public OILFilter 01155 01156 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01157 Created: 25/4/96 01158 Purpose: The Native File format Oil Filter (Extension etc) 01159 01160 ********************************************************************************************/ 01161 01162 class NativeOILFilter : public OILFilter 01163 { 01164 public: 01165 NativeOILFilter (Filter* pFilter); 01166 }; 01167 01168 /******************************************************************************************** 01169 01170 > class WebOILFilter : public OILFilter 01171 01172 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01173 Created: 25/4/96 01174 Purpose: The Web File format Oil Filter (Extension etc) 01175 01176 ********************************************************************************************/ 01177 01178 class WebOILFilter : public OILFilter 01179 { 01180 public: 01181 WebOILFilter (Filter* pFilter); 01182 }; 01183 01184 01185 /******************************************************************************************** 01186 01187 > class FlareTemplateOILFilter : public OILFilter 01188 01189 Author: Gerry_Iles (Xara Group Ltd) <camelotdev@xara.com> 01190 Created: 12/06/97 01191 Purpose: The Flare template format Oil Filter (Extension etc) 01192 01193 ********************************************************************************************/ 01194 01195 class FlareTemplateOILFilter : public OILFilter 01196 { 01197 public: 01198 FlareTemplateOILFilter(Filter* pFilter); 01199 }; 01200 01201 01202 /******************************************************************************************** 01203 01204 > class PNGOILFilter : public OILFilter 01205 01206 Author: Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com> 01207 Created: 25/4/96 01208 Purpose: The PNG File format Oil Filter (Extension etc) 01209 01210 ********************************************************************************************/ 01211 01212 class PNGOILFilter : public OILFilter 01213 { 01214 public: 01215 PNGOILFilter (Filter* pFilter); 01216 }; 01217 01218 /******************************************************************************************** 01219 01220 > class ImagemapOILFilter : public OILFilter 01221 01222 Author: Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com> 01223 Created: 9/4/97 01224 Purpose: The Imagemap Oil Filter 01225 01226 ********************************************************************************************/ 01227 01228 class ImagemapOILFilter : public OILFilter 01229 { 01230 public: 01231 ImagemapOILFilter (Filter* pFilter); 01232 }; 01233 01234 01235 01236 01237 #if BUILD_TEXT_FILTERS 01238 /******************************************************************************************** 01239 > class ANSITextOILFilter : public OILFilter 01240 01241 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 01242 Created: 24/11/95 01243 Purpose: Provide the OIL parts of the ANSI text filter. 01244 SeeAlso: ANSITextFilter 01245 ********************************************************************************************/ 01246 class ANSITextOILFilter : public OILFilter 01247 { 01248 public: 01249 ANSITextOILFilter(Filter *pFilter); 01250 01251 WCHAR ReadMultiByteChar(CCLexFile* pFile, UINT32* pBytesRead); 01252 }; 01253 01254 01255 /******************************************************************************************** 01256 > class UnicodeTextOILFilter : public OILFilter 01257 01258 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 01259 Created: 25/11/95 01260 Purpose: Provide the OIL parts of the Unicode text filter. 01261 SeeAlso: UnicodeTextFilter 01262 ********************************************************************************************/ 01263 class UnicodeTextOILFilter : public OILFilter 01264 { 01265 public: 01266 UnicodeTextOILFilter(Filter *pFilter); 01267 01268 WCHAR ReadUnicodeChar(CCLexFile* pFile); 01269 }; 01270 01271 01272 /******************************************************************************************** 01273 > class RTFTextOILFilter : public OILFilter 01274 01275 Author: Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com> 01276 Created: 25/11/95 01277 Purpose: Provide the OIL parts of the RTF filter. 01278 SeeAlso: RTFTextFilter 01279 ********************************************************************************************/ 01280 class RTFTextOILFilter : public OILFilter 01281 { 01282 public: 01283 RTFTextOILFilter(Filter *pFilter); 01284 01285 BOOL RegisterWithClipboard(RTFTextFilter* pFilter); 01286 BOOL GetCurrentEmSize(RTFTextFilter* pFilter, MILLIPOINT* pResult); 01287 }; 01288 #endif // #if BUILD_TEXT_FILTERS 01289 01290 01291 /******************************************************************************************** 01292 > class HTMLOILFilter : public OILFilter 01293 01294 Author: Olivier_Gascoin (Xara Group Ltd) <camelotdev@xara.com> 01295 Created: 27/03/97 01296 Purpose: Provide the OIL parts of the HTML filter. 01297 SeeAlso: HTMLFilter 01298 ********************************************************************************************/ 01299 01300 class HTMLOILFilter : public OILFilter 01301 { 01302 public: 01303 HTMLOILFilter(Filter* pFilter); 01304 01305 }; 01306 01307 01308 01309 01310 01311 01312 #endif // INC_OILFLTRS