Selected Pages

Navigation:  ScriptLine Properties >

Selected Pages

Previous pageReturn to chapter overviewNext page

Property of the ScriptLine : QxdPages.


Use this property to select the pages of the pages of the selected Qxd File, to include in the current script's output file.


The format used to determine the page selection is analogous to that used in most commercial software "Print" dialogs :


Individual pages are separated by a comma (1,2,3,11,23,25).


Page ranges can optionally be indicated by a hyphen (1,3,5-12,22,25).


A trailing hyphen means "from this page until the end" (1,3,5-12,22,31-), and so "all pages" is denoted by "1-".


There should be no spaces anywhere in the page selection string.


As long as no file is selected in "Qxd File", Q++Studio will only verify if the above syntax is followed, and issue warnings to highlight possible typos :


Repeated pages such as "1,3,3,10-". The repeated page is ignored and this would be treated the same as "1,3,10-".


Degenerate ranges such as "1,5-5,12". This is interpreted as "1,5,12".


Inverted ranges such as "1,2,9-5,12-". This is interpreted as "1,2,9,12".


Once a file is selected, Q++Studio will issue a warning if the page selection string you define exceeds the number of pages in that file (for example, using "1,2,5,33-" for a 12 page file).


Note :


When this property is not in edit mode, Q++Studio will display the page range string in a user-friendly manner (displaying, for example, "p. 1-end" instead of "1-"). That is a display format that should not be used to enter the page selection; use the rules above.


If a file is selected, the actual number of pages which will appear in the OPF will automatically be updated and displayed in the Selected # Pages property.

Topic 81000 updated on 03-May-2018.
Topic URL: