Using the ProOfficeLib customer exit "Office Integration" \ "Write additional values in file for value assignment", tables can be filled in a Word document. Tables are filled starting at a bookmark to be inserted in the very first column of the row where the filling has to start. Existing content starting from this point will be removed and replaced by the content supplied from SAP.
Data for table filling is never provided by standard ProOffice. Any data for table filling must be inserted in the buffer using description below. |
Following the syntax to be used in the data buffer for filling tables.
Area / Keywords | Description |
---|---|
[INFO] | In the existing INFO section of the filling data, add the Keyword TABLES with a numeric value with defines how many tables to be filled will follow. |
[TABLEn] | For each table one [TABLEn] section must be inserted in the buffer. Within this section the count of rows and the bookmark marking the start to fill in the data must be definied. |
[TABLEnROWn] | For each row, depending on the count defined using the ROWS keyword in the corresponding [TABLEn] section, a section must be inserted. |
BACKGROUNDINTENSITY | The Intensity of the background from 0 to 100 in steps of 10. Without BACKGROUNDCOLOR, the background is white (BACKGROUNDINTENSITY = 0), grey (BACKGROUNDINTENSITY = 10 - 90) or black (BACKGROUNDINTENSITY = 100). |
BACKGROUNDCOLOR | The color of the background. Use either the color codes from the list below or the RGB code (6 characters hexadecimal).
|
COLn/p/s=content | For each column in each row, at least one COL parameter is required. |
<CM> | Merges the current cell with the next. When used multiple times, each next cell for each time used <CM> will be merged to the current cell. |
<SP> | Inserts a empty line / paragraph. |
<CR> | Inserts a line break (not a new paragraph). |
<HT> | Inserts a horizontal tab. |
<CHn> | Inserts the special character defined with the value n. |
<FSn> | Sets the font size for the current cell to n. |
<FB> | Toggles bold on / off. |
<FI> | Toggles italics on / off. |
<FU> | Toggles unterline on / off. |
<FR> | Resets all format settings the paragraph default |
Format settings always apply to the actual cell. Starting a new cell with the COL parameter resets the formatting. |