dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02103
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 718: Commented for POI's Dependencies in pom.xml file of Excel Reporting module. Because it might be m...
------------------------------------------------------------
revno: 718
committer: hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Tue 2009-09-15 14:47:55 +0700
message:
Commented for POI's Dependencies in pom.xml file of Excel Reporting module. Because it might be made the problem which have to download 'ooxml-schemas-1.0.jar' package is over 13 MB.
modified:
dhis-2/dhis-web/dhis-web-excel-reporting/pom.xml
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/utils/ExcelUtils.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/pom.xml'
--- dhis-2/dhis-web/dhis-web-excel-reporting/pom.xml 2009-09-15 02:16:18 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/pom.xml 2009-09-15 07:47:55 +0000
@@ -75,7 +75,7 @@
</dependency>
<!-- Other -->
-
+
<dependency>
<groupId>net.sourceforge.jexcelapi</groupId>
<artifactId>jxl</artifactId>
@@ -86,6 +86,7 @@
</dependency>
<!-- POI Library -->
+ <!--
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
@@ -103,6 +104,7 @@
<artifactId>poi-ooxml</artifactId>
<version>3.5-beta5</version>
</dependency>
+ -->
</dependencies>
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/utils/ExcelUtils.java'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/utils/ExcelUtils.java 2009-09-15 04:00:03 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/utils/ExcelUtils.java 2009-09-15 07:47:55 +0000
@@ -37,13 +37,13 @@
import jxl.write.WritableSheet;
import jxl.write.WriteException;
import jxl.write.biff.RowsExceededException;
-
+/*
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFRichTextString;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
-
+*/
/**
* @author Tran Thanh Tri
* @author Chau Thu Tran
@@ -129,6 +129,7 @@
return cell.getContents();
}
+ /*
public static void writeValueByPOI( int row, int column, String value, String type, HSSFSheet sheet,
HSSFCellStyle cellStyle )
throws RowsExceededException, WriteException
@@ -178,6 +179,7 @@
cellPOI.setCellFormula( formula );
}
}
+ */
public static int convertExcelColumnNameToNumber( String columnName )
{