Hi there - I have produced a table in a word document using the MSWordStyler and word writer. However I would now like to add a title to the word document above the table and I’m not sure how I do this. I would be grateful for some advice please. Thanks Ruth
The Microsoft Word Writer writes the features one at a time, in the order in which they are received, so you need to make sure the title is received before the table.
Add an attribute that sets the order you want (so the title gets value 1, the table gets value 2), pass the results of all MSWordStylers to a Sorter (and sort on this attribute), and connect the output of the Sorter to your Microsoft Word Writer.
Thanks very much - that worked!
The Microsoft Word Writer writes the features one at a time, in the order in which they are received, so you need to make sure the title is received before the table.
Add an attribute that sets the order you want (so the title gets value 1, the table gets value 2), pass the results of all MSWordStylers to a Sorter (and sort on this attribute), and connect the output of the Sorter to your Microsoft Word Writer.
Its a good job.