intial check in

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352733 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Said Ryan Ackley 2002-06-28 21:14:13 +00:00
parent c124b0750b
commit 9d97b51f45

View File

@ -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;
}
}