FutureProg functions

addprintedwriting

Items · computer function, computer program, standard futureprog

Boolean addprintedwriting(Item item, Number page, Text text, Language language, Script script, Text provenance)
Contexts: 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.
item: The book item to receive the printed writing
page: The page number to write to
text: The printed text to add
language: The language of the printed text
script: The script of the printed text
provenance: The publisher, source, or provenance text to display for this writing

Boolean addprintedwriting(Item item, Number page, Text text, Language language, Script script, Text provenance, Text colour, Text style)
Contexts: 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.
item: The book item to receive the printed writing
page: The page number to write to
text: The printed text to add
language: The language of the printed text
script: The script of the printed text
provenance: The publisher, source, or provenance text to display for this writing
colour: The colour name or ID for the printed text
style: The writing style descriptor, or multiple descriptors separated by commas, pipes, or plus signs

← Back to FutureProg functions