importPage_arg_usage.txt (1,961 bytes)
Index: Scribus/doc/en/scripterapi-page.html
===================================================================
--- Scribus/doc/en/scripterapi-page.html (revision 25090)
+++ Scribus/doc/en/scripterapi-page.html (working copy)
@@ -102,7 +102,7 @@
<dt><a name="-importPage"><strong>importPage</strong>(...)</a></dt>
<dd><code></code>
-<p>importPage("fromDoc", (pageList), [create, importwhere, importwherePage]) Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the "Page->Import" dropdown menu function. fromDoc: string; the filename of the document to import pages from pageList: tuple with page numbers of pages to import create: number; 0 to replace existing pages, 1 (default) to insert new pages importWhere: number; the page number (of the current document) at which import the pages importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document</p></dd>
+<p>importPage("fromDoc", (pageList), [create, importWhere, importWherePage]) Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This function maps the "Page->Import" dropdown menu function. fromDoc: string; the filename of the document to import pages from. pageList: tuple; page numbers of pages to import. create: number; 0 to replace existing pages, 1 (default) to insert new pages. importWhere: number; used if create==1; 0 to create pages before importWherePage, 1 to create pages after importWherePage, 2 (default) to create pages at the end of the document. importWherePage: number; used if create==1 and importWhere==0|1; zero-based page number (of the current document) before or after which to import the pages.</p></dd>
<dt><a name="-newPage"><strong>newPage</strong></a>(...)</dt>
<dd><code>newPage(where [,"masterpage"])</code>