The Export Mixin
Design sets the following requirements for derived designs:
- The Render? Flag is set to False and is no longer a parameter.
- Rule ExportAvailable? As Boolean. Returns true if the functional implementation (add-in) is available and properly initialized.
- Method DoExport (FileName As String), As List.
Method Export (FileName As String), As List.
The filename can be one of the following:
- The full filename with the proper extension for the destination.
- NoValue, if output contains a byte array.
Outputs are generated and return a value containing one of these forms:
- If full filename was specified: List of filenames (one containing item).
- If NoValue was provided, { string-extension, byte-array }.
- Uncached Rule Data is wrapped to DoExport (NoValue).