Export of InDesingn documents to XML.
Export of InDesingn documents to XML.
static int export_(char* destPath = 0)
Export the current front document to an XML file.
Texts can be exported as plain text without any styles, colors, ... or as TaggedText. To prevend line breaks from mis interpreting, all line breakes are replaced as follows :
Color definitions are exported with seven values :
If a name is given, the color is a defined color panel entry. Non standard colors are fully defined by colorspace and colorarray_1. RGB uses the first three values, CMYK all for values.
Name | Type | Default | Description |
Return | int | 0 or ErrorCode | |
destPath | String or char* | "" | path of export file. 0 or "" : same place and name like the InDesign® document, but with the extender ".xml". relative pathes are located relative to the ID document. full path : output path and name, $-Names are allowed. |
fmt | int | kExportPlain | URL[Export format, see here]{textmodel.html#exportformat} |
Export the current front document to an xml file in ther same folder and with the same name.
int main () { if (gRun > 1) return 1;
xmlexport::export_ ();
return 0; }
Alphabetic index HTML hierarchy of classes or Java