1 2 17 18 package org.apache.poi.hdf.model.util; 19 20 import org.apache.poi.hdf.model.hdftypes.FormattedDiskPage; 21 22 public class ParsingState 23 { 24 25 int _currentPageIndex = 0; 27 FormattedDiskPage _fkp; int _currentPropIndex = 0; 29 31 public ParsingState(int firstPage, FormattedDiskPage fkp) 32 { 33 _fkp = fkp; 34 } 35 public int getCurrentPageIndex() 44 { 45 return _currentPageIndex; 46 } 47 public FormattedDiskPage getFkp() 48 { 49 return _fkp; 50 } 51 public int getCurrentPropIndex() 52 { 53 return _currentPropIndex; 54 } 55 56 public void setState(int currentPageIndex, FormattedDiskPage fkp, int currentPropIndex) 57 { 58 59 _currentPageIndex = currentPageIndex; 60 _fkp = fkp; 61 _currentPropIndex = currentPropIndex; 62 } 64 } 65 | Popular Tags |