poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r815935 - in /poi/trunk/src: documentation/content/xdocs/ java/org/apache/poi/hssf/usermodel/ java/org/apache/poi/ss/usermodel/ ooxml/java/org/apache/poi/xssf/usermodel/
Date Wed, 16 Sep 2009 19:29:43 GMT
Author: yegor
Date: Wed Sep 16 19:29:42 2009
New Revision: 815935

URL: http://svn.apache.org/viewvc?rev=815935&view=rev
Log:
Added method createEvaluationWorkbook() to CreationHelper, see Bugzilla 47848

Modified:
    poi/trunk/src/documentation/content/xdocs/status.xml
    poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java
    poi/trunk/src/java/org/apache/poi/ss/usermodel/CreationHelper.java
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java

Modified: poi/trunk/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=815935&r1=815934&r2=815935&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Wed Sep 16 19:29:42 2009
@@ -33,6 +33,7 @@
 
     <changes>
         <release version="3.5-beta7" date="2009-??-??">
+           <action dev="POI-DEVELOPERS" type="add">47848 - Added method createEvaluationWorkbook()
to CreationHelper</action>
            <action dev="POI-DEVELOPERS" type="add">47809 - Improved work with user-defined
functions</action>
            <action dev="POI-DEVELOPERS" type="fix">47581 - fixed  XSSFSheet.setColumnWidth
to produce XML compatible with Mac Excel 2008</action>
            <action dev="POI-DEVELOPERS" type="fix">47734 - removed unnecessary svn:executable
flag from files in SVN trunk</action>

Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java?rev=815935&r1=815934&r2=815935&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java Wed Sep 16 19:29:42
2009
@@ -42,6 +42,10 @@
 		return new HSSFHyperlink(type);
 	}
 
+    public HSSFEvaluationWorkbook createEvaluationWorkbook() {
+        return HSSFEvaluationWorkbook.create(workbook);
+    }
+
 	/**
 	 * Creates a HSSFFormulaEvaluator, the object that evaluates formula cells.
 	 *

Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/CreationHelper.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/CreationHelper.java?rev=815935&r1=815934&r2=815935&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/usermodel/CreationHelper.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/usermodel/CreationHelper.java Wed Sep 16 19:29:42
2009
@@ -16,6 +16,8 @@
 ==================================================================== */
 package org.apache.poi.ss.usermodel;
 
+import org.apache.poi.ss.formula.EvaluationWorkbook;
+
 /**
  * An object that handles instantiating concrete
  *  classes of the various instances one needs for 
@@ -27,6 +29,9 @@
  *  a given interface, without you having to worry
  *  about if you're dealing with HSSF or XSSF, despite
  *  Java being quite rubbish.
+ * 
+ * Modified 09/07/09 by Petr Udalau - added method createEvaluationWorkbook().
+ * 
  */
 public interface CreationHelper {
     /**
@@ -46,6 +51,13 @@
     Hyperlink createHyperlink(int type);
 
     /**
+     * Creates EvaluationWorkbook.
+     *
+     * @return a EvaluationWorkbook instance
+     */
+    EvaluationWorkbook createEvaluationWorkbook();
+
+    /**
      * Creates FormulaEvaluator - an object that evaluates formula cells.
      *
      * @return a FormulaEvaluator instance

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java?rev=815935&r1=815934&r2=815935&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java Wed Sep
16 19:29:42 2009
@@ -42,6 +42,10 @@
 		return new XSSFHyperlink(type);
 	}
 
+    public XSSFEvaluationWorkbook createEvaluationWorkbook() {
+        return XSSFEvaluationWorkbook.create(workbook);
+    }
+
 	/**
 	 * Creates a XSSFFormulaEvaluator, the object that evaluates formula cells.
 	 *



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message