OUTPUT EXPORT
The OUTPUT EXPORT command exports output from an open Viewer
document to an external file format.
OUTPUT EXPORT [NAME = {* }]
{name}
[/CONTENTS [EXPORT = {ALL** }]]
{VISIBLE}
[LAYERS = {PRINTSETTING**}]
{ALL }
{VISIBLE }
[MODELVIEWS = {PRINTSETTING**}]
{ALL }
{VISIBLE }
[/DOC DOCUMENTFILE = 'filespec']
[NOTESCAPTIONS = {YES**}]
{NO }
[WIDETABLES = {WRAP**}]
{SHRINK}
{ASIS }
[PAGESIZE = {INCHES(width,height)}]
{MM(width,height) }
[TOPMARGIN = {INCHES(n)}]
{MM(n) }
[BOTTOMMARGIN = {INCHES(n)}]
{MM(n) }
[LEFTMARGIN = {INCHES(n)}]
{MM(n) }
[RIGHTMARGIN = {INCHES(n)}]
{MM(n) }
[PAGEBREAKS = {YES**}]
{NO }
[/HTML DOCUMENTFILE = 'filespec']
[NOTESCAPTIONS = {YES**}]
{NO }
[IMAGEFORMAT = {JPG**}]
{BMP }
{PNG }
[STYLING = {YES** }
{NO }
[INTERACTIVELAYERS = {NO**}]
{YES }
[/PDF DOCUMENTFILE = 'filespec']
[EMBEDBOOKMARKS = {YES**}]
{NO }
[EMBEDFONTS = {YES**}]
{NO }
[/PPT DOCUMENTFILE = 'filespec']
[NOTESCAPTIONS = {YES**}]
{NO }
[SLIDETITLES = {YES**}]
{NO }
[WIDETABLES = {WRAP**}]
{SHRINK}
{ASIS }
[SLIDESIZE = {INCHES(width,height)}]
{MM(width,height) }
[TOPMARGIN = {INCHES(n)}]
{MM(n) }
[BOTTOMMARGIN = {INCHES(n)}]
{MM(n) }
[LEFTMARGIN = {INCHES(n)}]
{MM(n) }
[RIGHTMARGIN = {INCHES(n)}]
{MM(n) }
[/TEXT DOCUMENTFILE = 'filespec']
[ENCODING = {LOCALE**}]
{UTF8 }
{UTF16 }
[NOTESCAPTIONS = {YES**}]
{NO }
[COLUMNWIDTH = {AUTOFIT**}]
{width }
[SEPARATOR = {SPACE**}]
{TAB }
[ROWBORDER = {'-'** }]
{'character'}
[COLUMNBORDER = {'|'** }]
{'character'}
[IMAGEFORMAT = {JPG**}]
{BMP }
{EMF }
{EPS }
{PNG }
{TIF }
{SVG }
[/{XLS|XLSX|XLSM} DOCUMENTFILE = 'filespec']
[OPERATION = {CREATEFILE**}]
{CREATESHEET }
{MODIFYSHEET }
[SHEET = {'sheetname'}]
[LOCATION = {LASTCOLUMN** }]
{LASTROW }
{STARTCELL@@('cellref')}
[NOTESCAPTIONS = {YES**}]
{NO }
[/BMP IMAGEROOT = 'rootname']
[PERCENTSIZE = {100**}]
{n }
[COMPRESS = {NO**}]
{YES }
[/EMF IMAGEROOT = 'rootname']
[PERCENTSIZE = {100**}]
{n }
[/EPS IMAGEROOT = 'rootname']
[WIDTH = {PERCENT**({100**})}]
{n }
{CENTIMETERS(n) }
{INCHES(n) }
{POINTS(n) }
[PREVIEW = {YES**}]
{NO }
[FONTHANDLING = {REFERENCES**}]
{CURVES }
[/JPG IMAGEROOT = 'rootname']
[PERCENTSIZE = {100**}]
{n }
[GRAYSCALE = {NO**}]
{YES }
[/PNG IMAGEROOT = 'rootname']
[PERCENTSIZE = {100**}]
{n }
[DEPTH = {SCREEN** }]
{BLACKWHITE}
{GRAYS256 }
{COLORS16 }
{COLORS256 }
{TRUE24BIT }
{TRUE32BIT }
[/TIF IMAGEROOT = 'rootname']
[PERCENTSIZE = {100**}]
{n }
[/SVG IMAGEROOT = 'rootname']
[PERCENTSIZE = {100**}]
{n }
** Default if the subcommand or keyword is omitted.
@@ STARTCELL is not designed to overwrite existing worksheet data. The export can result in corrupted tables and an unusable worksheet in cases where STARTCELL overwrites existing worksheet data.
This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.
Syntax for
the OUTPUT EXPORT command can be generated from the Export output dialog.
Release History
Release 17.0
- Command introduced.
Release 21.0
- Subcommands
XLSXandXLSMadded. -
STYLINGkeyword added toHTMLsubcommand. -
BREAKPOINTSkeyword added toDOCsubcommand.
Release 22.0.
- Subcommand
REPORTadded. INTERACTIVELAYERSkeyword added toHTMLsubcommand
Release 27.0
- The
REPORTsubcommand was deprecated. TheREPORTsubcommand syntax has been mapped to theHTMLsubcommand.
Example
OUTPUT EXPORT
/DOC DOCUMENTFILE='/mydocs/myresults.doc'.