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 :

All attributes are prefixed with a descriptor, for instance fillcolor, fillcolorspace, and so on for the fill color of a frame.

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}
#include "internal/text.h"

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; }

Version 1.3.3 (P/R 48)
~Plus~-formats since v3.3 R2883, 20.04.2012

priint:comet InDesign® Plug-Ins

Since
Version 1.3.3 (P/R 48)

Alphabetic index HTML hierarchy of classes or Java