From version 22.10
edited by Admin
on 2016/10/25 00:27
To version 23.1
edited by Gabriela Anechitoaei
on 2017/01/03 17:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Admin
1 +xwiki:XWiki.ganechitoaei
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -56,8 +56,10 @@
56 56  
57 57  The following will export the pages ##Blog.BlogIntroduction##, ##Sandbox.WebHome## and ##Sandbox.TestPage1## in a pdf where each of the exported documents has individual header and footer but they don't start on an odd page.
58 58  {{code}}
59 +{{velocity}}
59 59  #set($docsToExport = ['Blog.BlogIntroduction', 'Sandbox.WebHome', 'Sandbox.TestPage1'])
60 60  $services.pdfexporter.export("My test pdf", $docsToExport, true, false)
62 +{{/velocity}}
61 61  {{/code}}
62 62  
63 63  Whether the exported pdf has a cover and or a table of contents depends of the values of the ##pdftoc## and ##pdfcover## request parameters of the page where the above code is executed.
Show installed count
... ... @@ -1,0 +1,1 @@
1 +Yes

Get Connected