From 9b82e263ba178a3f0ce6a999aae6f12c92496b85 Mon Sep 17 00:00:00 2001 From: Said Ryan Ackley Date: Fri, 28 Jun 2002 21:14:13 +0000 Subject: [PATCH] intial check in git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352733 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hdf/model/util/ParsingState.java | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/scratchpad/src/org/apache/poi/hdf/model/util/ParsingState.java 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 -- 2.39.5