aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaid Ryan Ackley <sackley@apache.org>2002-07-01 20:29:22 +0000
committerSaid Ryan Ackley <sackley@apache.org>2002-07-01 20:29:22 +0000
commit4af8abbe17948b84582844a428be3b263cb6b361 (patch)
treea2ec267448bc21e4936945dadc3fb27a9f649b4d
parenta760493674f764c8fd94471d4c48625e5c6f95bc (diff)
downloadpoi-4af8abbe17948b84582844a428be3b263cb6b361.tar.gz
poi-4af8abbe17948b84582844a428be3b263cb6b361.zip
Added a couple of functions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352737 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java b/src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java
index d2ecd7239b..89e7e5e8d9 100644
--- a/src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java
+++ b/src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java
@@ -4,7 +4,7 @@ import org.apache.poi.hdf.model.hdftypes.FormattedDiskPage;
public class ParsingState
{
- int _currentPage;
+
//int _numPages;// = charPlcf.length();
int _currentPageIndex = 0;
FormattedDiskPage _fkp;// = new CHPFormattedDiskPage(fkp);
@@ -13,15 +13,12 @@ public class ParsingState
public ParsingState(int firstPage, FormattedDiskPage fkp)
{
- _currentPage = firstPage;
- //_numPages = numPages;
_fkp = fkp;
- //_currentArraySize = fkp.size();
- }
- public int getCurrentPage()
- {
- return _currentPage;
}
+ //public int getCurrentPage()
+ //{
+ // return _currentPage;
+ //}
//public int getNumPages()
//{
// return _numPages;
@@ -39,10 +36,9 @@ public class ParsingState
return _currentPropIndex;
}
- public void setState(int currentPage, int currentPageIndex,
- FormattedDiskPage fkp, int currentPropIndex)
+ public void setState(int currentPageIndex, FormattedDiskPage fkp, int currentPropIndex)
{
- _currentPage = currentPage;
+
_currentPageIndex = currentPageIndex;
_fkp = fkp;
_currentPropIndex = currentPropIndex;