Skip to main content

Module model

Module model 

Source
Available on crate feature javascript only.
Expand description

What the host tells the realm about the document, and about its fields.

ScriptCascade holds no document on purpose, so its caller reads the catalog and hands the answers over. These are plain records: no Resolve, no Dict, no borrow of anything.

It is not a document handle. Nothing here can reach back into the session, open a file or resolve an object, which is the whole of why Doc.submitForm cannot exfiltrate a document it was never given.

It is not a snapshot that updates itself — but values are, because a calculation sweep writes them and a later script must read what it wrote.

Structs§

AnnotModel
One annotation Doc.getAnnot can find and Doc.getAnnots lists.
DocumentModel
Everything the Doc object answers from.
FieldModel
One terminal field, as a script sees it.
FieldModelFlags
The /Ff bits a script reads, named rather than numbered.

Enums§

FieldModelKind
What kind of field a script sees, in the oracle’s own vocabulary.

Functions§

read
Reads a whole document into a DocumentModel.