org.apache.poi.hwpf.model
Class FIBLongHandler

java.lang.Object
  extended by org.apache.poi.hwpf.model.FIBLongHandler

@Internal
public final class FIBLongHandler
extends java.lang.Object

Handles the fibRgLw / The FibRgLw97 part of the FIB (File Information Block)


Field Summary
static int CBMAC
           
static int CCPATN
          Pointer to length of annotation subdocument text stream
static int CCPEDN
          Pointer to length of endnote subdocument text stream
static int CCPFTN
          Pointer to length of footnote subdocument text stream
static int CCPHDD
          Pointer to length of header subdocument text stream
static int CCPHDRTXBX
          Length of header textbox subdocument text stream
static int CCPMCR
          Pointer to length of macro subdocument text stream, which should now always be 0
static int CCPTEXT
          Pointer to length of main document text stream 1
static int CCPTXBX
          Pointer to length of textbox subdocument text stream
static int CPNBTECHP
           
static int CPNBTELVC
           
static int CPNBTEPAP
           
static int FCISLANDFIRST
           
static int FCISLANDLIM
           
static int PNCHPFIRST
           
static int PNFBPCHPFIRST
           
static int PNFBPLVCFIRST
           
static int PNFBPPAPFIRST
           
static int PNLVCFIRST
           
static int PNPAPFIRST
           
static int PRODUCTCREATED
           
static int PRODUCTREVISED
           
 
Constructor Summary
FIBLongHandler(byte[] mainStream, int offset)
           
 
Method Summary
 int getLong(int longCode)
          Refers to a 32 bit windows "long" same as a Java int
 void setLong(int longCode, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CBMAC

public static final int CBMAC
See Also:
Constant Field Values

PRODUCTCREATED

public static final int PRODUCTCREATED
See Also:
Constant Field Values

PRODUCTREVISED

public static final int PRODUCTREVISED
See Also:
Constant Field Values

CCPTEXT

public static final int CCPTEXT
Pointer to length of main document text stream 1

Since:
Word 97
See Also:
Constant Field Values

CCPFTN

public static final int CCPFTN
Pointer to length of footnote subdocument text stream

Since:
Word 97
See Also:
Constant Field Values

CCPHDD

public static final int CCPHDD
Pointer to length of header subdocument text stream

Since:
Word 97
See Also:
Constant Field Values

CCPMCR

public static final int CCPMCR
Pointer to length of macro subdocument text stream, which should now always be 0

Since:
Word 97
See Also:
Constant Field Values

CCPATN

public static final int CCPATN
Pointer to length of annotation subdocument text stream

Since:
Word 97
See Also:
Constant Field Values

CCPEDN

public static final int CCPEDN
Pointer to length of endnote subdocument text stream

Since:
Word 97
See Also:
Constant Field Values

CCPTXBX

public static final int CCPTXBX
Pointer to length of textbox subdocument text stream

Since:
Word 97
See Also:
Constant Field Values

CCPHDRTXBX

public static final int CCPHDRTXBX
Length of header textbox subdocument text stream

Since:
Word 97
See Also:
Constant Field Values

PNFBPCHPFIRST

public static final int PNFBPCHPFIRST
See Also:
Constant Field Values

PNCHPFIRST

public static final int PNCHPFIRST
See Also:
Constant Field Values

CPNBTECHP

public static final int CPNBTECHP
See Also:
Constant Field Values

PNFBPPAPFIRST

public static final int PNFBPPAPFIRST
See Also:
Constant Field Values

PNPAPFIRST

public static final int PNPAPFIRST
See Also:
Constant Field Values

CPNBTEPAP

public static final int CPNBTEPAP
See Also:
Constant Field Values

PNFBPLVCFIRST

public static final int PNFBPLVCFIRST
See Also:
Constant Field Values

PNLVCFIRST

public static final int PNLVCFIRST
See Also:
Constant Field Values

CPNBTELVC

public static final int CPNBTELVC
See Also:
Constant Field Values

FCISLANDFIRST

public static final int FCISLANDFIRST
See Also:
Constant Field Values

FCISLANDLIM

public static final int FCISLANDLIM
See Also:
Constant Field Values
Constructor Detail

FIBLongHandler

public FIBLongHandler(byte[] mainStream,
                      int offset)
Method Detail

getLong

public int getLong(int longCode)
Refers to a 32 bit windows "long" same as a Java int

Parameters:
longCode - FIXME: Document this!
Returns:
FIXME: Document this!

setLong

public void setLong(int longCode,
                    int value)


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