table style table
Style Library
This function applies style and formatting to a whole table or sheet
Don't forget to include 'Style Library' at the top of your program
4, 6, 8, etc.
No. | Type | Description |
---|---|---|
1. input |
string | Name fo existing table |
2. input |
string | Formatting Coverage See formatting coverages. Valid values are:
|
3, 5, ... input |
string | Generic Attribute Name See generic attribute names for available names. |
4, 6, ... input |
string | Generic Attribute Value See generic attribute values for valid values. Different rules apply for the different generic attribute names. |
table load( t, "Examples\Cities.csv" );
table style table( t, sheet, column width, 24, wrap text, true );
table style table( t, body, text color, navy );
table save( t, "Images/Style_Function_table_style_sheet.html", HTML );
table save( t, "Images/Style_Function_table_style_sheet.xls", EXCEL );
table save excel file( t, Contents, "Images/Style_Function_table_style_sheet.xlsx" );
echo("Done.");
Saved table(s) to EXCEL file 'Images/Style_Function_table_style_sheet.xlsx' containing 1 sheets.
Done.
Test Click on the file name view the result: Style_Function_table_style_sheet.html.
Test Click on the file name open the file with Excel XML 2003: Style_Function_table_style_sheet.xls (Excel XML 2003 format - confirm the message box query).
Test Click on the file name open the file with Excel (.xlsx) : Style_Function_table_style_sheet.xlsx (Excel .xlsx format).