|  | 
AIFXGFileFormatSuite Struct Reference[API Suite List]
Stream interface to be passed to AIFXGFileFormatSuite::ExportFXGToStream().  
More... #include <AIFXGFileFormat.h>
 List of all members. 
| Public Attributes |  | AIAPI AIErr(* | CreateFXGSaveParams )(AIFXGFileFormatSaveParams *fxgSaveParams) |  |  | Creates an FXG save-options object with default values. 
 |  | AIAPI AIErr(* | DisposeFXGSaveParams )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Destroys the FXG save-options object created with CreateFXGSaveParams().
 |  | AIAPI ai::int16(* | GetFXGSaveVersion )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the current FXG version value from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveVersion )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int16 fxgVersion) |  |  | Sets the FXG save version value in an FXG save-options object. 
 |  | AIAPI AIBoolean(* | GetFXGSavePreserveAIEditCapability )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the current "Save Illustrator Private Data" flag value from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSavePreserveAIEditCapability )(AIFXGFileFormatSaveParams fxgSaveParams, AIBoolean aiEditCap) |  |  | Sets the "Preserve AI Editing capabilities" flag in an FXG save-options object. 
 |  | AIAPI ai::int16(* | GetFXGSaveTextPolicy )(const AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the current preserve policy for Text from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveTextPolicy )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int16 fxgTextPreservePolicy) |  |  | Sets the preserve policy for Text in an FXG save-options object. 
 |  | AIAPI ai::int16(* | GetFXGSaveFilterPolicy )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the current preserve policy for FXG Filters from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveFilterPolicy )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int16 fxgFilterPreservePolicy) |  |  | Sets the preserve policy for FXG Filters in an FXG save-options object. 
 |  | AIAPI ai::int16(* | GetFXGSaveGradientPolicy )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the current preserve policy for Gradients from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveGradientPolicy )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int16 fxgGradientPreservePolicy) |  |  | Sets the preserve policy for Gradients in an FXG save-options object. 
 |  | AIAPI AIBoolean(* | GetFXGSaveIncludeSymbol )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the "Include Symbols" flag from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveIncludeSymbol )(AIFXGFileFormatSaveParams fxgSaveParams, AIBoolean aiIncludeSymbol) |  |  | Sets the "Include Symbols" flag in an FXG save-options object. 
 |  | AIAPI AIBoolean(* | GetFXGSaveIncludeXMP )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the "Include XMP" flag from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveIncludeXMP )(AIFXGFileFormatSaveParams fxgSaveParams, AIBoolean aiIncludeXMP) |  |  | Sets the "Include Symbols" flag in an FXG save-options object. 
 |  | AIAPI ai::int16(* | GetFXGSaveRasterizeResolution )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int32 *outCustomResolution) |  |  | Retrieves the rasterize resolution from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveRasterizeResolution )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int16 fxgRasterizeResolution, ai::int32 customResolution) |  |  | Sets the rasterize resolution in an FXG save-options object. 
 |  | AIAPI AIBoolean(* | GetFXGSaveDownsampleLinkedImages )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the "Downsample Linked Images" flag from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveDownsampleLinkedImages )(AIFXGFileFormatSaveParams fxgSaveParams, AIBoolean aiDownSampleLinkedImages) |  |  | Sets the "Downsample Linked Images" flag in an FXG save-options object. 
 |  | AIAPI AIBoolean(* | GetFXGSaveWriteImages )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the "WriteImages" flag from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveWriteImages )(AIFXGFileFormatSaveParams fxgSaveParams, AIBoolean writeImages) |  |  | Sets the "WriteImages" flag in an FXG save-options object. 
 |  | AIAPI AIErr(* | ExportFXGToFile )(AIArtHandle art, const ai::FilePath &filePath, AIFXGFileFormatSaveParams fxgSaveParams, ai::int32 fxgExportFlags, const ai::UnicodeString &artBoardRange, const ai::UnicodeString &customProgressText, AIFXGSaveWarnings *saveWarnings) |  |  | Generates FXG to a file. 
 |  | AIAPI AIErr(* | ExportFXGToStream )(AIArtHandle art, AIFXGWriteStreamInterface *streamInterface, AIFXGFileFormatSaveParams fxgSaveParams, ai::int32 fxgExportFlags, const ai::UnicodeString &artBoardRange, const ai::UnicodeString &customProgressText, AIFXGSaveWarnings *saveWarnings) |  |  | Generates FXG to a stream through callbacks. 
 |  | AIAPI ai::int16(* | GetFXGSaveExpandOptionBlends )(AIFXGFileFormatSaveParams fxgSaveParams) |  |  | Retrieves the current expand option for Blends from an FXG save-options object. 
 |  | AIAPI AIErr(* | SetFXGSaveExpandOptionBlends )(AIFXGFileFormatSaveParams fxgSaveParams, ai::int16 fxgBlendsExpandOption) |  |  | Sets the expand option for Blends in an FXG save-options object. 
 |  | AIAPI AIErr(* | DisposeFXGSaveWarnings )(AIFXGSaveWarnings saveWarnings) |  |  | Destroys the FXG save-warnings object created with ExportFXGToFile()orExportFXGToStream().
 |  | AIAPI ai::int32(* | GetFXGSaveWarningCount )(AIFXGSaveWarnings saveWarnings) |  |  | Retrieves the number of warnings stored in the FXG save-warnings object. 
 |  | AIAPI AIErr(* | GetNthFXGSaveWarning )(AIFXGSaveWarnings saveWarnings, ai::int32 index, ai::UnicodeString &warningZStr) |  |  | Retrieves a warning from the FXG save-warnings object. 
 |  
 Detailed DescriptionStream interface to be passed to AIFXGFileFormatSuite::ExportFXGToStream(). This suite provides functions that allow you to export an AI document or art object to FXG. 
 Member Data Documentation
