Hi Daniel, On 11 Sep 2015 at 16:07:22, Daniel Wuttke ([email protected](mailto:[email protected])) wrote:
Hello there,
I am trying to export a whole XWiki space to PDF for several hours now. And it seems like it is not possible.
I am running XWiki 7.1.1 and I did try the following ways:
1. built-in via http://localhost:8080/xwiki/bin/export/Space/Page?format=pdf&pages=MyTestSpa... or similar approaches. Is there any way to use the "%25" with this approach like it is possible for HTML and XAR exports?
I can answer this question since I’ve just checked the code and right now it doesn’t support regexes/wildcards. I suggest you open a jira issue at http://jira.xwiki.org/browse/XWIKI if you’d like to see this added. Related: * http://jira.xwiki.org/browse/XWIKI-1289 * http://jira.xwiki.org/browse/XWIKI-800# * http://design.xwiki.org/xwiki/bin/view/Improvements/MultiExport I’ll let others answer the other questions since I don’t know those apps well. Note that you should be able to modify pdf.vm quite easily to support wildcars/regexes. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizi... However the apps you mention below should also work fine for this normally. Thanks -Vincent
2. PDF Export Collection Application ( http://extensions.xwiki.org/xwiki/bin/view/Extension/PDF+Export+Collection+A... ) It writes an error to the export pdf file. (Failed to execute the [velocity] macro. Click on this message for details.)
3. XWiki Multipage PDF Export ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+PDF+Export) Did not get it to run, but the docu seems like i need to add any specific page on my own, which is not what i want.
4. XWiki MultipagePdfExport Application - Space Export ( http://extensions.xwiki.org/xwiki/bin/view/Extension/MultipagePdfExport+Appl... ) It is possible to select what to export in the current space, but it does not get exported to the final PDF file.
5. Admin Tools Application ( http://extensions.xwiki.org/xwiki/bin/view/Extension/PDF+Export+Panel+Applic... ) Did not get it to run, but it seems to be a GUI for the first approach. So I do not expect it to work better.
If there are any tricks I should know of with any of those approaches you are welcome to tell me. Totally new ideas/solutions are welcome as well of course.
Hopefully any one can solve this problem since i could not find a solution yet.
Yours Daniel