Issue 18334 - PDF export defect
Summary: PDF export defect
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
: 26820 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-08-18 07:52 UTC by maison.godard
Modified: 2013-08-07 15:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description maison.godard 2003-08-18 07:52:31 UTC
Can not export empty Calc document to PDF
Tested on printing and scree optimization
--> I/O general error
Only crash if done under macro
Under UI, just doesn not perform task

No problem under Writer

Thanks

Laurent
Comment 1 oc 2003-08-18 08:55:50 UTC
Hi Niklas, one4you
Comment 2 niklas.nebel 2003-09-11 17:32:52 UTC
PDF export is supposed to behave like printing, and an empty
spreadsheet document doesn't print any pages. I don't know if there
can be a valid PDF file without any pages.
Oliver, see if you can reproduce the crash. Otherwise, I don't see a
big problem here.
Comment 3 oc 2003-09-15 16:10:48 UTC
As discussed with SJ this one belongs to him.

The crash could not be reproduced. => Submitter: could you please
attach a document with a sample macro?
Comment 4 maison.godard 2003-09-15 16:29:38 UTC
here is the macro
adapt the target filename
open a new calc document
launch the macro
--> you will have an i/O error
On RC4
No more crash but macro fails

Laurent

sub TestexpPDF
		Dim PDFArgs(0) as new com.sun.star.beans.PropertyValue
		PDFArgs(0).Name = "FilterName"
		PDFArgs(0).Value = "calc_pdf_Export"	
		thiscomponent.storeToURL(ConvertToURL
("c:\test.pdf"),PDFArgs())
end sub
Comment 5 sven.jacobi 2003-09-29 15:02:32 UTC
Yes, this is a bug in our PDF writer component, the filter should be
able to handle empty documents as well.
Comment 6 oc 2003-10-08 11:43:09 UTC
According to the roadmap of OpenOffice.org 1.1
(http://tools.openoffice.org/releases/Openoffice_org_1_x.html) this
issue has been scheduled for 1.1.2.
Comment 7 sven.jacobi 2004-03-08 16:06:26 UTC
SJ->TZ: Storing empty calc documents to pdf is not the general case, so I think
that this Issue is not a candidate for the product patch.

Can you please set the target to OOo 2.0 ?
Comment 8 thorsten.ziehm 2004-03-09 08:52:54 UTC
Hi Oliver,

could you please set this task to OOo2.0, if this isn't a general problem. thx
Comment 9 oc 2004-03-09 09:13:04 UTC
Exporting or printing of empty spreadsheets are not that important. Because of
limited resources this task  will be retargeted to OOo2.0
Comment 10 sven.jacobi 2004-03-30 17:43:58 UTC
SJ->MBA: This issue can't be solved in the pdf export filter alone, because it
doesn't matter if the pdf filter is returning true or false, the result is
always the same assertion: "Nonexisting Document", "Nonexisting file" in file
objserv.cxx line 1196.
It seems that the calc document is so empty that it is not even physically
available at that time the pdf is exported.

Please tell me the workspace on which I should change the pdf filter accepting
also empty  calc documents.
Comment 11 sven.jacobi 2004-04-08 10:23:02 UTC
assigned to mba
Comment 12 Mathias_Bauer 2004-04-30 13:44:23 UTC
This seems to be a bug in our error handling
Comment 13 Mathias_Bauer 2004-04-30 14:04:03 UTC
*** Issue 26820 has been marked as a duplicate of this issue. ***
Comment 14 mikhail.voytenko 2004-05-17 11:55:04 UTC
MAV->SJ: The sfx problem is fixed and the fix is integrated in master, so I send
the bug back to you.
Comment 15 sven.jacobi 2004-05-17 13:16:39 UTC
accepted.
Comment 16 sven.jacobi 2004-05-17 13:20:34 UTC
SJ: this issue has been fixed on cws[pdf01]
Comment 17 sven.jacobi 2004-08-12 11:41:23 UTC
reopened
Comment 18 sven.jacobi 2004-08-12 11:42:00 UTC
sj->oc: this issue is now ready to be verified on cws[pdf01]
Comment 19 eric.savary 2004-08-17 19:10:26 UTC
ES->OS: exporting an empty spreadshit to PDF now generates a 1 blank page PDF
doc whitout any error.
Please set to verified
Comment 20 eric.savary 2004-08-17 19:41:31 UTC
Please, read "spreadsheet" in the statement above ;)
Comment 21 oc 2004-08-23 15:45:25 UTC
reset resolution to fixed
Comment 22 oc 2004-08-23 15:45:52 UTC
verified in internal build cws_pdf01
Comment 23 frank 2004-10-05 14:05:26 UTC
Found fixed on Master src680m54 using Linux, Solaris and Windows build