Hello,
I have a lot of XML document with unsupported characters (according pdfbox library) and I would like to generate preview for them. By default, generation is provided by the pdfbox library, which returns following errors:
java.lang.IllegalArgumentException: U+000A ('controlLF') is not available in this font Helvetica (generic: ArialMT) encoding: WinAnsiEncoding...
if I change the mimetype to plain/text, the preview generation is provided by jodconverter and libreoffice, then everything is fine.
Is there any way to disable pdfbox to generate XML preview? Ideally replace it with libreoffice and set the same behavior as for mime type plain / test.
Thank you.
Any idea how to fix mentioned error? (char "Řř" in xml). It is possible to change default transofmation algorithm?
Thank you for answer. I saw the websites. In my case, there is unsupported character "Ř" (according pdfbox documentation). I have to either change the code on the alfresco side or just not to use the pdfbox library and leave everything on libreoffice. I wonder if I'm able to somehow change the tool that generates preview for specific mimetype.....in case of emltopdf conversion, use libreoffice
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.