Hi everybody,
Is it possible to output a table structure in content of a doc file (by script) ?
Thanks,
Yassine
Hi everybody,
Is it possible to output a table structure in content of a doc file (by script) ?
Thanks,
Yassine
Hi Yassine,
you may do that, using the WYSIWYG-editor.
Just enter a static- or a data-table and use RTF as an output format.
Regards,
Markus
Hi Yassine,
You can also code it.
oOutFile.BeginTable(100, Constants.C_TRANSPARENT, Constants.C_TRANSPARENT, Constants.FMT_CENTER, 0); // Begin table // Set the style for the table oOutFile.SetFrameStyle(Constants.FRAME_TOP,0); oOutFile.SetFrameStyle(Constants.FRAME_BOTTOM,0); oOutFile.SetFrameStyle(Constants.FRAME_LEFT,0); oOutFile.SetFrameStyle(Constants.FRAME_RIGHT,0); oOutFile.TableRow(); // Initialize first row oOutFile.TableCellF("First cell, first row", 50, "YOUR_FORMAT"); // Use DefineF() to define YOUR_FORMAT. oOutFile.TableCellF("Second cell, first row", 50, "YOUR_FORMAT"); oOutFile.TableRow(); // Initialize second row oOutFile.TableCellF("First cell, second row", 100, "YOUR_FORMAT"); oOutFile.EndTable("", 100, "Helvetica", 14, Constants.C_BLACK, Constants.C_TRANSPARENT, 0, Constants.FMT_CENTER,0);
Check out the Aris Script help to get further information about the Output File methods.
Hope this helps.
Fernando N.