poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r696969 - in /poi/branches/ooxml/src/java/org/apache/poi/ss/formula: FormulaRenderer.java FormulaRenderingWorkbook.java WorkbookDependentFormula.java
Date Fri, 19 Sep 2008 07:59:40 GMT
Author: yegor
Date: Fri Sep 19 00:59:40 2008
New Revision: 696969

URL: http://svn.apache.org/viewvc?rev=696969&view=rev
Log:
formula improvements from josh

Modified:
    poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderer.java
    poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java
    poi/branches/ooxml/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java

Modified: poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderer.java
URL: http://svn.apache.org/viewvc/poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderer.java?rev=696969&r1=696968&r2=696969&view=diff
==============================================================================
--- poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderer.java (original)
+++ poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderer.java Fri Sep 19
00:59:40 2008
@@ -1,3 +1,20 @@
+/* ====================================================================
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+==================================================================== */
+
 package org.apache.poi.ss.formula;
 
 import java.util.List;
@@ -11,6 +28,13 @@
 import org.apache.poi.hssf.record.formula.ParenthesisPtg;
 import org.apache.poi.hssf.record.formula.Ptg;
 
+/**
+ * Common logic for rendering formulas.<br/>
+ * 
+ * For POI internal use only
+ * 
+ * @author Josh Micich
+ */
 public class FormulaRenderer {
     /**
      * Convenience method which takes in a list then passes it to the

Modified: poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java
URL: http://svn.apache.org/viewvc/poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java?rev=696969&r1=696968&r2=696969&view=diff
==============================================================================
--- poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java (original)
+++ poi/branches/ooxml/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java Fri
Sep 19 00:59:40 2008
@@ -1,8 +1,32 @@
+/* ====================================================================
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+==================================================================== */
+
 package org.apache.poi.ss.formula;
 
 import org.apache.poi.hssf.record.formula.NamePtg;
 import org.apache.poi.hssf.record.formula.NameXPtg;
 
+/**
+ * Abstracts a workbook for the purpose of converting formula to text.<br/>
+ * 
+ * For POI internal use only
+ * 
+ * @author Josh Micich
+ */
 public interface FormulaRenderingWorkbook {
 
 	String getSheetNameByExternSheet(int externSheetIndex);

Modified: poi/branches/ooxml/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java
URL: http://svn.apache.org/viewvc/poi/branches/ooxml/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java?rev=696969&r1=696968&r2=696969&view=diff
==============================================================================
--- poi/branches/ooxml/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java (original)
+++ poi/branches/ooxml/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java Fri
Sep 19 00:59:40 2008
@@ -1,5 +1,30 @@
+/* ====================================================================
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+==================================================================== */
+
 package org.apache.poi.ss.formula;
 
+/**
+ * Should be implemented by any {@link Ptg} subclass that needs a workbook to render its
formula.
+ * <br/>
+ * 
+ * For POI internal use only
+ * 
+ * @author Josh Micich
+ */
 public interface WorkbookDependentFormula {
 	String toFormulaString(FormulaRenderingWorkbook book);
 }



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


Mime
View raw message