<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change pdfbox configuration to generate XML preview by Libreoffice in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138460#M37094</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81186"&gt;@miroslav&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if you've seen these SO threads - &lt;A title="open in a new window" href="https://stackoverflow.com/questions/46644570/pdfbox-u000a-controllf-is-not-available-in-this-font-helvetica-encoding" target="_blank" rel="noopener nofollow noreferrer"&gt;one&lt;/A&gt;, &lt;A title="opens in a new window" href="https://stackoverflow.com/questions/42228567/remove-illegal-characters-from-string-with-pdfbox" target="_blank" rel="noopener nofollow noreferrer"&gt;two&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 12:45:41 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2021-05-11T12:45:41Z</dc:date>
    <item>
      <title>How to change pdfbox configuration to generate XML preview by Libreoffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138458#M37092</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a lot of XML document with unsupported characters (according pdfbox library) and&amp;nbsp;I would like to generate preview for them. By default,&amp;nbsp;generation is provided by the pdfbox library, which returns following errors:&lt;/P&gt;&lt;PRE&gt;java.lang.IllegalArgumentException: U+000A ('controlLF') is not available in this font Helvetica (generic: ArialMT) encoding: WinAnsiEncoding...&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;if I change the mimetype to plain/text, the preview generation is provided by jodconverter and libreoffice, then everything is fine.&lt;BR /&gt;&lt;BR /&gt;Is there any way to disable pdfbox to generate XML preview?&amp;nbsp;Ideally replace it with libreoffice and set the same behavior as for mime type plain / test.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 12:45:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138458#M37092</guid>
      <dc:creator>miroslav</dc:creator>
      <dc:date>2021-04-20T12:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pdfbox configuration to generate XML preview by Libreoffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138459#M37093</link>
      <description>&lt;P&gt;Any idea how to fix mentioned error? (char "Řř" in xml). It is possible to change default transofmation &lt;SPAN&gt;algorithm?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 10:11:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138459#M37093</guid>
      <dc:creator>miroslav</dc:creator>
      <dc:date>2021-05-04T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pdfbox configuration to generate XML preview by Libreoffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138460#M37094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81186"&gt;@miroslav&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if you've seen these SO threads - &lt;A title="open in a new window" href="https://stackoverflow.com/questions/46644570/pdfbox-u000a-controllf-is-not-available-in-this-font-helvetica-encoding" target="_blank" rel="noopener nofollow noreferrer"&gt;one&lt;/A&gt;, &lt;A title="opens in a new window" href="https://stackoverflow.com/questions/42228567/remove-illegal-characters-from-string-with-pdfbox" target="_blank" rel="noopener nofollow noreferrer"&gt;two&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 12:45:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138460#M37094</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-05-11T12:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pdfbox configuration to generate XML preview by Libreoffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138461#M37095</link>
      <description>&lt;P&gt;Thank you for answer. I saw the websites. In my case, there is unsupported character "Ř" (according pdfbox documentation).&amp;nbsp;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&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 11:05:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-pdfbox-configuration-to-generate-xml-preview-by/m-p/138461#M37095</guid>
      <dc:creator>miroslav</dc:creator>
      <dc:date>2021-05-14T11:05:22Z</dc:date>
    </item>
  </channel>
</rss>

