From: bruce m. <tr...@us...> - 2004-08-06 18:46:05
|
Update of /cvsroot/babeldoc/babeldoc/modules/conversion/src/com/babeldoc/conversion/excel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24050/modules/conversion/src/com/babeldoc/conversion/excel Modified Files: ExcelConverter.java Log Message: documentation, javadoc and formatting here. Index: ExcelConverter.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/conversion/src/com/babeldoc/conversion/excel/ExcelConverter.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ExcelConverter.java 2 Jul 2004 14:49:55 -0000 1.4 --- ExcelConverter.java 6 Aug 2004 18:45:56 -0000 1.5 *************** *** 68,78 **** import com.babeldoc.conversion.ConversionException; import com.babeldoc.core.LogService; ! ! import org.apache.poi.hssf.model.Workbook; ! import org.apache.poi.hssf.usermodel.HSSFCell; ! import org.apache.poi.hssf.usermodel.HSSFDataFormat; ! import org.apache.poi.hssf.usermodel.HSSFRow; ! import org.apache.poi.hssf.usermodel.HSSFSheet; ! import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.dom4j.Document; --- 68,72 ---- import com.babeldoc.conversion.ConversionException; import com.babeldoc.core.LogService; ! import org.apache.poi.hssf.usermodel.*; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.dom4j.Document; *************** *** 83,90 **** import java.io.InputStream; import java.text.DecimalFormat; - import java.text.DecimalFormatSymbols; import java.text.NumberFormat; - import java.text.SimpleDateFormat; - import java.util.Date; import java.util.HashMap; import java.util.Iterator; --- 77,81 ---- *************** *** 99,112 **** public class ExcelConverter { - /** - * Convert a input stream of excel file as input to an xml document. - * - * @param in excel file stream - * @return the document - * @throws com.babeldoc.conversion.ConversionException - */ private HashMap workBookAttributes = new HashMap(); private String locale = null; ! public Document toXml(InputStream in) throws ConversionException { --- 90,103 ---- public class ExcelConverter { private HashMap workBookAttributes = new HashMap(); private String locale = null; ! ! /** ! * Convert a input stream of excel file as input to an xml document. ! * ! * @param in excel file stream ! * @return the document ! * @throws com.babeldoc.conversion.ConversionException ! */ public Document toXml(InputStream in) throws ConversionException { |