Re: [xwiki-users] Export a section of page instead of whole page

2017-03-30 Thread Vishal
Thank you. But creating other page to just export a part of page seems inefficient. I have two ideas but don't know how can I do that.. 1) In export page option dialog, giving choice to select or deselect the headings themselves. Just like what currently cover, comments, etc have. 2) Writing a

Re: [xwiki-users] Export a section of page instead of whole page

2017-03-30 Thread Thomas Mortagne
You have a "section" parameter in display macro (see http://extensions.xwiki.org/xwiki/bin/view/Extension/Display%20Macro). The limitation (or the good things depending on what you want exactly) is that it includes the heading itself too. So to use that, what you could do is create another page

Re: [xwiki-users] Export a section of page instead of whole page

2017-03-30 Thread Vincent Massol
Hi, > On 30 Mar 2017, at 06:49, Vishal 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

[xwiki-users] Export a section of page instead of whole page

2017-03-29 Thread Vishal
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