Hi John,
Thanks for experimenting. If I export the PDF through LibreOffice Writer with the checkbox unchecked, it works as I also get plain text.
This has giving me an idea.
If you disable “Create PDF Form”, this will add a config in the registrymodifications.xcu:
<item oor:path="/org.openoffice.Office.Common/Filter/PDF/Export">
<prop oor:name="ExportFormFields" oor:op="fuse">
<value>false</value>
</prop>
</item>
We replace the registrymodifications.xcu with the libreoffice package during installation/update.
I’ve tried to use it in the jodconverter and sadly it did not give the same result.
I double checked my registrymodifications.xcu and the line was still present.
FYI the registrymodifications
<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<item oor:path="/org.openoffice.Office.Common/Misc">
<prop oor:name="FirstRun" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Misc">
<prop oor:name="Persona" oor:op="fuse">
<value>no</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Misc">
<prop oor:name="PersonaSettings" oor:op="fuse">
<value />
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Misc">
<prop oor:name="UseOpenCL" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Filter/HTML/Export">
<prop oor:name="Encoding" oor:op="fuse">
<value>76</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Filter/HTML/Export">
<prop oor:name="LocalGraphic" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Filter/HTML/Export">
<prop oor:name="Warning" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Common/Filter/PDF/Export">
<prop oor:name="ExportFormFields" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Office.Logging/Settings">
<node oor:name="unopkg" oor:op="replace">
<prop oor:name="LogLevel" oor:op="fuse">
<value>2147483647</value>
</prop>
<prop oor:name="DefaultHandler" oor:op="fuse">
<value>com.sun.star.logging.FileHandler</value>
</prop>
<node oor:name="HandlerSettings">
<prop oor:name="FileURL" oor:op="fuse">
<value>$(userurl)/$(loggername).log</value>
</prop>
</node>
<prop oor:name="DefaultFormatter" oor:op="fuse">
<value>com.sun.star.logging.PlainTextFormatter</value>
</prop>
<node oor:name="FormatterSettings" />
</node>
</item>
<item oor:path="/org.openoffice.Office.Recovery/RecoveryInfo">
<prop oor:name="SessionData" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Setup/L10N">
<prop oor:name="ooLocale" oor:op="fuse">
<value>en-US</value>
</prop>
</item>
<item oor:path="/org.openoffice.Setup/Office">
<prop oor:name="LastCompatibilityCheckID" oor:op="fuse">
<value>728fec16bd5f605073805c3c9e7c4212a0120dc5</value>
</prop>
</item>
<item oor:path="/org.openoffice.Setup/Office">
<prop oor:name="OfficeRestartInProgress" oor:op="fuse">
<value>false</value>
</prop>
</item>
<item oor:path="/org.openoffice.Setup/Office">
<prop oor:name="ooSetupInstCompleted" oor:op="fuse">
<value>true</value>
</prop>
</item>
</oor:items>
I am checking which command the jodconverter uses. It may be a command that ignore the registrymodifications…