org.apache.poi.hwpf.model
Class PAPX

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.PAPX
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class PAPX
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
PAPX(int fcStart, int fcEnd, byte[] papx, ParagraphHeight phe, byte[] dataStream, boolean isUnicode)
           
PAPX(int fcStart, int fcEnd, SprmBuffer buf, byte[] dataStream, boolean isUnicode)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 byte[] getGrpprl()
           
 int getHugeGrpprlOffset()
           
 short getIstd()
           
 ParagraphHeight getParagraphHeight()
           
 ParagraphProperties getParagraphProperties(StyleSheet ss)
           
 SprmBuffer getSprmBuf()
           
 
Methods inherited from class org.apache.poi.hwpf.model.BytePropertyNode
getEndBytes, getStartBytes, isUnicode
 
Methods inherited from class org.apache.poi.hwpf.model.PropertyNode
adjustForDelete, clone, compareTo, getEnd, getStart, limitsAreEqual, setEnd, setStart
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAPX

public PAPX(int fcStart,
            int fcEnd,
            byte[] papx,
            ParagraphHeight phe,
            byte[] dataStream,
            boolean isUnicode)

PAPX

public PAPX(int fcStart,
            int fcEnd,
            SprmBuffer buf,
            byte[] dataStream,
            boolean isUnicode)
Method Detail

getParagraphHeight

public ParagraphHeight getParagraphHeight()

getGrpprl

public byte[] getGrpprl()

getHugeGrpprlOffset

public int getHugeGrpprlOffset()

getIstd

public short getIstd()

getSprmBuf

public SprmBuffer getSprmBuf()

getParagraphProperties

public ParagraphProperties getParagraphProperties(StyleSheet ss)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class PropertyNode


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