Bug 73683 - Libre Office not able to convert Blank XLSX/XLS files to PDF
Summary: Libre Office not able to convert Blank XLSX/XLS files to PDF
Status: RESOLVED DUPLICATE of bug 42166
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: Confirmed:4.2.0.2:OSX
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 05:27 UTC by Vikram
Modified: 2014-02-02 15:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vikram 2014-01-16 05:27:27 UTC
Hello

XLSX/XLS files created on Windows platform are not able to convert to PDF using Libre Office.

Urgent help is really appreciated.

Regards
Vikram Jain
Comment 1 retired 2014-01-16 09:41:16 UTC
Vikram, please refrain from adding "urgent help needed" to all of your bug reports. If you need professional support, there are options. But this is just the bug tracker of the LO project and not a helpdesk. Thanks for understanding.

Confirmed:4.2.0.2:OSX

Exact repro-steps:

1. open LO 4.2.0.2
2. create new spreadsheet from startcenter
3. without entering any information save as pdf via the menu button

Result:

Error: Error saving the document. Write error. File could not be saved. (loosely translated)

Expected result:

saved pdf file

While there's not much reason to export an empty spreadsheet nonetheless LO should not show this error and either proceed exporting an empty PDF or tell the user to enter some information first.

NEW.
Comment 2 Vikram 2014-02-02 15:51:39 UTC
Hello

It is agreed, there is no need for exporting empty xsl sheet.

but if user has empty excel sheet and it is exporting, then we need to catch that error, and show approprite error message. Instead the product should not crash.

So when i am converting the xls to PDF, how i can receive the some error code, to avoid such kind of crash. Using which SDk API

Regards
Viks
Comment 3 Vikram 2014-02-02 15:56:17 UTC
Hello

Also there is a scenario if by chance user converts some unsupported file exe to xls, and then try to convert it to PDF, libre office SDK hangs. How to avoid this kind of thing if SDK does not return the control to main application.
It is assumed application should work without crash, irrsepective of nature of file, it might show error message if conversion is unsuccessful. But how hanging or crashing can be avoided of SDK.

Regards
Viks
Comment 4 Maxim Monastirsky 2014-02-02 15:56:47 UTC

*** This bug has been marked as a duplicate of bug 42166 ***