https://bugs.documentfoundation.org/show_bug.cgi?id=152143

            Bug ID: 152143
           Summary: Provide a mechanism to export PDF to text
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Currently it is not possible to export PDF files loaded in LibreOffice (Draw)
to text. The importance of this feature for Arabic/Persian/Hebrew or other RTL
languages is that there are very few applications that can convert PDF to text
correctly for RTL text. On the other hand, many problems with loading RTL PDF
files in LibreOffice are either fixed or recently being fixed by Kevin. So, it
would be very helpful to have a working PDF->TXT converter that works for
Arabic/Persian via LibreOffice Draw.

Steps to Reproduce:
1. Invoke this command:
liberoffice7.4 --convert-to txt:Text test.pdf

Actual Results:
The Output ins not created, and this error message is generated:

convert test.pdf -> test.txt using filter : Text
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///home/hossein/Projects/libreoffice/core/test.txt> failed: 0xc10(Error
Area:Io Class:Write Code:16) at
/home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3207 at
/home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1783)

Expected Results:
The PDF should be converted to text.

Reproducible: Always


User Profile Reset: No


Additional Info:

Converting to text is not possible in LibreOffice 7.4:
Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Also not in the latest LO 7.5 dev master:
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: deb0bb9f2635a8dfec90b42e3727f4224548a8e9
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to