The XLS formatting nodes work only in combination, therefore a single node will not do the job. Please refer to the overview for the basic concept behind the XLS Formatting functionality.
No. This node only applies formatting to cells and sheets, it does not overwrite the existing XLS file’s cell contents.
There are three sources of information:
This is a regular KNIME data table, which follows XLS naming logic for column headers (A, B, C, …) and RowIDs (1, 2, 3, …). It is designed to feed user specific content into the formatting nodes, e.g. colors, column widths, hyperlinks, etc. These tables are never directly written to XLS files by the extension, their content is rather translated to the green port objects, which are ultimately written in one pass to an XLS file via the XLS Formatter (apply) node.
We recommend using the XLS Control Table Generator node and its ‘unpivot result table’ option. See the example on the KNIME Hub to learn this pattern. For more sophisticated use cases, you can always diverge from this recommendation, e.g. start with the XLS Control Table Generator, perform some data wrangling, and then pivot it back to a wide table layout yourself. Remember to fix the column headers and row IDs, e.g. by applying the XLS Control Table Generator node with the ‘unpivot result table’ option unchecked.
No, currently this is not possible. The original idea of this extension is to add formatting to XLS files written by KNIME. Internally, the XLS specification works with styles (as opposed to storing formatting instructions per cell). To avoid matching existing with the new required styles and even potentially having incompatibilities with new XLS features not yet covered in the standard open source libraries, we limit the applicability of our nodes to previously unformatted files. Please refer to the KNIME Forum and its many useful hints on how to use e.g. Python snippets to fulfill this task.
Yes, definitely. This is the strength of the extension. XLS Control Tables can be derived from your input data and can hence adjust to the structure of the target file. Please refer to the example on the KNIME Hub.
Some nodes in the extension behave differently depending on the input data you connect. E.g. the XLS Control Table Generator will recognize whether you used the same node previously and now want to pivot the table back to the wide layout. Please refer to the node descriptions and examples on the KNIME Hub to learn more about how to configure these nodes via your choice of input tables rather than the greyed-out dialog elements.
XLS Control Table contents are usually arbitrary tags that will never make it to the final XLS file. But in some cases, they are also used to feed user specific content to the formatting nodes instead of tags. These are
Some sequences are obvious, e.g. XLS Control Table Generator is rather at the start and XLS Formatter (apply) at the end.
Node sequence becomes relevant especially in case of the XLS Sheet Selector node. It must be placed in front of any formatting instructions for that sheet. If the XLS Format Merger is used to combine instructions targeting different sheets, no additional formatting instructions are allowed afterwards.
All workflows created in a specific version will continue to work in future versions of KNIME and the extension. The same holds for XLS Formatting port object content written to disk via the Model Writer node.