Changes for page Exports

Last modified by Vincent Massol on 2024/01/05

From version 30.1
edited by Raluca Moisa
on 2010/12/16
Change comment: There is no comment for this version
To version 32.1
edited by Vincent Massol
on 2011/01/13
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.RalucaMoisa
1 +XWiki.VincentMassol
Content
... ... @@ -25,9 +25,15 @@
25 25  http://server/xwiki/bin/export/Space/Page?format=pdf
26 26  {{/code}}
27 27  
28 +To export several pages as PDF use the following type of URL (see the ##pages## parameter below):
29 +
30 +{{code language="none"}}
31 +http://server/xwiki/bin/export/Space/Page?format=pdf&pages=Admin.Page_A&pages=Admin.Page_B&pages=Admin.Page_C...
32 +{{/code}}
33 +
28 28  In addition the following URL parameters can be added to refine what should be exported:
29 29  
30 -* ##pages##: there can be several such parameters, each representing a page to export. For example: ##&pages=Main.WebHome&pages=Blog.WebHome##.
36 +* ##pages##: there can be several such parameters, each representing a page to export. For example: ##&pages=Main.WebHome&pages=Blog.WebHome##. {{info}}When ##pages## parameters are specified, the current document specified in the URL isn't used{{/info}}
31 31  * ##includechilds##: the value is a number specifying the depth of children pages to include in the PDF export. For example ##&includechilds=2## will include all children pages of the page to export, all its children (i.e. pages which have the page as its parent) and all the children's children.
32 32  * ##includelinks##: the value is a number specifying the depth of linked pages to include in the PDF export. For example ##&includelinks=2## will include all pages linked from the page to export and the links in the linked pages.
33 33  * ##pagebreaks##: if the value is set to ##1## then a page break is inserted between all exported pages.

Get Connected