/

 

The manual

Self-training

Experimentation

Contact

 

Language

Automatic processing in stacks of sheets

Browse the different sheets

Browse all the sheets contained in stacks in the current page:

each_sheet
  ...

Browse only the (usually the) visible sheets of a stack:

each_sheet visible
  ...

Browse only the sheets that have been selected (in organize mode):

each_sheet selection
  ...

Warning: 'selection' is not yet implemented.

Access or modify the header fields of a sheet

The header of a sheet is arbitrarily defined as three fields that allow you to specify when, who, what.

When

var DateTime dt := sheet_date

sheet_date := datetime

who

var Str s := sheet_from

sheet_from := "Claude"

What

var Str s := sheet_subject

sheet_subject := "Devis n°6253"

'sheet_subject' is the new name replacing 'sheet_title'

Create a new sheet

new_sheet ...
  ...

The position options usable by 'new_sheet' are the same as those usable by 'new_form'. However, the 'stack' option must always be used because you can only create a sheet in a stack.

Automatically arrange a sheet

Move sheet

move_sheet ...

The position options usable by 'move_sheet' are the same as those usable by 'new_form'. However, the 'stack' option must always be used because you can only move a sheet from one stack to another.

From: Hubert Tonneau   2015-08-14 17:38:43

Il serait peut être bon de lever cette contrainte pour permettre de transformer une feuille en une simple sous page.

Explode the contents of the sheet

We move the content as with 'move_sheet', but it is not the sheet that we move but the various elements it contains. The sheet itself, as a container disappears in passing.

split_sheet ...

The position options used by 'split_sheet' are the same as those used by 'new_form'.

Delete sheet

delete_sheet