Issue 9528 - pdf conversion not functioning correctly for table with details.
Summary: pdf conversion not functioning correctly for table with details.
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 643C
Hardware: PC Windows XP
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: mci
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2002-11-25 22:26 UTC by sujit
Modified: 2003-10-01 07:13 UTC (History)
1 user (show)

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


Attachments
The .swf file (5.61 KB, application/octet-stream)
2002-11-26 06:16 UTC, sujit
no flags Details
the .pdf file (15.94 KB, application/octet-stream)
2002-11-26 06:17 UTC, sujit
no flags Details
OO file with text in it (7.03 KB, application/octet-stream)
2002-11-26 06:26 UTC, Unknown
no flags Details
PDF file produced using OO (54.45 KB, application/octet-stream)
2002-11-26 06:28 UTC, Unknown
no flags Details
PDF file produced using PDF writer (10.97 KB, application/octet-stream)
2002-11-26 06:29 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sujit 2002-11-25 22:26:58 UTC
Summary
The new feature “Export to pdf” is not functioning correctly for tables with 
details.

System Configuration 
Platform: PC
OS: WinXP, NT 5.01
Version: 2600

Steps to replicate bug

1.	Open a new text document

2.	select insert->table 

3.	click on “ok ” to select the default settings

4.	save this document 

5.	Click on”Export directly as PDF” in the toolbar and click on save to 
have a PDF copy in the same folder. Check to see that the PDF file is smaller 
in size than the .sxw file 

6.	now type in some details in to the cells of the table 

7.	save this file and click on ”Export directly as PDF” again to have a 
PDF format of this .sxw file. Replace the previous file if you want to .

8.	Now check out the size of the PDF file. As compared to the .sxw file.

Notes
PDF files are supposed to be smaller than the source files which are fed to 
it .As in this case the size of the .sxw file was found to be 6 kb and 
the .pdf file for the same to be 16kb . This means that the compression 
techniques for files are not properly handled. This is a serious bug as a user 
might have data stored in tabular format and hence might try to have then 
compressed for his convenience just to find that the file size has actually 
increased.
Comment 1 sujit 2002-11-26 06:16:30 UTC
Created attachment 3759 [details]
The .swf file
Comment 2 sujit 2002-11-26 06:17:40 UTC
Created attachment 3760 [details]
the .pdf file
Comment 3 Unknown 2002-11-26 06:26:53 UTC
Created attachment 3761 [details]
OO file with text in it
Comment 4 Unknown 2002-11-26 06:27:46 UTC
Replicated on

Platform: PC 
Operating System: Windows 2000 NT 5.0, WinXP NT 5.01
Version: 2190, 2600

I was able to replicate the following bug as denoted by the author 
without any problems. Here are a few of my observations

The PDF files that are created using the 'Convert to PDF file' do not 
produce the same results as those files that are directly converted 
to PDF files using PDFWriter.

The PDFWriter produces a file of size 11 kb with some text of varying 
size and color in it. The same file when converted to a PDF file 
using the feature in OO produces a file of size 55kb.

There is not much difference when the feature is used with pictures, 
and other drawing objects. However, there does seem to be a noticible 
degradation of quality of JPEG images. The file size difference on 
the other hand does not vary much.

This new feature does not seem to handle text very well. To 
illustrate this, I tried another file with only text.... omitting 
steps 2,and 3.

1. Opened a new text document
2. Typed some text with varying fonts, and colors
3. Saved document

****USING OO option****
4. Opened document and used the 'convert to PDF' option
5. Entered a file name for the PDF file
5. Checked file size of PDF file created - 55kb

****USING PDF WRITER****
4. Goto menu option File->Print
5. Changed printer name to Adobe PDFWriter (You need to have Adobe 
PDF Writer installed to be able to do this)
6. Clicked ok and entered file name of new file
7. Checked file size of the file - 11kb


I am attaching the files I obtained from the PDFWriter and through OO 
with this message as well as the original .sxw file.
Comment 5 Unknown 2002-11-26 06:28:57 UTC
Created attachment 3762 [details]
PDF file produced using OO
Comment 6 Unknown 2002-11-26 06:29:37 UTC
Created attachment 3763 [details]
PDF file produced using PDF writer
Comment 7 sujit 2002-11-26 06:31:17 UTC
correction:
The above attached file is a .sxw file rather than a .swf file.
Comment 8 stefan.baltzer 2003-07-03 11:34:54 UTC
SBA: You don't seem to be aware that there are three compression
levels (Screen, print, press optimized) for PDF export... :-( 
These can be accessed if you go via File-Export as PDF...
The Print to PDF button always takes the last used compression level.

Reassigned to Hasan.
Comment 9 eugenetswong 2003-07-10 18:49:14 UTC
Because this is being dealt with, I am adding the "oooqa" keyword. I 
will not touch the other settings, though.
Comment 10 mci 2003-09-08 08:56:51 UTC
Hi sujit,

thanks for using and supporting OpenOffice..

I took the file 6836test.sxw and converted it to pdf using 
OpenOffice 1.1RC3...
The output size ranges from  8.5kb (screenoptimized) to 
                            10.3kb (printoptimized)...
the file size of the [compressed] OpenOffice file 6836test.sxw is 7kb...
I think that's ok and if there's no new comment until 09/27/2003 
this Issue will be closed...

reassigned to mci@openoffice.org

Comment 11 mci 2003-09-08 08:57:32 UTC
set to WORKSFORME...
Comment 12 mci 2003-10-01 07:13:31 UTC
closing...