Apache OpenOffice (AOO) Bugzilla – Issue 9528
pdf conversion not functioning correctly for table with details.
Last modified: 2003-10-01 07:13:31 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.
Created attachment 3759 [details] The .swf file
Created attachment 3760 [details] the .pdf file
Created attachment 3761 [details] OO file with text in it
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.
Created attachment 3762 [details] PDF file produced using OO
Created attachment 3763 [details] PDF file produced using PDF writer
correction: The above attached file is a .sxw file rather than a .swf file.
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.
Because this is being dealt with, I am adding the "oooqa" keyword. I will not touch the other settings, though.
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
set to WORKSFORME...
closing...