Adobe.com
Contents Suites Classes Class Index Member Index

AIHTMLConversion.h

Go to the documentation of this file.
00001 #ifndef __AIHTMLCONVERSION__
00002 #define __AIHTMLCONVERSION__
00003 
00004 /*
00005 *        Name:  AIHTMLConversion.h
00006 *   $Revision: 1 $
00007 *      Author:
00008 *        Date:
00009 *     Purpose:  Adobe Illustrator HTML Conversion Suite.
00010 *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 2001-2007 Adobe Systems Incorporated.
00013  * All rights reserved.
00014  *
00015  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00016  * in accordance with the terms of the Adobe license agreement 
00017  * accompanying it. If you have received this file from a source other 
00018  * than Adobe, then your use, modification, or distribution of it 
00019  * requires the prior written permission of Adobe.
00020 *
00021 */
00022 
00023 
00024 /*******************************************************************************
00025 **
00026 **      Imports
00027 **
00028 **/
00029 
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033 
00034 #ifndef __AIDataFilter__
00035 #include "AIDataFilter.h"
00036 #endif
00037 
00038 #ifndef __SPSuites__
00039 #include "SPSuites.h"
00040 #endif
00041 
00042 
00043 #include "AIHeaderBegin.h"
00044 
00047 /*******************************************************************************
00048 **
00049 **      Constants
00050 **
00051 **/
00052 
00053 #define kAIHTMLConversionSuite                                          "AI HTML Art Conversion Suite"
00054 #define kAIHTMLConversionSuiteVersion2                          1002
00055 #define kAIHTMLConversionSuiteVersion                           kAIHTMLConversionSuiteVersion2
00056 #define kAIHTMLConversionInternalSuiteVersion2          2
00057 #define kAIHTMLConversionInternalSuiteVersion           kAIHTMLConversionInternalSuiteVersion2
00058 
00059 #define kAIHTMLConversionSuitesSuite                            "AI HTML Art Conversion Suites Suites"
00060 #define kAIHTMLConversionSuitesSuiteVersion2            1002
00061 #define kAIHTMLConversionSuitesSuiteVersion                     kAIHTMLConversionSuitesSuiteVersion2
00062 
00063 
00064 
00065 /*******************************************************************************
00066 **
00067 **      Definitions
00068 **
00069 **/
00070 
00073 #define kAIHTMLUnsupportedTypeError                     'HT!T'
00074 
00076 #define kAIHTMLHBufferOverflowError                     'HTBO'
00077 
00084 enum AIHTMLConversionOptions {
00086         kAIHTMLNoOptions                                        = 0,
00089         kAIHTMLTextLinkTextOption                       = (1<<0)
00090         };
00091 
00092 /*******************************************************************************
00093 **
00094 **      Suite
00095 **
00096 **/
00097 
00113 typedef struct
00114         {
00122                 AIAPI AIBoolean (*ArtCanBeConverted)(AIArtHandle art, ai::int16 artType, ai::int32 options);
00123 
00134         AIAPI AIErr (*GetArtAsHTMLText)(AIArtHandle art, ai::int32 options, AIDataFilter *stream);
00135 
00143         AIAPI AIErr (*GetConverterInfo)(char **converterName, void *otherInfo);
00144 
00145         } AIHTMLConversionSuite;
00146 
00147 
00155 typedef struct
00156         {
00163         SPAPI SPErr (*GetNextInternalVersion)(ai::int32 apiVersion, ai::int32 *internalVersion);
00164 
00175         SPAPI SPErr (*AddHTMLConversionSuite)(SPPluginRef host,
00176                 ai::int32 apiVersion, ai::int32 internalVersion,
00177                 const void *suiteProcs, SPSuiteRef *suite);
00178 
00183         SPAPI SPErr (*GetHTMLConversionSuiteList)(SPSuiteListRef *suiteList);
00184 
00185         } AIHTMLConversionSuitesSuite;
00186 
00187 
00188 #include "AIHeaderEnd.h"
00189 
00190 
00191 #endif


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks