import org.apache.poi.hwpf.model.CHPX;
import org.apache.poi.hwpf.model.FileInformationBlock;
import org.apache.poi.hwpf.model.PAPX;
+import org.apache.poi.hwpf.model.StyleSheet;
import org.apache.poi.hwpf.model.TextPiece;
import org.apache.poi.hwpf.sprm.SprmIterator;
import org.apache.poi.hwpf.sprm.SprmOperation;
{
System.out.println( chpx );
+ System.out.println( chpx.getCharacterProperties(
+ _doc.getStyleSheet(), (short) StyleSheet.NIL_STYLE ) );
+
if ( withSprms )
{
- SprmIterator sprmIt = new SprmIterator( chpx.getGrpprl(), 2 );
+ SprmIterator sprmIt = new SprmIterator( chpx.getGrpprl(), 0 );
while ( sprmIt.hasNext() )
{
SprmOperation sprm = sprmIt.next();