Hi,
On 09 May 2016, at 20:30, lanouettea
<andre.lanouette(a)lrtech.ca> wrote:
Let's say I have a page hirearchy like this:
- A
- - B
- - C
and page B contains an image. When I export page A with children, the page B
in the resulting PDF does not contain the image.
The url parameters used to perform the export are
?format=pdf&pagebreaks=1&attachments=1&includelinks=0&includechilds=6
The image is specified as an attachment of page B, and added into the page
using [[image:activation.png]].
From the tomcat log, I see that the image URL cannot be found.
https://BASE_URL/bin/download/SPACENAME/WebHome/activation.png,
where BASE_URL is my site domain and SPACE_NAME is the name of the space.
Is this a known issue? WHat do you suggest I do to get the image exported in
the PDF as well?
First, you should know that the “includechilds” parameter for the PDF export is the old
notion of parent/child relationship which has been deprecated in favor of Nested Pages
starting with XWiki 7.4+. So for this parameter to have any action you need B to have A as
parent in the sense of the parent/child relationship.
Is that the case?
In short, we need to modify the PDF export to support exporting Nested Pages children.
I’ve just created
http://jira.xwiki.org/browse/XWIKI-13404 for you, which you may watch to
receive notifications on progress (ofc if you can, you could also contribute some patches
to fix that more quickly :)).
Thanks
-Vincent
Thank you,
--
View this message in context:
http://xwiki.475771.n2.nabble.com/PDF-Page-Export-with-children-does-not-co…
Sent from the XWiki- Users mailing list archive at
Nabble.com.