Problem while exporting to PDF

Hi,


Please try the new fixed version: v7.0.2.3. We have fixed the issues now.


Thank you.


Hi Aspose team

Amjad Sahi:
Hi,

We have fixed the issues now.




I don’t think so…

I’m using .Cells 7.0.2.3 with JRE 1.4, with following code :
Locale.setDefault(Locale.US);
CellsHelper.setFontDir(“c:\windows\fonts”);
Workbook bookSrc = new Workbook(fileName+“.xls”);

PdfSaveOptions save1 = new PdfSaveOptions();
save1.setCompliance(PdfCompliance.PDF_A_1_B);
bookSrc.save(fileName+“1.pdf”, save1);

PdfSaveOptions save2 = new PdfSaveOptions();
bookSrc.save(fileName+“2.pdf”, save2);

Attached files :
- test.xls : source file
- test1.pdf : generated file using aspose with PdfCompliance.PDF_A_1_B
- test2.pdf : generated file using aspose without PdfCompliance.PDF_A_1_B
- test Good.pdf : generated file using acrobat reader pro

While test1 or test2 is not equals to test Good, we cannot consider issues are fixed.

Another detail, I ticked the “private” check box - the thread is public now …

Kind regards

Hi,


Thanks for providing us sample files and give us your feedback.

We will look into it soon. Once we have any update about it, we will share it here immediately.

Thank you.


Any news since 3 weeks ?

Hi,


We are still evaluating those issues. We will try to provide a fix to remove those blocks in the generated pdf soon. But for the underline, because font's underline only can be supported by JDK1.6 and later versions, we are afraid currently we cannot make it display in PDF for JDK14.

Thank you.

Hi,

Please try the attached version/fix: v7.0.3.3.
We have fixed the issue of blocks in the generated file.

Thank you.

The issues you have found earlier have been fixed in (v7.0.4) this update.

HI Aspose Team.

It’s much better with 7.0.4 version but still not usable for production usage.
Please check attached file for a new bug I’ve detected

As you can see in PDF file,
- some spaces are missing (employsapproximately5,400persons)
- Right margin is not correct (the “m” and “n” are truncate)
- A part of diagramm is missing (Civil part in this exemple)


source code :
Workbook book = new Workbook(“c:\test.xls”);
book.save(“c:\test.pdf”, FileFormatType.PDF);

Using .Cell 7.0.4 with JDK 1.4

Kind regards

Hi,


Thanks for the files,

I have managed to reproduce the 2nd and 3rd issues, the first is fine with v7.0.4.2 (latest fix).
e.g

- some spaces are missing (employsapproximately5,400persons) – OK
- Right margin is not correct (the “m” and “n” are truncate) – ISSUE
- A part of diagramm is missing (Civil part in this exemple) – ISSUE



I have logged them and reopened your existing issue "30972", we will soon look into it soon.

Thank you.

Hi,

Please try this new fix: Aspose.Cells for Java v7.0.4.7

We have fixed the issue about truncated ‘m’ and ‘n’, please try this new fix. For the issue of lost chart image, we are still working on it and we are afraid we need more time to fix it.

The issues you have found earlier (filed as CELLSJAVA-40094) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

I’m really glad to know you have delete my previous post.

As you didn’t answered last time, can you confirm your fix doesn’t work with JDK 1.4 ?

Key features : Aspose.Cells for Java is available for Java 1.4 or 1.5 and will run wherever Java is installed

Kind regards

Hi,


Well, yes, Aspose.Cells for Java does support JDK1.4, 1.5, 1.6 or greater versions. Also, in general, all the features that the product supports would work (except for a few exceptional cases which are relevant to Fonts (issues)) fine on any JDK versions.

Thank you.

Well, I confirm you, your fix doesn’t work with JDK 1.4. As fonts are not the same between 1.4 and 1.5, we can say that the bug is due to fonts.

Last question:
In textbox, why line is not wrapped by works like in the xls file ?

Hi,


"Last question:
In textbox, why line is not wrapped by works like in the xls file ?"

Could you give us template file(s) and sample code to show the issue, we will check it soon.

Thank you.

Hi,

For the issue of font for JDK1.4, I think we have pointed it out and given solution for you at another post thread of you: Link to this post.

mshakeel.faiz:
Hi,

For the issue of font for JDK1.4, I think we have pointed it out and given solution for you at another post thread of you: Link to this post.


I'm not sure the 'business user' have rights over font path in my prod environment on the unix server.
And as I don't know the default font used to generate the PDF with JDK 1.5/6, I can't embed it into the jar.
Amjad Sahi:
Hi,

"Last question:
In textbox, why line is not wrapped by works like in the xls file ?"

Could you give us template file(s) and sample code to show the issue, we will check it soon.

Thank you.

Here are exemples files.
The first textbox has been generated by aspose while the scond one has been build by excel

Kind regards

Hi,


Thanks for providing us the template file and output PDF document.

I can notice the issue as you pointed out regarding text wrapping in the first TextBox in the PDF file.

Sample code:
Workbook workbook = new Workbook(“demo2.xls”);
workbook.save(“demo1.5.pdf”, SaveFormat.PDF);

I have logged a separate ticket with an id: CELLSJAVA-40161. We will soon look into it.

Thank you.

Hi,


We have fixed this issue.


Please download and use the latest version: Aspose.Cells for Java v7.1.2.5


We have made improvement for the wrapped text for the generated pdf.