On Fri, Jan 11, 2013 at 4:18 PM, Desire_cat <c.lenton(a)kelway.co.uk> wrote:
Looks like the
office server fails to convert the XHTML produced by
the XWiki rendering to RTF. You could try to see what part of your
wiki page is preventing the export, and if you have knowledge of XSLT
you can try to adjust the XHTML produced by the XWiki rendering to
please the office server using officeExport.xsl file from
xwiki-platform-legacy-oldcore jar.
Thanks Marius getting back to me, I think I have norrowed it down to the
images of the file, I tried looking in xwiki-platform-legacy-oldcore jar but
I couldnt find file called officeExport.xsl
This is the file
https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-4.1.4/xwiki-pla…
. You can copy it to WEB-INF/classes folder, modify it and restart the
server.
P.S.: RTF is an old format. Unless you are forced
by your organization
to use it, you should move to better formats (PDF, ODT).
I also get this error with ODT but not PDF is this odd
as PDF works and ODT
& RTF don't?
It's not odd because ODT and RFT exports are done through the office
server (if the office server is connected) while the PDF export is
always done using FOP. So the behaviour can be different.
You could try to use a newer version of Open/Libre office or try the
RTF export without the office server connected (the RTF export falls
back on FOP when the office server is not connected).
Hope this helps,
Marius
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Can-t-Export-to-RTF-tp7583253p7583259.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users