Creates an FXG save-options object with default values.  This should be freed when no longer needed, using DisposeFXGSaveParams() Parameters:
  
    |  | fxgSaveParams | [out] Save options with default values. | 
 Returns:kNoErron success.
 
Destroys the FXG save-options object created with CreateFXGSaveParams(). Parameters:
  
    |  | fxgSaveParams | [in] The save-options object. | 
 Returns:kNoErron success.
 
Generates FXG to a file.  Parameters:
  
    |  | art | [in] Art which you want to export as FXG. Pass NULL to generate FXG for entire document. |  |  | filepath | [in] The file path for the master document FXG |  |  | fxgSaveParams | [in] The FXG save options parameters. See AIFXGFileFormatSaveParams |  |  | fxgExportFlags | [in] The export flags. See AIFXGExportFlagEnum |  |  | artBoardRange | [in] If the export flag kAIFXGExportFlagArtboardsis passed, the artboard range. |  |  | customProgressText | [in] An optional message to display in the progress bar. If NULL, a default message is displayed. |  |  | saveWarnings | [out] A list to store warning message ids, which gets generated while saving to FXG. Dispose it via DisposeFXGSaveWarnings(). Pass NULL if you do not want to receive any warning messages. | 
 Returns:kNoErron success.
 
Generates FXG to a stream through callbacks.  Parameters:
  
    |  | art | [in] The art which you want to export as FXG. Pass NULL to generate FXG for entire document. |  |  | streamInterface | [in] The stream implementation with callbacks, See AIFXGWriteStreamInterface |  |  | fxgSaveParams | [in] The FXG save options parameters. See AIFXGFileFormatSaveParams |  |  | fxgExportFlags | [in] The export flags. See AIFXGExportFlagEnum |  |  | artBoardRange | [in] If the export flag kAIFXGExportFlagArtboardsis passed, the artboard range. |  |  | customProgressText | [in] An optional message to display in the progress bar. If NULL, a default message is displayed. |  |  | saveWarnings | [out] A list to store warning message ids, which gets generated while saving to FXG. Dispose it via DisposeFXGSaveWarnings(). Pass NULL if you do not want to receive any warning messages. | 
 Returns:kNoErron success.
 
Retrieves the "Downsample Linked Images" flag from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:True if linked images should be downsampled to 72 ppi, false otherwise. 
 
Retrieves the current expand option for Blends from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:The expand option for Blends, an AIFXGExpandArtOptionEnumvalue.
 
Retrieves the current preserve policy for FXG Filters from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:The preserve policy for FXG Filters, an AIFXGPreservePolicyvalue.
 
