Yes create one.
For the translation either create a translation page or override the
templates using it
Envoyé de mon iPhone
Le 3 mai 2010 à 21:22, Wilson Leão Neto <wilson.leao.neto(a)gmail.com>
a écrit :
Hello Ludovic!
Here it is: XWIKI ENTERPRISE 2.2.5.28407
There's no pdf.css. Should I create one?
I have another question. Could you tell me where do I find the
content of this msg: $msg.get('core.pdf.tableOfContents').
I wanna be able to create some more and eventually change the
already existing ones.
Best regards,
Wilson
2010/5/3 Ludovic Dubost <ludovic(a)xwiki.com>
Which version of XWiki are your running on ?
I've been using this succesfully on multiple projects.
--
Can you try directly modifying pdf.css in webapps/xwiki/templates/
--
However, note that pdf.css can only be used to style using "id" and
"element", but not classes.
There is a patch for this in:
http://jira.xwiki.org/jira/browse/XWIKI-4869
Le 03/05/10 19:04, Wilson Leão Neto a écrit :
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<sergiu(a)xwiki.com>
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#HCustomiz…
And I've tried to export the pdf using the URL:
http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdf&pdfco…
<
http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdf&pdfco…
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<vincent(a)massol.net>
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#HCustomiz…
Thanks
-Vincent
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost