[Libreoffice-bugs] [Bug 157640] Error message "source file could not be loaded" could be more explicit when using import filter calc_pdf_addstream_import on non-hybrid PDF

2023-10-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157640

--- Comment #7 from Stéphane Guillou (stragu) 
 ---
Created attachment 190099
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190099=edit
hybrid PDF with embedded ODS

You can test with this PDF as input to see that the filter does work when the
right format is supplied.

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

[Libreoffice-bugs] [Bug 157640] Error message "source file could not be loaded" could be more explicit when using import filter calc_pdf_addstream_import on non-hybrid PDF

2023-10-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157640

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

Summary|PDF: Error converting pdf   |Error message "source file
   |to xlsx format, source file |could not be loaded" could
   |could not be loaded |be more explicit when using
   ||import filter
   ||calc_pdf_addstream_import
   ||on non-hybrid PDF
   Keywords|needsDevAdvice  |filter:pdf
 Ever confirmed|0   |1
  Component|Calc|filters and storage
 Status|UNCONFIRMED |NEW
 Blocks||113122

--- Comment #6 from Stéphane Guillou (stragu) 
 ---
As was mentioned by Mike Kaganski on IRC, the filter is specifically for hybrid
PDFs, as shown in line
https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/config/pdf_import_filter.xcu?r=0f613adb#197

I think the error message should be better than "file not found". Something
like "input file is not a hybrid PDF" would be a whole lot better.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113122
[Bug 113122] [META] PDF bugs and enhancement
-- 
You are receiving this mail because:
You are the assignee for the bug.