FutureProg functions
addprintedwriting
Overload 1
addprintedwriting overload 1
Boolean addprintedwriting(Item item, Number page, Text text, Language language, Script script, Text provenance)
Available in
- computer function
- computer program
- standard futureprog
Adds a new piece of provenance-aware printed writing to a specific page of a book, returning false if the target is not a book, the page is invalid, or the text will not fit.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The book item to receive the printed writing |
page |
Number |
The page number to write to |
text |
Text |
The printed text to add |
language |
Language |
The language of the printed text |
script |
Script |
The script of the printed text |
provenance |
Text |
The publisher, source, or provenance text to display for this writing |
Overload 2
addprintedwriting overload 2
Boolean addprintedwriting(Item item, Number page, Text text, Language language, Script script, Text provenance, Text colour, Text style)
Available in
- computer function
- computer program
- standard futureprog
Adds a new piece of provenance-aware printed writing with explicit colour and style to a specific page of a book, returning false if validation fails.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The book item to receive the printed writing |
page |
Number |
The page number to write to |
text |
Text |
The printed text to add |
language |
Language |
The language of the printed text |
script |
Script |
The script of the printed text |
provenance |
Text |
The publisher, source, or provenance text to display for this writing |
colour |
Text |
The colour name or ID for the printed text |
style |
Text |
The writing style descriptor, or multiple descriptors separated by commas, pipes, or plus signs |