top-row
Marks a column that receives a constant: the index of the first (top) row of the record's block inside the template worksheet. Together with bottom-row, leftmost-column and rightmost-column it describes the bounding rectangle of the table the record was extracted from.
pebblestream:top-row
Syntax
pebblestream:top-row
- No arguments.
- Placed on the header cell of the column that should hold the constant.
- Requires
template-nameon the same worksheet.
Example
| column | header | comment |
|---|---|---|
| A | Block top | pebblestream:top-row |
| B | Block bottom | pebblestream:bottom-row |
| C | Item |
Every record extracted from a block starting at row 4 of the template gets 4
in the Block top column.
Errors
| Error | Cause |
|---|---|
dir-too-many-args | Arguments were supplied. |
missing-the-template-name-directive | The sheet has no template-name. |
Related
- Template directives — how extraction works
- bottom-row — the other vertical bound
- block-row-count — height of the block
Updated about 8 hours ago
Did this page help you?

