156 | | ^(Write comments for this or later revisions here.) |
| 156 | |
| 157 | == Basic User Documentation == |
| 158 | |
| 159 | * Working with books: |
| 160 | * A global variable {{{book}}} is available which represents the book where the script is inserted. |
| 161 | * Users can create new books and later manipulate them. |
| 162 | * Example: {{{var b = app.newBook()}}} |
| 163 | * Book properties that can be read or changed: (this section could be organized as a table with four columns) |
| 164 | * Property | Type | Description | Examples |
| 165 | * title | string | Book's title | {{{book.title = 'Demonstration Book'}}} |
| 166 | * pageSize | ImmSize | Page's dimensions | Getting the page height: {{{var height = book.pageSize.height}}}; Setting new dimensions: {{{book.pageSize = new ImmSize(600, 900);}}} |