acoliver 2003/07/19 07:56:36
Modified: src/java/org/apache/poi/hssf/record/aggregates
ValueRecordsAggregate.java
src/java/org/apache/poi/hssf/record SharedFormulaRecord.java
Log:
shared formula ***pre-support*** doesn't work yet
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.10 +3 -0
jakarta-poi/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java
Index: ValueRecordsAggregate.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ValueRecordsAggregate.java 19 Jul 2003 02:48:16 -0000 1.9
+++ ValueRecordsAggregate.java 19 Jul 2003 14:56:35 -0000 1.10
@@ -170,6 +170,9 @@
else if (rec instanceof StringRecord)
{
lastFormulaAggregate.setStringRecord((StringRecord)rec);
+ }
+ else if (rec instanceof SharedFormulaRecord) {
+ lastFormulaAggregate.setSharedFormulaRecord((SharedFormulaRecord)rec);
}
else if (rec.isValue())
{
1.2 +1 -1
jakarta-poi/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java
Index: SharedFormulaRecord.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SharedFormulaRecord.java 8 May 2003 00:02:03 -0000 1.1
+++ SharedFormulaRecord.java 19 Jul 2003 14:56:36 -0000 1.2
@@ -70,7 +70,7 @@
*/
public class SharedFormulaRecord
- extends Record
+ extends Record
{
public final static short sid = 0x4BC;
private short size = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]