I have a question from our customer who has been using your trail version of
“Aspose cells for Java” before his actual purchase, and he like to know a couple of
things which he need to know for sure.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
He tried to convert Excel sheets to images and had some problems.
1) Some portion of the sheet was not converted or (deleted)
2) Korean characters were not converted and cracked.
3) lines from tables and borders are not showing.
He likes to know the way way to solve ;
i) not showing Korean font problems
ii) Lines and borders shows as they should.
I have attached his captured images for you to take a look.
What he was trying to do was read excel files from the server directory and
save selected sheets to images back to the server directory.
- Programs are in Java
- Weblogic 10
- Unix based
- Web based system
- Added 5 jar files to the web application lib
Did some test like below and confirmed that image files are generated in Server Directory.
// Instantiate a new workbook
Workbook book = new Workbook();
// Open an existing file
String excel_file = UPLOAD_DIR + "/" + cuid+".xls";
// Create an object for ImageOptions
ImageOptions imgOptions = new ImageOptions();
// Set the format type of the image
// Get the first worksheet.
Worksheet sheet = book.getWorksheets().getSheet(0);
// Create a SheetRender object with respect to your desired sheet
SheetRender sr = new SheetRender(sheet, imgOptions);
String image_file = UPLOAD_DIR + "/" + cuid;
for (int j = 0; j < sr.getPageCount(); j++)
//Generate image(s) for the worksheet
sr.toImage(j, image_file+"_" + j + ".png");
This customer is very important to us and I hope
if you can tell us how to approach this customer.