Retrieves the current preserve policy for Gradients from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:The preserve policy for Gradients, an AIFXGPreservePolicyvalue.
 
Retrieves the "Include Symbols" flag from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:True if All Symbols should be written in FXG, whether they are used or not. 
 
Retrieves the "Include XMP" flag from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:True if XMP should be written in FXG, 
 
Retrieves the current "Save Illustrator Private Data" flag value from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:True if AI editing capabilities should be preserved using application private data. 
 
Retrieves the rasterize resolution from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:The rasterize resolution, an AIFXGRasterizeResolutionvalue.
 
Retrieves the current preserve policy for Text from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:The preserve policy for Text, an AIFXGPreservePolicyvalue.
 
Retrieves the current FXG version value from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:The FXG version, an AIFXGVersionvalue.
 
Retrieves the number of warnings stored in the FXG save-warnings object.  (Note that this function returns a number, not an error code.)  Parameters:
  
    |  | saveWarnings | [in] The save-warnings object. | 
 Returns:The number of warnings. 
 
Retrieves the "WriteImages" flag from an FXG save-options object.  (Note that this function returns a constant value, not an error code.)  Parameters:
  
  
 Returns:True if images should also be written while exporting FXG. If false, images are not written, which is useful when user is interested in only the XML code. 
 
Retrieves a warning from the FXG save-warnings object.  Parameters:
  
    |  | saveWarnings | The save-warnings object. |  |  | index | The 0-based position index of the warning. |  |  | warningZStr | [out] A buffer in which to return the warning string, in ZString format. Developer is responsible for translating to the appropriate language. | 
 Returns:kNoErrif a warning is found at the given index,kBadParameterErrif the index is invalid,kFXGWarningNotFoundErrif index is valid but the warning string is empty.
 
Sets the "Downsample Linked Images" flag in an FXG save-options object.  Parameters:
  
    |  | fxgSaveParams | [in] A save-options object as returned by CreateFXGSaveParams(). |  |  | aiDownSampleLinkedImages | [in] True if Linked images should be downsampled to 72 ppi, false otherwise. | 
 Returns:kNoErron success.
 
Sets the expand option for Blends in an FXG save-options object.  Parameters:
  
  
 Returns:kNoErron success.
 
Sets the preserve policy for FXG Filters in an FXG save-options object.  Parameters:
  
  
 Returns:kNoErron success.
 
Sets the preserve policy for Gradients in an FXG save-options object.  Parameters:
  
  
 Returns:kNoErron success.
 
Sets the "Include Symbols" flag in an FXG save-options object.  Parameters:
  
    |  | fxgSaveParams | [in] A save-options object as returned by CreateFXGSaveParams(). |  |  | aiIncludeSymbol | [in] True if all symbols should be exported, false if only used symbols should be exported | 
 Returns:kNoErron success.
 
Sets the "Include Symbols" flag in an FXG save-options object.  Parameters:
  
    |  | fxgSaveParams | [in] A save-options object as returned by CreateFXGSaveParams(). |  |  | aiIncludeXMP | [in] True if XMP should be exported. | 
 Returns:kNoErron success.
 
Sets the "Preserve AI Editing capabilities" flag in an FXG save-options object.  Parameters:
  
    |  | fxgSaveParams | [in] A save-options object as returned by CreateFXGSaveParams(). |  |  | aiEditCap | [in] true if editing capabilities should be preserved, false other wise. | 
 Returns:kNoErron success.
 
Sets the rasterize resolution in an FXG save-options object.  Parameters:
  
  
 Returns:kNoErron success.
 
Sets the preserve policy for Text in an FXG save-options object.  Parameters:
  
  
 Returns:kNoErron success.
 
Sets the FXG save version value in an FXG save-options object.  Parameters:
  
  
 Returns:kNoErron success.
 
Sets the "WriteImages" flag in an FXG save-options object.  Parameters:
  
    |  | fxgSaveParams | [in] A save-options object as returned by CreateFXGSaveParams(). |  |  | writeImages | [in] True if images should be written while exporting FXG, false otherwise. | 
 Returns:kNoErron success.
 
 The documentation for this struct was generated from the following file: 
 
 |