Following is the list of data types in macros. Properties can be of one of
these data types and variables can be of one of the base types.
||Any positive or negative integral or floating point value or zero (0)
||This is the type of date/time related properties (e.g. createdTime,
lastModifiedTime) in several objects. If converted to a string or used
in a string context (as a parameter to ) it has the following
as specified here.
can be used to easily retrieve parts of this and
convert them to user readable strings.
||A set of values of any base type. See Arrays.
||A OneNote object or a dialog box.
Restricted types are String types that can only have one of a set of possible values.
||none, partial, all
||Type of the selection property in several objects. For objects
that aren't selected, it will have a value of "none", while for selected objects it will have a value
of "all" or "partial" depending on how much of it is selected. For instance a partially selected
paragraph will have a value of "partial".
||none, super, sup
||Type of the supersub property in Text and Paragraph objects.
If the text is formatted as a superscript or subscript, then it will have a value of "super"
or "sub" value, otherwise it will have a value of "none".
||image, table, text, ink drawing, ink writing, embedded file, embedded media, unknown
||Type of the contentType property in Paragraph objects.
||6-digit hex color value (#RRGGBB) or a color name like: black, blue, brown, cyan, gray, green, magenta, orange, pink, purple, red, white, yellow
||Type of the color properties (e.g. fontColor, highlightColor) in several objects.
||png, jpg, emf
||Type of the format property in Image objects.
||left, center, right
||Type of the alignment property in Paragraph objects.
||Type of the orientation property in Page objects.
||NotebookRoot, Notebook, SectionGroup, Section, Page, Title, Outline, Table, Column, Row, Cell, Paragraph, Text, Image, EmbeddedFile
||Type of a OneNote object.