Re: I am writing an PowerPoint viewer....

2007-01-04 Thread Yegor Kozlov
Line has enough info to translate ppt commands into Java graphics calls. The sample code is below. public void draw(Graphics2D graphics, Line line){ java.awt.Rectangle anchor = line.getAnchor(); Color color = line.getLineColor(); if (color != null){

Problem with date formatting in existing xls file

2007-01-04 Thread Agata Vackova
Hi, I have problem when try to apply date format in existing xls file. The program works correctly when creating new file, but when I read existing file and adding data, format is not applied. My code: initialization method: dataFormat = wb.createDataFormat(); cellStyle = new