mirror of https://github.com/apache/poi.git
Added a couple of functions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a760493674
commit
4af8abbe17
|
@ -4,7 +4,7 @@ import org.apache.poi.hdf.model.hdftypes.FormattedDiskPage;
|
||||||
|
|
||||||
public class ParsingState
|
public class ParsingState
|
||||||
{
|
{
|
||||||
int _currentPage;
|
|
||||||
//int _numPages;// = charPlcf.length();
|
//int _numPages;// = charPlcf.length();
|
||||||
int _currentPageIndex = 0;
|
int _currentPageIndex = 0;
|
||||||
FormattedDiskPage _fkp;// = new CHPFormattedDiskPage(fkp);
|
FormattedDiskPage _fkp;// = new CHPFormattedDiskPage(fkp);
|
||||||
|
@ -13,15 +13,12 @@ public class ParsingState
|
||||||
|
|
||||||
public ParsingState(int firstPage, FormattedDiskPage fkp)
|
public ParsingState(int firstPage, FormattedDiskPage fkp)
|
||||||
{
|
{
|
||||||
_currentPage = firstPage;
|
|
||||||
//_numPages = numPages;
|
|
||||||
_fkp = fkp;
|
_fkp = fkp;
|
||||||
//_currentArraySize = fkp.size();
|
|
||||||
}
|
|
||||||
public int getCurrentPage()
|
|
||||||
{
|
|
||||||
return _currentPage;
|
|
||||||
}
|
}
|
||||||
|
//public int getCurrentPage()
|
||||||
|
//{
|
||||||
|
// return _currentPage;
|
||||||
|
//}
|
||||||
//public int getNumPages()
|
//public int getNumPages()
|
||||||
//{
|
//{
|
||||||
// return _numPages;
|
// return _numPages;
|
||||||
|
@ -39,10 +36,9 @@ public class ParsingState
|
||||||
return _currentPropIndex;
|
return _currentPropIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setState(int currentPage, int currentPageIndex,
|
public void setState(int currentPageIndex, FormattedDiskPage fkp, int currentPropIndex)
|
||||||
FormattedDiskPage fkp, int currentPropIndex)
|
|
||||||
{
|
{
|
||||||
_currentPage = currentPage;
|
|
||||||
_currentPageIndex = currentPageIndex;
|
_currentPageIndex = currentPageIndex;
|
||||||
_fkp = fkp;
|
_fkp = fkp;
|
||||||
_currentPropIndex = currentPropIndex;
|
_currentPropIndex = currentPropIndex;
|
||||||
|
|
Loading…
Reference in New Issue