Fix up a few cases where we were using ss.Region but should be using hssf.Region for backwards compatibility

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@676211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2008-07-12 18:28:59 +00:00
parent cec1612121
commit 2fe075305a
5 changed files with 12 additions and 4 deletions

View File

@ -40,6 +40,14 @@
<em>org.apache.poi.ss.usermodel.FormulaEvaluator.CellValue</em> <em>org.apache.poi.ss.usermodel.FormulaEvaluator.CellValue</em>
</p> </p>
</section> </section>
<section><title>org.apache.poi.hssf.usermodel.HSSFRow.MissingCellPolicy</title></section>
<p>Annoyingly, java will not let you access a static inner class via
a child of the parent one. So, all references to
<em>org.apache.poi.hssf.usermodel.HSSFRow.MissingCellPolicy</em>
will need to be changed to
<em>org.apache.poi.ss.usermodel.Row.MissingCellPolicy</em>
</p>
</section>
</section> </section>
<section><title>Converting existing HSSF Usermodel code to SS Usermodel (for XSSF and HSSF)</title> <section><title>Converting existing HSSF Usermodel code to SS Usermodel (for XSSF and HSSF)</title>

View File

@ -18,7 +18,7 @@
package org.apache.poi.hssf.record; package org.apache.poi.hssf.record;
import org.apache.poi.hssf.record.cf.CellRange; import org.apache.poi.hssf.record.cf.CellRange;
import org.apache.poi.ss.util.Region; import org.apache.poi.hssf.util.Region;
import org.apache.poi.util.LittleEndian; import org.apache.poi.util.LittleEndian;
/** /**

View File

@ -21,7 +21,7 @@ import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import org.apache.poi.ss.util.Region; import org.apache.poi.hssf.util.Region;
/** /**
* *

View File

@ -20,7 +20,7 @@ import org.apache.poi.hssf.record.CFHeaderRecord;
import org.apache.poi.hssf.record.CFRuleRecord; import org.apache.poi.hssf.record.CFRuleRecord;
import org.apache.poi.hssf.record.aggregates.CFRecordsAggregate; import org.apache.poi.hssf.record.aggregates.CFRecordsAggregate;
import org.apache.poi.hssf.record.cf.CellRange; import org.apache.poi.hssf.record.cf.CellRange;
import org.apache.poi.ss.util.Region; import org.apache.poi.hssf.util.Region;
/** /**
* HSSFConditionalFormatting class encapsulates all settings of Conditional Formatting. * HSSFConditionalFormatting class encapsulates all settings of Conditional Formatting.

View File

@ -56,7 +56,7 @@ import org.apache.poi.hssf.util.HSSFDataValidation;
import org.apache.poi.hssf.util.PaneInformation; import org.apache.poi.hssf.util.PaneInformation;
import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.util.Region; import org.apache.poi.hssf.util.Region;
import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import org.apache.poi.util.POILogger;