Changes between Version 17 and Version 18 of SCRIPTING_ACTIONS_API_R0


Ignore:
Timestamp:
08/03/09 20:54:28 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SCRIPTING_ACTIONS_API_R0

    v17 v18  
    154154 
    155155= Comments = 
    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);}}}