null

Skip to end of banner
Go to start of banner

Word table filling

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

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]
. . .
TABLES=n
. . .

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.
For each table one [TABLEn] and for each line in this table a [TABLEnROWn] section must be inserted in the buffer.

[TABLEn]
ROWS=n
ROWSBOOKMARK=bookmarkname

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).
Color codes:

  • BLACK
  • BLUE
  • BRIGHTGREEN
  • BROWN
  • DARKBLUE
  • DARKRED
  • DARKYELLOW
  • GREEN
  • PINK
  • RED
  • TEAL
  • TURQUOISE
  • VIOLET
  • WHITE
  • YELLOW

COLn/p/s=content

For each column in each row, at least one COL parameter is required.
n = Column, each column must be provided. The columns of the first filled row defines the count of columns for the whole table.
p = starting with 1 the paragraphs to be written in the column.
s = Optional. Allows to split the content to be filled in multiple definition lines. Starting with 1. All such parameters are filled in the same paragraph, separated by space.
content = the content to be filled into the column / cell. See following parts for special values.

<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.
Note that also for merged cell the COL parameter with any value is required. Best use the <SP> special value.

<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.

  • No labels