Please enable JavaScript to view this site.


Read-only property of the script line: Book Format.


The property "# Defined Pages" tells you the number of pages for which you have defined content. It is the total number of pages for all the script lines you have defined.


For example: 2 blank pages, 8 pages of Place Holders, 26 pages of Quark Pages, and a DiaryGrid for 52 pages.


As an additional convenience, the value of this property is also displayed, in the scripts editor, in the Book Format script line.


If the value of this property is equal to that of the signature pages property, then that number is displayed alone (as shown above on the left). If the two values differ, then both are displayed with the number of defined pages appearing first (as shown below).


This property is useful in conjunction with the signature pages property, which tells you the number of available pages physically available following the signatures property layout. Q++Studio will generate a design-time error if there are too many defined pages as compared to the number of signature pages, and a warning if there are too few pages.


Note that when script lines have a force start property set to a value different than "none", this can cause the insertion of additional blank pages which may make the "# Defined Pages" count inexact. This can only be checked when running a script, and at that point Q++Studio will issue a run-time warning. This type of occurrence should be a signal that there are ambiguities in the overall layout of your diary.


Topic 021000, last updated on 17-Aug-2020