We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Poor quality openofice xls to pdf convertion

Hi,
I have a problem with xls to pdf conversion

- test.xls is the source file (OpenOffice created)
- test.pdf is the OpenOffice pdf conversion
- out.pdf is Aspose.Cells conversion

the quality of Aspsose is poor…maybe some missing settings ?
Thanks
Daniele

my code:
--------------------------------------------------------------------------
package aspose;

import com.aspose.cells.FileFormatType;
import com.aspose.cells.Workbook;

public class Aspose {
public Aspose() {
try {
Workbook workbook = new Workbook("/test.xls");
workbook.save("/out.pdf", FileFormatType.PDF);
} catch (Exception e) {
e.printStackTrace();
}
}

public static void main(String[] args) {
Aspose aspose = new Aspose();
}
}


Hi,

Thanks for your posting and using Aspose.Cells for Java.

We have tested your issue with the latest version and found the quality of the output pdf is poor. We have logged your issue in our database with the issue id: CELLSJAVA-40455

Once, we will have some update for you, we will share it with you asap.

Hi,

Thanks for your posting and using Aspose.Cells for Java.

The excel file you provided is using Arial font and in your environment, the Arial font dose not exist, then Aspose uses LucidaSans to convert, so we ask you to please install Arial font and set CellsHelper.setFontDir.

And Aspose using dash borderline the same as Print preview in excel.

The footer in page1 is overlapped with content, it is also the same as Print preview in excel.

Hi,

thanks.
dash borderline solved
footer solved
OpenOffice and Excel are quite different…tuned source xls file.

Arial font installed on SO…result is better…but not “perfect”…
thake a look to the file…
maybe some filtering ? wrong arial font ?
any ideas?

Thanks
Daniele

Hi,

Thanks for your posting and using Aspose.Cells.

Please set the font directory and see if it resolves your issue. Font directory is set using CellsHelper.setFontDir() method.

Hi,


Please try our latest version/fix: Aspose.Cells for Java v16.12.0:
http://downloads.aspose.com/cells/java/new-releases/aspose.cells-for-java-16.12.0/

If you still have problems, please highlight them with details.

Thank you.