I've tried with both syntaxes. Either way, it just doesn't work.. :/

I've successfully changed the .vm files. But I'm still not able to apply any
kind of css.

Thanks for the help though.


Best regards,
Wilson


2010/5/3 Sergiu Dumitriu <[email protected]>

> On 05/03/2010 05:50 PM, Vincent Massol wrote:
> >
> > On May 3, 2010, at 5:38 PM, Wilson Leão Neto wrote:
> >
> >> Hello Vincent!
> >>
> >> Thank you for your answer!
> >>
> >> I've followed the tutorial on
> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLookFeel
> >>
> >> And I've tried to export the pdf using the URL:
> >>
> >>
> http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdf&pdfcover=0&pdftoc=0&pdftemplate=XWiki.teste1
> >>
> >> <
> http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdf&pdfcover=0&pdftoc=0&pdftemplate=XWiki.teste1
> >The
> >> XWiki.teste1 page has the "style" textarea property with the following
> code
> >>
> >> h1 {
> >>
> >>     color: white;
> >>
> >>     background: black;
> >>
> >>     margin-left: 3cm;
> >>
> >>     margin-bottom: 9cm;
> >> }
> >>
> >> I'm still not able to see any changes in the exported pdf...
> >>
> >> Any clues on what I'm doing wrong?
> >
> > hmmm... Make sure that page is written in XWiki 1.0 syntax maybe. I have
> no idea if it works in XWiki 2.0 syntax but probably not since this is some
> code older than the new XWiki Syntax 2.0.
>
> It should, since the customization steps are applied on the generated
> content. The only place where the rendering engine is used is in pdf.vm,
> in a call to $pageDoc.getRenderedContent().
>
> > Thanks
> > -Vincent
> >
> >>
> >> Best regards,
> >>
> >> Wilson
> >>
> >>
> >>
> >> 2010/5/3 Vincent Massol<[email protected]>
> >>
> >>> Hi Wilson,
> >>>
> >>> On Apr 30, 2010, at 6:56 PM, Wilson Leão Neto wrote:
> >>>
> >>>> Hello all!
> >>>>
> >>>> I'm working with XWiki and I'm a newbie... I've read the tutorial
> >>> available
> >>>> on http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule and
> the
> >>>> customization part of the pdf export. I'm still clueless on how to do
> it
> >>>> properly... I have java experience, so I can code what is necessary, I
> >>> just
> >>>> don't know where to go.
> >>>>
> >>>> All I want to do is change the default template. Changing the footer,
> >>>> header, TOC and breaking a page on every h1 found.
> >>>>
> >>>> I would be glad if someone could give me a hint.
> >>>
> >>> PDF export is not done using the new rendering system. It's still using
> >>> some older system.
> >>> The customization is described here:
> >>>
> >>>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLookFeel
> >>>
> >>> Thanks
> >>> -Vincent
>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to