org.apache.poi.hwpf.model
Class CHPX

java.lang.Object
  extended by org.apache.poi.hwpf.model.PropertyNode
      extended by org.apache.poi.hwpf.model.BytePropertyNode
          extended by org.apache.poi.hwpf.model.CHPX
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public final class CHPX
extends BytePropertyNode

DANGER - works in bytes! Make sure you call getStart() / getEnd() when you want characters (normal use), but getStartByte() / getEndByte() when you're reading in / writing out!

Author:
Ryan Ackley

Field Summary
 
Fields inherited from class org.apache.poi.hwpf.model.PropertyNode
_buf
 
Constructor Summary
CHPX(int fcStart, int fcEnd, CharIndexTranslator translator, byte[] grpprl)
           
CHPX(int fcStart, int fcEnd, CharIndexTranslator translator, SprmBuffer buf)
           
 
Method Summary
 CharacterProperties getCharacterProperties(StyleSheet ss, short istd)
           
 byte[] getGrpprl()
           
 SprmBuffer getSprmBuf()
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.poi.hwpf.model.BytePropertyNode
getEndBytes, getStartBytes
 
Methods inherited from class org.apache.poi.hwpf.model.PropertyNode
adjustForDelete, clone, compareTo, equals, getEnd, getStart, limitsAreEqual, setEnd, setStart
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CHPX

public CHPX(int fcStart,
            int fcEnd,
            CharIndexTranslator translator,
            byte[] grpprl)

CHPX

public CHPX(int fcStart,
            int fcEnd,
            CharIndexTranslator translator,
            SprmBuffer buf)
Method Detail

getGrpprl

public byte[] getGrpprl()

getSprmBuf

public SprmBuffer getSprmBuf()

getCharacterProperties

public CharacterProperties getCharacterProperties(StyleSheet ss,
                                                  short istd)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2010 The Apache Software Foundation or its licensors, as applicable.