]> source.dussan.org Git - poi.git/commitdiff
intial check in
authorSaid Ryan Ackley <sackley@apache.org>
Fri, 28 Jun 2002 21:14:13 +0000 (21:14 +0000)
committerSaid Ryan Ackley <sackley@apache.org>
Fri, 28 Jun 2002 21:14:13 +0000 (21:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352733 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java [new file with mode: 0644]

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
new file mode 100644 (file)
index 0000000..d2ecd72
--- /dev/null
@@ -0,0 +1,51 @@
+package org.apache.poi.hdf.model.util;
+
+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);
+  int _currentPropIndex = 0;
+  //int _currentArraySize;// = cfkp.size();
+
+  public ParsingState(int firstPage, FormattedDiskPage fkp)
+  {
+    _currentPage = firstPage;
+    //_numPages = numPages;
+    _fkp = fkp;
+    //_currentArraySize = fkp.size();
+  }
+  public int getCurrentPage()
+  {
+    return _currentPage;
+  }
+  //public int getNumPages()
+  //{
+  //  return _numPages;
+  //}
+  public int getCurrentPageIndex()
+  {
+    return _currentPageIndex;
+  }
+  public FormattedDiskPage getFkp()
+  {
+    return _fkp;
+  }
+  public int getCurrentPropIndex()
+  {
+    return _currentPropIndex;
+  }
+
+  public void setState(int currentPage, int currentPageIndex,
+                       FormattedDiskPage fkp, int currentPropIndex)
+  {
+    _currentPage = currentPage;
+    _currentPageIndex = currentPageIndex;
+    _fkp = fkp;
+    _currentPropIndex = currentPropIndex;
+    //_currentArraySize = currentArraySize;
+  }
+}
\ No newline at end of file