FileDocCategorySizeDatePackage
SprmIterator.javaAPI DocApache Poi 3.0.11510Mon Jan 01 18:55:34 GMT 2007org.apache.poi.hwpf.sprm

SprmIterator

public class SprmIterator extends Object
This class is used to iterate through a list of sprms from a Word 97/2000/XP document.
author
Ryan Ackley
version
1.0

Fields Summary
private byte[]
_grpprl
int
_offset
Constructors Summary
public SprmIterator(byte[] grpprl, int offset)

    _grpprl = grpprl;
    _offset = offset;
  
Methods Summary
public booleanhasNext()

    return _offset < _grpprl.length;
  
public org.apache.poi.hwpf.sprm.SprmOperationnext()

    SprmOperation op = new SprmOperation(_grpprl, _offset);
    _offset += op.size();
    return op;