Hi,

On Wed, Aug 25, 2010 at 16:22, Luiz Marcelo Serique <
[email protected]> wrote:

> Hu guys,
>
> there is any way to supress content parts from the pdf report?
>
> Here is the problem:
>
> Most of pages have a toc macro with this code
>
> {{box cssClass="floatinginfobox"}}
> {{toc depth="3"/}}
> {{/box}}
>
> As we know, the pdf report also puts a toc page.
>
> My reports are getting two tocs, one from report and one from content.
>
> But i do not want to remove de pdf toc because some wiki pages do not have
> the content toc.
>
> There is a way to supress the content toc from appearing in the pdf report?
>

{{velocity}}
#if($context.action != 'export')
your stuff here
#end
{{/velocity}}

Guillaume

thanks
>
> --
> L. Marcelo Serique
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to