diff options
author | Said Ryan Ackley <sackley@apache.org> | 2002-06-28 21:14:13 +0000 |
---|---|---|
committer | Said Ryan Ackley <sackley@apache.org> | 2002-06-28 21:14:13 +0000 |
commit | 9b82e263ba178a3f0ce6a999aae6f12c92496b85 (patch) | |
tree | 39a95df8b517db7083707188a2460c0e2f8909ad | |
parent | 13bf9cefb5004db68458249af935688112831430 (diff) | |
download | poi-9b82e263ba178a3f0ce6a999aae6f12c92496b85.tar.gz poi-9b82e263ba178a3f0ce6a999aae6f12c92496b85.zip |
intial check in
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352733 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java | 51 |
1 files changed, 51 insertions, 0 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 new file mode 100644 index 0000000000..d2ecd7239b --- /dev/null +++ b/src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java @@ -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 |