AIHTMLConversionSuite Struct Reference
[API Suite List]
This suite is not, by default, provided by Illustrator.
More...
#include <AIHTMLConversion.h>
List of all members.
Detailed Description
This suite is not, by default, provided by Illustrator.
If your plug-in provides this suite, it should use the AIHTMLConversionSuite
to convert art to an HTML text flow, mapping styles as needed, then add that suite using AIHTMLConversionSuitesSuite::AddHTMLConversionSuite()
.
A default converter for text is part of the AISlicingSuite
. That suite uses these functions to get the best possible HTML representation of a sliced text object, which in turn allows Save for Web to export Illustrator text as HTML text.
Member Data Documentation
Reports whether art can be converted with specified options.
Usage of options and conversion behavior is specific to the converter. (Note that this function returns a Boolean value, not an error code.)
- Parameters:
-
| art | An art object or root of an art tree. |
| options | The conversion options, a logical OR of AIHTMLConversionOptions bit flags, as defined for this converter.. |
Converts the text runs in a text art object into appropriate HTML expressions in a stream.
Usage of options and conversion behavior is specific to the converter.
- Parameters:
-
| art | The text art object. |
| options | The conversion options, a logical OR of AIHTMLConversionOptions bit flags, as defined for this converter. |
- Returns:
- The error
kAIHTMLUnsupportedTypeError
if the art cannot be converted to HTML because there is no translator.
The error kAIHTMLHBufferOverflowError
if there is more text than the buffer can hold.
Retrieves information from the provider of this HTML conversion suite.
Not typically needed. The provider can return a name that represents the converter, or additional information based on what is passed in.
- Parameters:
-
| converterName | [in, out] A buffer in which to specify and return the converter name. |
| otherInfo | [in, out] A buffer in which to specify and return additional information, as defined by this converter. |
The documentation for this struct was generated from the following file: