Hi,
On 30 Mar 2017, at 06:49, Vishal
<thewikinoteorg(a)gmail.com> wrote:
Consider a page with 4 headings. I can export a whole page as pdf. But how
can I export only a section of 1 heading as pdf instead of whole page with 4
headings..
Example:
Heading 1
(para 1)
Heading 2
(para 2)
Heading 3
(para 3)
Heading 4
(para 4)
Suppose I have to export only Heading 3 with (para 3). What are the ways to
do this?
You can’t do this easily. What you could do is have several pages and {{include}} them in
your top level page so that you can export the page you wish.
An alternative would be to do some coding with scripting but I haven’t done it and can’t
help. The idea would be to create a temporary page with scripting where you’d use the
XWiki XDOM API to extract content you wish to extract and save it in that temporary page
before starting the export on that page.
Thanks
-Vincent
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Export-a-section-of-page-instead-of-whole…
Sent from the XWiki- Users mailing list archive at
Nabble.com.