diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/CHPFormattedDiskPage.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/CHPFormattedDiskPage.java
deleted file mode 100644
index 39beb5918e..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/CHPFormattedDiskPage.java
+++ /dev/null
@@ -1,211 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import org.apache.poi.util.LittleEndian;
-
-/**
- * Represents a CHP fkp. The style properties for paragraph and character runs
- * are stored in fkps. There are PAP fkps for paragraph properties and CHP fkps
- * for character run properties. The first part of the fkp for both CHP and PAP
- * fkps consists of an array of 4 byte int offsets that represent a
- * Paragraph's or Character run's text offset in the main stream. The ending
- * offset is the next value in the array. For example, if an fkp has X number of
- * Paragraph's stored in it then there are (x + 1) 4 byte ints in the beginning
- * array. The number X is determined by the last byte in a 512 byte fkp.
- *
- * CHP and PAP fkps also store the compressed styles(grpprl) that correspond to
- * the offsets on the front of the fkp. The offset of the grpprls is determined
- * differently for CHP fkps and PAP fkps.
- *
- * @author Ryan Ackley
- */
-public class CHPFormattedDiskPage extends FormattedDiskPage
-{
- private static final int FC_SIZE = 4;
-
- private ArrayList _chpxList = new ArrayList();
- private ArrayList _overFlow;
-
-
- public CHPFormattedDiskPage()
- {
- }
-
- /**
- * This constructs a CHPFormattedDiskPage from a raw fkp (512 byte array
- * read from a Word file).
- */
- public CHPFormattedDiskPage(byte[] documentStream, int offset, int fcMin)
- {
- super(documentStream, offset);
-
- for (int x = 0; x < _crun; x++)
- {
- _chpxList.add(new CHPX(getStart(x) - fcMin, getEnd(x) - fcMin, getGrpprl(x)));
- }
- }
-
- public CHPX getCHPX(int index)
- {
- return (CHPX)_chpxList.get(index);
- }
-
- public void fill(List filler)
- {
- _chpxList.addAll(filler);
- }
-
- public ArrayList getOverflow()
- {
- return _overFlow;
- }
-
- /**
- * Gets the chpx for the character run at index in this fkp.
- *
- * @param index The index of the chpx to get.
- * @return a chpx grpprl.
- */
- protected byte[] getGrpprl(int index)
- {
- int chpxOffset = 2 * LittleEndian.getUnsignedByte(_fkp, _offset + (((_crun + 1) * 4) + index));
-
- //optimization if offset == 0 use "Normal" style
- if(chpxOffset == 0)
- {
- return new byte[0];
- }
-
- int size = LittleEndian.getUnsignedByte(_fkp, _offset + chpxOffset);
-
- byte[] chpx = new byte[size];
-
- System.arraycopy(_fkp, _offset + ++chpxOffset, chpx, 0, size);
- return chpx;
- }
-
- protected byte[] toByteArray(int fcMin)
- {
- byte[] buf = new byte[512];
- int size = _chpxList.size();
- int grpprlOffset = 511;
- int offsetOffset = 0;
- int fcOffset = 0;
-
- // total size is currently the size of one FC
- int totalSize = FC_SIZE + 1;
-
- int index = 0;
- for (; index < size; index++)
- {
- int grpprlLength = ((CHPX)_chpxList.get(index)).getGrpprl().length;
-
- // check to see if we have enough room for an FC, the grpprl offset,
- // the grpprl size byte and the grpprl.
- totalSize += (FC_SIZE + 2 + grpprlLength);
- // if size is uneven we will have to add one so the first grpprl falls
- // on a word boundary
- if (totalSize > 511 + (index % 2))
- {
- totalSize -= (FC_SIZE + 2 + grpprlLength);
- break;
- }
-
- // grpprls must fall on word boundaries
- if ((1 + grpprlLength) % 2 > 0)
- {
- totalSize += 1;
- }
- }
-
- // see if we couldn't fit some
- if (index != size)
- {
- _overFlow = new ArrayList();
- _overFlow.addAll(_chpxList.subList(index, size));
- }
-
- // index should equal number of CHPXs that will be in this fkp now.
- buf[511] = (byte)index;
-
- offsetOffset = (FC_SIZE * index) + FC_SIZE;
- //grpprlOffset = offsetOffset + index + (grpprlOffset % 2);
-
- CHPX chpx = null;
- for (int x = 0; x < index; x++)
- {
- chpx = (CHPX)_chpxList.get(x);
- byte[] grpprl = chpx.getGrpprl();
-
- LittleEndian.putInt(buf, fcOffset, chpx.getStart() + fcMin);
- grpprlOffset -= (1 + grpprl.length);
- grpprlOffset -= (grpprlOffset % 2);
- buf[offsetOffset] = (byte)(grpprlOffset/2);
- buf[grpprlOffset] = (byte)grpprl.length;
- System.arraycopy(grpprl, 0, buf, grpprlOffset + 1, grpprl.length);
-
-
- offsetOffset += 1;
- fcOffset += FC_SIZE;
- }
- // put the last chpx's end in
- LittleEndian.putInt(buf, fcOffset, chpx.getEnd() + fcMin);
- return buf;
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/CHPX.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/CHPX.java
deleted file mode 100644
index 4e27728750..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/CHPX.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.hwpf.sprm.SprmBuffer;
-
-/**
- * Comment me
- *
- * @author Ryan Ackley
- */
-
-public class CHPX extends PropertyNode
-{
-
- public CHPX(int fcStart, int fcEnd, byte[] grpprl)
- {
- super(fcStart, fcEnd, new SprmBuffer(grpprl));
- }
-
- public byte[] getGrpprl()
- {
- return ((SprmBuffer)_buf).toByteArray();
- }
-
- public byte[] getBuf()
- {
- return getGrpprl();
- }
-
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ComplexFileTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ComplexFileTable.java
deleted file mode 100644
index 14bf206360..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ComplexFileTable.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.io.IOException;
-
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.hwpf.model.io.*;
-
-public class ComplexFileTable
-{
-
- private static final byte GRPPRL_TYPE = 1;
- private static final byte TEXT_PIECE_TABLE_TYPE = 2;
-
- TextPieceTable _tpt;
-
- public ComplexFileTable(byte[] documentStream, byte[] tableStream, int offset, int fcMin) throws IOException
- {
- //skips through the prms before we reach the piece table. These contain data
- //for actual fast saved files
- while (tableStream[offset] == GRPPRL_TYPE)
- {
- offset++;
- int skip = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE + skip;
- }
- if(tableStream[offset] != TEXT_PIECE_TABLE_TYPE)
- {
- throw new IOException("The text piece table is corrupted");
- }
- else
- {
- int pieceTableSize = LittleEndian.getInt(tableStream, ++offset);
- offset += LittleEndian.INT_SIZE;
- _tpt = new TextPieceTable(documentStream, tableStream, offset, pieceTableSize, fcMin);
- }
- }
-
- public TextPieceTable getTextPieceTable()
- {
- return _tpt;
- }
-
- public void writeTo(HWPFFileSystem sys)
- throws IOException
- {
- HWPFOutputStream docStream = sys.getStream("WordDocument");
- HWPFOutputStream tableStream = sys.getStream("1Table");
-
- tableStream.write(TEXT_PIECE_TABLE_TYPE);
-
- byte[] table = _tpt.writeTo(docStream);
-
- byte[] numHolder = new byte[LittleEndian.INT_SIZE];
- LittleEndian.putInt(numHolder, table.length);
- tableStream.write(numHolder);
- tableStream.write(table);
-
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/DocumentProperties.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/DocumentProperties.java
deleted file mode 100644
index 43c0b7b130..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/DocumentProperties.java
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.hwpf.model.hdftypes.definitions.DOPAbstractType;
-
-/**
- * Comment me
- *
- * @author Ryan Ackley
- */
-
-public class DocumentProperties extends DOPAbstractType
-{
-
-
- public DocumentProperties(byte[] tableStream, int offset)
- {
- super.fillFields(tableStream, offset);
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/Ffn.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/Ffn.java
deleted file mode 100644
index 265ca7479b..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/Ffn.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import java.util.Arrays;
-
-/**
- * FFN - Font Family Name. FFN is a data structure that stores the names of the Main
- * Font and that of Alternate font as an array of characters. It has also a header
- * that stores info about the whole structure and the fonts
- *
- * @author Praveen Mathew
- */
-public class Ffn
-{
- private int field_1_cbFfnM1;//total length of FFN - 1.
- private byte field_2;
- private static BitField _prq = new BitField(0x0003);// pitch request
- private static BitField _fTrueType = new BitField(0x0004);// when 1, font is a TrueType font
- private static BitField _ff = new BitField(0x0070);
- private short field_3_wWeight;// base weight of font
- private byte field_4_chs;// character set identifier
- private byte field_5_ixchSzAlt; // index into ffn.szFfn to the name of
- // the alternate font
- private byte [] field_6_panose = new byte[10];//????
- private byte [] field_7_fontSig = new byte[24];//????
-
- // zero terminated string that records name of font, cuurently not
- // supporting Extended chars
- private char [] field_8_xszFfn;
-
- // extra facilitator members
- private int xszFfnLength;
-
- public Ffn(byte[] buf, int offset)
- {
- int offsetTmp = offset;
-
- field_1_cbFfnM1 = LittleEndian.getUnsignedByte(buf,offset);
- offset += LittleEndian.BYTE_SIZE;
- field_2 = buf[offset];
- offset += LittleEndian.BYTE_SIZE;
- field_3_wWeight = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- field_4_chs = buf[offset];
- offset += LittleEndian.BYTE_SIZE;
- field_5_ixchSzAlt = buf[offset];
- offset += LittleEndian.BYTE_SIZE;
-
- // read panose and fs so we can write them back out.
- System.arraycopy(buf, offset, field_6_panose, 0, field_6_panose.length);
- offset += field_6_panose.length;
- System.arraycopy(buf, offset, field_7_fontSig, 0, field_7_fontSig.length);
- offset += field_7_fontSig.length;
-
- offsetTmp = offset - offsetTmp;
- xszFfnLength = this.getSize() - offsetTmp;
- field_8_xszFfn = new char[xszFfnLength];
-
- for(int i = 0; i < xszFfnLength; i++)
- {
- field_8_xszFfn[i] = (char)LittleEndian.getUnsignedByte(buf, offset);
- offset += LittleEndian.BYTE_SIZE;
- }
-
-
- }
-
- public int getField_1_cbFfnM1()
- {
- return field_1_cbFfnM1;
- }
-
- public byte getField_2()
- {
- return field_2;
- }
-
- public short getField_3_wWeight()
- {
- return field_3_wWeight;
- }
-
- public byte getField_4_chs()
- {
- return field_4_chs;
- }
-
- public byte getField_5_ixchSzAlt()
- {
- return field_5_ixchSzAlt;
- }
-
- public byte [] getField_6_panose()
- {
- return field_6_panose;
- }
-
- public byte [] getField_7_fontSig()
- {
- return field_7_fontSig;
- }
-
- public char [] getField_8_xszFfn()
- {
- return field_8_xszFfn;
- }
-
- public int getSize()
- {
- return (field_1_cbFfnM1 + 1);
- }
-
- public char [] getMainFontName()
- {
- char [] temp = new char[field_5_ixchSzAlt];
- System.arraycopy(field_8_xszFfn,0,temp,0,temp.length);
- return temp;
- }
-
- public char [] getAltFontName()
- {
- char [] temp = new char[xszFfnLength - field_5_ixchSzAlt];
- System.arraycopy(field_8_xszFfn, field_5_ixchSzAlt, temp, 0, temp.length);
- return temp;
- }
-
- public void setField_1_cbFfnM1(int field_1_cbFfnM1)
- {
- this.field_1_cbFfnM1 = field_1_cbFfnM1;
- }
-
- // changed protected to public
- public byte[] toByteArray()
- {
- int offset = 0;
- byte[] buf = new byte[this.getSize()];
-
- buf[offset] = (byte)field_1_cbFfnM1;
- offset += LittleEndian.BYTE_SIZE;
- buf[offset] = field_2;
- offset += LittleEndian.BYTE_SIZE;
- LittleEndian.putShort(buf, offset, field_3_wWeight);
- offset += LittleEndian.SHORT_SIZE;
- buf[offset] = field_4_chs;
- offset += LittleEndian.BYTE_SIZE;
- buf[offset] = field_5_ixchSzAlt;
- offset += LittleEndian.BYTE_SIZE;
-
- System.arraycopy(field_6_panose,0,buf, offset,field_6_panose.length);
- offset += field_6_panose.length;
- System.arraycopy(field_7_fontSig,0,buf, offset, field_7_fontSig.length);
- offset += field_7_fontSig.length;
-
- for(int i = 0; i < field_8_xszFfn.length; i++)
- {
- buf[offset] = (byte)field_8_xszFfn[i];
- offset += LittleEndian.BYTE_SIZE;
- }
-
- return buf;
-
- }
-
- public boolean equals(Object o)
- {
- boolean retVal = true;
-
- if (((Ffn)o).getField_1_cbFfnM1() == field_1_cbFfnM1)
- {
- if(((Ffn)o).getField_2() == field_2)
- {
- if(((Ffn)o).getField_3_wWeight() == field_3_wWeight)
- {
- if(((Ffn)o).getField_4_chs() == field_4_chs)
- {
- if(((Ffn)o).getField_5_ixchSzAlt() == field_5_ixchSzAlt)
- {
- if(Arrays.equals(((Ffn)o).getField_6_panose(),field_6_panose))
- {
- if(Arrays.equals(((Ffn)o).getField_7_fontSig(),field_7_fontSig))
- {
- if(!(Arrays.equals(((Ffn)o).getField_8_xszFfn(),field_8_xszFfn)))
- retVal = false;
- }
- else
- retVal = false;
- }
- else
- retVal = false;
- }
- else
- retVal = false;
- }
- else
- retVal = false;
- }
- else
- retVal = false;
- }
- else
- retVal = false;
- }
- else
- retVal = false;
-
- return retVal;
- }
-
-
-}
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FileInformationBlock.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FileInformationBlock.java
deleted file mode 100644
index 00dc55aa84..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FileInformationBlock.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.lang.reflect.AccessibleObject;
-import java.lang.reflect.Field;
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-
-
-import org.apache.poi.hwpf.model.hdftypes.definitions.FIBAbstractType;
-
-/**
- *
- * @author andy
- */
-public class FileInformationBlock extends FIBAbstractType
- implements Cloneable
-{
-
- /** Creates a new instance of FileInformationBlock */
- public FileInformationBlock(byte[] mainDocument)
- {
- fillFields(mainDocument, 0);
- }
-
- public void clearOffsetsSizes()
- {
- try
- {
- Field[] fields = FileInformationBlock.class.getSuperclass().getDeclaredFields();
- AccessibleObject.setAccessible(fields, true);
-
- for (int x = 0; x < fields.length; x++)
- {
- String name = fields[x].getName();
- int index = name.indexOf('_');
- if (index != -1)
- {
- int nextIndex = name.indexOf('_', index + 1);
- if (nextIndex != -1)
- {
- // clear any field greater than field_53
- if (Integer.parseInt(name.substring(index + 1, nextIndex)) > 53)
- {
- fields[x].setInt(this, 0);
- }
- }
- }
- }
- }
- catch (IllegalAccessException iae)
- {
- iae.printStackTrace();
- }
- }
-
- public Object clone()
- {
- try
- {
- return super.clone();
- }
- catch (CloneNotSupportedException e)
- {
- e.printStackTrace();
- return null;
- }
- }
-}
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FontTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FontTable.java
deleted file mode 100644
index ad3dfdc5ef..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FontTable.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.io.IOException;
-import org.apache.poi.hwpf.model.io.HWPFFileSystem;
-import org.apache.poi.hwpf.model.io.HWPFOutputStream;
-import org.apache.poi.util.LittleEndian;
-
-/**
- * FontTable or in MS terminology sttbfffn is a common data structure written in all
- * Word files. The sttbfffn is an sttbf where each string is an FFN structure instead
- * of pascal-style strings. An sttbf is a string Table stored in file. Thus sttbffn
- * is like an Sttbf with an array of FFN structures that stores the font name strings
- *
- * @author Praveen Mathew
- */
-public class FontTable
-{
- private short _stringCount;// how many strings are included in the string table
- private short _extraDataSz;// size in bytes of the extra data
-
- // added extra facilitator members
- private int lcbSttbfffn;// count of bytes in sttbfffn
- private int fcSttbfffn;// table stream offset for sttbfffn
-
- // FFN structure containing strings of font names
- private Ffn[] _fontNames = null;
-
-
- public FontTable(byte[] buf, int offset, int lcbSttbfffn)
- {
- this.lcbSttbfffn = lcbSttbfffn;
- this.fcSttbfffn = offset;
-
- _stringCount = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- _extraDataSz = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
-
- _fontNames = new Ffn[_stringCount]; //Ffn corresponds to a Pascal style String in STTBF.
-
- for(int i = 0;i<_stringCount; i++)
- {
- _fontNames[i] = new Ffn(buf,offset);
- offset += _fontNames[i].getSize();
- }
- }
-
- public short getStringCount()
- {
- return _stringCount;
- }
-
- public short getExtraDataSz()
- {
- return _extraDataSz;
- }
-
- public Ffn[] getFontNames()
- {
- return _fontNames;
- }
-
- public int getSize()
- {
- return lcbSttbfffn;
- }
-
- public char [] getMainFont(int chpFtc )
- {
- if(chpFtc >= _stringCount)
- {
- System.out.println("Mismatch in chpFtc with stringCount");
- return null;
- }
-
- return _fontNames[chpFtc].getMainFontName();
- }
-
- public char [] getAltFont(int chpFtc )
- {
- if(chpFtc >= _stringCount)
- {
- System.out.println("Mismatch in chpFtc with stringCount");
- return null;
- }
-
- return _fontNames[chpFtc].getAltFontName();
- }
-
- public void setStringCount(short stringCount)
- {
- this._stringCount = stringCount;
- }
-
- public void writeTo(HWPFFileSystem sys)
- throws IOException
- {
- HWPFOutputStream tableStream = sys.getStream("1Table");
-
- byte[] buf = new byte[LittleEndian.SHORT_SIZE];
- LittleEndian.putShort(buf, _stringCount);
- tableStream.write(buf);
- LittleEndian.putShort(buf, _extraDataSz);
- tableStream.write(buf);
-
- for(int i = 0; i < _fontNames.length; i++)
- {
- tableStream.write(_fontNames[i].toByteArray());
- }
-
- }
-
- public boolean equals(Object o)
- {
- boolean retVal = true;
-
- if(((FontTable)o).getStringCount() == _stringCount)
- {
- if(((FontTable)o).getExtraDataSz() == _extraDataSz)
- {
- Ffn[] fontNamesNew = ((FontTable)o).getFontNames();
- for(int i = 0;i<_stringCount; i++)
- {
- if(!(_fontNames[i].equals(fontNamesNew[i])))
- retVal = false;
- }
- }
- else
- retVal = false;
- }
- else
- retVal = false;
-
-
- return retVal;
- }
-
-
-
-}
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FormattedDiskPage.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FormattedDiskPage.java
deleted file mode 100644
index e2e892323e..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/FormattedDiskPage.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.LittleEndian;
-
-/**
- * Represents an FKP data structure. This data structure is used to store the
- * grpprls of the paragraph and character properties of the document. A grpprl
- * is a list of sprms(decompression operations) to perform on a parent style.
- *
- * The style properties for paragraph and character runs
- * are stored in fkps. There are PAP fkps for paragraph properties and CHP fkps
- * for character run properties. The first part of the fkp for both CHP and PAP
- * fkps consists of an array of 4 byte int offsets in the main stream for that
- * Paragraph's or Character run's text. The ending offset is the next
- * value in the array. For example, if an fkp has X number of Paragraph's
- * stored in it then there are (x + 1) 4 byte ints in the beginning array. The
- * number X is determined by the last byte in a 512 byte fkp.
- *
- * CHP and PAP fkps also store the compressed styles(grpprl) that correspond to
- * the offsets on the front of the fkp. The offset of the grpprls is determined
- * differently for CHP fkps and PAP fkps.
- *
- * @author Ryan Ackley
- */
-public abstract class FormattedDiskPage
-{
- protected byte[] _fkp;
- protected int _crun;
- protected int _offset;
-
-
- public FormattedDiskPage()
- {
-
- }
-
- /**
- * Uses a 512-byte array to create a FKP
- */
- public FormattedDiskPage(byte[] documentStream, int offset)
- {
- _crun = LittleEndian.getUnsignedByte(documentStream, offset + 511);
- _fkp = documentStream;
- _offset = offset;
- }
- /**
- * Used to get a text offset corresponding to a grpprl in this fkp.
- * @param index The index of the property in this FKP
- * @return an int representing an offset in the "WordDocument" stream
- */
- protected int getStart(int index)
- {
- return LittleEndian.getInt(_fkp, _offset + (index * 4));
- }
- /**
- * Used to get the end of the text corresponding to a grpprl in this fkp.
- * @param index The index of the property in this fkp.
- * @return an int representing an offset in the "WordDocument" stream
- */
- protected int getEnd(int index)
- {
- return LittleEndian.getInt(_fkp, _offset + ((index + 1) * 4));
- }
- /**
- * Used to get the total number of grrprl's stored int this FKP
- * @return The number of grpprls in this FKP
- */
- public int size()
- {
- return _crun;
- }
-
- protected abstract byte[] getGrpprl(int index);
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/HDFType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/HDFType.java
deleted file mode 100644
index c3f12e6b39..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/HDFType.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * HDFType.java
- *
- * Created on February 24, 2002, 2:37 PM
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-/**
- *
- * @author andy
- */
-public interface HDFType {
-
-}
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListData.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListData.java
deleted file mode 100644
index 69c4e3423c..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListData.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-
-public class ListData
-{
- private int _lsid;
- private int _tplc;
- private short[] _rglst;
- private byte _info;
- private static BitField _fSimpleList = new BitField(0x1);
- private static BitField _fRestartHdn = new BitField(0x2);
- private byte _reserved;
- ListLevel[] _levels;
-
-
- public ListData(byte[] buf, int offset)
- {
- _lsid = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _tplc = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _rglst = new short[9];
- for (int x = 0; x < 9; x++)
- {
- _rglst[x] = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- }
- _info = buf[offset++];
- _reserved = buf[offset];
- if (_fSimpleList.getValue(_info) > 0)
- {
- _levels = new ListLevel[1];
- }
- else
- {
- _levels = new ListLevel[9];
- }
- }
-
- public int getLsid()
- {
- return _lsid;
- }
-
- public int numLevels()
- {
- return _levels.length;
- }
-
- public void setLevel(int index, ListLevel level)
- {
- _levels[index] = level;
- }
-
- public ListLevel[] getLevels()
- {
- return _levels;
- }
-
- public byte[] toByteArray()
- {
- byte[] buf = new byte[28];
- int offset = 0;
- LittleEndian.putInt(buf, _lsid);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, _tplc);
- offset += LittleEndian.INT_SIZE;
- for (int x = 0; x < 9; x++)
- {
- LittleEndian.putShort(buf, offset, _rglst[x]);
- offset += LittleEndian.SHORT_SIZE;
- }
- buf[offset++] = _info;
- buf[offset] = _reserved;
- return buf;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListFormatOverride.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListFormatOverride.java
deleted file mode 100644
index 9066f71dd5..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListFormatOverride.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.LittleEndian;
-
-public class ListFormatOverride
-{
- int _lsid;
- int _reserved1;
- int _reserved2;
- byte _clfolvl;
- byte[] _reserved3 = new byte[3];
- ListFormatOverrideLevel[] _levelOverrides;
-
- public ListFormatOverride(byte[] buf, int offset)
- {
- _lsid = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _reserved1 = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _reserved2 = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _clfolvl = buf[offset++];
- System.arraycopy(buf, offset, _reserved3, 0, _reserved3.length);
- _levelOverrides = new ListFormatOverrideLevel[_clfolvl];
- }
-
- public int numOverrides()
- {
- return _clfolvl;
- }
-
- public int getLsid()
- {
- return _lsid;
- }
-
- public ListFormatOverrideLevel[] getLevelOverrides()
- {
- return _levelOverrides;
- }
-
- public void setOverride(int index, ListFormatOverrideLevel lfolvl)
- {
- _levelOverrides[index] = lfolvl;
- }
-
- public byte[] toByteArray()
- {
- byte[] buf = new byte[16];
- int offset = 0;
- LittleEndian.putInt(buf, offset, _lsid);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, _reserved1);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, _reserved2);
- offset += LittleEndian.INT_SIZE;
- buf[offset++] = _clfolvl;
- System.arraycopy(_reserved3, 0, buf, offset, 3);
-
- return buf;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListFormatOverrideLevel.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListFormatOverrideLevel.java
deleted file mode 100644
index da1e056edb..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListFormatOverrideLevel.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.BitField;
-
-public class ListFormatOverrideLevel
-{
- private static final int BASE_SIZE = 8;
-
- int _iStartAt;
- byte _info;
- private static BitField _ilvl = new BitField(0xf);
- private static BitField _fStartAt = new BitField(0x10);
- private static BitField _fFormatting = new BitField(0x20);
- byte[] _reserved = new byte[3];
- ListLevel _lvl;
-
- public ListFormatOverrideLevel(byte[] buf, int offset)
- {
- _iStartAt = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _info = buf[offset++];
- System.arraycopy(buf, offset, _reserved, 0, _reserved.length);
- offset += _reserved.length;
-
- if (_fFormatting.getValue(_info) > 0)
- {
- _lvl = new ListLevel(buf, offset);
- }
- }
-
- public int getSizeInBytes()
- {
- return (_lvl == null ? BASE_SIZE : BASE_SIZE + _lvl.getSizeInBytes());
- }
-
- public byte[] toByteArray()
- {
- byte[] buf = new byte[getSizeInBytes()];
-
- int offset = 0;
- LittleEndian.putInt(buf, _iStartAt);
- offset += LittleEndian.INT_SIZE;
- buf[offset++] = _info;
- System.arraycopy(_reserved, 0, buf, offset, 3);
-
- byte[] levelBuf = _lvl.toByteArray();
- System.arraycopy(levelBuf, 0, buf, offset, levelBuf.length);
-
- return buf;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListLevel.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListLevel.java
deleted file mode 100644
index 9b2f822ebc..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListLevel.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-
-public class ListLevel
-{
- private int _iStartAt;
- private byte _nfc;
- private byte _info;
- private static BitField _jc;
- private static BitField _fLegal;
- private static BitField _fNoRestart;
- private static BitField _fPrev;
- private static BitField _fPrevSpace;
- private static BitField _fWord6;
- private byte[] _rgbxchNums;
- private byte _ixchFollow;
- private int _dxaSpace;
- private int _dxaIndent;
- private int _cbGrpprlChpx;
- private int _cbGrpprlPapx;
- private byte _reserved;
- private byte[] _grpprlPapx;
- private byte[] _grpprlChpx;
- private char[] _numberText;
-
- public ListLevel(byte[] buf, int offset)
- {
- _iStartAt = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _nfc = buf[offset++];
- _info = buf[offset++];
-
- _rgbxchNums = new byte[9];
- for (int x = 0; x < 9; x++)
- {
- _rgbxchNums[x] = buf[offset++];
- }
- _ixchFollow = buf[offset++];
- _dxaSpace = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _dxaIndent = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- _cbGrpprlChpx = LittleEndian.getUnsignedByte(buf, offset++);
- _cbGrpprlPapx = LittleEndian.getUnsignedByte(buf, offset++);
- _reserved = buf[offset++];
-
- _grpprlPapx = new byte[_cbGrpprlPapx];
- _grpprlChpx = new byte[_cbGrpprlChpx];
- System.arraycopy(buf, offset, _grpprlPapx, 0, _cbGrpprlPapx);
- offset += _cbGrpprlPapx;
- System.arraycopy(buf, offset, _grpprlChpx, 0, _cbGrpprlChpx);
- offset += _cbGrpprlChpx;
-
- int numberTextLength = LittleEndian.getShort(buf, offset);
- _numberText = new char[numberTextLength];
- offset += LittleEndian.SHORT_SIZE;
- for (int x = 0; x < numberTextLength; x++)
- {
- _numberText[x] = (char)LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- }
-
- }
- public byte[] toByteArray()
- {
- byte[] buf = new byte[getSizeInBytes()];
- int offset = 0;
- LittleEndian.putInt(buf, offset, _iStartAt);
- offset += LittleEndian.INT_SIZE;
- buf[offset++] = _nfc;
- buf[offset++] = _info;
- System.arraycopy(_rgbxchNums, 0, buf, offset, _rgbxchNums.length);
- offset += _rgbxchNums.length;
- buf[offset++] = _ixchFollow;
- LittleEndian.putInt(buf, offset, _dxaSpace);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, _dxaIndent);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, _cbGrpprlChpx);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, _cbGrpprlPapx);
- offset += LittleEndian.INT_SIZE;
-
- System.arraycopy(_grpprlPapx, 0, buf, offset, _cbGrpprlPapx);
- offset += _cbGrpprlPapx;
- System.arraycopy(_grpprlChpx, 0, buf, offset, _cbGrpprlChpx);
- offset += _cbGrpprlChpx;
-
- LittleEndian.putShort(buf, offset, (short)_numberText.length);
- offset += LittleEndian.SHORT_SIZE;
- for (int x = 0; x < _numberText.length; x++)
- {
- LittleEndian.putShort(buf, offset, (short)_numberText[x]);
- offset += LittleEndian.SHORT_SIZE;
- }
- return buf;
- }
- public int getSizeInBytes()
- {
- return 28 + _cbGrpprlChpx + _cbGrpprlPapx + _numberText.length + 2;
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListTables.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListTables.java
deleted file mode 100644
index 90529cbed1..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ListTables.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.LittleEndian;
-
-import org.apache.poi.hwpf.model.io.*;
-
-import java.util.HashMap;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-public class ListTables
-{
- private static final int LIST_DATA_SIZE = 28;
- private static final int LIST_FORMAT_OVERRIDE_SIZE = 16;
-
- HashMap listMap = new HashMap();
- HashMap overrideMap = new HashMap();
-
- public ListTables(byte[] tableStream, int lstOffset, int lfoOffset)
- {
- // get the list data
- int length = LittleEndian.getShort(tableStream, lstOffset);
- lstOffset += LittleEndian.SHORT_SIZE;
- int levelOffset = lstOffset + (length * LIST_DATA_SIZE);
-
- for (int x = 0; x < length; x++)
- {
- ListData lst = new ListData(tableStream, lstOffset);
- listMap.put(new Integer(lst.getLsid()), lst);
- lstOffset += LIST_DATA_SIZE;
-
- int num = lst.numLevels();
- for (int y = 0; y < num; y++)
- {
- ListLevel lvl = new ListLevel(tableStream, levelOffset);
- lst.setLevel(y, lvl);
- levelOffset += lvl.getSizeInBytes();
- }
- }
-
- // now get the list format overrides. The size is an int unlike the LST size
- length = LittleEndian.getInt(tableStream, lfoOffset);
- lfoOffset += LittleEndian.INT_SIZE;
- int lfolvlOffset = LIST_FORMAT_OVERRIDE_SIZE * length + 4;
- for (int x = 0; x < length; x++)
- {
- ListFormatOverride lfo = new ListFormatOverride(tableStream, lfoOffset);
- lfoOffset += LIST_FORMAT_OVERRIDE_SIZE;
- int num = lfo.numOverrides();
- for (int y = 0; y < num; y++)
- {
- ListFormatOverrideLevel lfolvl = new ListFormatOverrideLevel(tableStream, lfolvlOffset);
- lfo.setOverride(y, lfolvl);
- lfolvlOffset += lfolvl.getSizeInBytes();
- }
- overrideMap.put(new Integer(lfo.getLsid()), lfo);
- }
- }
-
- public void writeListDataTo(HWPFOutputStream tableStream)
- throws IOException
- {
-
- Integer[] intList = (Integer[])listMap.keySet().toArray(new Integer[0]);
-
- // use this stream as a buffer for the levels since their size varies.
- ByteArrayOutputStream levelBuf = new ByteArrayOutputStream();
-
- // use a byte array for the lists because we know their size.
- byte[] listBuf = new byte[intList.length * LIST_DATA_SIZE];
-
-
- for (int x = 0; x < intList.length; x++)
- {
- ListData lst = (ListData)listMap.get(intList[x]);
- tableStream.write(lst.toByteArray());
- ListLevel[] lvls = lst.getLevels();
- for (int y = 0; y < lvls.length; y++)
- {
- levelBuf.write(lvls[y].toByteArray());
- }
- }
- tableStream.write(levelBuf.toByteArray());
- }
- public void writeListOverridesTo(HWPFOutputStream tableStream)
- throws IOException
- {
- Integer[] intList = (Integer[])overrideMap.keySet().toArray(new Integer[0]);
-
- // use this stream as a buffer for the levels since their size varies.
- ByteArrayOutputStream levelBuf = new ByteArrayOutputStream();
-
- // use a byte array for the lists because we know their size.
- byte[] overrideBuf = new byte[intList.length * LIST_FORMAT_OVERRIDE_SIZE];
-
-
- for (int x = 0; x < intList.length; x++)
- {
- ListFormatOverride lfo = (ListFormatOverride)overrideMap.get(intList[x]);
- tableStream.write(lfo.toByteArray());
- ListFormatOverrideLevel[] lfolvls = lfo.getLevelOverrides();
- for (int y = 0; y < lfolvls.length; y++)
- {
- levelBuf.write(lfolvls[y].toByteArray());
- }
- }
- tableStream.write(levelBuf.toByteArray());
-
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPBinTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPBinTable.java
deleted file mode 100644
index ae9651231c..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPBinTable.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.util.ArrayList;
-import java.io.IOException;
-import java.io.OutputStream;
-
-import org.apache.poi.hwpf.model.io.*;
-
-import org.apache.poi.poifs.common.POIFSConstants;
-import org.apache.poi.util.LittleEndian;
-
-public class PAPBinTable
-{
- ArrayList _paragraphs = new ArrayList();
-
- public PAPBinTable(byte[] documentStream, byte[] tableStream, int offset,
- int size, int fcMin)
- {
- PlexOfCps binTable = new PlexOfCps(tableStream, offset, size, 4);
-
- int length = binTable.length();
- for (int x = 0; x < length; x++)
- {
- PropertyNode node = binTable.getProperty(x);
-
- int pageNum = LittleEndian.getInt(node.getBuf());
- int pageOffset = POIFSConstants.BIG_BLOCK_SIZE * pageNum;
-
- PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage(documentStream,
- pageOffset, fcMin);
-
- int fkpSize = pfkp.size();
-
- for (int y = 0; y < fkpSize; y++)
- {
- _paragraphs.add(pfkp.getPAPX(y));
- }
- }
- }
-
- public void adjustForDelete(int listIndex, int offset, int length)
- {
- int size = _paragraphs.size();
- int endMark = offset + length;
- int endIndex = listIndex;
-
- PAPX papx = (PAPX)_paragraphs.get(endIndex);
- while (papx.getEnd() < endMark)
- {
- papx = (PAPX)_paragraphs.get(++endIndex);
- }
- if (listIndex == endIndex)
- {
- papx = (PAPX)_paragraphs.get(endIndex);
- papx.setEnd((papx.getEnd() - endMark) + offset);
- }
- else
- {
- papx = (PAPX)_paragraphs.get(listIndex);
- papx.setEnd(offset);
- for (int x = listIndex + 1; x < endIndex; x++)
- {
- papx = (PAPX)_paragraphs.get(x);
- papx.setStart(offset);
- papx.setEnd(offset);
- }
- papx = (PAPX)_paragraphs.get(endIndex);
- papx.setEnd((papx.getEnd() - endMark) + offset);
- }
-
- for (int x = endIndex + 1; x < size; x++)
- {
- papx = (PAPX)_paragraphs.get(x);
- papx.setStart(papx.getStart() - length);
- papx.setEnd(papx.getEnd() - length);
- }
- }
-
-
- public void adjustForInsert(int listIndex, int length)
- {
- int size = _paragraphs.size();
- PAPX papx = (PAPX)_paragraphs.get(listIndex);
- papx.setEnd(papx.getEnd() + length);
-
- for (int x = listIndex + 1; x < size; x++)
- {
- papx = (PAPX)_paragraphs.get(x);
- papx.setStart(papx.getStart() + length);
- papx.setEnd(papx.getEnd() + length);
- }
- }
-
-
- public ArrayList getParagraphs()
- {
- return _paragraphs;
- }
-
- public void writeTo(HWPFFileSystem sys, int fcMin)
- throws IOException
- {
-
- HWPFOutputStream docStream = sys.getStream("WordDocument");
- OutputStream tableStream = sys.getStream("1Table");
-
- PlexOfCps binTable = new PlexOfCps(4);
-
- // each FKP must start on a 512 byte page.
- int docOffset = docStream.getOffset();
- int mod = docOffset % POIFSConstants.BIG_BLOCK_SIZE;
- if (mod != 0)
- {
- byte[] padding = new byte[POIFSConstants.BIG_BLOCK_SIZE - mod];
- docStream.write(padding);
- }
-
- // get the page number for the first fkp
- docOffset = docStream.getOffset();
- int pageNum = docOffset/POIFSConstants.BIG_BLOCK_SIZE;
-
- // get the ending fc
- int endingFc = ((PropertyNode)_paragraphs.get(_paragraphs.size() - 1)).getEnd();
- endingFc += fcMin;
-
-
- ArrayList overflow = _paragraphs;
- do
- {
- PropertyNode startingProp = (PropertyNode)overflow.get(0);
- int start = startingProp.getStart() + fcMin;
-
- PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage();
- pfkp.fill(overflow);
-
- byte[] bufFkp = pfkp.toByteArray(fcMin);
- docStream.write(bufFkp);
- overflow = pfkp.getOverflow();
-
- int end = endingFc;
- if (overflow != null)
- {
- end = ((PropertyNode)overflow.get(0)).getStart() + fcMin;
- }
-
- byte[] intHolder = new byte[4];
- LittleEndian.putInt(intHolder, pageNum++);
- binTable.addProperty(new PropertyNode(start, end, intHolder));
-
- }
- while (overflow != null);
- tableStream.write(binTable.toByteArray());
- }
-
-
-}
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPFormattedDiskPage.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPFormattedDiskPage.java
deleted file mode 100644
index 4c6ebb9c91..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPFormattedDiskPage.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.poifs.common.POIFSConstants;
-import org.apache.poi.util.LittleEndian;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Arrays;
-
-/**
- * Represents a PAP FKP. The style properties for paragraph and character runs
- * are stored in fkps. There are PAP fkps for paragraph properties and CHP fkps
- * for character run properties. The first part of the fkp for both CHP and PAP
- * fkps consists of an array of 4 byte int offsets in the main stream for that
- * Paragraph's or Character run's text. The ending offset is the next
- * value in the array. For example, if an fkp has X number of Paragraph's
- * stored in it then there are (x + 1) 4 byte ints in the beginning array. The
- * number X is determined by the last byte in a 512 byte fkp.
- *
- * CHP and PAP fkps also store the compressed styles(grpprl) that correspond to
- * the offsets on the front of the fkp. The offset of the grpprls is determined
- * differently for CHP fkps and PAP fkps.
- *
- * @author Ryan Ackley
- */
-public class PAPFormattedDiskPage extends FormattedDiskPage
-{
-
- private static final int BX_SIZE = 13;
- private static final int FC_SIZE = 4;
-
- private ArrayList _papxList = new ArrayList();
- private ArrayList _overFlow;
-
-
- public PAPFormattedDiskPage()
- {
-
- }
-
- /**
- * Creates a PAPFormattedDiskPage from a 512 byte array
- */
- public PAPFormattedDiskPage(byte[] documentStream, int offset, int fcMin)
- {
- super(documentStream, offset);
-
- for (int x = 0; x < _crun; x++)
- {
- _papxList.add(new PAPX(getStart(x) - fcMin, getEnd(x) - fcMin, getGrpprl(x), getParagraphHeight(x)));
- }
- _fkp = null;
- }
-
- public void fill(List filler)
- {
- _papxList.addAll(filler);
- }
-
- public ArrayList getOverflow()
- {
- return _overFlow;
- }
-
- public PAPX getPAPX(int index)
- {
- return (PAPX)_papxList.get(index);
- }
-
- /**
- * Gets the papx for the paragraph at index in this fkp.
- *
- * @param index The index of the papx to get.
- * @return a papx grpprl.
- */
- protected byte[] getGrpprl(int index)
- {
- int papxOffset = 2 * LittleEndian.getUnsignedByte(_fkp, _offset + (((_crun + 1) * FC_SIZE) + (index * BX_SIZE)));
- int size = 2 * LittleEndian.getUnsignedByte(_fkp, _offset + papxOffset);
- if(size == 0)
- {
- size = 2 * LittleEndian.getUnsignedByte(_fkp, _offset + ++papxOffset);
- }
- else
- {
- size--;
- }
-
- byte[] papx = new byte[size];
- System.arraycopy(_fkp, _offset + ++papxOffset, papx, 0, size);
- return papx;
- }
-
- protected byte[] toByteArray(int fcMin)
- {
- byte[] buf = new byte[512];
- int size = _papxList.size();
- int grpprlOffset = 0;
- int bxOffset = 0;
- int fcOffset = 0;
- byte[] lastGrpprl = new byte[0];
-
- // total size is currently the size of one FC
- int totalSize = FC_SIZE;
-
- int index = 0;
- for (; index < size; index++)
- {
- byte[] grpprl = ((PAPX)_papxList.get(index)).getGrpprl();
- int grpprlLength = grpprl.length;
-
- // check to see if we have enough room for an FC, a BX, and the grpprl
- // and the 1 byte size of the grpprl.
- int addition = 0;
- if (!Arrays.equals(grpprl, lastGrpprl))
- {
- addition = (FC_SIZE + BX_SIZE + grpprlLength + 1);
- }
- else
- {
- addition = (FC_SIZE + BX_SIZE);
- }
-
- totalSize += addition;
-
- // if size is uneven we will have to add one so the first grpprl falls
- // on a word boundary
- if (totalSize > 511 + (index % 2))
- {
- totalSize -= addition;
- break;
- }
-
- // grpprls must fall on word boundaries
- if (grpprlLength % 2 > 0)
- {
- totalSize += 1;
- }
- else
- {
- totalSize += 2;
- }
- lastGrpprl = grpprl;
- }
-
- // see if we couldn't fit some
- if (index != size)
- {
- _overFlow = new ArrayList();
- _overFlow.addAll(_papxList.subList(index, size));
- }
-
- // index should equal number of papxs that will be in this fkp now.
- buf[511] = (byte)index;
-
- bxOffset = (FC_SIZE * index) + FC_SIZE;
- grpprlOffset = 511;
-
- PAPX papx = null;
- lastGrpprl = new byte[0];
- for (int x = 0; x < index; x++)
- {
- papx = (PAPX)_papxList.get(x);
- byte[] phe = papx.getParagraphHeight().toByteArray();
- byte[] grpprl = papx.getGrpprl();
-
- boolean same = Arrays.equals(lastGrpprl, grpprl);
- if (!same)
- {
- grpprlOffset -= (grpprl.length + (2 - grpprl.length % 2));
- grpprlOffset -= (grpprlOffset % 2);
- }
- LittleEndian.putInt(buf, fcOffset, papx.getStart() + fcMin);
- buf[bxOffset] = (byte)(grpprlOffset/2);
- System.arraycopy(phe, 0, buf, bxOffset + 1, phe.length);
-
- // refer to the section on PAPX in the spec. Places a size on the front
- // of the PAPX. Has to do with how the grpprl stays on word
- // boundaries.
- if (!same)
- {
- int copyOffset = grpprlOffset;
- if ( (grpprl.length % 2) > 0)
- {
- buf[copyOffset++] = (byte) ( (grpprl.length + 1) / 2);
- }
- else
- {
- buf[++copyOffset] = (byte) ( (grpprl.length) / 2);
- copyOffset++;
- }
- System.arraycopy(grpprl, 0, buf, copyOffset, grpprl.length);
- lastGrpprl = grpprl;
- }
-
- bxOffset += BX_SIZE;
- fcOffset += FC_SIZE;
-
- }
- // put the last papx's end in
- LittleEndian.putInt(buf, fcOffset, papx.getEnd() + fcMin);
- return buf;
- }
-
- private ParagraphHeight getParagraphHeight(int index)
- {
- int pheOffset = _offset + 1 + (((_crun + 1) * 4) + (index * 13));
-
- ParagraphHeight phe = new ParagraphHeight(_fkp, pheOffset);
-
- return phe;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPX.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPX.java
deleted file mode 100644
index 9eb9f1017f..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PAPX.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-
-import org.apache.poi.util.LittleEndian;
-
-import org.apache.poi.hwpf.usermodel.Paragraph;
-import org.apache.poi.hwpf.sprm.SprmBuffer;
-
-/**
- * Comment me
- *
- * @author Ryan Ackley
- */
-
-public class PAPX extends PropertyNode
-{
-
- private ParagraphHeight _phe;
-
- public PAPX(int fcStart, int fcEnd, byte[] papx, ParagraphHeight phe)
- {
- super(fcStart, fcEnd, new SprmBuffer(papx));
- _phe = phe;
- }
-
- public ParagraphHeight getParagraphHeight()
- {
- return _phe;
- }
-
- public byte[] getGrpprl()
- {
- return ((SprmBuffer)_buf).toByteArray();
- }
-
- public byte[] getBuf()
- {
- return getGrpprl();
- }
-
- public short getIstd()
- {
- byte[] buf = getGrpprl();
- if (buf.length == 0)
- {
- return 0;
- }
- else
- {
- return LittleEndian.getShort(buf);
- }
- }
-
- public boolean equals(Object o)
- {
- if (super.equals(o))
- {
- return _phe.equals(((PAPX)o)._phe);
- }
- return false;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ParagraphHeight.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ParagraphHeight.java
deleted file mode 100644
index 11287d9425..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/ParagraphHeight.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.io.OutputStream;
-import java.io.IOException;
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-
-public class ParagraphHeight
-{
- private short infoField;
- private BitField fSpare = new BitField(0x0001);
- private BitField fUnk = new BitField(0x0002);
- private BitField fDiffLines = new BitField(0x0004);
- private BitField clMac = new BitField(0xff00);
- private short reserved;
- private int dxaCol;
- private int dymLineOrHeight;
-
- public ParagraphHeight(byte[] buf, int offset)
- {
- infoField = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- reserved = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- dxaCol = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- dymLineOrHeight = LittleEndian.getInt(buf, offset);
- }
-
- public void write(OutputStream out)
- throws IOException
- {
- out.write(toByteArray());
- }
-
- protected byte[] toByteArray()
- {
- byte[] buf = new byte[12];
- int offset = 0;
- LittleEndian.putShort(buf, offset, infoField);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, reserved);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putInt(buf, offset, dxaCol);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putInt(buf, offset, dymLineOrHeight);
-
- return buf;
- }
-
- public boolean equals(Object o)
- {
- ParagraphHeight ph = (ParagraphHeight)o;
-
- return infoField == ph.infoField && reserved == ph.reserved &&
- dxaCol == ph.dxaCol && dymLineOrHeight == ph.dymLineOrHeight;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PieceDescriptor.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PieceDescriptor.java
deleted file mode 100644
index 3dfd2f99de..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PieceDescriptor.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-
-public class PieceDescriptor
-{
-
- short descriptor;
- private static BitField fNoParaLast = new BitField(0x01);
- private static BitField fPaphNil = new BitField(0x02);
- private static BitField fCopied = new BitField(0x04);
- int fc;
- short prm;
- boolean unicode;
-
-
- public PieceDescriptor(byte[] buf, int offset)
- {
- descriptor = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- fc = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- prm = LittleEndian.getShort(buf, offset);
-
- // see if this piece uses unicode.
- if ((fc & 0x40000000) == 0)
- {
- unicode = true;
- }
- else
- {
- unicode = false;
- fc &= ~(0x40000000);//gives me FC in doc stream
- fc /= 2;
- }
-
- }
-
- public int getFilePosition()
- {
- return fc;
- }
-
- public void setFilePosition(int pos)
- {
- fc = pos;
- }
-
- public boolean isUnicode()
- {
- return unicode;
- }
-
- protected byte[] toByteArray()
- {
- // set up the fc
- int tempFc = fc;
- if (!unicode)
- {
- tempFc *= 2;
- tempFc |= (0x40000000);
- }
-
- int offset = 0;
- byte[] buf = new byte[8];
- LittleEndian.putShort(buf, offset, descriptor);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putInt(buf, offset, tempFc);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putShort(buf, offset, prm);
-
- return buf;
-
- }
-
- public static int getSizeInBytes()
- {
- return 8;
- }
-
- public boolean equals(Object o)
- {
- PieceDescriptor pd = (PieceDescriptor)o;
-
- return descriptor == pd.descriptor && prm == pd.prm && unicode == pd.unicode;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PlexOfCps.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PlexOfCps.java
deleted file mode 100644
index 8a75cd3216..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PlexOfCps.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.util.ArrayList;
-
-import org.apache.poi.util.LittleEndian;
-
-
-
-/**
- * common data structure in a Word file. Contains an array of 4 byte ints in
- * the front that relate to an array of abitrary data structures in the back.
- *
- *
- * @author Ryan Ackley
- */
-public class PlexOfCps
-{
- private int _count;
- private int _offset;
- private int _sizeOfStruct;
- private ArrayList _props;
-
-
- public PlexOfCps(int sizeOfStruct)
- {
- _props = new ArrayList();
- _sizeOfStruct = sizeOfStruct;
- }
-
- /**
- * Constructor
- *
- * @param size The size in bytes of this PlexOfCps
- * @param sizeOfStruct The size of the data structure type stored in
- * this PlexOfCps.
- */
- public PlexOfCps(byte[] buf, int start, int size, int sizeOfStruct)
- {
- _count = (size - 4)/(4 + sizeOfStruct);
- _sizeOfStruct = sizeOfStruct;
- _props = new ArrayList(_count);
-
- for (int x = 0; x < _count; x++)
- {
- _props.add(getProperty(x, buf, start));
- }
- }
-
- public PropertyNode getProperty(int index)
- {
- return (PropertyNode)_props.get(index);
- }
-
- public void addProperty(PropertyNode node)
- {
- _props.add(node);
- }
-
- public byte[] toByteArray()
- {
- int size = _props.size();
- int cpBufSize = ((size + 1) * LittleEndian.INT_SIZE);
- int structBufSize = + (_sizeOfStruct * size);
- int bufSize = cpBufSize + structBufSize;
-
- byte[] buf = new byte[bufSize];
-
- PropertyNode node = null;
- for (int x = 0; x < size; x++)
- {
- node = (PropertyNode)_props.get(x);
-
- // put the starting offset of the property into the plcf.
- LittleEndian.putInt(buf, (LittleEndian.INT_SIZE * x), node.getStart());
-
- // put the struct into the plcf
- System.arraycopy(node.getBuf(), 0, buf, cpBufSize + (x * _sizeOfStruct),
- _sizeOfStruct);
- }
- // put the ending offset of the last property into the plcf.
- LittleEndian.putInt(buf, LittleEndian.INT_SIZE * size, node.getEnd());
-
- return buf;
-
- }
-
- private PropertyNode getProperty(int index, byte[] buf, int offset)
- {
- int start = LittleEndian.getInt(buf, offset + getIntOffset(index));
- int end = LittleEndian.getInt(buf, offset + getIntOffset(index+1));
-
- byte[] struct = new byte[_sizeOfStruct];
- System.arraycopy(buf, offset + getStructOffset(index), struct, 0, _sizeOfStruct);
-
- return new PropertyNode(start, end, struct);
- }
-
- private int getIntOffset(int index)
- {
- return index * 4;
- }
-
- /**
- * returns the number of data structures in this PlexOfCps.
- *
- * @return The number of data structures in this PlexOfCps
- */
- public int length()
- {
- return _count;
- }
-
- /**
- * Returns the offset, in bytes, from the beginning if this PlexOfCps to
- * the data structure at index.
- *
- * @param index The index of the data structure.
- *
- * @return The offset, in bytes, from the beginning if this PlexOfCps to
- * the data structure at index.
- */
- private int getStructOffset(int index)
- {
- return (4 * (_count + 1)) + (_sizeOfStruct * index);
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PropertyNode.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PropertyNode.java
deleted file mode 100644
index 972ea9c3cc..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/PropertyNode.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.lang.ref.SoftReference;
-import java.io.ByteArrayOutputStream;
-
-import org.apache.poi.hwpf.sprm.SprmBuffer;
-
-/**
- * Represents a lightweight node in the Trees used to store content
- * properties.
- *
- * @author Ryan Ackley
- */
-public class PropertyNode implements Comparable
-{
- protected Object _buf;
- private int _cpStart;
- private int _cpEnd;
- protected SoftReference _propCache;
-
- /**
- * @param fcStart The start of the text for this property.
- * @param fcEnd The end of the text for this property.
- */
- public PropertyNode(int fcStart, int fcEnd, Object buf)
- {
- _cpStart = fcStart;
- _cpEnd = fcEnd;
- _buf = buf;
-
- }
- /**
- * @return The offset of this property's text.
- */
- public int getStart()
- {
- return _cpStart;
- }
-
- void setStart(int start)
- {
- _cpStart = start;
- }
-
- /**
- * @return The offset of the end of this property's text.
- */
- public int getEnd()
- {
- return _cpEnd;
- }
-
- void setEnd(int end)
- {
- _cpEnd = end;
- }
-
- /**
- * @return This property's property in copmpressed form.
- */
- public byte[] getBuf()
- {
- return ((byte[])_buf);
- }
-
- public boolean equals(Object o)
- {
- byte[] buf = getBuf();
- if (((PropertyNode)o).getStart() == _cpStart &&
- ((PropertyNode)o).getEnd() == _cpEnd)
- {
- byte[] testBuf = ((PropertyNode)o).getBuf();
-
- if (testBuf.length == buf.length)
- {
- for (int x = 0; x < buf.length; x++)
- {
- if (testBuf[x] != buf[x])
- {
- return false;
- }
- }
- return true;
- }
- }
- return false;
- }
- /**
- * Used for sorting in collections.
- */
- public int compareTo(Object o)
- {
- int cpEnd = ((PropertyNode)o).getEnd();
- if(_cpEnd == cpEnd)
- {
- return 0;
- }
- else if(_cpEnd < cpEnd)
- {
- return -1;
- }
- else
- {
- return 1;
- }
- }
-
- public void fillCache(Object ref)
- {
- _propCache = new SoftReference(ref);
- }
-
- public Object getCacheContents()
- {
- return _propCache == null ? null : _propCache.get();
- }
-
-
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SEPX.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SEPX.java
deleted file mode 100644
index 8547a5a1f9..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SEPX.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-
-public class SEPX extends PropertyNode
-{
-
- SectionDescriptor _sed;
-
- public SEPX(SectionDescriptor sed, int start, int end, byte[] grpprl)
- {
- super(start, end, grpprl);
- _sed = sed;
- }
-
- public byte[] getGrpprl()
- {
- return super.getBuf();
- }
-
- public SectionDescriptor getSectionDescriptor()
- {
- return _sed;
- }
-
- public boolean equals(Object o)
- {
- SEPX sepx = (SEPX)o;
- if (super.equals(o))
- {
- return sepx._sed.equals(_sed);
- }
- return false;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionDescriptor.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionDescriptor.java
deleted file mode 100644
index 8e4bf21eec..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionDescriptor.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import org.apache.poi.util.LittleEndian;
-
-public class SectionDescriptor
-{
-
- private short fn;
- private int fc;
- private short fnMpr;
- private int fcMpr;
-
- public SectionDescriptor()
- {
- }
-
- public SectionDescriptor(byte[] buf, int offset)
- {
- fn = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- fc = LittleEndian.getInt(buf, offset);
- offset += LittleEndian.INT_SIZE;
- fnMpr = LittleEndian.getShort(buf, offset);
- offset += LittleEndian.SHORT_SIZE;
- fcMpr = LittleEndian.getInt(buf, offset);
- }
-
- public int getFc()
- {
- return fc;
- }
-
- public void setFc(int fc)
- {
- this.fc = fc;
- }
-
- public boolean equals(Object o)
- {
- SectionDescriptor sed = (SectionDescriptor)o;
- return sed.fn == fn && sed.fnMpr == fnMpr;
- }
-
- public byte[] toByteArray()
- {
- int offset = 0;
- byte[] buf = new byte[12];
-
- LittleEndian.putShort(buf, offset, fn);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putInt(buf, offset, fc);
- offset += LittleEndian.INT_SIZE;
- LittleEndian.putShort(buf, offset, fnMpr);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putInt(buf, offset, fcMpr);
-
- return buf;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionTable.java
deleted file mode 100644
index 50dba85fda..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/SectionTable.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.util.ArrayList;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.hwpf.model.io.*;
-
-public class SectionTable
-{
- private static final int SED_SIZE = 12;
-
- private ArrayList _sections = new ArrayList();
-
- public SectionTable(byte[] documentStream, byte[] tableStream, int offset,
- int size, int fcMin)
- {
- PlexOfCps sedPlex = new PlexOfCps(tableStream, offset, size, SED_SIZE);
-
- int length = sedPlex.length();
-
- for (int x = 0; x < length; x++)
- {
- PropertyNode node = sedPlex.getProperty(x);
- SectionDescriptor sed = new SectionDescriptor(node.getBuf(), 0);
-
- int fileOffset = sed.getFc();
-
- // check for the optimization
- if (fileOffset == 0xffffffff)
- {
- _sections.add(new SEPX(sed, node.getStart(), node.getEnd(), new byte[0]));
- }
- else
- {
- // The first short at the offset is the size of the grpprl.
- int sepxSize = LittleEndian.getShort(documentStream, fileOffset);
- byte[] buf = new byte[sepxSize];
- fileOffset += LittleEndian.SHORT_SIZE;
- System.arraycopy(documentStream, fileOffset, buf, 0, buf.length);
- _sections.add(new SEPX(sed, node.getStart(), node.getEnd(), buf));
- }
- }
- }
-
- public void adjustForInsert(int listIndex, int length)
- {
- int size = _sections.size();
- SEPX sepx = (SEPX)_sections.get(listIndex);
- sepx.setEnd(sepx.getEnd() + length);
-
- for (int x = listIndex + 1; x < size; x++)
- {
- sepx = (SEPX)_sections.get(x);
- sepx.setStart(sepx.getStart() + length);
- sepx.setEnd(sepx.getEnd() + length);
- }
- }
-
-
- public ArrayList getSections()
- {
- return _sections;
- }
-
- public void writeTo(HWPFFileSystem sys, int fcMin)
- throws IOException
- {
- HWPFOutputStream docStream = sys.getStream("WordDocument");
- HWPFOutputStream tableStream = sys.getStream("1Table");
-
- int offset = docStream.getOffset();
- int len = _sections.size();
- PlexOfCps plex = new PlexOfCps(SED_SIZE);
-
- for (int x = 0; x < len; x++)
- {
- SEPX sepx = (SEPX)_sections.get(x);
- byte[] grpprl = sepx.getGrpprl();
-
- // write the sepx to the document stream. starts with a 2 byte size
- // followed by the grpprl
- byte[] shortBuf = new byte[2];
- LittleEndian.putShort(shortBuf, (short)grpprl.length);
-
- docStream.write(shortBuf);
- docStream.write(grpprl);
-
- // set the fc in the section descriptor
- SectionDescriptor sed = sepx.getSectionDescriptor();
- sed.setFc(offset);
-
- // add the section descriptor bytes to the PlexOfCps.
- PropertyNode property = new PropertyNode(sepx.getStart(), sepx.getEnd(), sed.toByteArray());
- plex.addProperty(property);
-
- offset = docStream.getOffset();
- }
- tableStream.write(plex.toByteArray());
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/StyleDescription.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/StyleDescription.java
deleted file mode 100644
index b4902e231c..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/StyleDescription.java
+++ /dev/null
@@ -1,294 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.io.UnsupportedEncodingException;
-import java.util.Arrays;
-
-import org.apache.poi.hwpf.usermodel.CharacterRun;
-import org.apache.poi.hwpf.usermodel.Paragraph;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.BitField;
-/**
- * Comment me
- *
- * @author Ryan Ackley
- */
-
-public class StyleDescription implements HDFType
-{
-
- private final static int PARAGRAPH_STYLE = 1;
- private final static int CHARACTER_STYLE = 2;
-
- private int _istd;
- private int _baseLength;
- private short _infoShort;
- private static BitField _sti = new BitField(0xfff);
- private static BitField _fScratch = new BitField(0x1000);
- private static BitField _fInvalHeight = new BitField(0x2000);
- private static BitField _fHasUpe = new BitField(0x4000);
- private static BitField _fMassCopy = new BitField(0x8000);
- private short _infoShort2;
- private static BitField _styleTypeCode = new BitField(0xf);
- private static BitField _baseStyle = new BitField(0xfff0);
- private short _infoShort3;
- private static BitField _numUPX = new BitField(0xf);
- private static BitField _nextStyle = new BitField(0xfff0);
- private short _bchUpe;
- private short _infoShort4;
- private static BitField _fAutoRedef = new BitField(0x1);
- private static BitField _fHidden = new BitField(0x2);
-
- UPX[] _upxs;
- String _name;
- Paragraph _pap;
- CharacterRun _chp;
-
- public StyleDescription()
- {
-// _pap = new ParagraphProperties();
-// _chp = new CharacterProperties();
- }
- public StyleDescription(byte[] std, int baseLength, int offset, boolean word9)
- {
- _baseLength = baseLength;
- int nameStart = offset + baseLength;
- _infoShort = LittleEndian.getShort(std, offset);
- offset += LittleEndian.SHORT_SIZE;
- _infoShort2 = LittleEndian.getShort(std, offset);
- offset += LittleEndian.SHORT_SIZE;
- _infoShort3 = LittleEndian.getShort(std, offset);
- offset += LittleEndian.SHORT_SIZE;
- _bchUpe = LittleEndian.getShort(std, offset);
- offset += LittleEndian.SHORT_SIZE;
- _infoShort4 = LittleEndian.getShort(std, offset);
- offset += LittleEndian.SHORT_SIZE;
-
- //first byte(s) of variable length section of std is the length of the
- //style name and aliases string
- int nameLength = 0;
- int multiplier = 1;
- if(word9)
- {
- nameLength = LittleEndian.getShort(std, nameStart);
- multiplier = 2;
- nameStart += LittleEndian.SHORT_SIZE;
- }
- else
- {
- nameLength = std[nameStart];
- }
-
- try
- {
- _name = new String(std, nameStart, nameLength * multiplier, "UTF-16LE");
- }
- catch (UnsupportedEncodingException ignore)
- {
- // ignore
- }
-
- //length then null terminator.
- int grupxStart = ((nameLength + 1) * multiplier) + nameStart;
-
- // the spec only refers to two possible upxs but it mentions
- // that more may be added in the future
- int varOffset = grupxStart;
- int numUPX = _numUPX.getValue(_infoShort3);
- _upxs = new UPX[numUPX];
- for(int x = 0; x < numUPX; x++)
- {
- int upxSize = LittleEndian.getShort(std, varOffset);
- varOffset += LittleEndian.SHORT_SIZE;
-
- byte[] upx = new byte[upxSize];
- System.arraycopy(std, varOffset, upx, 0, upxSize);
- _upxs[x] = new UPX(upx);
- varOffset += upxSize;
-
-
- // the upx will always start on a word boundary.
- if(upxSize % 2 == 1)
- {
- ++varOffset;
- }
-
- }
-
-
- }
- public int getBaseStyle()
- {
- return _baseStyle.getValue(_infoShort2);
- }
- public byte[] getCHPX()
- {
- switch (_styleTypeCode.getValue(_infoShort2))
- {
- case PARAGRAPH_STYLE:
- if (_upxs.length > 1)
- {
- return _upxs[1].getUPX();
- }
- return null;
- case CHARACTER_STYLE:
- return _upxs[0].getUPX();
- default:
- return null;
- }
-
- }
- public byte[] getPAPX()
- {
- switch (_styleTypeCode.getValue(_infoShort2))
- {
- case PARAGRAPH_STYLE:
- return _upxs[0].getUPX();
- default:
- return null;
- }
- }
- public Paragraph getPAP()
- {
- return _pap;
- }
- public CharacterRun getCHP()
- {
- return _chp;
- }
- void setPAP(Paragraph pap)
- {
- _pap = pap;
- }
- void setCHP(CharacterRun chp)
- {
- _chp = chp;
- }
-
- public byte[] toByteArray()
- {
- // size equals _baseLength bytes for known variables plus 2 bytes for name
- // length plus name length * 2 plus 2 bytes for null plus upx's preceded by
- // length
- int size = _baseLength + 2 + ((_name.length() + 1) * 2);
-
- // determine the size needed for the upxs. They always fall on word
- // boundaries.
- size += _upxs[0].size() + 2;
- for (int x = 1; x < _upxs.length; x++)
- {
- size += _upxs[x-1].size() % 2;
- size += _upxs[x].size() + 2;
- }
-
-
- byte[] buf = new byte[size];
-
- int offset = 0;
- LittleEndian.putShort(buf, offset, _infoShort);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, _infoShort2);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, _infoShort3);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, _bchUpe);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, _infoShort4);
- offset = _baseLength;
-
- char[] letters = _name.toCharArray();
- LittleEndian.putShort(buf, _baseLength, (short)letters.length);
- offset += LittleEndian.SHORT_SIZE;
- for (int x = 0; x < letters.length; x++)
- {
- LittleEndian.putShort(buf, offset, (short)letters[x]);
- offset += LittleEndian.SHORT_SIZE;
- }
- // get past the null delimiter for the name.
- offset += LittleEndian.SHORT_SIZE;
-
- for (int x = 0; x < _upxs.length; x++)
- {
- short upxSize = (short)_upxs[x].size();
- LittleEndian.putShort(buf, offset, upxSize);
- offset += LittleEndian.SHORT_SIZE;
- System.arraycopy(_upxs[x].getUPX(), 0, buf, offset, upxSize);
- offset += upxSize + (upxSize % 2);
- }
-
- return buf;
- }
-
- public boolean equals(Object o)
- {
- StyleDescription sd = (StyleDescription)o;
- if (sd._infoShort == _infoShort && sd._infoShort2 == _infoShort2 &&
- sd._infoShort3 == _infoShort3 && sd._bchUpe == _bchUpe &&
- sd._infoShort4 == _infoShort4 &&
- _name.equals(sd._name))
- {
-
- if (!Arrays.equals(_upxs, sd._upxs))
- {
- return false;
- }
- return true;
- }
- return false;
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/StyleSheet.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/StyleSheet.java
deleted file mode 100644
index 68a117bf07..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/StyleSheet.java
+++ /dev/null
@@ -1,325 +0,0 @@
-
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.util.*;
-import java.io.IOException;
-
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.hwpf.model.io.HWPFOutputStream;
-import org.apache.poi.hwpf.usermodel.CharacterRun;
-import org.apache.poi.hwpf.usermodel.Paragraph;
-import org.apache.poi.hwpf.sprm.ParagraphSprmUncompressor;
-import org.apache.poi.hwpf.sprm.CharacterSprmUncompressor;
-
-/**
- * Represents a document's stylesheet. A word documents formatting is stored as
- * compressed styles that are based on styles contained in the stylesheet. This
- * class also contains static utility functions to uncompress different
- * formatting properties.
- *
- * @author Ryan Ackley
- */
-
-public class StyleSheet implements HDFType
-{
-
- private static final int NIL_STYLE = 4095;
- private static final int PAP_TYPE = 1;
- private static final int CHP_TYPE = 2;
- private static final int SEP_TYPE = 4;
- private static final int TAP_TYPE = 5;
-
-
- private int _stshiLength;
- private int _baseLength;
- private int _flags;
- private int _maxIndex;
- private int _maxFixedIndex;
- private int _stylenameVersion;
- private int[] _rgftc;
-
- StyleDescription[] _styleDescriptions;
-
- /**
- * StyleSheet constructor. Loads a document's stylesheet information,
- */
- public StyleSheet(byte[] tableStream, int offset)
- {
- _stshiLength = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- int stdCount = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _baseLength = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _flags = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _maxIndex = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _maxFixedIndex = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _stylenameVersion = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
-
- _rgftc = new int[3];
- _rgftc[0] = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _rgftc[1] = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
- _rgftc[2] = LittleEndian.getShort(tableStream, offset);
- offset += LittleEndian.SHORT_SIZE;
-
- offset = (LittleEndian.SHORT_SIZE + _stshiLength);
- _styleDescriptions = new StyleDescription[stdCount];
- for(int x = 0; x < stdCount; x++)
- {
- int stdSize = LittleEndian.getShort(tableStream, offset);
- //get past the size
- offset += 2;
- if(stdSize > 0)
- {
- //byte[] std = new byte[stdSize];
-
- StyleDescription aStyle = new StyleDescription(tableStream,
- _baseLength, offset, true);
-
- _styleDescriptions[x] = aStyle;
- }
-
- offset += stdSize;
-
- }
- for(int x = 0; x < _styleDescriptions.length; x++)
- {
- if(_styleDescriptions[x] != null)
- {
- createPap(x);
- createChp(x);
- }
- }
- }
-
- public void writeTo(HWPFOutputStream out)
- throws IOException
- {
- int offset = 0;
- // add two bytes so we can prepend the stylesheet w/ its size
- byte[] buf = new byte[_stshiLength + 2];
- LittleEndian.putShort(buf, offset, (short)_stshiLength);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_styleDescriptions.length);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_baseLength);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_flags);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_maxIndex);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_maxFixedIndex);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_stylenameVersion);
- offset += LittleEndian.SHORT_SIZE;
-
- LittleEndian.putShort(buf, offset, (short)_rgftc[0]);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_rgftc[1]);
- offset += LittleEndian.SHORT_SIZE;
- LittleEndian.putShort(buf, offset, (short)_rgftc[2]);
-
- out.write(buf);
-
- byte[] sizeHolder = new byte[2];
- for (int x = 0; x < _styleDescriptions.length; x++)
- {
- if(_styleDescriptions[x] != null)
- {
- byte[] std = _styleDescriptions[x].toByteArray();
-
- LittleEndian.putShort(sizeHolder, (short)(std.length));
- out.write(sizeHolder);
- out.write(std);
- }
- else
- {
- sizeHolder[0] = 0;
- sizeHolder[1] = 0;
- out.write(sizeHolder);
- }
- }
- }
- public boolean equals(Object o)
- {
- StyleSheet ss = (StyleSheet)o;
-
- if (ss._baseLength == _baseLength && ss._flags == _flags &&
- ss._maxFixedIndex ==_maxFixedIndex && ss._maxIndex == _maxIndex &&
- ss._rgftc[0] == _rgftc[0] && ss._rgftc[1] == _rgftc[1] &&
- ss._rgftc[2] == _rgftc[2] && ss._stshiLength == _stshiLength &&
- ss._stylenameVersion == _stylenameVersion)
- {
- if (ss._styleDescriptions.length == _styleDescriptions.length)
- {
- for (int x = 0; x < _styleDescriptions.length; x++)
- {
- // check for null
- if (ss._styleDescriptions[x] != _styleDescriptions[x])
- {
- // check for equality
- if (!ss._styleDescriptions[x].equals(_styleDescriptions[x]))
- {
- return false;
- }
- }
- }
- return true;
- }
- }
- return false;
- }
- /**
- * Creates a PartagraphProperties object from a papx stored in the
- * StyleDescription at the index istd in the StyleDescription array. The PAP
- * is placed in the StyleDescription at istd after its been created. Not
- * every StyleDescription will contain a papx. In these cases this function
- * does nothing
- *
- * @param istd The index of the StyleDescription to create the
- * ParagraphProperties from (and also place the finished PAP in)
- */
- private void createPap(int istd)
- {
- StyleDescription sd = _styleDescriptions[istd];
- Paragraph pap = sd.getPAP();
- byte[] papx = sd.getPAPX();
- int baseIndex = sd.getBaseStyle();
- if(pap == null && papx != null)
- {
- Paragraph parentPAP = new Paragraph();
- if(baseIndex != NIL_STYLE)
- {
-
- parentPAP = _styleDescriptions[baseIndex].getPAP();
- if(parentPAP == null)
- {
- createPap(baseIndex);
- parentPAP = _styleDescriptions[baseIndex].getPAP();
- }
-
- }
-
- pap = (Paragraph)ParagraphSprmUncompressor.uncompressPAP(parentPAP, papx, 2);
- sd.setPAP(pap);
- }
- }
- /**
- * Creates a CharacterProperties object from a chpx stored in the
- * StyleDescription at the index istd in the StyleDescription array. The
- * CharacterProperties object is placed in the StyleDescription at istd after
- * its been created. Not every StyleDescription will contain a chpx. In these
- * cases this function does nothing.
- *
- * @param istd The index of the StyleDescription to create the
- * CharacterProperties object from.
- */
- private void createChp(int istd)
- {
- StyleDescription sd = _styleDescriptions[istd];
- CharacterRun chp = sd.getCHP();
- byte[] chpx = sd.getCHPX();
- int baseIndex = sd.getBaseStyle();
- if(chp == null && chpx != null)
- {
- CharacterRun parentCHP = new CharacterRun();
- if(baseIndex != NIL_STYLE)
- {
-
- parentCHP = _styleDescriptions[baseIndex].getCHP();
- if(parentCHP == null)
- {
- createChp(baseIndex);
- parentCHP = _styleDescriptions[baseIndex].getCHP();
- }
-
- }
-
- chp = (CharacterRun)CharacterSprmUncompressor.uncompressCHP(parentCHP, chpx, 0);
- sd.setCHP(chp);
- }
- }
-
- /**
- * Gets the StyleDescription at index x.
- *
- * @param x the index of the desired StyleDescription.
- */
- public StyleDescription getStyleDescription(int x)
- {
- return _styleDescriptions[x];
- }
-
- public CharacterRun getCharacterStyle(int x)
- {
- return (_styleDescriptions[x] != null ? _styleDescriptions[x].getCHP() : null);
- }
-
- public Paragraph getParagraphStyle(int x)
- {
- return (_styleDescriptions[x] != null ? _styleDescriptions[x].getPAP() : null);
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/TextPiece.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/TextPiece.java
deleted file mode 100644
index 4065a86dad..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/TextPiece.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-
-import java.io.UnsupportedEncodingException;
-/**
- * Lightweight representation of a text piece.
- *
- * @author Ryan Ackley
- */
-
-public class TextPiece extends PropertyNode implements Comparable
-{
- private boolean _usesUnicode;
- private int _length;
- private PieceDescriptor _pd;
-
- /**
- * @param start Offset in main document stream.
- */
- public TextPiece(int start, int end, byte[] text, PieceDescriptor pd)
- throws UnsupportedEncodingException
- {
- super(start, end, new StringBuffer(new String(text, pd.isUnicode() ? "UTF-16LE" : "Cp1252")));
- _usesUnicode = pd.isUnicode();
- _length = end - start;
- _pd = pd;
- }
- /**
- * @return If this text piece uses unicode
- */
- public boolean usesUnicode()
- {
- return _usesUnicode;
- }
-
- public PieceDescriptor getPieceDescriptor()
- {
- return _pd;
- }
-
- public StringBuffer getStringBuffer()
- {
- return (StringBuffer)_buf;
- }
-
- public byte[] getBuf()
- {
- try
- {
- return ((StringBuffer)_buf).toString().getBytes(_usesUnicode ?
- "UTF-16LE" : "Cp1252");
- }
- catch (UnsupportedEncodingException ignore)
- {
- // shouldn't ever happen considering we wouldn't have been able to
- // create the StringBuffer w/o getting this exception
- return ((StringBuffer)_buf).toString().getBytes();
- }
-
- }
-
- public boolean equals(Object o)
- {
- if (super.equals(o))
- {
- TextPiece tp = (TextPiece)o;
- return tp._usesUnicode == _usesUnicode && _pd.equals(tp._pd);
- }
- return false;
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/TextPieceTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/TextPieceTable.java
deleted file mode 100644
index c9a417f980..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/TextPieceTable.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/*
- * ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-
-import java.io.UnsupportedEncodingException;
-import java.io.IOException;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import org.apache.poi.poifs.common.POIFSConstants;
-
-import org.apache.poi.hwpf.model.io.*;
-
-
-public class TextPieceTable
-{
- ArrayList _textPieces = new ArrayList();
- //int _multiple;
- int _cpMin;
-
- public TextPieceTable(byte[] documentStream, byte[] tableStream, int offset,
- int size, int fcMin)
- throws UnsupportedEncodingException
- {
- // get our plex of PieceDescriptors
- PlexOfCps pieceTable = new PlexOfCps(tableStream, offset, size, PieceDescriptor.getSizeInBytes());
-
- //_multiple = 2;
- int length = pieceTable.length();
- PieceDescriptor[] pieces = new PieceDescriptor[length];
-
- // iterate through piece descriptors raw bytes and create
- // PieceDescriptor objects
- for (int x = 0; x < length; x++)
- {
- PropertyNode node = pieceTable.getProperty(x);
- pieces[x] = new PieceDescriptor(node.getBuf(), 0);
-
-// if (!pieces[x].isUnicode())
-// {
-// _multiple = 1;
-// }
- }
-
- _cpMin = pieces[0].getFilePosition() - fcMin;
- // if a piece is unicode the actual offset may be bumped because of the
- // doubling of the needed size.
- int bump = 0;
-
- // using the PieceDescriptors, build our list of TextPieces.
- for (int x = 0; x < pieces.length; x++)
- {
- int start = pieces[x].getFilePosition();
- PropertyNode node = pieceTable.getProperty(x);
- int nodeStart = node.getStart();
-
- // multiple will be 2 if there is only one piece and its unicode. Some
- // type of optimization.
- boolean unicode = pieces[x].isUnicode();
-
- int multiple = 1;
- if (unicode)
- {
- multiple = 2;
- }
- int nodeEnd = ((node.getEnd() - nodeStart) * multiple) + nodeStart;
- int textSize = nodeEnd - nodeStart;
-
-
- byte[] buf = new byte[textSize];
- System.arraycopy(documentStream, start, buf, 0, textSize);
- _textPieces.add(new TextPiece(nodeStart + bump, nodeEnd + bump, buf, pieces[x]));
-
- if (unicode)
- {
- bump += (node.getEnd() - nodeStart);
- }
- }
- }
-
- public int getCpMin()
- {
- return _cpMin;
- }
-
- public List getTextPieces()
- {
- return _textPieces;
- }
-
- public byte[] writeTo(HWPFOutputStream docStream)
- throws IOException
- {
-
- PlexOfCps textPlex = new PlexOfCps(PieceDescriptor.getSizeInBytes());
- //int fcMin = docStream.getOffset();
-
- int size = _textPieces.size();
- int bumpDown = 0;
- for (int x = 0; x < size; x++)
- {
- TextPiece next = (TextPiece)_textPieces.get(x);
- PieceDescriptor pd = next.getPieceDescriptor();
-
- int offset = docStream.getOffset();
- int mod = (offset % POIFSConstants.BIG_BLOCK_SIZE);
- if (mod != 0)
- {
- mod = POIFSConstants.BIG_BLOCK_SIZE - mod;
- byte[] buf = new byte[mod];
- docStream.write(buf);
- }
-
-
- // set the text piece position to the current docStream offset.
- pd.setFilePosition(docStream.getOffset());
-
- // write the text to the docstream and save the piece descriptor to the
- // plex which will be written later to the tableStream.
- //if (_multiple == 1 && pd.isUnicode() &&
- docStream.write(next.getBuf());
-
- int nodeStart = next.getStart();
- int multiple = 1;
- if (pd.isUnicode())
- {
- multiple = 2;
- }
- textPlex.addProperty(new PropertyNode(nodeStart - bumpDown,
- ((next.getEnd() - nodeStart)/multiple + nodeStart) - bumpDown,
- pd.toByteArray()));
-
- if (pd.isUnicode())
- {
- bumpDown += ((next.getEnd() - nodeStart)/multiple);
- }
-
-
- }
-
- return textPlex.toByteArray();
-
- }
-
-
- public int adjustForInsert(int listIndex, int length)
- {
- int size = _textPieces.size();
-
- TextPiece tp = (TextPiece)_textPieces.get(listIndex);
- length = length * (tp.usesUnicode() ? 2 : 1);
- tp.setEnd(tp.getEnd() + length);
- for (int x = listIndex + 1; x < size; x++)
- {
- tp = (TextPiece)_textPieces.get(x);
- tp.setStart(tp.getStart() + length);
- tp.setEnd(tp.getEnd() + length);
- }
- return length;
- }
-
-
- public boolean equals(Object o)
- {
- TextPieceTable tpt = (TextPieceTable)o;
-
- int size = tpt._textPieces.size();
- if (size == _textPieces.size())
- {
- for (int x = 0; x < size; x++)
- {
- if (!tpt._textPieces.get(x).equals(_textPieces.get(x)))
- {
- return false;
- }
- }
- return true;
- }
- return false;
- }
-
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/UPX.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/UPX.java
deleted file mode 100644
index 57f5f0277f..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/UPX.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-package org.apache.poi.hwpf.model.hdftypes;
-
-import java.util.Arrays;
-
-public class UPX
-{
- private byte[] _upx;
-
- public UPX(byte[] upx)
- {
- _upx = upx;
- }
-
- public byte[] getUPX()
- {
- return _upx;
- }
- public int size()
- {
- return _upx.length;
- }
-
- public boolean equals(Object o)
- {
- UPX upx = (UPX)o;
- return Arrays.equals(_upx, upx._upx);
- }
-}
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/CHPAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/CHPAbstractType.java
deleted file mode 100644
index 7c42ec52e7..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/CHPAbstractType.java
+++ /dev/null
@@ -1,1426 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * Character Properties.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author S. Ryan Ackley
- */
-public abstract class CHPAbstractType
- implements HDFType
-{
-
- protected short field_1_chse;
- protected int field_2_format_flags;
- private static BitField fBold = new BitField(0x0001);
- private static BitField fItalic = new BitField(0x0002);
- private static BitField fRMarkDel = new BitField(0x0004);
- private static BitField fOutline = new BitField(0x0008);
- private static BitField fFldVanish = new BitField(0x0010);
- private static BitField fSmallCaps = new BitField(0x0020);
- private static BitField fCaps = new BitField(0x0040);
- private static BitField fVanish = new BitField(0x0080);
- private static BitField fRMark = new BitField(0x0100);
- private static BitField fSpec = new BitField(0x0200);
- private static BitField fStrike = new BitField(0x0400);
- private static BitField fObj = new BitField(0x0800);
- private static BitField fShadow = new BitField(0x1000);
- private static BitField fLowerCase = new BitField(0x2000);
- private static BitField fData = new BitField(0x4000);
- private static BitField fOle2 = new BitField(0x8000);
- protected int field_3_format_flags1;
- private static BitField fEmboss = new BitField(0x0001);
- private static BitField fImprint = new BitField(0x0002);
- private static BitField fDStrike = new BitField(0x0004);
- private static BitField fUsePgsuSettings = new BitField(0x0008);
- protected int field_4_ftcAscii;
- protected int field_5_ftcFE;
- protected int field_6_ftcOther;
- protected int field_7_hps;
- protected int field_8_dxaSpace;
- protected byte field_9_iss;
- protected byte field_10_kul;
- protected byte field_11_ico;
- protected int field_12_hpsPos;
- protected int field_13_lidDefault;
- protected int field_14_lidFE;
- protected byte field_15_idctHint;
- protected int field_16_wCharScale;
- protected int field_17_fcPic;
- protected int field_18_fcObj;
- protected int field_19_lTagObj;
- protected int field_20_ibstRMark;
- protected int field_21_ibstRMarkDel;
- protected DateAndTime field_22_dttmRMark;
- protected DateAndTime field_23_dttmRMarkDel;
- protected int field_24_istd;
- protected int field_25_baseIstd;
- protected int field_26_ftcSym;
- protected int field_27_xchSym;
- protected int field_28_idslRMReason;
- protected int field_29_idslReasonDel;
- protected byte field_30_ysr;
- protected byte field_31_chYsr;
- protected int field_32_hpsKern;
- protected short field_33_Highlight;
- private static BitField icoHighlight = new BitField(0x001f);
- private static BitField fHighlight = new BitField(0x0020);
- private static BitField kcd = new BitField(0x01c0);
- private static BitField fNavHighlight = new BitField(0x0200);
- private static BitField fChsDiff = new BitField(0x0400);
- private static BitField fMacChs = new BitField(0x0800);
- private static BitField fFtcAsciSym = new BitField(0x1000);
- protected short field_34_fPropMark;
- protected int field_35_ibstPropRMark;
- protected DateAndTime field_36_dttmPropRMark;
- protected byte field_37_sfxtText;
- protected byte field_38_fDispFldRMark;
- protected int field_39_ibstDispFldRMark;
- protected DateAndTime field_40_dttmDispFldRMark;
- protected byte[] field_41_xstDispFldRMark;
- protected ShadingDescriptor field_42_shd;
- protected BorderCode field_43_brc;
-
-
- public CHPAbstractType()
- {
-
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 1 + 1 + 1 + 2 + 2 + 2 + 1 + 2 + 4 + 4 + 4 + 2 + 2 + 4 + 4 + 2 + 2 + 2 + 2 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 2 + 4 + 1 + 1 + 2 + 4 + 32 + 2 + 4;
- }
-
-
-
- /**
- * Get the chse field for the CHP record.
- */
- public short getChse()
- {
- return field_1_chse;
- }
-
- /**
- * Set the chse field for the CHP record.
- */
- public void setChse(short field_1_chse)
- {
- this.field_1_chse = field_1_chse;
- }
-
- /**
- * Get the format_flags field for the CHP record.
- */
- public int getFormat_flags()
- {
- return field_2_format_flags;
- }
-
- /**
- * Set the format_flags field for the CHP record.
- */
- public void setFormat_flags(int field_2_format_flags)
- {
- this.field_2_format_flags = field_2_format_flags;
- }
-
- /**
- * Get the format_flags1 field for the CHP record.
- */
- public int getFormat_flags1()
- {
- return field_3_format_flags1;
- }
-
- /**
- * Set the format_flags1 field for the CHP record.
- */
- public void setFormat_flags1(int field_3_format_flags1)
- {
- this.field_3_format_flags1 = field_3_format_flags1;
- }
-
- /**
- * Get the ftcAscii field for the CHP record.
- */
- public int getFtcAscii()
- {
- return field_4_ftcAscii;
- }
-
- /**
- * Set the ftcAscii field for the CHP record.
- */
- public void setFtcAscii(int field_4_ftcAscii)
- {
- this.field_4_ftcAscii = field_4_ftcAscii;
- }
-
- /**
- * Get the ftcFE field for the CHP record.
- */
- public int getFtcFE()
- {
- return field_5_ftcFE;
- }
-
- /**
- * Set the ftcFE field for the CHP record.
- */
- public void setFtcFE(int field_5_ftcFE)
- {
- this.field_5_ftcFE = field_5_ftcFE;
- }
-
- /**
- * Get the ftcOther field for the CHP record.
- */
- public int getFtcOther()
- {
- return field_6_ftcOther;
- }
-
- /**
- * Set the ftcOther field for the CHP record.
- */
- public void setFtcOther(int field_6_ftcOther)
- {
- this.field_6_ftcOther = field_6_ftcOther;
- }
-
- /**
- * Get the hps field for the CHP record.
- */
- public int getHps()
- {
- return field_7_hps;
- }
-
- /**
- * Set the hps field for the CHP record.
- */
- public void setHps(int field_7_hps)
- {
- this.field_7_hps = field_7_hps;
- }
-
- /**
- * Get the dxaSpace field for the CHP record.
- */
- public int getDxaSpace()
- {
- return field_8_dxaSpace;
- }
-
- /**
- * Set the dxaSpace field for the CHP record.
- */
- public void setDxaSpace(int field_8_dxaSpace)
- {
- this.field_8_dxaSpace = field_8_dxaSpace;
- }
-
- /**
- * Get the iss field for the CHP record.
- */
- public byte getIss()
- {
- return field_9_iss;
- }
-
- /**
- * Set the iss field for the CHP record.
- */
- public void setIss(byte field_9_iss)
- {
- this.field_9_iss = field_9_iss;
- }
-
- /**
- * Get the kul field for the CHP record.
- */
- public byte getKul()
- {
- return field_10_kul;
- }
-
- /**
- * Set the kul field for the CHP record.
- */
- public void setKul(byte field_10_kul)
- {
- this.field_10_kul = field_10_kul;
- }
-
- /**
- * Get the ico field for the CHP record.
- */
- public byte getIco()
- {
- return field_11_ico;
- }
-
- /**
- * Set the ico field for the CHP record.
- */
- public void setIco(byte field_11_ico)
- {
- this.field_11_ico = field_11_ico;
- }
-
- /**
- * Get the hpsPos field for the CHP record.
- */
- public int getHpsPos()
- {
- return field_12_hpsPos;
- }
-
- /**
- * Set the hpsPos field for the CHP record.
- */
- public void setHpsPos(int field_12_hpsPos)
- {
- this.field_12_hpsPos = field_12_hpsPos;
- }
-
- /**
- * Get the lidDefault field for the CHP record.
- */
- public int getLidDefault()
- {
- return field_13_lidDefault;
- }
-
- /**
- * Set the lidDefault field for the CHP record.
- */
- public void setLidDefault(int field_13_lidDefault)
- {
- this.field_13_lidDefault = field_13_lidDefault;
- }
-
- /**
- * Get the lidFE field for the CHP record.
- */
- public int getLidFE()
- {
- return field_14_lidFE;
- }
-
- /**
- * Set the lidFE field for the CHP record.
- */
- public void setLidFE(int field_14_lidFE)
- {
- this.field_14_lidFE = field_14_lidFE;
- }
-
- /**
- * Get the idctHint field for the CHP record.
- */
- public byte getIdctHint()
- {
- return field_15_idctHint;
- }
-
- /**
- * Set the idctHint field for the CHP record.
- */
- public void setIdctHint(byte field_15_idctHint)
- {
- this.field_15_idctHint = field_15_idctHint;
- }
-
- /**
- * Get the wCharScale field for the CHP record.
- */
- public int getWCharScale()
- {
- return field_16_wCharScale;
- }
-
- /**
- * Set the wCharScale field for the CHP record.
- */
- public void setWCharScale(int field_16_wCharScale)
- {
- this.field_16_wCharScale = field_16_wCharScale;
- }
-
- /**
- * Get the fcPic field for the CHP record.
- */
- public int getFcPic()
- {
- return field_17_fcPic;
- }
-
- /**
- * Set the fcPic field for the CHP record.
- */
- public void setFcPic(int field_17_fcPic)
- {
- this.field_17_fcPic = field_17_fcPic;
- }
-
- /**
- * Get the fcObj field for the CHP record.
- */
- public int getFcObj()
- {
- return field_18_fcObj;
- }
-
- /**
- * Set the fcObj field for the CHP record.
- */
- public void setFcObj(int field_18_fcObj)
- {
- this.field_18_fcObj = field_18_fcObj;
- }
-
- /**
- * Get the lTagObj field for the CHP record.
- */
- public int getLTagObj()
- {
- return field_19_lTagObj;
- }
-
- /**
- * Set the lTagObj field for the CHP record.
- */
- public void setLTagObj(int field_19_lTagObj)
- {
- this.field_19_lTagObj = field_19_lTagObj;
- }
-
- /**
- * Get the ibstRMark field for the CHP record.
- */
- public int getIbstRMark()
- {
- return field_20_ibstRMark;
- }
-
- /**
- * Set the ibstRMark field for the CHP record.
- */
- public void setIbstRMark(int field_20_ibstRMark)
- {
- this.field_20_ibstRMark = field_20_ibstRMark;
- }
-
- /**
- * Get the ibstRMarkDel field for the CHP record.
- */
- public int getIbstRMarkDel()
- {
- return field_21_ibstRMarkDel;
- }
-
- /**
- * Set the ibstRMarkDel field for the CHP record.
- */
- public void setIbstRMarkDel(int field_21_ibstRMarkDel)
- {
- this.field_21_ibstRMarkDel = field_21_ibstRMarkDel;
- }
-
- /**
- * Get the dttmRMark field for the CHP record.
- */
- public DateAndTime getDttmRMark()
- {
- return field_22_dttmRMark;
- }
-
- /**
- * Set the dttmRMark field for the CHP record.
- */
- public void setDttmRMark(DateAndTime field_22_dttmRMark)
- {
- this.field_22_dttmRMark = field_22_dttmRMark;
- }
-
- /**
- * Get the dttmRMarkDel field for the CHP record.
- */
- public DateAndTime getDttmRMarkDel()
- {
- return field_23_dttmRMarkDel;
- }
-
- /**
- * Set the dttmRMarkDel field for the CHP record.
- */
- public void setDttmRMarkDel(DateAndTime field_23_dttmRMarkDel)
- {
- this.field_23_dttmRMarkDel = field_23_dttmRMarkDel;
- }
-
- /**
- * Get the istd field for the CHP record.
- */
- public int getIstd()
- {
- return field_24_istd;
- }
-
- /**
- * Set the istd field for the CHP record.
- */
- public void setIstd(int field_24_istd)
- {
- this.field_24_istd = field_24_istd;
- }
-
- /**
- * Get the baseIstd field for the CHP record.
- */
- public int getBaseIstd()
- {
- return field_25_baseIstd;
- }
-
- /**
- * Set the baseIstd field for the CHP record.
- */
- public void setBaseIstd(int field_25_baseIstd)
- {
- this.field_25_baseIstd = field_25_baseIstd;
- }
-
- /**
- * Get the ftcSym field for the CHP record.
- */
- public int getFtcSym()
- {
- return field_26_ftcSym;
- }
-
- /**
- * Set the ftcSym field for the CHP record.
- */
- public void setFtcSym(int field_26_ftcSym)
- {
- this.field_26_ftcSym = field_26_ftcSym;
- }
-
- /**
- * Get the xchSym field for the CHP record.
- */
- public int getXchSym()
- {
- return field_27_xchSym;
- }
-
- /**
- * Set the xchSym field for the CHP record.
- */
- public void setXchSym(int field_27_xchSym)
- {
- this.field_27_xchSym = field_27_xchSym;
- }
-
- /**
- * Get the idslRMReason field for the CHP record.
- */
- public int getIdslRMReason()
- {
- return field_28_idslRMReason;
- }
-
- /**
- * Set the idslRMReason field for the CHP record.
- */
- public void setIdslRMReason(int field_28_idslRMReason)
- {
- this.field_28_idslRMReason = field_28_idslRMReason;
- }
-
- /**
- * Get the idslReasonDel field for the CHP record.
- */
- public int getIdslReasonDel()
- {
- return field_29_idslReasonDel;
- }
-
- /**
- * Set the idslReasonDel field for the CHP record.
- */
- public void setIdslReasonDel(int field_29_idslReasonDel)
- {
- this.field_29_idslReasonDel = field_29_idslReasonDel;
- }
-
- /**
- * Get the ysr field for the CHP record.
- */
- public byte getYsr()
- {
- return field_30_ysr;
- }
-
- /**
- * Set the ysr field for the CHP record.
- */
- public void setYsr(byte field_30_ysr)
- {
- this.field_30_ysr = field_30_ysr;
- }
-
- /**
- * Get the chYsr field for the CHP record.
- */
- public byte getChYsr()
- {
- return field_31_chYsr;
- }
-
- /**
- * Set the chYsr field for the CHP record.
- */
- public void setChYsr(byte field_31_chYsr)
- {
- this.field_31_chYsr = field_31_chYsr;
- }
-
- /**
- * Get the hpsKern field for the CHP record.
- */
- public int getHpsKern()
- {
- return field_32_hpsKern;
- }
-
- /**
- * Set the hpsKern field for the CHP record.
- */
- public void setHpsKern(int field_32_hpsKern)
- {
- this.field_32_hpsKern = field_32_hpsKern;
- }
-
- /**
- * Get the Highlight field for the CHP record.
- */
- public short getHighlight()
- {
- return field_33_Highlight;
- }
-
- /**
- * Set the Highlight field for the CHP record.
- */
- public void setHighlight(short field_33_Highlight)
- {
- this.field_33_Highlight = field_33_Highlight;
- }
-
- /**
- * Get the fPropMark field for the CHP record.
- */
- public short getFPropMark()
- {
- return field_34_fPropMark;
- }
-
- /**
- * Set the fPropMark field for the CHP record.
- */
- public void setFPropMark(short field_34_fPropMark)
- {
- this.field_34_fPropMark = field_34_fPropMark;
- }
-
- /**
- * Get the ibstPropRMark field for the CHP record.
- */
- public int getIbstPropRMark()
- {
- return field_35_ibstPropRMark;
- }
-
- /**
- * Set the ibstPropRMark field for the CHP record.
- */
- public void setIbstPropRMark(int field_35_ibstPropRMark)
- {
- this.field_35_ibstPropRMark = field_35_ibstPropRMark;
- }
-
- /**
- * Get the dttmPropRMark field for the CHP record.
- */
- public DateAndTime getDttmPropRMark()
- {
- return field_36_dttmPropRMark;
- }
-
- /**
- * Set the dttmPropRMark field for the CHP record.
- */
- public void setDttmPropRMark(DateAndTime field_36_dttmPropRMark)
- {
- this.field_36_dttmPropRMark = field_36_dttmPropRMark;
- }
-
- /**
- * Get the sfxtText field for the CHP record.
- */
- public byte getSfxtText()
- {
- return field_37_sfxtText;
- }
-
- /**
- * Set the sfxtText field for the CHP record.
- */
- public void setSfxtText(byte field_37_sfxtText)
- {
- this.field_37_sfxtText = field_37_sfxtText;
- }
-
- /**
- * Get the fDispFldRMark field for the CHP record.
- */
- public byte getFDispFldRMark()
- {
- return field_38_fDispFldRMark;
- }
-
- /**
- * Set the fDispFldRMark field for the CHP record.
- */
- public void setFDispFldRMark(byte field_38_fDispFldRMark)
- {
- this.field_38_fDispFldRMark = field_38_fDispFldRMark;
- }
-
- /**
- * Get the ibstDispFldRMark field for the CHP record.
- */
- public int getIbstDispFldRMark()
- {
- return field_39_ibstDispFldRMark;
- }
-
- /**
- * Set the ibstDispFldRMark field for the CHP record.
- */
- public void setIbstDispFldRMark(int field_39_ibstDispFldRMark)
- {
- this.field_39_ibstDispFldRMark = field_39_ibstDispFldRMark;
- }
-
- /**
- * Get the dttmDispFldRMark field for the CHP record.
- */
- public DateAndTime getDttmDispFldRMark()
- {
- return field_40_dttmDispFldRMark;
- }
-
- /**
- * Set the dttmDispFldRMark field for the CHP record.
- */
- public void setDttmDispFldRMark(DateAndTime field_40_dttmDispFldRMark)
- {
- this.field_40_dttmDispFldRMark = field_40_dttmDispFldRMark;
- }
-
- /**
- * Get the xstDispFldRMark field for the CHP record.
- */
- public byte[] getXstDispFldRMark()
- {
- return field_41_xstDispFldRMark;
- }
-
- /**
- * Set the xstDispFldRMark field for the CHP record.
- */
- public void setXstDispFldRMark(byte[] field_41_xstDispFldRMark)
- {
- this.field_41_xstDispFldRMark = field_41_xstDispFldRMark;
- }
-
- /**
- * Get the shd field for the CHP record.
- */
- public ShadingDescriptor getShd()
- {
- return field_42_shd;
- }
-
- /**
- * Set the shd field for the CHP record.
- */
- public void setShd(ShadingDescriptor field_42_shd)
- {
- this.field_42_shd = field_42_shd;
- }
-
- /**
- * Get the brc field for the CHP record.
- */
- public BorderCode getBrc()
- {
- return field_43_brc;
- }
-
- /**
- * Set the brc field for the CHP record.
- */
- public void setBrc(BorderCode field_43_brc)
- {
- this.field_43_brc = field_43_brc;
- }
-
- /**
- * Sets the fBold field value.
- *
- */
- public void setFBold(boolean value)
- {
- field_2_format_flags = (int)fBold.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fBold field value.
- */
- public boolean isFBold()
- {
- return fBold.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fItalic field value.
- *
- */
- public void setFItalic(boolean value)
- {
- field_2_format_flags = (int)fItalic.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fItalic field value.
- */
- public boolean isFItalic()
- {
- return fItalic.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fRMarkDel field value.
- *
- */
- public void setFRMarkDel(boolean value)
- {
- field_2_format_flags = (int)fRMarkDel.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fRMarkDel field value.
- */
- public boolean isFRMarkDel()
- {
- return fRMarkDel.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fOutline field value.
- *
- */
- public void setFOutline(boolean value)
- {
- field_2_format_flags = (int)fOutline.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fOutline field value.
- */
- public boolean isFOutline()
- {
- return fOutline.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fFldVanish field value.
- *
- */
- public void setFFldVanish(boolean value)
- {
- field_2_format_flags = (int)fFldVanish.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fFldVanish field value.
- */
- public boolean isFFldVanish()
- {
- return fFldVanish.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fSmallCaps field value.
- *
- */
- public void setFSmallCaps(boolean value)
- {
- field_2_format_flags = (int)fSmallCaps.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fSmallCaps field value.
- */
- public boolean isFSmallCaps()
- {
- return fSmallCaps.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fCaps field value.
- *
- */
- public void setFCaps(boolean value)
- {
- field_2_format_flags = (int)fCaps.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fCaps field value.
- */
- public boolean isFCaps()
- {
- return fCaps.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fVanish field value.
- *
- */
- public void setFVanish(boolean value)
- {
- field_2_format_flags = (int)fVanish.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fVanish field value.
- */
- public boolean isFVanish()
- {
- return fVanish.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fRMark field value.
- *
- */
- public void setFRMark(boolean value)
- {
- field_2_format_flags = (int)fRMark.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fRMark field value.
- */
- public boolean isFRMark()
- {
- return fRMark.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fSpec field value.
- *
- */
- public void setFSpec(boolean value)
- {
- field_2_format_flags = (int)fSpec.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fSpec field value.
- */
- public boolean isFSpec()
- {
- return fSpec.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fStrike field value.
- *
- */
- public void setFStrike(boolean value)
- {
- field_2_format_flags = (int)fStrike.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fStrike field value.
- */
- public boolean isFStrike()
- {
- return fStrike.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fObj field value.
- *
- */
- public void setFObj(boolean value)
- {
- field_2_format_flags = (int)fObj.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fObj field value.
- */
- public boolean isFObj()
- {
- return fObj.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fShadow field value.
- *
- */
- public void setFShadow(boolean value)
- {
- field_2_format_flags = (int)fShadow.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fShadow field value.
- */
- public boolean isFShadow()
- {
- return fShadow.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fLowerCase field value.
- *
- */
- public void setFLowerCase(boolean value)
- {
- field_2_format_flags = (int)fLowerCase.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fLowerCase field value.
- */
- public boolean isFLowerCase()
- {
- return fLowerCase.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fData field value.
- *
- */
- public void setFData(boolean value)
- {
- field_2_format_flags = (int)fData.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fData field value.
- */
- public boolean isFData()
- {
- return fData.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fOle2 field value.
- *
- */
- public void setFOle2(boolean value)
- {
- field_2_format_flags = (int)fOle2.setBoolean(field_2_format_flags, value);
-
-
- }
-
- /**
- *
- * @return the fOle2 field value.
- */
- public boolean isFOle2()
- {
- return fOle2.isSet(field_2_format_flags);
-
- }
-
- /**
- * Sets the fEmboss field value.
- *
- */
- public void setFEmboss(boolean value)
- {
- field_3_format_flags1 = (int)fEmboss.setBoolean(field_3_format_flags1, value);
-
-
- }
-
- /**
- *
- * @return the fEmboss field value.
- */
- public boolean isFEmboss()
- {
- return fEmboss.isSet(field_3_format_flags1);
-
- }
-
- /**
- * Sets the fImprint field value.
- *
- */
- public void setFImprint(boolean value)
- {
- field_3_format_flags1 = (int)fImprint.setBoolean(field_3_format_flags1, value);
-
-
- }
-
- /**
- *
- * @return the fImprint field value.
- */
- public boolean isFImprint()
- {
- return fImprint.isSet(field_3_format_flags1);
-
- }
-
- /**
- * Sets the fDStrike field value.
- *
- */
- public void setFDStrike(boolean value)
- {
- field_3_format_flags1 = (int)fDStrike.setBoolean(field_3_format_flags1, value);
-
-
- }
-
- /**
- *
- * @return the fDStrike field value.
- */
- public boolean isFDStrike()
- {
- return fDStrike.isSet(field_3_format_flags1);
-
- }
-
- /**
- * Sets the fUsePgsuSettings field value.
- *
- */
- public void setFUsePgsuSettings(boolean value)
- {
- field_3_format_flags1 = (int)fUsePgsuSettings.setBoolean(field_3_format_flags1, value);
-
-
- }
-
- /**
- *
- * @return the fUsePgsuSettings field value.
- */
- public boolean isFUsePgsuSettings()
- {
- return fUsePgsuSettings.isSet(field_3_format_flags1);
-
- }
-
- /**
- * Sets the icoHighlight field value.
- *
- */
- public void setIcoHighlight(byte value)
- {
- field_33_Highlight = (short)icoHighlight.setValue(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the icoHighlight field value.
- */
- public byte getIcoHighlight()
- {
- return ( byte )icoHighlight.getValue(field_33_Highlight);
-
- }
-
- /**
- * Sets the fHighlight field value.
- *
- */
- public void setFHighlight(boolean value)
- {
- field_33_Highlight = (short)fHighlight.setBoolean(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the fHighlight field value.
- */
- public boolean isFHighlight()
- {
- return fHighlight.isSet(field_33_Highlight);
-
- }
-
- /**
- * Sets the kcd field value.
- *
- */
- public void setKcd(byte value)
- {
- field_33_Highlight = (short)kcd.setValue(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the kcd field value.
- */
- public byte getKcd()
- {
- return ( byte )kcd.getValue(field_33_Highlight);
-
- }
-
- /**
- * Sets the fNavHighlight field value.
- *
- */
- public void setFNavHighlight(boolean value)
- {
- field_33_Highlight = (short)fNavHighlight.setBoolean(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the fNavHighlight field value.
- */
- public boolean isFNavHighlight()
- {
- return fNavHighlight.isSet(field_33_Highlight);
-
- }
-
- /**
- * Sets the fChsDiff field value.
- *
- */
- public void setFChsDiff(boolean value)
- {
- field_33_Highlight = (short)fChsDiff.setBoolean(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the fChsDiff field value.
- */
- public boolean isFChsDiff()
- {
- return fChsDiff.isSet(field_33_Highlight);
-
- }
-
- /**
- * Sets the fMacChs field value.
- *
- */
- public void setFMacChs(boolean value)
- {
- field_33_Highlight = (short)fMacChs.setBoolean(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the fMacChs field value.
- */
- public boolean isFMacChs()
- {
- return fMacChs.isSet(field_33_Highlight);
-
- }
-
- /**
- * Sets the fFtcAsciSym field value.
- *
- */
- public void setFFtcAsciSym(boolean value)
- {
- field_33_Highlight = (short)fFtcAsciSym.setBoolean(field_33_Highlight, value);
-
-
- }
-
- /**
- *
- * @return the fFtcAsciSym field value.
- */
- public boolean isFFtcAsciSym()
- {
- return fFtcAsciSym.isSet(field_33_Highlight);
-
- }
-
-
-} // END OF CLASS
-
-
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/DOPAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/DOPAbstractType.java
deleted file mode 100644
index 232fb1750c..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/DOPAbstractType.java
+++ /dev/null
@@ -1,3403 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * Document Properties.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author S. Ryan Ackley
- */
-public abstract class DOPAbstractType
- implements HDFType
-{
-
- protected byte field_1_formatFlags;
- private static BitField fFacingPages = new BitField(0x01);
- private static BitField fWidowControl = new BitField(0x02);
- private static BitField fPMHMainDoc = new BitField(0x04);
- private static BitField grfSupression = new BitField(0x18);
- private static BitField fpc = new BitField(0x60);
- private static BitField unused1 = new BitField(0x80);
- protected byte field_2_unused2;
- protected short field_3_footnoteInfo;
- private static BitField rncFtn = new BitField(0x0003);
- private static BitField nFtn = new BitField(0xfffc);
- protected byte field_4_fOutlineDirtySave;
- protected byte field_5_docinfo;
- private static BitField fOnlyMacPics = new BitField(0x01);
- private static BitField fOnlyWinPics = new BitField(0x02);
- private static BitField fLabelDoc = new BitField(0x04);
- private static BitField fHyphCapitals = new BitField(0x08);
- private static BitField fAutoHyphen = new BitField(0x10);
- private static BitField fFormNoFields = new BitField(0x20);
- private static BitField fLinkStyles = new BitField(0x40);
- private static BitField fRevMarking = new BitField(0x80);
- protected byte field_6_docinfo1;
- private static BitField fBackup = new BitField(0x01);
- private static BitField fExactCWords = new BitField(0x02);
- private static BitField fPagHidden = new BitField(0x04);
- private static BitField fPagResults = new BitField(0x08);
- private static BitField fLockAtn = new BitField(0x10);
- private static BitField fMirrorMargins = new BitField(0x20);
- private static BitField unused3 = new BitField(0x40);
- private static BitField fDfltTrueType = new BitField(0x80);
- protected byte field_7_docinfo2;
- private static BitField fPagSupressTopSpacing = new BitField(0x01);
- private static BitField fProtEnabled = new BitField(0x02);
- private static BitField fDispFormFldSel = new BitField(0x04);
- private static BitField fRMView = new BitField(0x08);
- private static BitField fRMPrint = new BitField(0x10);
- private static BitField unused4 = new BitField(0x20);
- private static BitField fLockRev = new BitField(0x40);
- private static BitField fEmbedFonts = new BitField(0x80);
- protected short field_8_docinfo3;
- private static BitField oldfNoTabForInd = new BitField(0x0001);
- private static BitField oldfNoSpaceRaiseLower = new BitField(0x0002);
- private static BitField oldfSuppressSpbfAfterPageBreak = new BitField(0x0004);
- private static BitField oldfWrapTrailSpaces = new BitField(0x0008);
- private static BitField oldfMapPrintTextColor = new BitField(0x0010);
- private static BitField oldfNoColumnBalance = new BitField(0x0020);
- private static BitField oldfConvMailMergeEsc = new BitField(0x0040);
- private static BitField oldfSupressTopSpacing = new BitField(0x0080);
- private static BitField oldfOrigWordTableRules = new BitField(0x0100);
- private static BitField oldfTransparentMetafiles = new BitField(0x0200);
- private static BitField oldfShowBreaksInFrames = new BitField(0x0400);
- private static BitField oldfSwapBordersFacingPgs = new BitField(0x0800);
- private static BitField unused5 = new BitField(0xf000);
- protected int field_9_dxaTab;
- protected int field_10_wSpare;
- protected int field_11_dxaHotz;
- protected int field_12_cConsexHypLim;
- protected int field_13_wSpare2;
- protected int field_14_dttmCreated;
- protected int field_15_dttmRevised;
- protected int field_16_dttmLastPrint;
- protected int field_17_nRevision;
- protected int field_18_tmEdited;
- protected int field_19_cWords;
- protected int field_20_cCh;
- protected int field_21_cPg;
- protected int field_22_cParas;
- protected short field_23_Edn;
- private static BitField rncEdn = new BitField(0x0003);
- private static BitField nEdn = new BitField(0xfffc);
- protected short field_24_Edn1;
- private static BitField epc = new BitField(0x0003);
- private static BitField nfcFtnRef1 = new BitField(0x003c);
- private static BitField nfcEdnRef1 = new BitField(0x03c0);
- private static BitField fPrintFormData = new BitField(0x0400);
- private static BitField fSaveFormData = new BitField(0x0800);
- private static BitField fShadeFormData = new BitField(0x1000);
- private static BitField fWCFtnEdn = new BitField(0x8000);
- protected int field_25_cLines;
- protected int field_26_cWordsFtnEnd;
- protected int field_27_cChFtnEdn;
- protected short field_28_cPgFtnEdn;
- protected int field_29_cParasFtnEdn;
- protected int field_30_cLinesFtnEdn;
- protected int field_31_lKeyProtDoc;
- protected short field_32_view;
- private static BitField wvkSaved = new BitField(0x0007);
- private static BitField wScaleSaved = new BitField(0x0ff8);
- private static BitField zkSaved = new BitField(0x3000);
- private static BitField fRotateFontW6 = new BitField(0x4000);
- private static BitField iGutterPos = new BitField(0x8000);
- protected int field_33_docinfo4;
- private static BitField fNoTabForInd = new BitField(0x00000001);
- private static BitField fNoSpaceRaiseLower = new BitField(0x00000002);
- private static BitField fSupressSpdfAfterPageBreak = new BitField(0x00000004);
- private static BitField fWrapTrailSpaces = new BitField(0x00000008);
- private static BitField fMapPrintTextColor = new BitField(0x00000010);
- private static BitField fNoColumnBalance = new BitField(0x00000020);
- private static BitField fConvMailMergeEsc = new BitField(0x00000040);
- private static BitField fSupressTopSpacing = new BitField(0x00000080);
- private static BitField fOrigWordTableRules = new BitField(0x00000100);
- private static BitField fTransparentMetafiles = new BitField(0x00000200);
- private static BitField fShowBreaksInFrames = new BitField(0x00000400);
- private static BitField fSwapBordersFacingPgs = new BitField(0x00000800);
- private static BitField fSuppressTopSPacingMac5 = new BitField(0x00010000);
- private static BitField fTruncDxaExpand = new BitField(0x00020000);
- private static BitField fPrintBodyBeforeHdr = new BitField(0x00040000);
- private static BitField fNoLeading = new BitField(0x00080000);
- private static BitField fMWSmallCaps = new BitField(0x00200000);
- protected short field_34_adt;
- protected byte[] field_35_doptypography;
- protected byte[] field_36_dogrid;
- protected short field_37_docinfo5;
- private static BitField lvl = new BitField(0x001e);
- private static BitField fGramAllDone = new BitField(0x0020);
- private static BitField fGramAllClean = new BitField(0x0040);
- private static BitField fSubsetFonts = new BitField(0x0080);
- private static BitField fHideLastVersion = new BitField(0x0100);
- private static BitField fHtmlDoc = new BitField(0x0200);
- private static BitField fSnapBorder = new BitField(0x0800);
- private static BitField fIncludeHeader = new BitField(0x1000);
- private static BitField fIncludeFooter = new BitField(0x2000);
- private static BitField fForcePageSizePag = new BitField(0x4000);
- private static BitField fMinFontSizePag = new BitField(0x8000);
- protected short field_38_docinfo6;
- private static BitField fHaveVersions = new BitField(0x0001);
- private static BitField fAutoVersions = new BitField(0x0002);
- protected byte[] field_39_asumyi;
- protected int field_40_cChWS;
- protected int field_41_cChWSFtnEdn;
- protected int field_42_grfDocEvents;
- protected int field_43_virusinfo;
- private static BitField fVirusPrompted = new BitField(0x0001);
- private static BitField fVirusLoadSafe = new BitField(0x0002);
- private static BitField KeyVirusSession30 = new BitField(0xfffffffc);
- protected byte[] field_44_Spare;
- protected int field_45_reserved1;
- protected int field_46_reserved2;
- protected int field_47_cDBC;
- protected int field_48_cDBCFtnEdn;
- protected int field_49_reserved;
- protected short field_50_nfcFtnRef;
- protected short field_51_nfcEdnRef;
- protected short field_52_hpsZoonFontPag;
- protected short field_53_dywDispPag;
-
-
- public DOPAbstractType()
- {
-
- }
-
- protected void fillFields(byte [] data, int offset)
- {
- field_1_formatFlags = data[ 0x0 + offset ];
- field_2_unused2 = data[ 0x1 + offset ];
- field_3_footnoteInfo = LittleEndian.getShort(data, 0x2 + offset);
- field_4_fOutlineDirtySave = data[ 0x4 + offset ];
- field_5_docinfo = data[ 0x5 + offset ];
- field_6_docinfo1 = data[ 0x6 + offset ];
- field_7_docinfo2 = data[ 0x7 + offset ];
- field_8_docinfo3 = LittleEndian.getShort(data, 0x8 + offset);
- field_9_dxaTab = LittleEndian.getShort(data, 0xa + offset);
- field_10_wSpare = LittleEndian.getShort(data, 0xc + offset);
- field_11_dxaHotz = LittleEndian.getShort(data, 0xe + offset);
- field_12_cConsexHypLim = LittleEndian.getShort(data, 0x10 + offset);
- field_13_wSpare2 = LittleEndian.getShort(data, 0x12 + offset);
- field_14_dttmCreated = LittleEndian.getInt(data, 0x14 + offset);
- field_15_dttmRevised = LittleEndian.getInt(data, 0x18 + offset);
- field_16_dttmLastPrint = LittleEndian.getInt(data, 0x1c + offset);
- field_17_nRevision = LittleEndian.getShort(data, 0x20 + offset);
- field_18_tmEdited = LittleEndian.getInt(data, 0x22 + offset);
- field_19_cWords = LittleEndian.getInt(data, 0x26 + offset);
- field_20_cCh = LittleEndian.getInt(data, 0x2a + offset);
- field_21_cPg = LittleEndian.getShort(data, 0x2e + offset);
- field_22_cParas = LittleEndian.getInt(data, 0x30 + offset);
- field_23_Edn = LittleEndian.getShort(data, 0x34 + offset);
- field_24_Edn1 = LittleEndian.getShort(data, 0x36 + offset);
- field_25_cLines = LittleEndian.getInt(data, 0x38 + offset);
- field_26_cWordsFtnEnd = LittleEndian.getInt(data, 0x3c + offset);
- field_27_cChFtnEdn = LittleEndian.getInt(data, 0x40 + offset);
- field_28_cPgFtnEdn = LittleEndian.getShort(data, 0x44 + offset);
- field_29_cParasFtnEdn = LittleEndian.getInt(data, 0x46 + offset);
- field_30_cLinesFtnEdn = LittleEndian.getInt(data, 0x4a + offset);
- field_31_lKeyProtDoc = LittleEndian.getInt(data, 0x4e + offset);
- field_32_view = LittleEndian.getShort(data, 0x52 + offset);
- field_33_docinfo4 = LittleEndian.getInt(data, 0x54 + offset);
- field_34_adt = LittleEndian.getShort(data, 0x58 + offset);
- field_35_doptypography = LittleEndian.getByteArray(data, 0x5a + offset,310);
- field_36_dogrid = LittleEndian.getByteArray(data, 0x190 + offset,10);
- field_37_docinfo5 = LittleEndian.getShort(data, 0x19a + offset);
- field_38_docinfo6 = LittleEndian.getShort(data, 0x19c + offset);
- field_39_asumyi = LittleEndian.getByteArray(data, 0x19e + offset,12);
- field_40_cChWS = LittleEndian.getInt(data, 0x1aa + offset);
- field_41_cChWSFtnEdn = LittleEndian.getInt(data, 0x1ae + offset);
- field_42_grfDocEvents = LittleEndian.getInt(data, 0x1b2 + offset);
- field_43_virusinfo = LittleEndian.getInt(data, 0x1b6 + offset);
- field_44_Spare = LittleEndian.getByteArray(data, 0x1ba + offset,30);
- field_45_reserved1 = LittleEndian.getInt(data, 0x1d8 + offset);
- field_46_reserved2 = LittleEndian.getInt(data, 0x1dc + offset);
- field_47_cDBC = LittleEndian.getInt(data, 0x1e0 + offset);
- field_48_cDBCFtnEdn = LittleEndian.getInt(data, 0x1e4 + offset);
- field_49_reserved = LittleEndian.getInt(data, 0x1e8 + offset);
- field_50_nfcFtnRef = LittleEndian.getShort(data, 0x1ec + offset);
- field_51_nfcEdnRef = LittleEndian.getShort(data, 0x1ee + offset);
- field_52_hpsZoonFontPag = LittleEndian.getShort(data, 0x1f0 + offset);
- field_53_dywDispPag = LittleEndian.getShort(data, 0x1f2 + offset);
-
- }
-
- public void serialize(byte[] data, int offset)
- {
- data[ 0x0 + offset] = field_1_formatFlags;;
- data[ 0x1 + offset] = field_2_unused2;;
- LittleEndian.putShort(data, 0x2 + offset, (short)field_3_footnoteInfo);;
- data[ 0x4 + offset] = field_4_fOutlineDirtySave;;
- data[ 0x5 + offset] = field_5_docinfo;;
- data[ 0x6 + offset] = field_6_docinfo1;;
- data[ 0x7 + offset] = field_7_docinfo2;;
- LittleEndian.putShort(data, 0x8 + offset, (short)field_8_docinfo3);;
- LittleEndian.putShort(data, 0xa + offset, (short)field_9_dxaTab);;
- LittleEndian.putShort(data, 0xc + offset, (short)field_10_wSpare);;
- LittleEndian.putShort(data, 0xe + offset, (short)field_11_dxaHotz);;
- LittleEndian.putShort(data, 0x10 + offset, (short)field_12_cConsexHypLim);;
- LittleEndian.putShort(data, 0x12 + offset, (short)field_13_wSpare2);;
- LittleEndian.putInt(data, 0x14 + offset, field_14_dttmCreated);;
- LittleEndian.putInt(data, 0x18 + offset, field_15_dttmRevised);;
- LittleEndian.putInt(data, 0x1c + offset, field_16_dttmLastPrint);;
- LittleEndian.putShort(data, 0x20 + offset, (short)field_17_nRevision);;
- LittleEndian.putInt(data, 0x22 + offset, field_18_tmEdited);;
- LittleEndian.putInt(data, 0x26 + offset, field_19_cWords);;
- LittleEndian.putInt(data, 0x2a + offset, field_20_cCh);;
- LittleEndian.putShort(data, 0x2e + offset, (short)field_21_cPg);;
- LittleEndian.putInt(data, 0x30 + offset, field_22_cParas);;
- LittleEndian.putShort(data, 0x34 + offset, (short)field_23_Edn);;
- LittleEndian.putShort(data, 0x36 + offset, (short)field_24_Edn1);;
- LittleEndian.putInt(data, 0x38 + offset, field_25_cLines);;
- LittleEndian.putInt(data, 0x3c + offset, field_26_cWordsFtnEnd);;
- LittleEndian.putInt(data, 0x40 + offset, field_27_cChFtnEdn);;
- LittleEndian.putShort(data, 0x44 + offset, (short)field_28_cPgFtnEdn);;
- LittleEndian.putInt(data, 0x46 + offset, field_29_cParasFtnEdn);;
- LittleEndian.putInt(data, 0x4a + offset, field_30_cLinesFtnEdn);;
- LittleEndian.putInt(data, 0x4e + offset, field_31_lKeyProtDoc);;
- LittleEndian.putShort(data, 0x52 + offset, (short)field_32_view);;
- LittleEndian.putInt(data, 0x54 + offset, field_33_docinfo4);;
- LittleEndian.putShort(data, 0x58 + offset, (short)field_34_adt);;
- System.arraycopy(field_35_doptypography, 0, data, 0x5a + offset, field_35_doptypography.length);;
- System.arraycopy(field_36_dogrid, 0, data, 0x190 + offset, field_36_dogrid.length);;
- LittleEndian.putShort(data, 0x19a + offset, (short)field_37_docinfo5);;
- LittleEndian.putShort(data, 0x19c + offset, (short)field_38_docinfo6);;
- System.arraycopy(field_39_asumyi, 0, data, 0x19e + offset, field_39_asumyi.length);;
- LittleEndian.putInt(data, 0x1aa + offset, field_40_cChWS);;
- LittleEndian.putInt(data, 0x1ae + offset, field_41_cChWSFtnEdn);;
- LittleEndian.putInt(data, 0x1b2 + offset, field_42_grfDocEvents);;
- LittleEndian.putInt(data, 0x1b6 + offset, field_43_virusinfo);;
- System.arraycopy(field_44_Spare, 0, data, 0x1ba + offset, field_44_Spare.length);;
- LittleEndian.putInt(data, 0x1d8 + offset, field_45_reserved1);;
- LittleEndian.putInt(data, 0x1dc + offset, field_46_reserved2);;
- LittleEndian.putInt(data, 0x1e0 + offset, field_47_cDBC);;
- LittleEndian.putInt(data, 0x1e4 + offset, field_48_cDBCFtnEdn);;
- LittleEndian.putInt(data, 0x1e8 + offset, field_49_reserved);;
- LittleEndian.putShort(data, 0x1ec + offset, (short)field_50_nfcFtnRef);;
- LittleEndian.putShort(data, 0x1ee + offset, (short)field_51_nfcEdnRef);;
- LittleEndian.putShort(data, 0x1f0 + offset, (short)field_52_hpsZoonFontPag);;
- LittleEndian.putShort(data, 0x1f2 + offset, (short)field_53_dywDispPag);;
-
- }
-
- public String toString()
- {
- StringBuffer buffer = new StringBuffer();
-
- buffer.append("[DOP]\n");
-
- buffer.append(" .formatFlags = ");
- buffer.append(" (").append(getFormatFlags()).append(" )\n");
- buffer.append(" .fFacingPages = ").append(isFFacingPages()).append('\n');
- buffer.append(" .fWidowControl = ").append(isFWidowControl()).append('\n');
- buffer.append(" .fPMHMainDoc = ").append(isFPMHMainDoc()).append('\n');
- buffer.append(" .grfSupression = ").append(getGrfSupression()).append('\n');
- buffer.append(" .fpc = ").append(getFpc()).append('\n');
- buffer.append(" .unused1 = ").append(isUnused1()).append('\n');
-
- buffer.append(" .unused2 = ");
- buffer.append(" (").append(getUnused2()).append(" )\n");
-
- buffer.append(" .footnoteInfo = ");
- buffer.append(" (").append(getFootnoteInfo()).append(" )\n");
- buffer.append(" .rncFtn = ").append(getRncFtn()).append('\n');
- buffer.append(" .nFtn = ").append(getNFtn()).append('\n');
-
- buffer.append(" .fOutlineDirtySave = ");
- buffer.append(" (").append(getFOutlineDirtySave()).append(" )\n");
-
- buffer.append(" .docinfo = ");
- buffer.append(" (").append(getDocinfo()).append(" )\n");
- buffer.append(" .fOnlyMacPics = ").append(isFOnlyMacPics()).append('\n');
- buffer.append(" .fOnlyWinPics = ").append(isFOnlyWinPics()).append('\n');
- buffer.append(" .fLabelDoc = ").append(isFLabelDoc()).append('\n');
- buffer.append(" .fHyphCapitals = ").append(isFHyphCapitals()).append('\n');
- buffer.append(" .fAutoHyphen = ").append(isFAutoHyphen()).append('\n');
- buffer.append(" .fFormNoFields = ").append(isFFormNoFields()).append('\n');
- buffer.append(" .fLinkStyles = ").append(isFLinkStyles()).append('\n');
- buffer.append(" .fRevMarking = ").append(isFRevMarking()).append('\n');
-
- buffer.append(" .docinfo1 = ");
- buffer.append(" (").append(getDocinfo1()).append(" )\n");
- buffer.append(" .fBackup = ").append(isFBackup()).append('\n');
- buffer.append(" .fExactCWords = ").append(isFExactCWords()).append('\n');
- buffer.append(" .fPagHidden = ").append(isFPagHidden()).append('\n');
- buffer.append(" .fPagResults = ").append(isFPagResults()).append('\n');
- buffer.append(" .fLockAtn = ").append(isFLockAtn()).append('\n');
- buffer.append(" .fMirrorMargins = ").append(isFMirrorMargins()).append('\n');
- buffer.append(" .unused3 = ").append(isUnused3()).append('\n');
- buffer.append(" .fDfltTrueType = ").append(isFDfltTrueType()).append('\n');
-
- buffer.append(" .docinfo2 = ");
- buffer.append(" (").append(getDocinfo2()).append(" )\n");
- buffer.append(" .fPagSupressTopSpacing = ").append(isFPagSupressTopSpacing()).append('\n');
- buffer.append(" .fProtEnabled = ").append(isFProtEnabled()).append('\n');
- buffer.append(" .fDispFormFldSel = ").append(isFDispFormFldSel()).append('\n');
- buffer.append(" .fRMView = ").append(isFRMView()).append('\n');
- buffer.append(" .fRMPrint = ").append(isFRMPrint()).append('\n');
- buffer.append(" .unused4 = ").append(isUnused4()).append('\n');
- buffer.append(" .fLockRev = ").append(isFLockRev()).append('\n');
- buffer.append(" .fEmbedFonts = ").append(isFEmbedFonts()).append('\n');
-
- buffer.append(" .docinfo3 = ");
- buffer.append(" (").append(getDocinfo3()).append(" )\n");
- buffer.append(" .oldfNoTabForInd = ").append(isOldfNoTabForInd()).append('\n');
- buffer.append(" .oldfNoSpaceRaiseLower = ").append(isOldfNoSpaceRaiseLower()).append('\n');
- buffer.append(" .oldfSuppressSpbfAfterPageBreak = ").append(isOldfSuppressSpbfAfterPageBreak()).append('\n');
- buffer.append(" .oldfWrapTrailSpaces = ").append(isOldfWrapTrailSpaces()).append('\n');
- buffer.append(" .oldfMapPrintTextColor = ").append(isOldfMapPrintTextColor()).append('\n');
- buffer.append(" .oldfNoColumnBalance = ").append(isOldfNoColumnBalance()).append('\n');
- buffer.append(" .oldfConvMailMergeEsc = ").append(isOldfConvMailMergeEsc()).append('\n');
- buffer.append(" .oldfSupressTopSpacing = ").append(isOldfSupressTopSpacing()).append('\n');
- buffer.append(" .oldfOrigWordTableRules = ").append(isOldfOrigWordTableRules()).append('\n');
- buffer.append(" .oldfTransparentMetafiles = ").append(isOldfTransparentMetafiles()).append('\n');
- buffer.append(" .oldfShowBreaksInFrames = ").append(isOldfShowBreaksInFrames()).append('\n');
- buffer.append(" .oldfSwapBordersFacingPgs = ").append(isOldfSwapBordersFacingPgs()).append('\n');
- buffer.append(" .unused5 = ").append(getUnused5()).append('\n');
-
- buffer.append(" .dxaTab = ");
- buffer.append(" (").append(getDxaTab()).append(" )\n");
-
- buffer.append(" .wSpare = ");
- buffer.append(" (").append(getWSpare()).append(" )\n");
-
- buffer.append(" .dxaHotz = ");
- buffer.append(" (").append(getDxaHotz()).append(" )\n");
-
- buffer.append(" .cConsexHypLim = ");
- buffer.append(" (").append(getCConsexHypLim()).append(" )\n");
-
- buffer.append(" .wSpare2 = ");
- buffer.append(" (").append(getWSpare2()).append(" )\n");
-
- buffer.append(" .dttmCreated = ");
- buffer.append(" (").append(getDttmCreated()).append(" )\n");
-
- buffer.append(" .dttmRevised = ");
- buffer.append(" (").append(getDttmRevised()).append(" )\n");
-
- buffer.append(" .dttmLastPrint = ");
- buffer.append(" (").append(getDttmLastPrint()).append(" )\n");
-
- buffer.append(" .nRevision = ");
- buffer.append(" (").append(getNRevision()).append(" )\n");
-
- buffer.append(" .tmEdited = ");
- buffer.append(" (").append(getTmEdited()).append(" )\n");
-
- buffer.append(" .cWords = ");
- buffer.append(" (").append(getCWords()).append(" )\n");
-
- buffer.append(" .cCh = ");
- buffer.append(" (").append(getCCh()).append(" )\n");
-
- buffer.append(" .cPg = ");
- buffer.append(" (").append(getCPg()).append(" )\n");
-
- buffer.append(" .cParas = ");
- buffer.append(" (").append(getCParas()).append(" )\n");
-
- buffer.append(" .Edn = ");
- buffer.append(" (").append(getEdn()).append(" )\n");
- buffer.append(" .rncEdn = ").append(getRncEdn()).append('\n');
- buffer.append(" .nEdn = ").append(getNEdn()).append('\n');
-
- buffer.append(" .Edn1 = ");
- buffer.append(" (").append(getEdn1()).append(" )\n");
- buffer.append(" .epc = ").append(getEpc()).append('\n');
- buffer.append(" .nfcFtnRef1 = ").append(getNfcFtnRef1()).append('\n');
- buffer.append(" .nfcEdnRef1 = ").append(getNfcEdnRef1()).append('\n');
- buffer.append(" .fPrintFormData = ").append(isFPrintFormData()).append('\n');
- buffer.append(" .fSaveFormData = ").append(isFSaveFormData()).append('\n');
- buffer.append(" .fShadeFormData = ").append(isFShadeFormData()).append('\n');
- buffer.append(" .fWCFtnEdn = ").append(isFWCFtnEdn()).append('\n');
-
- buffer.append(" .cLines = ");
- buffer.append(" (").append(getCLines()).append(" )\n");
-
- buffer.append(" .cWordsFtnEnd = ");
- buffer.append(" (").append(getCWordsFtnEnd()).append(" )\n");
-
- buffer.append(" .cChFtnEdn = ");
- buffer.append(" (").append(getCChFtnEdn()).append(" )\n");
-
- buffer.append(" .cPgFtnEdn = ");
- buffer.append(" (").append(getCPgFtnEdn()).append(" )\n");
-
- buffer.append(" .cParasFtnEdn = ");
- buffer.append(" (").append(getCParasFtnEdn()).append(" )\n");
-
- buffer.append(" .cLinesFtnEdn = ");
- buffer.append(" (").append(getCLinesFtnEdn()).append(" )\n");
-
- buffer.append(" .lKeyProtDoc = ");
- buffer.append(" (").append(getLKeyProtDoc()).append(" )\n");
-
- buffer.append(" .view = ");
- buffer.append(" (").append(getView()).append(" )\n");
- buffer.append(" .wvkSaved = ").append(getWvkSaved()).append('\n');
- buffer.append(" .wScaleSaved = ").append(getWScaleSaved()).append('\n');
- buffer.append(" .zkSaved = ").append(getZkSaved()).append('\n');
- buffer.append(" .fRotateFontW6 = ").append(isFRotateFontW6()).append('\n');
- buffer.append(" .iGutterPos = ").append(isIGutterPos()).append('\n');
-
- buffer.append(" .docinfo4 = ");
- buffer.append(" (").append(getDocinfo4()).append(" )\n");
- buffer.append(" .fNoTabForInd = ").append(isFNoTabForInd()).append('\n');
- buffer.append(" .fNoSpaceRaiseLower = ").append(isFNoSpaceRaiseLower()).append('\n');
- buffer.append(" .fSupressSpdfAfterPageBreak = ").append(isFSupressSpdfAfterPageBreak()).append('\n');
- buffer.append(" .fWrapTrailSpaces = ").append(isFWrapTrailSpaces()).append('\n');
- buffer.append(" .fMapPrintTextColor = ").append(isFMapPrintTextColor()).append('\n');
- buffer.append(" .fNoColumnBalance = ").append(isFNoColumnBalance()).append('\n');
- buffer.append(" .fConvMailMergeEsc = ").append(isFConvMailMergeEsc()).append('\n');
- buffer.append(" .fSupressTopSpacing = ").append(isFSupressTopSpacing()).append('\n');
- buffer.append(" .fOrigWordTableRules = ").append(isFOrigWordTableRules()).append('\n');
- buffer.append(" .fTransparentMetafiles = ").append(isFTransparentMetafiles()).append('\n');
- buffer.append(" .fShowBreaksInFrames = ").append(isFShowBreaksInFrames()).append('\n');
- buffer.append(" .fSwapBordersFacingPgs = ").append(isFSwapBordersFacingPgs()).append('\n');
- buffer.append(" .fSuppressTopSPacingMac5 = ").append(isFSuppressTopSPacingMac5()).append('\n');
- buffer.append(" .fTruncDxaExpand = ").append(isFTruncDxaExpand()).append('\n');
- buffer.append(" .fPrintBodyBeforeHdr = ").append(isFPrintBodyBeforeHdr()).append('\n');
- buffer.append(" .fNoLeading = ").append(isFNoLeading()).append('\n');
- buffer.append(" .fMWSmallCaps = ").append(isFMWSmallCaps()).append('\n');
-
- buffer.append(" .adt = ");
- buffer.append(" (").append(getAdt()).append(" )\n");
-
- buffer.append(" .doptypography = ");
- buffer.append(" (").append(getDoptypography()).append(" )\n");
-
- buffer.append(" .dogrid = ");
- buffer.append(" (").append(getDogrid()).append(" )\n");
-
- buffer.append(" .docinfo5 = ");
- buffer.append(" (").append(getDocinfo5()).append(" )\n");
- buffer.append(" .lvl = ").append(getLvl()).append('\n');
- buffer.append(" .fGramAllDone = ").append(isFGramAllDone()).append('\n');
- buffer.append(" .fGramAllClean = ").append(isFGramAllClean()).append('\n');
- buffer.append(" .fSubsetFonts = ").append(isFSubsetFonts()).append('\n');
- buffer.append(" .fHideLastVersion = ").append(isFHideLastVersion()).append('\n');
- buffer.append(" .fHtmlDoc = ").append(isFHtmlDoc()).append('\n');
- buffer.append(" .fSnapBorder = ").append(isFSnapBorder()).append('\n');
- buffer.append(" .fIncludeHeader = ").append(isFIncludeHeader()).append('\n');
- buffer.append(" .fIncludeFooter = ").append(isFIncludeFooter()).append('\n');
- buffer.append(" .fForcePageSizePag = ").append(isFForcePageSizePag()).append('\n');
- buffer.append(" .fMinFontSizePag = ").append(isFMinFontSizePag()).append('\n');
-
- buffer.append(" .docinfo6 = ");
- buffer.append(" (").append(getDocinfo6()).append(" )\n");
- buffer.append(" .fHaveVersions = ").append(isFHaveVersions()).append('\n');
- buffer.append(" .fAutoVersions = ").append(isFAutoVersions()).append('\n');
-
- buffer.append(" .asumyi = ");
- buffer.append(" (").append(getAsumyi()).append(" )\n");
-
- buffer.append(" .cChWS = ");
- buffer.append(" (").append(getCChWS()).append(" )\n");
-
- buffer.append(" .cChWSFtnEdn = ");
- buffer.append(" (").append(getCChWSFtnEdn()).append(" )\n");
-
- buffer.append(" .grfDocEvents = ");
- buffer.append(" (").append(getGrfDocEvents()).append(" )\n");
-
- buffer.append(" .virusinfo = ");
- buffer.append(" (").append(getVirusinfo()).append(" )\n");
- buffer.append(" .fVirusPrompted = ").append(isFVirusPrompted()).append('\n');
- buffer.append(" .fVirusLoadSafe = ").append(isFVirusLoadSafe()).append('\n');
- buffer.append(" .KeyVirusSession30 = ").append(getKeyVirusSession30()).append('\n');
-
- buffer.append(" .Spare = ");
- buffer.append(" (").append(getSpare()).append(" )\n");
-
- buffer.append(" .reserved1 = ");
- buffer.append(" (").append(getReserved1()).append(" )\n");
-
- buffer.append(" .reserved2 = ");
- buffer.append(" (").append(getReserved2()).append(" )\n");
-
- buffer.append(" .cDBC = ");
- buffer.append(" (").append(getCDBC()).append(" )\n");
-
- buffer.append(" .cDBCFtnEdn = ");
- buffer.append(" (").append(getCDBCFtnEdn()).append(" )\n");
-
- buffer.append(" .reserved = ");
- buffer.append(" (").append(getReserved()).append(" )\n");
-
- buffer.append(" .nfcFtnRef = ");
- buffer.append(" (").append(getNfcFtnRef()).append(" )\n");
-
- buffer.append(" .nfcEdnRef = ");
- buffer.append(" (").append(getNfcEdnRef()).append(" )\n");
-
- buffer.append(" .hpsZoonFontPag = ");
- buffer.append(" (").append(getHpsZoonFontPag()).append(" )\n");
-
- buffer.append(" .dywDispPag = ");
- buffer.append(" (").append(getDywDispPag()).append(" )\n");
-
- buffer.append("[/DOP]\n");
- return buffer.toString();
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 1 + 1 + 2 + 1 + 1 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 4 + 4 + 4 + 2 + 4 + 2 + 2 + 4 + 4 + 4 + 2 + 4 + 4 + 4 + 2 + 4 + 2 + 310 + 10 + 2 + 2 + 12 + 4 + 4 + 4 + 4 + 30 + 4 + 4 + 4 + 4 + 4 + 2 + 2 + 2 + 2;
- }
-
-
-
- /**
- * Get the formatFlags field for the DOP record.
- */
- public byte getFormatFlags()
- {
- return field_1_formatFlags;
- }
-
- /**
- * Set the formatFlags field for the DOP record.
- */
- public void setFormatFlags(byte field_1_formatFlags)
- {
- this.field_1_formatFlags = field_1_formatFlags;
- }
-
- /**
- * Get the unused2 field for the DOP record.
- */
- public byte getUnused2()
- {
- return field_2_unused2;
- }
-
- /**
- * Set the unused2 field for the DOP record.
- */
- public void setUnused2(byte field_2_unused2)
- {
- this.field_2_unused2 = field_2_unused2;
- }
-
- /**
- * Get the footnoteInfo field for the DOP record.
- */
- public short getFootnoteInfo()
- {
- return field_3_footnoteInfo;
- }
-
- /**
- * Set the footnoteInfo field for the DOP record.
- */
- public void setFootnoteInfo(short field_3_footnoteInfo)
- {
- this.field_3_footnoteInfo = field_3_footnoteInfo;
- }
-
- /**
- * Get the fOutlineDirtySave field for the DOP record.
- */
- public byte getFOutlineDirtySave()
- {
- return field_4_fOutlineDirtySave;
- }
-
- /**
- * Set the fOutlineDirtySave field for the DOP record.
- */
- public void setFOutlineDirtySave(byte field_4_fOutlineDirtySave)
- {
- this.field_4_fOutlineDirtySave = field_4_fOutlineDirtySave;
- }
-
- /**
- * Get the docinfo field for the DOP record.
- */
- public byte getDocinfo()
- {
- return field_5_docinfo;
- }
-
- /**
- * Set the docinfo field for the DOP record.
- */
- public void setDocinfo(byte field_5_docinfo)
- {
- this.field_5_docinfo = field_5_docinfo;
- }
-
- /**
- * Get the docinfo1 field for the DOP record.
- */
- public byte getDocinfo1()
- {
- return field_6_docinfo1;
- }
-
- /**
- * Set the docinfo1 field for the DOP record.
- */
- public void setDocinfo1(byte field_6_docinfo1)
- {
- this.field_6_docinfo1 = field_6_docinfo1;
- }
-
- /**
- * Get the docinfo2 field for the DOP record.
- */
- public byte getDocinfo2()
- {
- return field_7_docinfo2;
- }
-
- /**
- * Set the docinfo2 field for the DOP record.
- */
- public void setDocinfo2(byte field_7_docinfo2)
- {
- this.field_7_docinfo2 = field_7_docinfo2;
- }
-
- /**
- * Get the docinfo3 field for the DOP record.
- */
- public short getDocinfo3()
- {
- return field_8_docinfo3;
- }
-
- /**
- * Set the docinfo3 field for the DOP record.
- */
- public void setDocinfo3(short field_8_docinfo3)
- {
- this.field_8_docinfo3 = field_8_docinfo3;
- }
-
- /**
- * Get the dxaTab field for the DOP record.
- */
- public int getDxaTab()
- {
- return field_9_dxaTab;
- }
-
- /**
- * Set the dxaTab field for the DOP record.
- */
- public void setDxaTab(int field_9_dxaTab)
- {
- this.field_9_dxaTab = field_9_dxaTab;
- }
-
- /**
- * Get the wSpare field for the DOP record.
- */
- public int getWSpare()
- {
- return field_10_wSpare;
- }
-
- /**
- * Set the wSpare field for the DOP record.
- */
- public void setWSpare(int field_10_wSpare)
- {
- this.field_10_wSpare = field_10_wSpare;
- }
-
- /**
- * Get the dxaHotz field for the DOP record.
- */
- public int getDxaHotz()
- {
- return field_11_dxaHotz;
- }
-
- /**
- * Set the dxaHotz field for the DOP record.
- */
- public void setDxaHotz(int field_11_dxaHotz)
- {
- this.field_11_dxaHotz = field_11_dxaHotz;
- }
-
- /**
- * Get the cConsexHypLim field for the DOP record.
- */
- public int getCConsexHypLim()
- {
- return field_12_cConsexHypLim;
- }
-
- /**
- * Set the cConsexHypLim field for the DOP record.
- */
- public void setCConsexHypLim(int field_12_cConsexHypLim)
- {
- this.field_12_cConsexHypLim = field_12_cConsexHypLim;
- }
-
- /**
- * Get the wSpare2 field for the DOP record.
- */
- public int getWSpare2()
- {
- return field_13_wSpare2;
- }
-
- /**
- * Set the wSpare2 field for the DOP record.
- */
- public void setWSpare2(int field_13_wSpare2)
- {
- this.field_13_wSpare2 = field_13_wSpare2;
- }
-
- /**
- * Get the dttmCreated field for the DOP record.
- */
- public int getDttmCreated()
- {
- return field_14_dttmCreated;
- }
-
- /**
- * Set the dttmCreated field for the DOP record.
- */
- public void setDttmCreated(int field_14_dttmCreated)
- {
- this.field_14_dttmCreated = field_14_dttmCreated;
- }
-
- /**
- * Get the dttmRevised field for the DOP record.
- */
- public int getDttmRevised()
- {
- return field_15_dttmRevised;
- }
-
- /**
- * Set the dttmRevised field for the DOP record.
- */
- public void setDttmRevised(int field_15_dttmRevised)
- {
- this.field_15_dttmRevised = field_15_dttmRevised;
- }
-
- /**
- * Get the dttmLastPrint field for the DOP record.
- */
- public int getDttmLastPrint()
- {
- return field_16_dttmLastPrint;
- }
-
- /**
- * Set the dttmLastPrint field for the DOP record.
- */
- public void setDttmLastPrint(int field_16_dttmLastPrint)
- {
- this.field_16_dttmLastPrint = field_16_dttmLastPrint;
- }
-
- /**
- * Get the nRevision field for the DOP record.
- */
- public int getNRevision()
- {
- return field_17_nRevision;
- }
-
- /**
- * Set the nRevision field for the DOP record.
- */
- public void setNRevision(int field_17_nRevision)
- {
- this.field_17_nRevision = field_17_nRevision;
- }
-
- /**
- * Get the tmEdited field for the DOP record.
- */
- public int getTmEdited()
- {
- return field_18_tmEdited;
- }
-
- /**
- * Set the tmEdited field for the DOP record.
- */
- public void setTmEdited(int field_18_tmEdited)
- {
- this.field_18_tmEdited = field_18_tmEdited;
- }
-
- /**
- * Get the cWords field for the DOP record.
- */
- public int getCWords()
- {
- return field_19_cWords;
- }
-
- /**
- * Set the cWords field for the DOP record.
- */
- public void setCWords(int field_19_cWords)
- {
- this.field_19_cWords = field_19_cWords;
- }
-
- /**
- * Get the cCh field for the DOP record.
- */
- public int getCCh()
- {
- return field_20_cCh;
- }
-
- /**
- * Set the cCh field for the DOP record.
- */
- public void setCCh(int field_20_cCh)
- {
- this.field_20_cCh = field_20_cCh;
- }
-
- /**
- * Get the cPg field for the DOP record.
- */
- public int getCPg()
- {
- return field_21_cPg;
- }
-
- /**
- * Set the cPg field for the DOP record.
- */
- public void setCPg(int field_21_cPg)
- {
- this.field_21_cPg = field_21_cPg;
- }
-
- /**
- * Get the cParas field for the DOP record.
- */
- public int getCParas()
- {
- return field_22_cParas;
- }
-
- /**
- * Set the cParas field for the DOP record.
- */
- public void setCParas(int field_22_cParas)
- {
- this.field_22_cParas = field_22_cParas;
- }
-
- /**
- * Get the Edn field for the DOP record.
- */
- public short getEdn()
- {
- return field_23_Edn;
- }
-
- /**
- * Set the Edn field for the DOP record.
- */
- public void setEdn(short field_23_Edn)
- {
- this.field_23_Edn = field_23_Edn;
- }
-
- /**
- * Get the Edn1 field for the DOP record.
- */
- public short getEdn1()
- {
- return field_24_Edn1;
- }
-
- /**
- * Set the Edn1 field for the DOP record.
- */
- public void setEdn1(short field_24_Edn1)
- {
- this.field_24_Edn1 = field_24_Edn1;
- }
-
- /**
- * Get the cLines field for the DOP record.
- */
- public int getCLines()
- {
- return field_25_cLines;
- }
-
- /**
- * Set the cLines field for the DOP record.
- */
- public void setCLines(int field_25_cLines)
- {
- this.field_25_cLines = field_25_cLines;
- }
-
- /**
- * Get the cWordsFtnEnd field for the DOP record.
- */
- public int getCWordsFtnEnd()
- {
- return field_26_cWordsFtnEnd;
- }
-
- /**
- * Set the cWordsFtnEnd field for the DOP record.
- */
- public void setCWordsFtnEnd(int field_26_cWordsFtnEnd)
- {
- this.field_26_cWordsFtnEnd = field_26_cWordsFtnEnd;
- }
-
- /**
- * Get the cChFtnEdn field for the DOP record.
- */
- public int getCChFtnEdn()
- {
- return field_27_cChFtnEdn;
- }
-
- /**
- * Set the cChFtnEdn field for the DOP record.
- */
- public void setCChFtnEdn(int field_27_cChFtnEdn)
- {
- this.field_27_cChFtnEdn = field_27_cChFtnEdn;
- }
-
- /**
- * Get the cPgFtnEdn field for the DOP record.
- */
- public short getCPgFtnEdn()
- {
- return field_28_cPgFtnEdn;
- }
-
- /**
- * Set the cPgFtnEdn field for the DOP record.
- */
- public void setCPgFtnEdn(short field_28_cPgFtnEdn)
- {
- this.field_28_cPgFtnEdn = field_28_cPgFtnEdn;
- }
-
- /**
- * Get the cParasFtnEdn field for the DOP record.
- */
- public int getCParasFtnEdn()
- {
- return field_29_cParasFtnEdn;
- }
-
- /**
- * Set the cParasFtnEdn field for the DOP record.
- */
- public void setCParasFtnEdn(int field_29_cParasFtnEdn)
- {
- this.field_29_cParasFtnEdn = field_29_cParasFtnEdn;
- }
-
- /**
- * Get the cLinesFtnEdn field for the DOP record.
- */
- public int getCLinesFtnEdn()
- {
- return field_30_cLinesFtnEdn;
- }
-
- /**
- * Set the cLinesFtnEdn field for the DOP record.
- */
- public void setCLinesFtnEdn(int field_30_cLinesFtnEdn)
- {
- this.field_30_cLinesFtnEdn = field_30_cLinesFtnEdn;
- }
-
- /**
- * Get the lKeyProtDoc field for the DOP record.
- */
- public int getLKeyProtDoc()
- {
- return field_31_lKeyProtDoc;
- }
-
- /**
- * Set the lKeyProtDoc field for the DOP record.
- */
- public void setLKeyProtDoc(int field_31_lKeyProtDoc)
- {
- this.field_31_lKeyProtDoc = field_31_lKeyProtDoc;
- }
-
- /**
- * Get the view field for the DOP record.
- */
- public short getView()
- {
- return field_32_view;
- }
-
- /**
- * Set the view field for the DOP record.
- */
- public void setView(short field_32_view)
- {
- this.field_32_view = field_32_view;
- }
-
- /**
- * Get the docinfo4 field for the DOP record.
- */
- public int getDocinfo4()
- {
- return field_33_docinfo4;
- }
-
- /**
- * Set the docinfo4 field for the DOP record.
- */
- public void setDocinfo4(int field_33_docinfo4)
- {
- this.field_33_docinfo4 = field_33_docinfo4;
- }
-
- /**
- * Get the adt field for the DOP record.
- */
- public short getAdt()
- {
- return field_34_adt;
- }
-
- /**
- * Set the adt field for the DOP record.
- */
- public void setAdt(short field_34_adt)
- {
- this.field_34_adt = field_34_adt;
- }
-
- /**
- * Get the doptypography field for the DOP record.
- */
- public byte[] getDoptypography()
- {
- return field_35_doptypography;
- }
-
- /**
- * Set the doptypography field for the DOP record.
- */
- public void setDoptypography(byte[] field_35_doptypography)
- {
- this.field_35_doptypography = field_35_doptypography;
- }
-
- /**
- * Get the dogrid field for the DOP record.
- */
- public byte[] getDogrid()
- {
- return field_36_dogrid;
- }
-
- /**
- * Set the dogrid field for the DOP record.
- */
- public void setDogrid(byte[] field_36_dogrid)
- {
- this.field_36_dogrid = field_36_dogrid;
- }
-
- /**
- * Get the docinfo5 field for the DOP record.
- */
- public short getDocinfo5()
- {
- return field_37_docinfo5;
- }
-
- /**
- * Set the docinfo5 field for the DOP record.
- */
- public void setDocinfo5(short field_37_docinfo5)
- {
- this.field_37_docinfo5 = field_37_docinfo5;
- }
-
- /**
- * Get the docinfo6 field for the DOP record.
- */
- public short getDocinfo6()
- {
- return field_38_docinfo6;
- }
-
- /**
- * Set the docinfo6 field for the DOP record.
- */
- public void setDocinfo6(short field_38_docinfo6)
- {
- this.field_38_docinfo6 = field_38_docinfo6;
- }
-
- /**
- * Get the asumyi field for the DOP record.
- */
- public byte[] getAsumyi()
- {
- return field_39_asumyi;
- }
-
- /**
- * Set the asumyi field for the DOP record.
- */
- public void setAsumyi(byte[] field_39_asumyi)
- {
- this.field_39_asumyi = field_39_asumyi;
- }
-
- /**
- * Get the cChWS field for the DOP record.
- */
- public int getCChWS()
- {
- return field_40_cChWS;
- }
-
- /**
- * Set the cChWS field for the DOP record.
- */
- public void setCChWS(int field_40_cChWS)
- {
- this.field_40_cChWS = field_40_cChWS;
- }
-
- /**
- * Get the cChWSFtnEdn field for the DOP record.
- */
- public int getCChWSFtnEdn()
- {
- return field_41_cChWSFtnEdn;
- }
-
- /**
- * Set the cChWSFtnEdn field for the DOP record.
- */
- public void setCChWSFtnEdn(int field_41_cChWSFtnEdn)
- {
- this.field_41_cChWSFtnEdn = field_41_cChWSFtnEdn;
- }
-
- /**
- * Get the grfDocEvents field for the DOP record.
- */
- public int getGrfDocEvents()
- {
- return field_42_grfDocEvents;
- }
-
- /**
- * Set the grfDocEvents field for the DOP record.
- */
- public void setGrfDocEvents(int field_42_grfDocEvents)
- {
- this.field_42_grfDocEvents = field_42_grfDocEvents;
- }
-
- /**
- * Get the virusinfo field for the DOP record.
- */
- public int getVirusinfo()
- {
- return field_43_virusinfo;
- }
-
- /**
- * Set the virusinfo field for the DOP record.
- */
- public void setVirusinfo(int field_43_virusinfo)
- {
- this.field_43_virusinfo = field_43_virusinfo;
- }
-
- /**
- * Get the Spare field for the DOP record.
- */
- public byte[] getSpare()
- {
- return field_44_Spare;
- }
-
- /**
- * Set the Spare field for the DOP record.
- */
- public void setSpare(byte[] field_44_Spare)
- {
- this.field_44_Spare = field_44_Spare;
- }
-
- /**
- * Get the reserved1 field for the DOP record.
- */
- public int getReserved1()
- {
- return field_45_reserved1;
- }
-
- /**
- * Set the reserved1 field for the DOP record.
- */
- public void setReserved1(int field_45_reserved1)
- {
- this.field_45_reserved1 = field_45_reserved1;
- }
-
- /**
- * Get the reserved2 field for the DOP record.
- */
- public int getReserved2()
- {
- return field_46_reserved2;
- }
-
- /**
- * Set the reserved2 field for the DOP record.
- */
- public void setReserved2(int field_46_reserved2)
- {
- this.field_46_reserved2 = field_46_reserved2;
- }
-
- /**
- * Get the cDBC field for the DOP record.
- */
- public int getCDBC()
- {
- return field_47_cDBC;
- }
-
- /**
- * Set the cDBC field for the DOP record.
- */
- public void setCDBC(int field_47_cDBC)
- {
- this.field_47_cDBC = field_47_cDBC;
- }
-
- /**
- * Get the cDBCFtnEdn field for the DOP record.
- */
- public int getCDBCFtnEdn()
- {
- return field_48_cDBCFtnEdn;
- }
-
- /**
- * Set the cDBCFtnEdn field for the DOP record.
- */
- public void setCDBCFtnEdn(int field_48_cDBCFtnEdn)
- {
- this.field_48_cDBCFtnEdn = field_48_cDBCFtnEdn;
- }
-
- /**
- * Get the reserved field for the DOP record.
- */
- public int getReserved()
- {
- return field_49_reserved;
- }
-
- /**
- * Set the reserved field for the DOP record.
- */
- public void setReserved(int field_49_reserved)
- {
- this.field_49_reserved = field_49_reserved;
- }
-
- /**
- * Get the nfcFtnRef field for the DOP record.
- */
- public short getNfcFtnRef()
- {
- return field_50_nfcFtnRef;
- }
-
- /**
- * Set the nfcFtnRef field for the DOP record.
- */
- public void setNfcFtnRef(short field_50_nfcFtnRef)
- {
- this.field_50_nfcFtnRef = field_50_nfcFtnRef;
- }
-
- /**
- * Get the nfcEdnRef field for the DOP record.
- */
- public short getNfcEdnRef()
- {
- return field_51_nfcEdnRef;
- }
-
- /**
- * Set the nfcEdnRef field for the DOP record.
- */
- public void setNfcEdnRef(short field_51_nfcEdnRef)
- {
- this.field_51_nfcEdnRef = field_51_nfcEdnRef;
- }
-
- /**
- * Get the hpsZoonFontPag field for the DOP record.
- */
- public short getHpsZoonFontPag()
- {
- return field_52_hpsZoonFontPag;
- }
-
- /**
- * Set the hpsZoonFontPag field for the DOP record.
- */
- public void setHpsZoonFontPag(short field_52_hpsZoonFontPag)
- {
- this.field_52_hpsZoonFontPag = field_52_hpsZoonFontPag;
- }
-
- /**
- * Get the dywDispPag field for the DOP record.
- */
- public short getDywDispPag()
- {
- return field_53_dywDispPag;
- }
-
- /**
- * Set the dywDispPag field for the DOP record.
- */
- public void setDywDispPag(short field_53_dywDispPag)
- {
- this.field_53_dywDispPag = field_53_dywDispPag;
- }
-
- /**
- * Sets the fFacingPages field value.
- *
- */
- public void setFFacingPages(boolean value)
- {
- field_1_formatFlags = (byte)fFacingPages.setBoolean(field_1_formatFlags, value);
-
-
- }
-
- /**
- *
- * @return the fFacingPages field value.
- */
- public boolean isFFacingPages()
- {
- return fFacingPages.isSet(field_1_formatFlags);
-
- }
-
- /**
- * Sets the fWidowControl field value.
- *
- */
- public void setFWidowControl(boolean value)
- {
- field_1_formatFlags = (byte)fWidowControl.setBoolean(field_1_formatFlags, value);
-
-
- }
-
- /**
- *
- * @return the fWidowControl field value.
- */
- public boolean isFWidowControl()
- {
- return fWidowControl.isSet(field_1_formatFlags);
-
- }
-
- /**
- * Sets the fPMHMainDoc field value.
- *
- */
- public void setFPMHMainDoc(boolean value)
- {
- field_1_formatFlags = (byte)fPMHMainDoc.setBoolean(field_1_formatFlags, value);
-
-
- }
-
- /**
- *
- * @return the fPMHMainDoc field value.
- */
- public boolean isFPMHMainDoc()
- {
- return fPMHMainDoc.isSet(field_1_formatFlags);
-
- }
-
- /**
- * Sets the grfSupression field value.
- *
- */
- public void setGrfSupression(byte value)
- {
- field_1_formatFlags = (byte)grfSupression.setValue(field_1_formatFlags, value);
-
-
- }
-
- /**
- *
- * @return the grfSupression field value.
- */
- public byte getGrfSupression()
- {
- return ( byte )grfSupression.getValue(field_1_formatFlags);
-
- }
-
- /**
- * Sets the fpc field value.
- *
- */
- public void setFpc(byte value)
- {
- field_1_formatFlags = (byte)fpc.setValue(field_1_formatFlags, value);
-
-
- }
-
- /**
- *
- * @return the fpc field value.
- */
- public byte getFpc()
- {
- return ( byte )fpc.getValue(field_1_formatFlags);
-
- }
-
- /**
- * Sets the unused1 field value.
- *
- */
- public void setUnused1(boolean value)
- {
- field_1_formatFlags = (byte)unused1.setBoolean(field_1_formatFlags, value);
-
-
- }
-
- /**
- *
- * @return the unused1 field value.
- */
- public boolean isUnused1()
- {
- return unused1.isSet(field_1_formatFlags);
-
- }
-
- /**
- * Sets the rncFtn field value.
- *
- */
- public void setRncFtn(byte value)
- {
- field_3_footnoteInfo = (short)rncFtn.setValue(field_3_footnoteInfo, value);
-
-
- }
-
- /**
- *
- * @return the rncFtn field value.
- */
- public byte getRncFtn()
- {
- return ( byte )rncFtn.getValue(field_3_footnoteInfo);
-
- }
-
- /**
- * Sets the nFtn field value.
- *
- */
- public void setNFtn(short value)
- {
- field_3_footnoteInfo = (short)nFtn.setValue(field_3_footnoteInfo, value);
-
-
- }
-
- /**
- *
- * @return the nFtn field value.
- */
- public short getNFtn()
- {
- return ( short )nFtn.getValue(field_3_footnoteInfo);
-
- }
-
- /**
- * Sets the fOnlyMacPics field value.
- *
- */
- public void setFOnlyMacPics(boolean value)
- {
- field_5_docinfo = (byte)fOnlyMacPics.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fOnlyMacPics field value.
- */
- public boolean isFOnlyMacPics()
- {
- return fOnlyMacPics.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fOnlyWinPics field value.
- *
- */
- public void setFOnlyWinPics(boolean value)
- {
- field_5_docinfo = (byte)fOnlyWinPics.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fOnlyWinPics field value.
- */
- public boolean isFOnlyWinPics()
- {
- return fOnlyWinPics.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fLabelDoc field value.
- *
- */
- public void setFLabelDoc(boolean value)
- {
- field_5_docinfo = (byte)fLabelDoc.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fLabelDoc field value.
- */
- public boolean isFLabelDoc()
- {
- return fLabelDoc.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fHyphCapitals field value.
- *
- */
- public void setFHyphCapitals(boolean value)
- {
- field_5_docinfo = (byte)fHyphCapitals.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fHyphCapitals field value.
- */
- public boolean isFHyphCapitals()
- {
- return fHyphCapitals.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fAutoHyphen field value.
- *
- */
- public void setFAutoHyphen(boolean value)
- {
- field_5_docinfo = (byte)fAutoHyphen.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fAutoHyphen field value.
- */
- public boolean isFAutoHyphen()
- {
- return fAutoHyphen.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fFormNoFields field value.
- *
- */
- public void setFFormNoFields(boolean value)
- {
- field_5_docinfo = (byte)fFormNoFields.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fFormNoFields field value.
- */
- public boolean isFFormNoFields()
- {
- return fFormNoFields.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fLinkStyles field value.
- *
- */
- public void setFLinkStyles(boolean value)
- {
- field_5_docinfo = (byte)fLinkStyles.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fLinkStyles field value.
- */
- public boolean isFLinkStyles()
- {
- return fLinkStyles.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fRevMarking field value.
- *
- */
- public void setFRevMarking(boolean value)
- {
- field_5_docinfo = (byte)fRevMarking.setBoolean(field_5_docinfo, value);
-
-
- }
-
- /**
- *
- * @return the fRevMarking field value.
- */
- public boolean isFRevMarking()
- {
- return fRevMarking.isSet(field_5_docinfo);
-
- }
-
- /**
- * Sets the fBackup field value.
- *
- */
- public void setFBackup(boolean value)
- {
- field_6_docinfo1 = (byte)fBackup.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fBackup field value.
- */
- public boolean isFBackup()
- {
- return fBackup.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fExactCWords field value.
- *
- */
- public void setFExactCWords(boolean value)
- {
- field_6_docinfo1 = (byte)fExactCWords.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fExactCWords field value.
- */
- public boolean isFExactCWords()
- {
- return fExactCWords.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fPagHidden field value.
- *
- */
- public void setFPagHidden(boolean value)
- {
- field_6_docinfo1 = (byte)fPagHidden.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fPagHidden field value.
- */
- public boolean isFPagHidden()
- {
- return fPagHidden.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fPagResults field value.
- *
- */
- public void setFPagResults(boolean value)
- {
- field_6_docinfo1 = (byte)fPagResults.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fPagResults field value.
- */
- public boolean isFPagResults()
- {
- return fPagResults.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fLockAtn field value.
- *
- */
- public void setFLockAtn(boolean value)
- {
- field_6_docinfo1 = (byte)fLockAtn.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fLockAtn field value.
- */
- public boolean isFLockAtn()
- {
- return fLockAtn.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fMirrorMargins field value.
- *
- */
- public void setFMirrorMargins(boolean value)
- {
- field_6_docinfo1 = (byte)fMirrorMargins.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fMirrorMargins field value.
- */
- public boolean isFMirrorMargins()
- {
- return fMirrorMargins.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the unused3 field value.
- *
- */
- public void setUnused3(boolean value)
- {
- field_6_docinfo1 = (byte)unused3.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the unused3 field value.
- */
- public boolean isUnused3()
- {
- return unused3.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fDfltTrueType field value.
- *
- */
- public void setFDfltTrueType(boolean value)
- {
- field_6_docinfo1 = (byte)fDfltTrueType.setBoolean(field_6_docinfo1, value);
-
-
- }
-
- /**
- *
- * @return the fDfltTrueType field value.
- */
- public boolean isFDfltTrueType()
- {
- return fDfltTrueType.isSet(field_6_docinfo1);
-
- }
-
- /**
- * Sets the fPagSupressTopSpacing field value.
- *
- */
- public void setFPagSupressTopSpacing(boolean value)
- {
- field_7_docinfo2 = (byte)fPagSupressTopSpacing.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fPagSupressTopSpacing field value.
- */
- public boolean isFPagSupressTopSpacing()
- {
- return fPagSupressTopSpacing.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the fProtEnabled field value.
- *
- */
- public void setFProtEnabled(boolean value)
- {
- field_7_docinfo2 = (byte)fProtEnabled.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fProtEnabled field value.
- */
- public boolean isFProtEnabled()
- {
- return fProtEnabled.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the fDispFormFldSel field value.
- *
- */
- public void setFDispFormFldSel(boolean value)
- {
- field_7_docinfo2 = (byte)fDispFormFldSel.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fDispFormFldSel field value.
- */
- public boolean isFDispFormFldSel()
- {
- return fDispFormFldSel.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the fRMView field value.
- *
- */
- public void setFRMView(boolean value)
- {
- field_7_docinfo2 = (byte)fRMView.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fRMView field value.
- */
- public boolean isFRMView()
- {
- return fRMView.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the fRMPrint field value.
- *
- */
- public void setFRMPrint(boolean value)
- {
- field_7_docinfo2 = (byte)fRMPrint.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fRMPrint field value.
- */
- public boolean isFRMPrint()
- {
- return fRMPrint.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the unused4 field value.
- *
- */
- public void setUnused4(boolean value)
- {
- field_7_docinfo2 = (byte)unused4.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the unused4 field value.
- */
- public boolean isUnused4()
- {
- return unused4.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the fLockRev field value.
- *
- */
- public void setFLockRev(boolean value)
- {
- field_7_docinfo2 = (byte)fLockRev.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fLockRev field value.
- */
- public boolean isFLockRev()
- {
- return fLockRev.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the fEmbedFonts field value.
- *
- */
- public void setFEmbedFonts(boolean value)
- {
- field_7_docinfo2 = (byte)fEmbedFonts.setBoolean(field_7_docinfo2, value);
-
-
- }
-
- /**
- *
- * @return the fEmbedFonts field value.
- */
- public boolean isFEmbedFonts()
- {
- return fEmbedFonts.isSet(field_7_docinfo2);
-
- }
-
- /**
- * Sets the oldfNoTabForInd field value.
- *
- */
- public void setOldfNoTabForInd(boolean value)
- {
- field_8_docinfo3 = (short)oldfNoTabForInd.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfNoTabForInd field value.
- */
- public boolean isOldfNoTabForInd()
- {
- return oldfNoTabForInd.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfNoSpaceRaiseLower field value.
- *
- */
- public void setOldfNoSpaceRaiseLower(boolean value)
- {
- field_8_docinfo3 = (short)oldfNoSpaceRaiseLower.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfNoSpaceRaiseLower field value.
- */
- public boolean isOldfNoSpaceRaiseLower()
- {
- return oldfNoSpaceRaiseLower.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfSuppressSpbfAfterPageBreak field value.
- *
- */
- public void setOldfSuppressSpbfAfterPageBreak(boolean value)
- {
- field_8_docinfo3 = (short)oldfSuppressSpbfAfterPageBreak.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfSuppressSpbfAfterPageBreak field value.
- */
- public boolean isOldfSuppressSpbfAfterPageBreak()
- {
- return oldfSuppressSpbfAfterPageBreak.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfWrapTrailSpaces field value.
- *
- */
- public void setOldfWrapTrailSpaces(boolean value)
- {
- field_8_docinfo3 = (short)oldfWrapTrailSpaces.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfWrapTrailSpaces field value.
- */
- public boolean isOldfWrapTrailSpaces()
- {
- return oldfWrapTrailSpaces.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfMapPrintTextColor field value.
- *
- */
- public void setOldfMapPrintTextColor(boolean value)
- {
- field_8_docinfo3 = (short)oldfMapPrintTextColor.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfMapPrintTextColor field value.
- */
- public boolean isOldfMapPrintTextColor()
- {
- return oldfMapPrintTextColor.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfNoColumnBalance field value.
- *
- */
- public void setOldfNoColumnBalance(boolean value)
- {
- field_8_docinfo3 = (short)oldfNoColumnBalance.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfNoColumnBalance field value.
- */
- public boolean isOldfNoColumnBalance()
- {
- return oldfNoColumnBalance.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfConvMailMergeEsc field value.
- *
- */
- public void setOldfConvMailMergeEsc(boolean value)
- {
- field_8_docinfo3 = (short)oldfConvMailMergeEsc.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfConvMailMergeEsc field value.
- */
- public boolean isOldfConvMailMergeEsc()
- {
- return oldfConvMailMergeEsc.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfSupressTopSpacing field value.
- *
- */
- public void setOldfSupressTopSpacing(boolean value)
- {
- field_8_docinfo3 = (short)oldfSupressTopSpacing.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfSupressTopSpacing field value.
- */
- public boolean isOldfSupressTopSpacing()
- {
- return oldfSupressTopSpacing.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfOrigWordTableRules field value.
- *
- */
- public void setOldfOrigWordTableRules(boolean value)
- {
- field_8_docinfo3 = (short)oldfOrigWordTableRules.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfOrigWordTableRules field value.
- */
- public boolean isOldfOrigWordTableRules()
- {
- return oldfOrigWordTableRules.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfTransparentMetafiles field value.
- *
- */
- public void setOldfTransparentMetafiles(boolean value)
- {
- field_8_docinfo3 = (short)oldfTransparentMetafiles.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfTransparentMetafiles field value.
- */
- public boolean isOldfTransparentMetafiles()
- {
- return oldfTransparentMetafiles.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfShowBreaksInFrames field value.
- *
- */
- public void setOldfShowBreaksInFrames(boolean value)
- {
- field_8_docinfo3 = (short)oldfShowBreaksInFrames.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfShowBreaksInFrames field value.
- */
- public boolean isOldfShowBreaksInFrames()
- {
- return oldfShowBreaksInFrames.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the oldfSwapBordersFacingPgs field value.
- *
- */
- public void setOldfSwapBordersFacingPgs(boolean value)
- {
- field_8_docinfo3 = (short)oldfSwapBordersFacingPgs.setBoolean(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the oldfSwapBordersFacingPgs field value.
- */
- public boolean isOldfSwapBordersFacingPgs()
- {
- return oldfSwapBordersFacingPgs.isSet(field_8_docinfo3);
-
- }
-
- /**
- * Sets the unused5 field value.
- *
- */
- public void setUnused5(byte value)
- {
- field_8_docinfo3 = (short)unused5.setValue(field_8_docinfo3, value);
-
-
- }
-
- /**
- *
- * @return the unused5 field value.
- */
- public byte getUnused5()
- {
- return ( byte )unused5.getValue(field_8_docinfo3);
-
- }
-
- /**
- * Sets the rncEdn field value.
- *
- */
- public void setRncEdn(byte value)
- {
- field_23_Edn = (short)rncEdn.setValue(field_23_Edn, value);
-
-
- }
-
- /**
- *
- * @return the rncEdn field value.
- */
- public byte getRncEdn()
- {
- return ( byte )rncEdn.getValue(field_23_Edn);
-
- }
-
- /**
- * Sets the nEdn field value.
- *
- */
- public void setNEdn(short value)
- {
- field_23_Edn = (short)nEdn.setValue(field_23_Edn, value);
-
-
- }
-
- /**
- *
- * @return the nEdn field value.
- */
- public short getNEdn()
- {
- return ( short )nEdn.getValue(field_23_Edn);
-
- }
-
- /**
- * Sets the epc field value.
- *
- */
- public void setEpc(byte value)
- {
- field_24_Edn1 = (short)epc.setValue(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the epc field value.
- */
- public byte getEpc()
- {
- return ( byte )epc.getValue(field_24_Edn1);
-
- }
-
- /**
- * Sets the nfcFtnRef1 field value.
- *
- */
- public void setNfcFtnRef1(byte value)
- {
- field_24_Edn1 = (short)nfcFtnRef1.setValue(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the nfcFtnRef1 field value.
- */
- public byte getNfcFtnRef1()
- {
- return ( byte )nfcFtnRef1.getValue(field_24_Edn1);
-
- }
-
- /**
- * Sets the nfcEdnRef1 field value.
- *
- */
- public void setNfcEdnRef1(byte value)
- {
- field_24_Edn1 = (short)nfcEdnRef1.setValue(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the nfcEdnRef1 field value.
- */
- public byte getNfcEdnRef1()
- {
- return ( byte )nfcEdnRef1.getValue(field_24_Edn1);
-
- }
-
- /**
- * Sets the fPrintFormData field value.
- *
- */
- public void setFPrintFormData(boolean value)
- {
- field_24_Edn1 = (short)fPrintFormData.setBoolean(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the fPrintFormData field value.
- */
- public boolean isFPrintFormData()
- {
- return fPrintFormData.isSet(field_24_Edn1);
-
- }
-
- /**
- * Sets the fSaveFormData field value.
- *
- */
- public void setFSaveFormData(boolean value)
- {
- field_24_Edn1 = (short)fSaveFormData.setBoolean(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the fSaveFormData field value.
- */
- public boolean isFSaveFormData()
- {
- return fSaveFormData.isSet(field_24_Edn1);
-
- }
-
- /**
- * Sets the fShadeFormData field value.
- *
- */
- public void setFShadeFormData(boolean value)
- {
- field_24_Edn1 = (short)fShadeFormData.setBoolean(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the fShadeFormData field value.
- */
- public boolean isFShadeFormData()
- {
- return fShadeFormData.isSet(field_24_Edn1);
-
- }
-
- /**
- * Sets the fWCFtnEdn field value.
- *
- */
- public void setFWCFtnEdn(boolean value)
- {
- field_24_Edn1 = (short)fWCFtnEdn.setBoolean(field_24_Edn1, value);
-
-
- }
-
- /**
- *
- * @return the fWCFtnEdn field value.
- */
- public boolean isFWCFtnEdn()
- {
- return fWCFtnEdn.isSet(field_24_Edn1);
-
- }
-
- /**
- * Sets the wvkSaved field value.
- *
- */
- public void setWvkSaved(byte value)
- {
- field_32_view = (short)wvkSaved.setValue(field_32_view, value);
-
-
- }
-
- /**
- *
- * @return the wvkSaved field value.
- */
- public byte getWvkSaved()
- {
- return ( byte )wvkSaved.getValue(field_32_view);
-
- }
-
- /**
- * Sets the wScaleSaved field value.
- *
- */
- public void setWScaleSaved(short value)
- {
- field_32_view = (short)wScaleSaved.setValue(field_32_view, value);
-
-
- }
-
- /**
- *
- * @return the wScaleSaved field value.
- */
- public short getWScaleSaved()
- {
- return ( short )wScaleSaved.getValue(field_32_view);
-
- }
-
- /**
- * Sets the zkSaved field value.
- *
- */
- public void setZkSaved(byte value)
- {
- field_32_view = (short)zkSaved.setValue(field_32_view, value);
-
-
- }
-
- /**
- *
- * @return the zkSaved field value.
- */
- public byte getZkSaved()
- {
- return ( byte )zkSaved.getValue(field_32_view);
-
- }
-
- /**
- * Sets the fRotateFontW6 field value.
- *
- */
- public void setFRotateFontW6(boolean value)
- {
- field_32_view = (short)fRotateFontW6.setBoolean(field_32_view, value);
-
-
- }
-
- /**
- *
- * @return the fRotateFontW6 field value.
- */
- public boolean isFRotateFontW6()
- {
- return fRotateFontW6.isSet(field_32_view);
-
- }
-
- /**
- * Sets the iGutterPos field value.
- *
- */
- public void setIGutterPos(boolean value)
- {
- field_32_view = (short)iGutterPos.setBoolean(field_32_view, value);
-
-
- }
-
- /**
- *
- * @return the iGutterPos field value.
- */
- public boolean isIGutterPos()
- {
- return iGutterPos.isSet(field_32_view);
-
- }
-
- /**
- * Sets the fNoTabForInd field value.
- *
- */
- public void setFNoTabForInd(boolean value)
- {
- field_33_docinfo4 = (int)fNoTabForInd.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fNoTabForInd field value.
- */
- public boolean isFNoTabForInd()
- {
- return fNoTabForInd.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fNoSpaceRaiseLower field value.
- *
- */
- public void setFNoSpaceRaiseLower(boolean value)
- {
- field_33_docinfo4 = (int)fNoSpaceRaiseLower.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fNoSpaceRaiseLower field value.
- */
- public boolean isFNoSpaceRaiseLower()
- {
- return fNoSpaceRaiseLower.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fSupressSpdfAfterPageBreak field value.
- *
- */
- public void setFSupressSpdfAfterPageBreak(boolean value)
- {
- field_33_docinfo4 = (int)fSupressSpdfAfterPageBreak.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fSupressSpdfAfterPageBreak field value.
- */
- public boolean isFSupressSpdfAfterPageBreak()
- {
- return fSupressSpdfAfterPageBreak.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fWrapTrailSpaces field value.
- *
- */
- public void setFWrapTrailSpaces(boolean value)
- {
- field_33_docinfo4 = (int)fWrapTrailSpaces.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fWrapTrailSpaces field value.
- */
- public boolean isFWrapTrailSpaces()
- {
- return fWrapTrailSpaces.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fMapPrintTextColor field value.
- *
- */
- public void setFMapPrintTextColor(boolean value)
- {
- field_33_docinfo4 = (int)fMapPrintTextColor.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fMapPrintTextColor field value.
- */
- public boolean isFMapPrintTextColor()
- {
- return fMapPrintTextColor.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fNoColumnBalance field value.
- *
- */
- public void setFNoColumnBalance(boolean value)
- {
- field_33_docinfo4 = (int)fNoColumnBalance.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fNoColumnBalance field value.
- */
- public boolean isFNoColumnBalance()
- {
- return fNoColumnBalance.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fConvMailMergeEsc field value.
- *
- */
- public void setFConvMailMergeEsc(boolean value)
- {
- field_33_docinfo4 = (int)fConvMailMergeEsc.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fConvMailMergeEsc field value.
- */
- public boolean isFConvMailMergeEsc()
- {
- return fConvMailMergeEsc.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fSupressTopSpacing field value.
- *
- */
- public void setFSupressTopSpacing(boolean value)
- {
- field_33_docinfo4 = (int)fSupressTopSpacing.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fSupressTopSpacing field value.
- */
- public boolean isFSupressTopSpacing()
- {
- return fSupressTopSpacing.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fOrigWordTableRules field value.
- *
- */
- public void setFOrigWordTableRules(boolean value)
- {
- field_33_docinfo4 = (int)fOrigWordTableRules.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fOrigWordTableRules field value.
- */
- public boolean isFOrigWordTableRules()
- {
- return fOrigWordTableRules.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fTransparentMetafiles field value.
- *
- */
- public void setFTransparentMetafiles(boolean value)
- {
- field_33_docinfo4 = (int)fTransparentMetafiles.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fTransparentMetafiles field value.
- */
- public boolean isFTransparentMetafiles()
- {
- return fTransparentMetafiles.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fShowBreaksInFrames field value.
- *
- */
- public void setFShowBreaksInFrames(boolean value)
- {
- field_33_docinfo4 = (int)fShowBreaksInFrames.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fShowBreaksInFrames field value.
- */
- public boolean isFShowBreaksInFrames()
- {
- return fShowBreaksInFrames.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fSwapBordersFacingPgs field value.
- *
- */
- public void setFSwapBordersFacingPgs(boolean value)
- {
- field_33_docinfo4 = (int)fSwapBordersFacingPgs.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fSwapBordersFacingPgs field value.
- */
- public boolean isFSwapBordersFacingPgs()
- {
- return fSwapBordersFacingPgs.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fSuppressTopSPacingMac5 field value.
- *
- */
- public void setFSuppressTopSPacingMac5(boolean value)
- {
- field_33_docinfo4 = (int)fSuppressTopSPacingMac5.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fSuppressTopSPacingMac5 field value.
- */
- public boolean isFSuppressTopSPacingMac5()
- {
- return fSuppressTopSPacingMac5.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fTruncDxaExpand field value.
- *
- */
- public void setFTruncDxaExpand(boolean value)
- {
- field_33_docinfo4 = (int)fTruncDxaExpand.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fTruncDxaExpand field value.
- */
- public boolean isFTruncDxaExpand()
- {
- return fTruncDxaExpand.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fPrintBodyBeforeHdr field value.
- *
- */
- public void setFPrintBodyBeforeHdr(boolean value)
- {
- field_33_docinfo4 = (int)fPrintBodyBeforeHdr.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fPrintBodyBeforeHdr field value.
- */
- public boolean isFPrintBodyBeforeHdr()
- {
- return fPrintBodyBeforeHdr.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fNoLeading field value.
- *
- */
- public void setFNoLeading(boolean value)
- {
- field_33_docinfo4 = (int)fNoLeading.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fNoLeading field value.
- */
- public boolean isFNoLeading()
- {
- return fNoLeading.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the fMWSmallCaps field value.
- *
- */
- public void setFMWSmallCaps(boolean value)
- {
- field_33_docinfo4 = (int)fMWSmallCaps.setBoolean(field_33_docinfo4, value);
-
-
- }
-
- /**
- *
- * @return the fMWSmallCaps field value.
- */
- public boolean isFMWSmallCaps()
- {
- return fMWSmallCaps.isSet(field_33_docinfo4);
-
- }
-
- /**
- * Sets the lvl field value.
- *
- */
- public void setLvl(byte value)
- {
- field_37_docinfo5 = (short)lvl.setValue(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the lvl field value.
- */
- public byte getLvl()
- {
- return ( byte )lvl.getValue(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fGramAllDone field value.
- *
- */
- public void setFGramAllDone(boolean value)
- {
- field_37_docinfo5 = (short)fGramAllDone.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fGramAllDone field value.
- */
- public boolean isFGramAllDone()
- {
- return fGramAllDone.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fGramAllClean field value.
- *
- */
- public void setFGramAllClean(boolean value)
- {
- field_37_docinfo5 = (short)fGramAllClean.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fGramAllClean field value.
- */
- public boolean isFGramAllClean()
- {
- return fGramAllClean.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fSubsetFonts field value.
- *
- */
- public void setFSubsetFonts(boolean value)
- {
- field_37_docinfo5 = (short)fSubsetFonts.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fSubsetFonts field value.
- */
- public boolean isFSubsetFonts()
- {
- return fSubsetFonts.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fHideLastVersion field value.
- *
- */
- public void setFHideLastVersion(boolean value)
- {
- field_37_docinfo5 = (short)fHideLastVersion.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fHideLastVersion field value.
- */
- public boolean isFHideLastVersion()
- {
- return fHideLastVersion.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fHtmlDoc field value.
- *
- */
- public void setFHtmlDoc(boolean value)
- {
- field_37_docinfo5 = (short)fHtmlDoc.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fHtmlDoc field value.
- */
- public boolean isFHtmlDoc()
- {
- return fHtmlDoc.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fSnapBorder field value.
- *
- */
- public void setFSnapBorder(boolean value)
- {
- field_37_docinfo5 = (short)fSnapBorder.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fSnapBorder field value.
- */
- public boolean isFSnapBorder()
- {
- return fSnapBorder.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fIncludeHeader field value.
- *
- */
- public void setFIncludeHeader(boolean value)
- {
- field_37_docinfo5 = (short)fIncludeHeader.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fIncludeHeader field value.
- */
- public boolean isFIncludeHeader()
- {
- return fIncludeHeader.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fIncludeFooter field value.
- *
- */
- public void setFIncludeFooter(boolean value)
- {
- field_37_docinfo5 = (short)fIncludeFooter.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fIncludeFooter field value.
- */
- public boolean isFIncludeFooter()
- {
- return fIncludeFooter.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fForcePageSizePag field value.
- *
- */
- public void setFForcePageSizePag(boolean value)
- {
- field_37_docinfo5 = (short)fForcePageSizePag.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fForcePageSizePag field value.
- */
- public boolean isFForcePageSizePag()
- {
- return fForcePageSizePag.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fMinFontSizePag field value.
- *
- */
- public void setFMinFontSizePag(boolean value)
- {
- field_37_docinfo5 = (short)fMinFontSizePag.setBoolean(field_37_docinfo5, value);
-
-
- }
-
- /**
- *
- * @return the fMinFontSizePag field value.
- */
- public boolean isFMinFontSizePag()
- {
- return fMinFontSizePag.isSet(field_37_docinfo5);
-
- }
-
- /**
- * Sets the fHaveVersions field value.
- *
- */
- public void setFHaveVersions(boolean value)
- {
- field_38_docinfo6 = (short)fHaveVersions.setBoolean(field_38_docinfo6, value);
-
-
- }
-
- /**
- *
- * @return the fHaveVersions field value.
- */
- public boolean isFHaveVersions()
- {
- return fHaveVersions.isSet(field_38_docinfo6);
-
- }
-
- /**
- * Sets the fAutoVersions field value.
- *
- */
- public void setFAutoVersions(boolean value)
- {
- field_38_docinfo6 = (short)fAutoVersions.setBoolean(field_38_docinfo6, value);
-
-
- }
-
- /**
- *
- * @return the fAutoVersions field value.
- */
- public boolean isFAutoVersions()
- {
- return fAutoVersions.isSet(field_38_docinfo6);
-
- }
-
- /**
- * Sets the fVirusPrompted field value.
- *
- */
- public void setFVirusPrompted(boolean value)
- {
- field_43_virusinfo = (int)fVirusPrompted.setBoolean(field_43_virusinfo, value);
-
-
- }
-
- /**
- *
- * @return the fVirusPrompted field value.
- */
- public boolean isFVirusPrompted()
- {
- return fVirusPrompted.isSet(field_43_virusinfo);
-
- }
-
- /**
- * Sets the fVirusLoadSafe field value.
- *
- */
- public void setFVirusLoadSafe(boolean value)
- {
- field_43_virusinfo = (int)fVirusLoadSafe.setBoolean(field_43_virusinfo, value);
-
-
- }
-
- /**
- *
- * @return the fVirusLoadSafe field value.
- */
- public boolean isFVirusLoadSafe()
- {
- return fVirusLoadSafe.isSet(field_43_virusinfo);
-
- }
-
- /**
- * Sets the KeyVirusSession30 field value.
- *
- */
- public void setKeyVirusSession30(int value)
- {
- field_43_virusinfo = (int)KeyVirusSession30.setValue(field_43_virusinfo, value);
-
-
- }
-
- /**
- *
- * @return the KeyVirusSession30 field value.
- */
- public int getKeyVirusSession30()
- {
- return ( int )KeyVirusSession30.getValue(field_43_virusinfo);
-
- }
-
-
-} // END OF CLASS
-
-
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/FIBAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/FIBAbstractType.java
deleted file mode 100644
index dc33e49bf1..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/FIBAbstractType.java
+++ /dev/null
@@ -1,5816 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * File information Block.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author Andrew C. Oliver
- */
-public abstract class FIBAbstractType
- implements HDFType
-{
-
- protected int field_1_wIdent;
- protected int field_2_nFib;
- protected int field_3_nProduct;
- protected int field_4_lid;
- protected int field_5_pnNext;
- protected short field_6_options;
- private static BitField fDot = new BitField(0x0001);
- private static BitField fGlsy = new BitField(0x0002);
- private static BitField fComplex = new BitField(0x0004);
- private static BitField fHasPic = new BitField(0x0008);
- private static BitField cQuickSaves = new BitField(0x00F0);
- private static BitField fEncrypted = new BitField(0x0100);
- private static BitField fWhichTblStm = new BitField(0x0200);
- private static BitField fReadOnlyRecommended = new BitField(0x0400);
- private static BitField fWriteReservation = new BitField(0x0800);
- private static BitField fExtChar = new BitField(0x1000);
- private static BitField fLoadOverride = new BitField(0x2000);
- private static BitField fFarEast = new BitField(0x4000);
- private static BitField fCrypto = new BitField(0x8000);
- protected int field_7_nFibBack;
- protected int field_8_lKey;
- protected int field_9_envr;
- protected short field_10_history;
- private static BitField fMac = new BitField(0x0001);
- private static BitField fEmptySpecial = new BitField(0x0002);
- private static BitField fLoadOverridePage = new BitField(0x0004);
- private static BitField fFutureSavedUndo = new BitField(0x0008);
- private static BitField fWord97Saved = new BitField(0x0010);
- private static BitField fSpare0 = new BitField(0x00FE);
- protected int field_11_chs;
- protected int field_12_chsTables;
- protected int field_13_fcMin;
- protected int field_14_fcMac;
- protected int field_15_csw;
- protected int field_16_wMagicCreated;
- protected int field_17_wMagicRevised;
- protected int field_18_wMagicCreatedPrivate;
- protected int field_19_wMagicRevisedPrivate;
- protected int field_20_pnFbpChpFirst_W6;
- protected int field_21_pnChpFirst_W6;
- protected int field_22_cpnBteChp_W6;
- protected int field_23_pnFbpPapFirst_W6;
- protected int field_24_pnPapFirst_W6;
- protected int field_25_cpnBtePap_W6;
- protected int field_26_pnFbpLvcFirst_W6;
- protected int field_27_pnLvcFirst_W6;
- protected int field_28_cpnBteLvc_W6;
- protected int field_29_lidFE;
- protected int field_30_clw;
- protected int field_31_cbMac;
- protected int field_32_lProductCreated;
- protected int field_33_lProductRevised;
- protected int field_34_ccpText;
- protected int field_35_ccpFtn;
- protected int field_36_ccpHdd;
- protected int field_37_ccpMcr;
- protected int field_38_ccpAtn;
- protected int field_39_ccpEdn;
- protected int field_40_ccpTxbx;
- protected int field_41_ccpHdrTxbx;
- protected int field_42_pnFbpChpFirst;
- protected int field_43_pnChpFirst;
- protected int field_44_cpnBteChp;
- protected int field_45_pnFbpPapFirst;
- protected int field_46_pnPapFirst;
- protected int field_47_cpnBtePap;
- protected int field_48_pnFbpLvcFirst;
- protected int field_49_pnLvcFirst;
- protected int field_50_cpnBteLvc;
- protected int field_51_fcIslandFirst;
- protected int field_52_fcIslandLim;
- protected int field_53_cfclcb;
- protected int field_54_fcStshfOrig;
- protected int field_55_lcbStshfOrig;
- protected int field_56_fcStshf;
- protected int field_57_lcbStshf;
- protected int field_58_fcPlcffndRef;
- protected int field_59_lcbPlcffndRef;
- protected int field_60_fcPlcffndTxt;
- protected int field_61_lcbPlcffndTxt;
- protected int field_62_fcPlcfandRef;
- protected int field_63_lcbPlcfandRef;
- protected int field_64_fcPlcfandTxt;
- protected int field_65_lcbPlcfandTxt;
- protected int field_66_fcPlcfsed;
- protected int field_67_lcbPlcfsed;
- protected int field_68_fcPlcpad;
- protected int field_69_lcbPlcpad;
- protected int field_70_fcPlcfphe;
- protected int field_71_lcbPlcfphe;
- protected int field_72_fcSttbfglsy;
- protected int field_73_lcbSttbfglsy;
- protected int field_74_fcPlcfglsy;
- protected int field_75_lcbPlcfglsy;
- protected int field_76_fcPlcfhdd;
- protected int field_77_lcbPlcfhdd;
- protected int field_78_fcPlcfbteChpx;
- protected int field_79_lcbPlcfbteChpx;
- protected int field_80_fcPlcfbtePapx;
- protected int field_81_lcbPlcfbtePapx;
- protected int field_82_fcPlcfsea;
- protected int field_83_lcbPlcfsea;
- protected int field_84_fcSttbfffn;
- protected int field_85_lcbSttbfffn;
- protected int field_86_fcPlcffldMom;
- protected int field_87_lcbPlcffldMom;
- protected int field_88_fcPlcffldHdr;
- protected int field_89_lcbPlcffldHdr;
- protected int field_90_fcPlcffldFtn;
- protected int field_91_lcbPlcffldFtn;
- protected int field_92_fcPlcffldAtn;
- protected int field_93_lcbPlcffldAtn;
- protected int field_94_fcPlcffldMcr;
- protected int field_95_lcbPlcffldMcr;
- protected int field_96_fcSttbfbkmk;
- protected int field_97_lcbSttbfbkmk;
- protected int field_98_fcPlcfbkf;
- protected int field_99_lcbPlcfbkf;
- protected int field_100_fcPlcfbkl;
- protected int field_101_lcbPlcfbkl;
- protected int field_102_fcCmds;
- protected int field_103_lcbCmds;
- protected int field_104_fcPlcmcr;
- protected int field_105_lcbPlcmcr;
- protected int field_106_fcSttbfmcr;
- protected int field_107_lcbSttbfmcr;
- protected int field_108_fcPrDrvr;
- protected int field_109_lcbPrDrvr;
- protected int field_110_fcPrEnvPort;
- protected int field_111_lcbPrEnvPort;
- protected int field_112_fcPrEnvLand;
- protected int field_113_lcbPrEnvLand;
- protected int field_114_fcWss;
- protected int field_115_lcbWss;
- protected int field_116_fcDop;
- protected int field_117_lcbDop;
- protected int field_118_fcSttbfAssoc;
- protected int field_119_lcbSttbfAssoc;
- protected int field_120_fcClx;
- protected int field_121_lcbClx;
- protected int field_122_fcPlcfpgdFtn;
- protected int field_123_lcbPlcfpgdFtn;
- protected int field_124_fcAutosaveSource;
- protected int field_125_lcbAutosaveSource;
- protected int field_126_fcGrpXstAtnOwners;
- protected int field_127_lcbGrpXstAtnOwners;
- protected int field_128_fcSttbfAtnbkmk;
- protected int field_129_lcbSttbfAtnbkmk;
- protected int field_130_fcPlcdoaMom;
- protected int field_131_lcbPlcdoaMom;
- protected int field_132_fcPlcdoaHdr;
- protected int field_133_lcbPlcdoaHdr;
- protected int field_134_fcPlcspaMom;
- protected int field_135_lcbPlcspaMom;
- protected int field_136_fcPlcspaHdr;
- protected int field_137_lcbPlcspaHdr;
- protected int field_138_fcPlcfAtnbkf;
- protected int field_139_lcbPlcfAtnbkf;
- protected int field_140_fcPlcfAtnbkl;
- protected int field_141_lcbPlcfAtnbkl;
- protected int field_142_fcPms;
- protected int field_143_lcbPms;
- protected int field_144_fcFormFldSttbs;
- protected int field_145_lcbFormFldSttbs;
- protected int field_146_fcPlcfendRef;
- protected int field_147_lcbPlcfendRef;
- protected int field_148_fcPlcfendTxt;
- protected int field_149_lcbPlcfendTxt;
- protected int field_150_fcPlcffldEdn;
- protected int field_151_lcbPlcffldEdn;
- protected int field_152_fcPlcfpgdEdn;
- protected int field_153_lcbPlcfpgdEdn;
- protected int field_154_fcDggInfo;
- protected int field_155_lcbDggInfo;
- protected int field_156_fcSttbfRMark;
- protected int field_157_lcbSttbfRMark;
- protected int field_158_fcSttbCaption;
- protected int field_159_lcbSttbCaption;
- protected int field_160_fcSttbAutoCaption;
- protected int field_161_lcbSttbAutoCaption;
- protected int field_162_fcPlcfwkb;
- protected int field_163_lcbPlcfwkb;
- protected int field_164_fcPlcfspl;
- protected int field_165_lcbPlcfspl;
- protected int field_166_fcPlcftxbxTxt;
- protected int field_167_lcbPlcftxbxTxt;
- protected int field_168_fcPlcffldTxbx;
- protected int field_169_lcbPlcffldTxbx;
- protected int field_170_fcPlcfhdrtxbxTxt;
- protected int field_171_lcbPlcfhdrtxbxTxt;
- protected int field_172_fcPlcffldHdrTxbx;
- protected int field_173_lcbPlcffldHdrTxbx;
- protected int field_174_fcStwUser;
- protected int field_175_lcbStwUser;
- protected int field_176_fcSttbttmbd;
- protected int field_177_cbSttbttmbd;
- protected int field_178_fcUnused;
- protected int field_179_lcbUnused;
- protected int field_180_fcPgdMother;
- protected int field_181_lcbPgdMother;
- protected int field_182_fcBkdMother;
- protected int field_183_lcbBkdMother;
- protected int field_184_fcPgdFtn;
- protected int field_185_lcbPgdFtn;
- protected int field_186_fcBkdFtn;
- protected int field_187_lcbBkdFtn;
- protected int field_188_fcPgdEdn;
- protected int field_189_lcbPgdEdn;
- protected int field_190_fcBkdEdn;
- protected int field_191_lcbBkdEdn;
- protected int field_192_fcSttbfIntlFld;
- protected int field_193_lcbSttbfIntlFld;
- protected int field_194_fcRouteSlip;
- protected int field_195_lcbRouteSlip;
- protected int field_196_fcSttbSavedBy;
- protected int field_197_lcbSttbSavedBy;
- protected int field_198_fcSttbFnm;
- protected int field_199_lcbSttbFnm;
- protected int field_200_fcPlcfLst;
- protected int field_201_lcbPlcfLst;
- protected int field_202_fcPlfLfo;
- protected int field_203_lcbPlfLfo;
- protected int field_204_fcPlcftxbxBkd;
- protected int field_205_lcbPlcftxbxBkd;
- protected int field_206_fcPlcftxbxHdrBkd;
- protected int field_207_lcbPlcftxbxHdrBkd;
- protected int field_208_fcDocUndo;
- protected int field_209_lcbDocUndo;
- protected int field_210_fcRgbuse;
- protected int field_211_lcbRgbuse;
- protected int field_212_fcUsp;
- protected int field_213_lcbUsp;
- protected int field_214_fcUskf;
- protected int field_215_lcbUskf;
- protected int field_216_fcPlcupcRgbuse;
- protected int field_217_lcbPlcupcRgbuse;
- protected int field_218_fcPlcupcUsp;
- protected int field_219_lcbPlcupcUsp;
- protected int field_220_fcSttbGlsyStyle;
- protected int field_221_lcbSttbGlsyStyle;
- protected int field_222_fcPlgosl;
- protected int field_223_lcbPlgosl;
- protected int field_224_fcPlcocx;
- protected int field_225_lcbPlcocx;
- protected int field_226_fcPlcfbteLvc;
- protected int field_227_lcbPlcfbteLvc;
- protected int field_228_dwLowDateTime;
- protected int field_229_dwHighDateTime;
- protected int field_230_fcPlcflvc;
- protected int field_231_lcbPlcflvc;
- protected int field_232_fcPlcasumy;
- protected int field_233_lcbPlcasumy;
- protected int field_234_fcPlcfgram;
- protected int field_235_lcbPlcfgram;
- protected int field_236_fcSttbListNames;
- protected int field_237_lcbSttbListNames;
- protected int field_238_fcSttbfUssr;
- protected int field_239_lcbSttbfUssr;
-
-
- public FIBAbstractType()
- {
-
- }
-
- protected void fillFields(byte [] data, int offset)
- {
- field_1_wIdent = LittleEndian.getShort(data, 0x0 + offset);
- field_2_nFib = LittleEndian.getShort(data, 0x2 + offset);
- field_3_nProduct = LittleEndian.getShort(data, 0x4 + offset);
- field_4_lid = LittleEndian.getShort(data, 0x6 + offset);
- field_5_pnNext = LittleEndian.getShort(data, 0x8 + offset);
- field_6_options = LittleEndian.getShort(data, 0xa + offset);
- field_7_nFibBack = LittleEndian.getShort(data, 0xc + offset);
- field_8_lKey = LittleEndian.getShort(data, 0xe + offset);
- field_9_envr = LittleEndian.getShort(data, 0x10 + offset);
- field_10_history = LittleEndian.getShort(data, 0x12 + offset);
- field_11_chs = LittleEndian.getShort(data, 0x14 + offset);
- field_12_chsTables = LittleEndian.getShort(data, 0x16 + offset);
- field_13_fcMin = LittleEndian.getInt(data, 0x18 + offset);
- field_14_fcMac = LittleEndian.getInt(data, 0x1c + offset);
- field_15_csw = LittleEndian.getShort(data, 0x20 + offset);
- field_16_wMagicCreated = LittleEndian.getShort(data, 0x22 + offset);
- field_17_wMagicRevised = LittleEndian.getShort(data, 0x24 + offset);
- field_18_wMagicCreatedPrivate = LittleEndian.getShort(data, 0x26 + offset);
- field_19_wMagicRevisedPrivate = LittleEndian.getShort(data, 0x28 + offset);
- field_20_pnFbpChpFirst_W6 = LittleEndian.getShort(data, 0x2a + offset);
- field_21_pnChpFirst_W6 = LittleEndian.getShort(data, 0x2c + offset);
- field_22_cpnBteChp_W6 = LittleEndian.getShort(data, 0x2e + offset);
- field_23_pnFbpPapFirst_W6 = LittleEndian.getShort(data, 0x30 + offset);
- field_24_pnPapFirst_W6 = LittleEndian.getShort(data, 0x32 + offset);
- field_25_cpnBtePap_W6 = LittleEndian.getShort(data, 0x34 + offset);
- field_26_pnFbpLvcFirst_W6 = LittleEndian.getShort(data, 0x36 + offset);
- field_27_pnLvcFirst_W6 = LittleEndian.getShort(data, 0x38 + offset);
- field_28_cpnBteLvc_W6 = LittleEndian.getShort(data, 0x3a + offset);
- field_29_lidFE = LittleEndian.getShort(data, 0x3c + offset);
- field_30_clw = LittleEndian.getShort(data, 0x3e + offset);
- field_31_cbMac = LittleEndian.getInt(data, 0x40 + offset);
- field_32_lProductCreated = LittleEndian.getInt(data, 0x44 + offset);
- field_33_lProductRevised = LittleEndian.getInt(data, 0x48 + offset);
- field_34_ccpText = LittleEndian.getInt(data, 0x4c + offset);
- field_35_ccpFtn = LittleEndian.getInt(data, 0x50 + offset);
- field_36_ccpHdd = LittleEndian.getInt(data, 0x54 + offset);
- field_37_ccpMcr = LittleEndian.getInt(data, 0x58 + offset);
- field_38_ccpAtn = LittleEndian.getInt(data, 0x5c + offset);
- field_39_ccpEdn = LittleEndian.getInt(data, 0x60 + offset);
- field_40_ccpTxbx = LittleEndian.getInt(data, 0x64 + offset);
- field_41_ccpHdrTxbx = LittleEndian.getInt(data, 0x68 + offset);
- field_42_pnFbpChpFirst = LittleEndian.getInt(data, 0x6c + offset);
- field_43_pnChpFirst = LittleEndian.getInt(data, 0x70 + offset);
- field_44_cpnBteChp = LittleEndian.getInt(data, 0x74 + offset);
- field_45_pnFbpPapFirst = LittleEndian.getInt(data, 0x78 + offset);
- field_46_pnPapFirst = LittleEndian.getInt(data, 0x7c + offset);
- field_47_cpnBtePap = LittleEndian.getInt(data, 0x80 + offset);
- field_48_pnFbpLvcFirst = LittleEndian.getInt(data, 0x84 + offset);
- field_49_pnLvcFirst = LittleEndian.getInt(data, 0x88 + offset);
- field_50_cpnBteLvc = LittleEndian.getInt(data, 0x8c + offset);
- field_51_fcIslandFirst = LittleEndian.getInt(data, 0x90 + offset);
- field_52_fcIslandLim = LittleEndian.getInt(data, 0x94 + offset);
- field_53_cfclcb = LittleEndian.getShort(data, 0x98 + offset);
- field_54_fcStshfOrig = LittleEndian.getInt(data, 0x9a + offset);
- field_55_lcbStshfOrig = LittleEndian.getInt(data, 0x9e + offset);
- field_56_fcStshf = LittleEndian.getInt(data, 0xa2 + offset);
- field_57_lcbStshf = LittleEndian.getInt(data, 0xa6 + offset);
- field_58_fcPlcffndRef = LittleEndian.getInt(data, 0xaa + offset);
- field_59_lcbPlcffndRef = LittleEndian.getInt(data, 0xae + offset);
- field_60_fcPlcffndTxt = LittleEndian.getInt(data, 0xb2 + offset);
- field_61_lcbPlcffndTxt = LittleEndian.getInt(data, 0xb6 + offset);
- field_62_fcPlcfandRef = LittleEndian.getInt(data, 0xba + offset);
- field_63_lcbPlcfandRef = LittleEndian.getInt(data, 0xbe + offset);
- field_64_fcPlcfandTxt = LittleEndian.getInt(data, 0xc2 + offset);
- field_65_lcbPlcfandTxt = LittleEndian.getInt(data, 0xc6 + offset);
- field_66_fcPlcfsed = LittleEndian.getInt(data, 0xca + offset);
- field_67_lcbPlcfsed = LittleEndian.getInt(data, 0xce + offset);
- field_68_fcPlcpad = LittleEndian.getInt(data, 0xd2 + offset);
- field_69_lcbPlcpad = LittleEndian.getInt(data, 0xd6 + offset);
- field_70_fcPlcfphe = LittleEndian.getInt(data, 0xda + offset);
- field_71_lcbPlcfphe = LittleEndian.getInt(data, 0xde + offset);
- field_72_fcSttbfglsy = LittleEndian.getInt(data, 0xe2 + offset);
- field_73_lcbSttbfglsy = LittleEndian.getInt(data, 0xe6 + offset);
- field_74_fcPlcfglsy = LittleEndian.getInt(data, 0xea + offset);
- field_75_lcbPlcfglsy = LittleEndian.getInt(data, 0xee + offset);
- field_76_fcPlcfhdd = LittleEndian.getInt(data, 0xf2 + offset);
- field_77_lcbPlcfhdd = LittleEndian.getInt(data, 0xf6 + offset);
- field_78_fcPlcfbteChpx = LittleEndian.getInt(data, 0xfa + offset);
- field_79_lcbPlcfbteChpx = LittleEndian.getInt(data, 0xfe + offset);
- field_80_fcPlcfbtePapx = LittleEndian.getInt(data, 0x102 + offset);
- field_81_lcbPlcfbtePapx = LittleEndian.getInt(data, 0x106 + offset);
- field_82_fcPlcfsea = LittleEndian.getInt(data, 0x10a + offset);
- field_83_lcbPlcfsea = LittleEndian.getInt(data, 0x10e + offset);
- field_84_fcSttbfffn = LittleEndian.getInt(data, 0x112 + offset);
- field_85_lcbSttbfffn = LittleEndian.getInt(data, 0x116 + offset);
- field_86_fcPlcffldMom = LittleEndian.getInt(data, 0x11a + offset);
- field_87_lcbPlcffldMom = LittleEndian.getInt(data, 0x11e + offset);
- field_88_fcPlcffldHdr = LittleEndian.getInt(data, 0x122 + offset);
- field_89_lcbPlcffldHdr = LittleEndian.getInt(data, 0x126 + offset);
- field_90_fcPlcffldFtn = LittleEndian.getInt(data, 0x12a + offset);
- field_91_lcbPlcffldFtn = LittleEndian.getInt(data, 0x12e + offset);
- field_92_fcPlcffldAtn = LittleEndian.getInt(data, 0x132 + offset);
- field_93_lcbPlcffldAtn = LittleEndian.getInt(data, 0x136 + offset);
- field_94_fcPlcffldMcr = LittleEndian.getInt(data, 0x13a + offset);
- field_95_lcbPlcffldMcr = LittleEndian.getInt(data, 0x13e + offset);
- field_96_fcSttbfbkmk = LittleEndian.getInt(data, 0x142 + offset);
- field_97_lcbSttbfbkmk = LittleEndian.getInt(data, 0x146 + offset);
- field_98_fcPlcfbkf = LittleEndian.getInt(data, 0x14a + offset);
- field_99_lcbPlcfbkf = LittleEndian.getInt(data, 0x14e + offset);
- field_100_fcPlcfbkl = LittleEndian.getInt(data, 0x152 + offset);
- field_101_lcbPlcfbkl = LittleEndian.getInt(data, 0x156 + offset);
- field_102_fcCmds = LittleEndian.getInt(data, 0x15a + offset);
- field_103_lcbCmds = LittleEndian.getInt(data, 0x15e + offset);
- field_104_fcPlcmcr = LittleEndian.getInt(data, 0x162 + offset);
- field_105_lcbPlcmcr = LittleEndian.getInt(data, 0x166 + offset);
- field_106_fcSttbfmcr = LittleEndian.getInt(data, 0x16a + offset);
- field_107_lcbSttbfmcr = LittleEndian.getInt(data, 0x16e + offset);
- field_108_fcPrDrvr = LittleEndian.getInt(data, 0x172 + offset);
- field_109_lcbPrDrvr = LittleEndian.getInt(data, 0x176 + offset);
- field_110_fcPrEnvPort = LittleEndian.getInt(data, 0x17a + offset);
- field_111_lcbPrEnvPort = LittleEndian.getInt(data, 0x17e + offset);
- field_112_fcPrEnvLand = LittleEndian.getInt(data, 0x182 + offset);
- field_113_lcbPrEnvLand = LittleEndian.getInt(data, 0x186 + offset);
- field_114_fcWss = LittleEndian.getInt(data, 0x18a + offset);
- field_115_lcbWss = LittleEndian.getInt(data, 0x18e + offset);
- field_116_fcDop = LittleEndian.getInt(data, 0x192 + offset);
- field_117_lcbDop = LittleEndian.getInt(data, 0x196 + offset);
- field_118_fcSttbfAssoc = LittleEndian.getInt(data, 0x19a + offset);
- field_119_lcbSttbfAssoc = LittleEndian.getInt(data, 0x19e + offset);
- field_120_fcClx = LittleEndian.getInt(data, 0x1a2 + offset);
- field_121_lcbClx = LittleEndian.getInt(data, 0x1a6 + offset);
- field_122_fcPlcfpgdFtn = LittleEndian.getInt(data, 0x1aa + offset);
- field_123_lcbPlcfpgdFtn = LittleEndian.getInt(data, 0x1ae + offset);
- field_124_fcAutosaveSource = LittleEndian.getInt(data, 0x1b2 + offset);
- field_125_lcbAutosaveSource = LittleEndian.getInt(data, 0x1b6 + offset);
- field_126_fcGrpXstAtnOwners = LittleEndian.getInt(data, 0x1ba + offset);
- field_127_lcbGrpXstAtnOwners = LittleEndian.getInt(data, 0x1be + offset);
- field_128_fcSttbfAtnbkmk = LittleEndian.getInt(data, 0x1c2 + offset);
- field_129_lcbSttbfAtnbkmk = LittleEndian.getInt(data, 0x1c6 + offset);
- field_130_fcPlcdoaMom = LittleEndian.getInt(data, 0x1ca + offset);
- field_131_lcbPlcdoaMom = LittleEndian.getInt(data, 0x1ce + offset);
- field_132_fcPlcdoaHdr = LittleEndian.getInt(data, 0x1d2 + offset);
- field_133_lcbPlcdoaHdr = LittleEndian.getInt(data, 0x1d6 + offset);
- field_134_fcPlcspaMom = LittleEndian.getInt(data, 0x1da + offset);
- field_135_lcbPlcspaMom = LittleEndian.getInt(data, 0x1de + offset);
- field_136_fcPlcspaHdr = LittleEndian.getInt(data, 0x1e2 + offset);
- field_137_lcbPlcspaHdr = LittleEndian.getInt(data, 0x1e6 + offset);
- field_138_fcPlcfAtnbkf = LittleEndian.getInt(data, 0x1ea + offset);
- field_139_lcbPlcfAtnbkf = LittleEndian.getInt(data, 0x1ee + offset);
- field_140_fcPlcfAtnbkl = LittleEndian.getInt(data, 0x1f2 + offset);
- field_141_lcbPlcfAtnbkl = LittleEndian.getInt(data, 0x1f6 + offset);
- field_142_fcPms = LittleEndian.getInt(data, 0x1fa + offset);
- field_143_lcbPms = LittleEndian.getInt(data, 0x1fe + offset);
- field_144_fcFormFldSttbs = LittleEndian.getInt(data, 0x202 + offset);
- field_145_lcbFormFldSttbs = LittleEndian.getInt(data, 0x206 + offset);
- field_146_fcPlcfendRef = LittleEndian.getInt(data, 0x20a + offset);
- field_147_lcbPlcfendRef = LittleEndian.getInt(data, 0x20e + offset);
- field_148_fcPlcfendTxt = LittleEndian.getInt(data, 0x212 + offset);
- field_149_lcbPlcfendTxt = LittleEndian.getInt(data, 0x216 + offset);
- field_150_fcPlcffldEdn = LittleEndian.getInt(data, 0x21a + offset);
- field_151_lcbPlcffldEdn = LittleEndian.getInt(data, 0x21e + offset);
- field_152_fcPlcfpgdEdn = LittleEndian.getInt(data, 0x222 + offset);
- field_153_lcbPlcfpgdEdn = LittleEndian.getInt(data, 0x226 + offset);
- field_154_fcDggInfo = LittleEndian.getInt(data, 0x22a + offset);
- field_155_lcbDggInfo = LittleEndian.getInt(data, 0x22e + offset);
- field_156_fcSttbfRMark = LittleEndian.getInt(data, 0x232 + offset);
- field_157_lcbSttbfRMark = LittleEndian.getInt(data, 0x236 + offset);
- field_158_fcSttbCaption = LittleEndian.getInt(data, 0x23a + offset);
- field_159_lcbSttbCaption = LittleEndian.getInt(data, 0x23e + offset);
- field_160_fcSttbAutoCaption = LittleEndian.getInt(data, 0x242 + offset);
- field_161_lcbSttbAutoCaption = LittleEndian.getInt(data, 0x246 + offset);
- field_162_fcPlcfwkb = LittleEndian.getInt(data, 0x24a + offset);
- field_163_lcbPlcfwkb = LittleEndian.getInt(data, 0x24e + offset);
- field_164_fcPlcfspl = LittleEndian.getInt(data, 0x252 + offset);
- field_165_lcbPlcfspl = LittleEndian.getInt(data, 0x256 + offset);
- field_166_fcPlcftxbxTxt = LittleEndian.getInt(data, 0x25a + offset);
- field_167_lcbPlcftxbxTxt = LittleEndian.getInt(data, 0x25e + offset);
- field_168_fcPlcffldTxbx = LittleEndian.getInt(data, 0x262 + offset);
- field_169_lcbPlcffldTxbx = LittleEndian.getInt(data, 0x266 + offset);
- field_170_fcPlcfhdrtxbxTxt = LittleEndian.getInt(data, 0x26a + offset);
- field_171_lcbPlcfhdrtxbxTxt = LittleEndian.getInt(data, 0x26e + offset);
- field_172_fcPlcffldHdrTxbx = LittleEndian.getInt(data, 0x272 + offset);
- field_173_lcbPlcffldHdrTxbx = LittleEndian.getInt(data, 0x276 + offset);
- field_174_fcStwUser = LittleEndian.getInt(data, 0x27a + offset);
- field_175_lcbStwUser = LittleEndian.getInt(data, 0x27e + offset);
- field_176_fcSttbttmbd = LittleEndian.getInt(data, 0x282 + offset);
- field_177_cbSttbttmbd = LittleEndian.getInt(data, 0x286 + offset);
- field_178_fcUnused = LittleEndian.getInt(data, 0x28a + offset);
- field_179_lcbUnused = LittleEndian.getInt(data, 0x28e + offset);
- field_180_fcPgdMother = LittleEndian.getInt(data, 0x292 + offset);
- field_181_lcbPgdMother = LittleEndian.getInt(data, 0x296 + offset);
- field_182_fcBkdMother = LittleEndian.getInt(data, 0x29a + offset);
- field_183_lcbBkdMother = LittleEndian.getInt(data, 0x29e + offset);
- field_184_fcPgdFtn = LittleEndian.getInt(data, 0x2a2 + offset);
- field_185_lcbPgdFtn = LittleEndian.getInt(data, 0x2a6 + offset);
- field_186_fcBkdFtn = LittleEndian.getInt(data, 0x2aa + offset);
- field_187_lcbBkdFtn = LittleEndian.getInt(data, 0x2ae + offset);
- field_188_fcPgdEdn = LittleEndian.getInt(data, 0x2b2 + offset);
- field_189_lcbPgdEdn = LittleEndian.getInt(data, 0x2b6 + offset);
- field_190_fcBkdEdn = LittleEndian.getInt(data, 0x2ba + offset);
- field_191_lcbBkdEdn = LittleEndian.getInt(data, 0x2be + offset);
- field_192_fcSttbfIntlFld = LittleEndian.getInt(data, 0x2c2 + offset);
- field_193_lcbSttbfIntlFld = LittleEndian.getInt(data, 0x2c6 + offset);
- field_194_fcRouteSlip = LittleEndian.getInt(data, 0x2ca + offset);
- field_195_lcbRouteSlip = LittleEndian.getInt(data, 0x2ce + offset);
- field_196_fcSttbSavedBy = LittleEndian.getInt(data, 0x2d2 + offset);
- field_197_lcbSttbSavedBy = LittleEndian.getInt(data, 0x2d6 + offset);
- field_198_fcSttbFnm = LittleEndian.getInt(data, 0x2da + offset);
- field_199_lcbSttbFnm = LittleEndian.getInt(data, 0x2de + offset);
- field_200_fcPlcfLst = LittleEndian.getInt(data, 0x2e2 + offset);
- field_201_lcbPlcfLst = LittleEndian.getInt(data, 0x2e6 + offset);
- field_202_fcPlfLfo = LittleEndian.getInt(data, 0x2ea + offset);
- field_203_lcbPlfLfo = LittleEndian.getInt(data, 0x2ee + offset);
- field_204_fcPlcftxbxBkd = LittleEndian.getInt(data, 0x2f2 + offset);
- field_205_lcbPlcftxbxBkd = LittleEndian.getInt(data, 0x2f6 + offset);
- field_206_fcPlcftxbxHdrBkd = LittleEndian.getInt(data, 0x2fa + offset);
- field_207_lcbPlcftxbxHdrBkd = LittleEndian.getInt(data, 0x2fe + offset);
- field_208_fcDocUndo = LittleEndian.getInt(data, 0x302 + offset);
- field_209_lcbDocUndo = LittleEndian.getInt(data, 0x306 + offset);
- field_210_fcRgbuse = LittleEndian.getInt(data, 0x30a + offset);
- field_211_lcbRgbuse = LittleEndian.getInt(data, 0x30e + offset);
- field_212_fcUsp = LittleEndian.getInt(data, 0x312 + offset);
- field_213_lcbUsp = LittleEndian.getInt(data, 0x316 + offset);
- field_214_fcUskf = LittleEndian.getInt(data, 0x31a + offset);
- field_215_lcbUskf = LittleEndian.getInt(data, 0x31e + offset);
- field_216_fcPlcupcRgbuse = LittleEndian.getInt(data, 0x322 + offset);
- field_217_lcbPlcupcRgbuse = LittleEndian.getInt(data, 0x326 + offset);
- field_218_fcPlcupcUsp = LittleEndian.getInt(data, 0x32a + offset);
- field_219_lcbPlcupcUsp = LittleEndian.getInt(data, 0x32e + offset);
- field_220_fcSttbGlsyStyle = LittleEndian.getInt(data, 0x332 + offset);
- field_221_lcbSttbGlsyStyle = LittleEndian.getInt(data, 0x336 + offset);
- field_222_fcPlgosl = LittleEndian.getInt(data, 0x33a + offset);
- field_223_lcbPlgosl = LittleEndian.getInt(data, 0x33e + offset);
- field_224_fcPlcocx = LittleEndian.getInt(data, 0x342 + offset);
- field_225_lcbPlcocx = LittleEndian.getInt(data, 0x346 + offset);
- field_226_fcPlcfbteLvc = LittleEndian.getInt(data, 0x34a + offset);
- field_227_lcbPlcfbteLvc = LittleEndian.getInt(data, 0x34e + offset);
- field_228_dwLowDateTime = LittleEndian.getInt(data, 0x352 + offset);
- field_229_dwHighDateTime = LittleEndian.getInt(data, 0x356 + offset);
- field_230_fcPlcflvc = LittleEndian.getInt(data, 0x35a + offset);
- field_231_lcbPlcflvc = LittleEndian.getInt(data, 0x35e + offset);
- field_232_fcPlcasumy = LittleEndian.getInt(data, 0x362 + offset);
- field_233_lcbPlcasumy = LittleEndian.getInt(data, 0x366 + offset);
- field_234_fcPlcfgram = LittleEndian.getInt(data, 0x36a + offset);
- field_235_lcbPlcfgram = LittleEndian.getInt(data, 0x36e + offset);
- field_236_fcSttbListNames = LittleEndian.getInt(data, 0x372 + offset);
- field_237_lcbSttbListNames = LittleEndian.getInt(data, 0x376 + offset);
- field_238_fcSttbfUssr = LittleEndian.getInt(data, 0x37a + offset);
- field_239_lcbSttbfUssr = LittleEndian.getInt(data, 0x37e + offset);
-
- }
-
- public void serialize(byte[] data, int offset)
- {
- LittleEndian.putShort(data, 0x0 + offset, (short)field_1_wIdent);;
- LittleEndian.putShort(data, 0x2 + offset, (short)field_2_nFib);;
- LittleEndian.putShort(data, 0x4 + offset, (short)field_3_nProduct);;
- LittleEndian.putShort(data, 0x6 + offset, (short)field_4_lid);;
- LittleEndian.putShort(data, 0x8 + offset, (short)field_5_pnNext);;
- LittleEndian.putShort(data, 0xa + offset, (short)field_6_options);;
- LittleEndian.putShort(data, 0xc + offset, (short)field_7_nFibBack);;
- LittleEndian.putShort(data, 0xe + offset, (short)field_8_lKey);;
- LittleEndian.putShort(data, 0x10 + offset, (short)field_9_envr);;
- LittleEndian.putShort(data, 0x12 + offset, (short)field_10_history);;
- LittleEndian.putShort(data, 0x14 + offset, (short)field_11_chs);;
- LittleEndian.putShort(data, 0x16 + offset, (short)field_12_chsTables);;
- LittleEndian.putInt(data, 0x18 + offset, field_13_fcMin);;
- LittleEndian.putInt(data, 0x1c + offset, field_14_fcMac);;
- LittleEndian.putShort(data, 0x20 + offset, (short)field_15_csw);;
- LittleEndian.putShort(data, 0x22 + offset, (short)field_16_wMagicCreated);;
- LittleEndian.putShort(data, 0x24 + offset, (short)field_17_wMagicRevised);;
- LittleEndian.putShort(data, 0x26 + offset, (short)field_18_wMagicCreatedPrivate);;
- LittleEndian.putShort(data, 0x28 + offset, (short)field_19_wMagicRevisedPrivate);;
- LittleEndian.putShort(data, 0x2a + offset, (short)field_20_pnFbpChpFirst_W6);;
- LittleEndian.putShort(data, 0x2c + offset, (short)field_21_pnChpFirst_W6);;
- LittleEndian.putShort(data, 0x2e + offset, (short)field_22_cpnBteChp_W6);;
- LittleEndian.putShort(data, 0x30 + offset, (short)field_23_pnFbpPapFirst_W6);;
- LittleEndian.putShort(data, 0x32 + offset, (short)field_24_pnPapFirst_W6);;
- LittleEndian.putShort(data, 0x34 + offset, (short)field_25_cpnBtePap_W6);;
- LittleEndian.putShort(data, 0x36 + offset, (short)field_26_pnFbpLvcFirst_W6);;
- LittleEndian.putShort(data, 0x38 + offset, (short)field_27_pnLvcFirst_W6);;
- LittleEndian.putShort(data, 0x3a + offset, (short)field_28_cpnBteLvc_W6);;
- LittleEndian.putShort(data, 0x3c + offset, (short)field_29_lidFE);;
- LittleEndian.putShort(data, 0x3e + offset, (short)field_30_clw);;
- LittleEndian.putInt(data, 0x40 + offset, field_31_cbMac);;
- LittleEndian.putInt(data, 0x44 + offset, field_32_lProductCreated);;
- LittleEndian.putInt(data, 0x48 + offset, field_33_lProductRevised);;
- LittleEndian.putInt(data, 0x4c + offset, field_34_ccpText);;
- LittleEndian.putInt(data, 0x50 + offset, field_35_ccpFtn);;
- LittleEndian.putInt(data, 0x54 + offset, field_36_ccpHdd);;
- LittleEndian.putInt(data, 0x58 + offset, field_37_ccpMcr);;
- LittleEndian.putInt(data, 0x5c + offset, field_38_ccpAtn);;
- LittleEndian.putInt(data, 0x60 + offset, field_39_ccpEdn);;
- LittleEndian.putInt(data, 0x64 + offset, field_40_ccpTxbx);;
- LittleEndian.putInt(data, 0x68 + offset, field_41_ccpHdrTxbx);;
- LittleEndian.putInt(data, 0x6c + offset, field_42_pnFbpChpFirst);;
- LittleEndian.putInt(data, 0x70 + offset, field_43_pnChpFirst);;
- LittleEndian.putInt(data, 0x74 + offset, field_44_cpnBteChp);;
- LittleEndian.putInt(data, 0x78 + offset, field_45_pnFbpPapFirst);;
- LittleEndian.putInt(data, 0x7c + offset, field_46_pnPapFirst);;
- LittleEndian.putInt(data, 0x80 + offset, field_47_cpnBtePap);;
- LittleEndian.putInt(data, 0x84 + offset, field_48_pnFbpLvcFirst);;
- LittleEndian.putInt(data, 0x88 + offset, field_49_pnLvcFirst);;
- LittleEndian.putInt(data, 0x8c + offset, field_50_cpnBteLvc);;
- LittleEndian.putInt(data, 0x90 + offset, field_51_fcIslandFirst);;
- LittleEndian.putInt(data, 0x94 + offset, field_52_fcIslandLim);;
- LittleEndian.putShort(data, 0x98 + offset, (short)field_53_cfclcb);;
- LittleEndian.putInt(data, 0x9a + offset, field_54_fcStshfOrig);;
- LittleEndian.putInt(data, 0x9e + offset, field_55_lcbStshfOrig);;
- LittleEndian.putInt(data, 0xa2 + offset, field_56_fcStshf);;
- LittleEndian.putInt(data, 0xa6 + offset, field_57_lcbStshf);;
- LittleEndian.putInt(data, 0xaa + offset, field_58_fcPlcffndRef);;
- LittleEndian.putInt(data, 0xae + offset, field_59_lcbPlcffndRef);;
- LittleEndian.putInt(data, 0xb2 + offset, field_60_fcPlcffndTxt);;
- LittleEndian.putInt(data, 0xb6 + offset, field_61_lcbPlcffndTxt);;
- LittleEndian.putInt(data, 0xba + offset, field_62_fcPlcfandRef);;
- LittleEndian.putInt(data, 0xbe + offset, field_63_lcbPlcfandRef);;
- LittleEndian.putInt(data, 0xc2 + offset, field_64_fcPlcfandTxt);;
- LittleEndian.putInt(data, 0xc6 + offset, field_65_lcbPlcfandTxt);;
- LittleEndian.putInt(data, 0xca + offset, field_66_fcPlcfsed);;
- LittleEndian.putInt(data, 0xce + offset, field_67_lcbPlcfsed);;
- LittleEndian.putInt(data, 0xd2 + offset, field_68_fcPlcpad);;
- LittleEndian.putInt(data, 0xd6 + offset, field_69_lcbPlcpad);;
- LittleEndian.putInt(data, 0xda + offset, field_70_fcPlcfphe);;
- LittleEndian.putInt(data, 0xde + offset, field_71_lcbPlcfphe);;
- LittleEndian.putInt(data, 0xe2 + offset, field_72_fcSttbfglsy);;
- LittleEndian.putInt(data, 0xe6 + offset, field_73_lcbSttbfglsy);;
- LittleEndian.putInt(data, 0xea + offset, field_74_fcPlcfglsy);;
- LittleEndian.putInt(data, 0xee + offset, field_75_lcbPlcfglsy);;
- LittleEndian.putInt(data, 0xf2 + offset, field_76_fcPlcfhdd);;
- LittleEndian.putInt(data, 0xf6 + offset, field_77_lcbPlcfhdd);;
- LittleEndian.putInt(data, 0xfa + offset, field_78_fcPlcfbteChpx);;
- LittleEndian.putInt(data, 0xfe + offset, field_79_lcbPlcfbteChpx);;
- LittleEndian.putInt(data, 0x102 + offset, field_80_fcPlcfbtePapx);;
- LittleEndian.putInt(data, 0x106 + offset, field_81_lcbPlcfbtePapx);;
- LittleEndian.putInt(data, 0x10a + offset, field_82_fcPlcfsea);;
- LittleEndian.putInt(data, 0x10e + offset, field_83_lcbPlcfsea);;
- LittleEndian.putInt(data, 0x112 + offset, field_84_fcSttbfffn);;
- LittleEndian.putInt(data, 0x116 + offset, field_85_lcbSttbfffn);;
- LittleEndian.putInt(data, 0x11a + offset, field_86_fcPlcffldMom);;
- LittleEndian.putInt(data, 0x11e + offset, field_87_lcbPlcffldMom);;
- LittleEndian.putInt(data, 0x122 + offset, field_88_fcPlcffldHdr);;
- LittleEndian.putInt(data, 0x126 + offset, field_89_lcbPlcffldHdr);;
- LittleEndian.putInt(data, 0x12a + offset, field_90_fcPlcffldFtn);;
- LittleEndian.putInt(data, 0x12e + offset, field_91_lcbPlcffldFtn);;
- LittleEndian.putInt(data, 0x132 + offset, field_92_fcPlcffldAtn);;
- LittleEndian.putInt(data, 0x136 + offset, field_93_lcbPlcffldAtn);;
- LittleEndian.putInt(data, 0x13a + offset, field_94_fcPlcffldMcr);;
- LittleEndian.putInt(data, 0x13e + offset, field_95_lcbPlcffldMcr);;
- LittleEndian.putInt(data, 0x142 + offset, field_96_fcSttbfbkmk);;
- LittleEndian.putInt(data, 0x146 + offset, field_97_lcbSttbfbkmk);;
- LittleEndian.putInt(data, 0x14a + offset, field_98_fcPlcfbkf);;
- LittleEndian.putInt(data, 0x14e + offset, field_99_lcbPlcfbkf);;
- LittleEndian.putInt(data, 0x152 + offset, field_100_fcPlcfbkl);;
- LittleEndian.putInt(data, 0x156 + offset, field_101_lcbPlcfbkl);;
- LittleEndian.putInt(data, 0x15a + offset, field_102_fcCmds);;
- LittleEndian.putInt(data, 0x15e + offset, field_103_lcbCmds);;
- LittleEndian.putInt(data, 0x162 + offset, field_104_fcPlcmcr);;
- LittleEndian.putInt(data, 0x166 + offset, field_105_lcbPlcmcr);;
- LittleEndian.putInt(data, 0x16a + offset, field_106_fcSttbfmcr);;
- LittleEndian.putInt(data, 0x16e + offset, field_107_lcbSttbfmcr);;
- LittleEndian.putInt(data, 0x172 + offset, field_108_fcPrDrvr);;
- LittleEndian.putInt(data, 0x176 + offset, field_109_lcbPrDrvr);;
- LittleEndian.putInt(data, 0x17a + offset, field_110_fcPrEnvPort);;
- LittleEndian.putInt(data, 0x17e + offset, field_111_lcbPrEnvPort);;
- LittleEndian.putInt(data, 0x182 + offset, field_112_fcPrEnvLand);;
- LittleEndian.putInt(data, 0x186 + offset, field_113_lcbPrEnvLand);;
- LittleEndian.putInt(data, 0x18a + offset, field_114_fcWss);;
- LittleEndian.putInt(data, 0x18e + offset, field_115_lcbWss);;
- LittleEndian.putInt(data, 0x192 + offset, field_116_fcDop);;
- LittleEndian.putInt(data, 0x196 + offset, field_117_lcbDop);;
- LittleEndian.putInt(data, 0x19a + offset, field_118_fcSttbfAssoc);;
- LittleEndian.putInt(data, 0x19e + offset, field_119_lcbSttbfAssoc);;
- LittleEndian.putInt(data, 0x1a2 + offset, field_120_fcClx);;
- LittleEndian.putInt(data, 0x1a6 + offset, field_121_lcbClx);;
- LittleEndian.putInt(data, 0x1aa + offset, field_122_fcPlcfpgdFtn);;
- LittleEndian.putInt(data, 0x1ae + offset, field_123_lcbPlcfpgdFtn);;
- LittleEndian.putInt(data, 0x1b2 + offset, field_124_fcAutosaveSource);;
- LittleEndian.putInt(data, 0x1b6 + offset, field_125_lcbAutosaveSource);;
- LittleEndian.putInt(data, 0x1ba + offset, field_126_fcGrpXstAtnOwners);;
- LittleEndian.putInt(data, 0x1be + offset, field_127_lcbGrpXstAtnOwners);;
- LittleEndian.putInt(data, 0x1c2 + offset, field_128_fcSttbfAtnbkmk);;
- LittleEndian.putInt(data, 0x1c6 + offset, field_129_lcbSttbfAtnbkmk);;
- LittleEndian.putInt(data, 0x1ca + offset, field_130_fcPlcdoaMom);;
- LittleEndian.putInt(data, 0x1ce + offset, field_131_lcbPlcdoaMom);;
- LittleEndian.putInt(data, 0x1d2 + offset, field_132_fcPlcdoaHdr);;
- LittleEndian.putInt(data, 0x1d6 + offset, field_133_lcbPlcdoaHdr);;
- LittleEndian.putInt(data, 0x1da + offset, field_134_fcPlcspaMom);;
- LittleEndian.putInt(data, 0x1de + offset, field_135_lcbPlcspaMom);;
- LittleEndian.putInt(data, 0x1e2 + offset, field_136_fcPlcspaHdr);;
- LittleEndian.putInt(data, 0x1e6 + offset, field_137_lcbPlcspaHdr);;
- LittleEndian.putInt(data, 0x1ea + offset, field_138_fcPlcfAtnbkf);;
- LittleEndian.putInt(data, 0x1ee + offset, field_139_lcbPlcfAtnbkf);;
- LittleEndian.putInt(data, 0x1f2 + offset, field_140_fcPlcfAtnbkl);;
- LittleEndian.putInt(data, 0x1f6 + offset, field_141_lcbPlcfAtnbkl);;
- LittleEndian.putInt(data, 0x1fa + offset, field_142_fcPms);;
- LittleEndian.putInt(data, 0x1fe + offset, field_143_lcbPms);;
- LittleEndian.putInt(data, 0x202 + offset, field_144_fcFormFldSttbs);;
- LittleEndian.putInt(data, 0x206 + offset, field_145_lcbFormFldSttbs);;
- LittleEndian.putInt(data, 0x20a + offset, field_146_fcPlcfendRef);;
- LittleEndian.putInt(data, 0x20e + offset, field_147_lcbPlcfendRef);;
- LittleEndian.putInt(data, 0x212 + offset, field_148_fcPlcfendTxt);;
- LittleEndian.putInt(data, 0x216 + offset, field_149_lcbPlcfendTxt);;
- LittleEndian.putInt(data, 0x21a + offset, field_150_fcPlcffldEdn);;
- LittleEndian.putInt(data, 0x21e + offset, field_151_lcbPlcffldEdn);;
- LittleEndian.putInt(data, 0x222 + offset, field_152_fcPlcfpgdEdn);;
- LittleEndian.putInt(data, 0x226 + offset, field_153_lcbPlcfpgdEdn);;
- LittleEndian.putInt(data, 0x22a + offset, field_154_fcDggInfo);;
- LittleEndian.putInt(data, 0x22e + offset, field_155_lcbDggInfo);;
- LittleEndian.putInt(data, 0x232 + offset, field_156_fcSttbfRMark);;
- LittleEndian.putInt(data, 0x236 + offset, field_157_lcbSttbfRMark);;
- LittleEndian.putInt(data, 0x23a + offset, field_158_fcSttbCaption);;
- LittleEndian.putInt(data, 0x23e + offset, field_159_lcbSttbCaption);;
- LittleEndian.putInt(data, 0x242 + offset, field_160_fcSttbAutoCaption);;
- LittleEndian.putInt(data, 0x246 + offset, field_161_lcbSttbAutoCaption);;
- LittleEndian.putInt(data, 0x24a + offset, field_162_fcPlcfwkb);;
- LittleEndian.putInt(data, 0x24e + offset, field_163_lcbPlcfwkb);;
- LittleEndian.putInt(data, 0x252 + offset, field_164_fcPlcfspl);;
- LittleEndian.putInt(data, 0x256 + offset, field_165_lcbPlcfspl);;
- LittleEndian.putInt(data, 0x25a + offset, field_166_fcPlcftxbxTxt);;
- LittleEndian.putInt(data, 0x25e + offset, field_167_lcbPlcftxbxTxt);;
- LittleEndian.putInt(data, 0x262 + offset, field_168_fcPlcffldTxbx);;
- LittleEndian.putInt(data, 0x266 + offset, field_169_lcbPlcffldTxbx);;
- LittleEndian.putInt(data, 0x26a + offset, field_170_fcPlcfhdrtxbxTxt);;
- LittleEndian.putInt(data, 0x26e + offset, field_171_lcbPlcfhdrtxbxTxt);;
- LittleEndian.putInt(data, 0x272 + offset, field_172_fcPlcffldHdrTxbx);;
- LittleEndian.putInt(data, 0x276 + offset, field_173_lcbPlcffldHdrTxbx);;
- LittleEndian.putInt(data, 0x27a + offset, field_174_fcStwUser);;
- LittleEndian.putInt(data, 0x27e + offset, field_175_lcbStwUser);;
- LittleEndian.putInt(data, 0x282 + offset, field_176_fcSttbttmbd);;
- LittleEndian.putInt(data, 0x286 + offset, field_177_cbSttbttmbd);;
- LittleEndian.putInt(data, 0x28a + offset, field_178_fcUnused);;
- LittleEndian.putInt(data, 0x28e + offset, field_179_lcbUnused);;
- LittleEndian.putInt(data, 0x292 + offset, field_180_fcPgdMother);;
- LittleEndian.putInt(data, 0x296 + offset, field_181_lcbPgdMother);;
- LittleEndian.putInt(data, 0x29a + offset, field_182_fcBkdMother);;
- LittleEndian.putInt(data, 0x29e + offset, field_183_lcbBkdMother);;
- LittleEndian.putInt(data, 0x2a2 + offset, field_184_fcPgdFtn);;
- LittleEndian.putInt(data, 0x2a6 + offset, field_185_lcbPgdFtn);;
- LittleEndian.putInt(data, 0x2aa + offset, field_186_fcBkdFtn);;
- LittleEndian.putInt(data, 0x2ae + offset, field_187_lcbBkdFtn);;
- LittleEndian.putInt(data, 0x2b2 + offset, field_188_fcPgdEdn);;
- LittleEndian.putInt(data, 0x2b6 + offset, field_189_lcbPgdEdn);;
- LittleEndian.putInt(data, 0x2ba + offset, field_190_fcBkdEdn);;
- LittleEndian.putInt(data, 0x2be + offset, field_191_lcbBkdEdn);;
- LittleEndian.putInt(data, 0x2c2 + offset, field_192_fcSttbfIntlFld);;
- LittleEndian.putInt(data, 0x2c6 + offset, field_193_lcbSttbfIntlFld);;
- LittleEndian.putInt(data, 0x2ca + offset, field_194_fcRouteSlip);;
- LittleEndian.putInt(data, 0x2ce + offset, field_195_lcbRouteSlip);;
- LittleEndian.putInt(data, 0x2d2 + offset, field_196_fcSttbSavedBy);;
- LittleEndian.putInt(data, 0x2d6 + offset, field_197_lcbSttbSavedBy);;
- LittleEndian.putInt(data, 0x2da + offset, field_198_fcSttbFnm);;
- LittleEndian.putInt(data, 0x2de + offset, field_199_lcbSttbFnm);;
- LittleEndian.putInt(data, 0x2e2 + offset, field_200_fcPlcfLst);;
- LittleEndian.putInt(data, 0x2e6 + offset, field_201_lcbPlcfLst);;
- LittleEndian.putInt(data, 0x2ea + offset, field_202_fcPlfLfo);;
- LittleEndian.putInt(data, 0x2ee + offset, field_203_lcbPlfLfo);;
- LittleEndian.putInt(data, 0x2f2 + offset, field_204_fcPlcftxbxBkd);;
- LittleEndian.putInt(data, 0x2f6 + offset, field_205_lcbPlcftxbxBkd);;
- LittleEndian.putInt(data, 0x2fa + offset, field_206_fcPlcftxbxHdrBkd);;
- LittleEndian.putInt(data, 0x2fe + offset, field_207_lcbPlcftxbxHdrBkd);;
- LittleEndian.putInt(data, 0x302 + offset, field_208_fcDocUndo);;
- LittleEndian.putInt(data, 0x306 + offset, field_209_lcbDocUndo);;
- LittleEndian.putInt(data, 0x30a + offset, field_210_fcRgbuse);;
- LittleEndian.putInt(data, 0x30e + offset, field_211_lcbRgbuse);;
- LittleEndian.putInt(data, 0x312 + offset, field_212_fcUsp);;
- LittleEndian.putInt(data, 0x316 + offset, field_213_lcbUsp);;
- LittleEndian.putInt(data, 0x31a + offset, field_214_fcUskf);;
- LittleEndian.putInt(data, 0x31e + offset, field_215_lcbUskf);;
- LittleEndian.putInt(data, 0x322 + offset, field_216_fcPlcupcRgbuse);;
- LittleEndian.putInt(data, 0x326 + offset, field_217_lcbPlcupcRgbuse);;
- LittleEndian.putInt(data, 0x32a + offset, field_218_fcPlcupcUsp);;
- LittleEndian.putInt(data, 0x32e + offset, field_219_lcbPlcupcUsp);;
- LittleEndian.putInt(data, 0x332 + offset, field_220_fcSttbGlsyStyle);;
- LittleEndian.putInt(data, 0x336 + offset, field_221_lcbSttbGlsyStyle);;
- LittleEndian.putInt(data, 0x33a + offset, field_222_fcPlgosl);;
- LittleEndian.putInt(data, 0x33e + offset, field_223_lcbPlgosl);;
- LittleEndian.putInt(data, 0x342 + offset, field_224_fcPlcocx);;
- LittleEndian.putInt(data, 0x346 + offset, field_225_lcbPlcocx);;
- LittleEndian.putInt(data, 0x34a + offset, field_226_fcPlcfbteLvc);;
- LittleEndian.putInt(data, 0x34e + offset, field_227_lcbPlcfbteLvc);;
- LittleEndian.putInt(data, 0x352 + offset, field_228_dwLowDateTime);;
- LittleEndian.putInt(data, 0x356 + offset, field_229_dwHighDateTime);;
- LittleEndian.putInt(data, 0x35a + offset, field_230_fcPlcflvc);;
- LittleEndian.putInt(data, 0x35e + offset, field_231_lcbPlcflvc);;
- LittleEndian.putInt(data, 0x362 + offset, field_232_fcPlcasumy);;
- LittleEndian.putInt(data, 0x366 + offset, field_233_lcbPlcasumy);;
- LittleEndian.putInt(data, 0x36a + offset, field_234_fcPlcfgram);;
- LittleEndian.putInt(data, 0x36e + offset, field_235_lcbPlcfgram);;
- LittleEndian.putInt(data, 0x372 + offset, field_236_fcSttbListNames);;
- LittleEndian.putInt(data, 0x376 + offset, field_237_lcbSttbListNames);;
- LittleEndian.putInt(data, 0x37a + offset, field_238_fcSttbfUssr);;
- LittleEndian.putInt(data, 0x37e + offset, field_239_lcbSttbfUssr);;
-
- }
-
- public String toString()
- {
- StringBuffer buffer = new StringBuffer();
-
- buffer.append("[FIB]\n");
-
- buffer.append(" .wIdent = ");
- buffer.append(" (").append(getWIdent()).append(" )\n");
-
- buffer.append(" .nFib = ");
- buffer.append(" (").append(getNFib()).append(" )\n");
-
- buffer.append(" .nProduct = ");
- buffer.append(" (").append(getNProduct()).append(" )\n");
-
- buffer.append(" .lid = ");
- buffer.append(" (").append(getLid()).append(" )\n");
-
- buffer.append(" .pnNext = ");
- buffer.append(" (").append(getPnNext()).append(" )\n");
-
- buffer.append(" .options = ");
- buffer.append(" (").append(getOptions()).append(" )\n");
- buffer.append(" .fDot = ").append(isFDot()).append('\n');
- buffer.append(" .fGlsy = ").append(isFGlsy()).append('\n');
- buffer.append(" .fComplex = ").append(isFComplex()).append('\n');
- buffer.append(" .fHasPic = ").append(isFHasPic()).append('\n');
- buffer.append(" .cQuickSaves = ").append(getCQuickSaves()).append('\n');
- buffer.append(" .fEncrypted = ").append(isFEncrypted()).append('\n');
- buffer.append(" .fWhichTblStm = ").append(isFWhichTblStm()).append('\n');
- buffer.append(" .fReadOnlyRecommended = ").append(isFReadOnlyRecommended()).append('\n');
- buffer.append(" .fWriteReservation = ").append(isFWriteReservation()).append('\n');
- buffer.append(" .fExtChar = ").append(isFExtChar()).append('\n');
- buffer.append(" .fLoadOverride = ").append(isFLoadOverride()).append('\n');
- buffer.append(" .fFarEast = ").append(isFFarEast()).append('\n');
- buffer.append(" .fCrypto = ").append(isFCrypto()).append('\n');
-
- buffer.append(" .nFibBack = ");
- buffer.append(" (").append(getNFibBack()).append(" )\n");
-
- buffer.append(" .lKey = ");
- buffer.append(" (").append(getLKey()).append(" )\n");
-
- buffer.append(" .envr = ");
- buffer.append(" (").append(getEnvr()).append(" )\n");
-
- buffer.append(" .history = ");
- buffer.append(" (").append(getHistory()).append(" )\n");
- buffer.append(" .fMac = ").append(isFMac()).append('\n');
- buffer.append(" .fEmptySpecial = ").append(isFEmptySpecial()).append('\n');
- buffer.append(" .fLoadOverridePage = ").append(isFLoadOverridePage()).append('\n');
- buffer.append(" .fFutureSavedUndo = ").append(isFFutureSavedUndo()).append('\n');
- buffer.append(" .fWord97Saved = ").append(isFWord97Saved()).append('\n');
- buffer.append(" .fSpare0 = ").append(getFSpare0()).append('\n');
-
- buffer.append(" .chs = ");
- buffer.append(" (").append(getChs()).append(" )\n");
-
- buffer.append(" .chsTables = ");
- buffer.append(" (").append(getChsTables()).append(" )\n");
-
- buffer.append(" .fcMin = ");
- buffer.append(" (").append(getFcMin()).append(" )\n");
-
- buffer.append(" .fcMac = ");
- buffer.append(" (").append(getFcMac()).append(" )\n");
-
- buffer.append(" .csw = ");
- buffer.append(" (").append(getCsw()).append(" )\n");
-
- buffer.append(" .wMagicCreated = ");
- buffer.append(" (").append(getWMagicCreated()).append(" )\n");
-
- buffer.append(" .wMagicRevised = ");
- buffer.append(" (").append(getWMagicRevised()).append(" )\n");
-
- buffer.append(" .wMagicCreatedPrivate = ");
- buffer.append(" (").append(getWMagicCreatedPrivate()).append(" )\n");
-
- buffer.append(" .wMagicRevisedPrivate = ");
- buffer.append(" (").append(getWMagicRevisedPrivate()).append(" )\n");
-
- buffer.append(" .pnFbpChpFirst_W6 = ");
- buffer.append(" (").append(getPnFbpChpFirst_W6()).append(" )\n");
-
- buffer.append(" .pnChpFirst_W6 = ");
- buffer.append(" (").append(getPnChpFirst_W6()).append(" )\n");
-
- buffer.append(" .cpnBteChp_W6 = ");
- buffer.append(" (").append(getCpnBteChp_W6()).append(" )\n");
-
- buffer.append(" .pnFbpPapFirst_W6 = ");
- buffer.append(" (").append(getPnFbpPapFirst_W6()).append(" )\n");
-
- buffer.append(" .pnPapFirst_W6 = ");
- buffer.append(" (").append(getPnPapFirst_W6()).append(" )\n");
-
- buffer.append(" .cpnBtePap_W6 = ");
- buffer.append(" (").append(getCpnBtePap_W6()).append(" )\n");
-
- buffer.append(" .pnFbpLvcFirst_W6 = ");
- buffer.append(" (").append(getPnFbpLvcFirst_W6()).append(" )\n");
-
- buffer.append(" .pnLvcFirst_W6 = ");
- buffer.append(" (").append(getPnLvcFirst_W6()).append(" )\n");
-
- buffer.append(" .cpnBteLvc_W6 = ");
- buffer.append(" (").append(getCpnBteLvc_W6()).append(" )\n");
-
- buffer.append(" .lidFE = ");
- buffer.append(" (").append(getLidFE()).append(" )\n");
-
- buffer.append(" .clw = ");
- buffer.append(" (").append(getClw()).append(" )\n");
-
- buffer.append(" .cbMac = ");
- buffer.append(" (").append(getCbMac()).append(" )\n");
-
- buffer.append(" .lProductCreated = ");
- buffer.append(" (").append(getLProductCreated()).append(" )\n");
-
- buffer.append(" .lProductRevised = ");
- buffer.append(" (").append(getLProductRevised()).append(" )\n");
-
- buffer.append(" .ccpText = ");
- buffer.append(" (").append(getCcpText()).append(" )\n");
-
- buffer.append(" .ccpFtn = ");
- buffer.append(" (").append(getCcpFtn()).append(" )\n");
-
- buffer.append(" .ccpHdd = ");
- buffer.append(" (").append(getCcpHdd()).append(" )\n");
-
- buffer.append(" .ccpMcr = ");
- buffer.append(" (").append(getCcpMcr()).append(" )\n");
-
- buffer.append(" .ccpAtn = ");
- buffer.append(" (").append(getCcpAtn()).append(" )\n");
-
- buffer.append(" .ccpEdn = ");
- buffer.append(" (").append(getCcpEdn()).append(" )\n");
-
- buffer.append(" .ccpTxbx = ");
- buffer.append(" (").append(getCcpTxbx()).append(" )\n");
-
- buffer.append(" .ccpHdrTxbx = ");
- buffer.append(" (").append(getCcpHdrTxbx()).append(" )\n");
-
- buffer.append(" .pnFbpChpFirst = ");
- buffer.append(" (").append(getPnFbpChpFirst()).append(" )\n");
-
- buffer.append(" .pnChpFirst = ");
- buffer.append(" (").append(getPnChpFirst()).append(" )\n");
-
- buffer.append(" .cpnBteChp = ");
- buffer.append(" (").append(getCpnBteChp()).append(" )\n");
-
- buffer.append(" .pnFbpPapFirst = ");
- buffer.append(" (").append(getPnFbpPapFirst()).append(" )\n");
-
- buffer.append(" .pnPapFirst = ");
- buffer.append(" (").append(getPnPapFirst()).append(" )\n");
-
- buffer.append(" .cpnBtePap = ");
- buffer.append(" (").append(getCpnBtePap()).append(" )\n");
-
- buffer.append(" .pnFbpLvcFirst = ");
- buffer.append(" (").append(getPnFbpLvcFirst()).append(" )\n");
-
- buffer.append(" .pnLvcFirst = ");
- buffer.append(" (").append(getPnLvcFirst()).append(" )\n");
-
- buffer.append(" .cpnBteLvc = ");
- buffer.append(" (").append(getCpnBteLvc()).append(" )\n");
-
- buffer.append(" .fcIslandFirst = ");
- buffer.append(" (").append(getFcIslandFirst()).append(" )\n");
-
- buffer.append(" .fcIslandLim = ");
- buffer.append(" (").append(getFcIslandLim()).append(" )\n");
-
- buffer.append(" .cfclcb = ");
- buffer.append(" (").append(getCfclcb()).append(" )\n");
-
- buffer.append(" .fcStshfOrig = ");
- buffer.append(" (").append(getFcStshfOrig()).append(" )\n");
-
- buffer.append(" .lcbStshfOrig = ");
- buffer.append(" (").append(getLcbStshfOrig()).append(" )\n");
-
- buffer.append(" .fcStshf = ");
- buffer.append(" (").append(getFcStshf()).append(" )\n");
-
- buffer.append(" .lcbStshf = ");
- buffer.append(" (").append(getLcbStshf()).append(" )\n");
-
- buffer.append(" .fcPlcffndRef = ");
- buffer.append(" (").append(getFcPlcffndRef()).append(" )\n");
-
- buffer.append(" .lcbPlcffndRef = ");
- buffer.append(" (").append(getLcbPlcffndRef()).append(" )\n");
-
- buffer.append(" .fcPlcffndTxt = ");
- buffer.append(" (").append(getFcPlcffndTxt()).append(" )\n");
-
- buffer.append(" .lcbPlcffndTxt = ");
- buffer.append(" (").append(getLcbPlcffndTxt()).append(" )\n");
-
- buffer.append(" .fcPlcfandRef = ");
- buffer.append(" (").append(getFcPlcfandRef()).append(" )\n");
-
- buffer.append(" .lcbPlcfandRef = ");
- buffer.append(" (").append(getLcbPlcfandRef()).append(" )\n");
-
- buffer.append(" .fcPlcfandTxt = ");
- buffer.append(" (").append(getFcPlcfandTxt()).append(" )\n");
-
- buffer.append(" .lcbPlcfandTxt = ");
- buffer.append(" (").append(getLcbPlcfandTxt()).append(" )\n");
-
- buffer.append(" .fcPlcfsed = ");
- buffer.append(" (").append(getFcPlcfsed()).append(" )\n");
-
- buffer.append(" .lcbPlcfsed = ");
- buffer.append(" (").append(getLcbPlcfsed()).append(" )\n");
-
- buffer.append(" .fcPlcpad = ");
- buffer.append(" (").append(getFcPlcpad()).append(" )\n");
-
- buffer.append(" .lcbPlcpad = ");
- buffer.append(" (").append(getLcbPlcpad()).append(" )\n");
-
- buffer.append(" .fcPlcfphe = ");
- buffer.append(" (").append(getFcPlcfphe()).append(" )\n");
-
- buffer.append(" .lcbPlcfphe = ");
- buffer.append(" (").append(getLcbPlcfphe()).append(" )\n");
-
- buffer.append(" .fcSttbfglsy = ");
- buffer.append(" (").append(getFcSttbfglsy()).append(" )\n");
-
- buffer.append(" .lcbSttbfglsy = ");
- buffer.append(" (").append(getLcbSttbfglsy()).append(" )\n");
-
- buffer.append(" .fcPlcfglsy = ");
- buffer.append(" (").append(getFcPlcfglsy()).append(" )\n");
-
- buffer.append(" .lcbPlcfglsy = ");
- buffer.append(" (").append(getLcbPlcfglsy()).append(" )\n");
-
- buffer.append(" .fcPlcfhdd = ");
- buffer.append(" (").append(getFcPlcfhdd()).append(" )\n");
-
- buffer.append(" .lcbPlcfhdd = ");
- buffer.append(" (").append(getLcbPlcfhdd()).append(" )\n");
-
- buffer.append(" .fcPlcfbteChpx = ");
- buffer.append(" (").append(getFcPlcfbteChpx()).append(" )\n");
-
- buffer.append(" .lcbPlcfbteChpx = ");
- buffer.append(" (").append(getLcbPlcfbteChpx()).append(" )\n");
-
- buffer.append(" .fcPlcfbtePapx = ");
- buffer.append(" (").append(getFcPlcfbtePapx()).append(" )\n");
-
- buffer.append(" .lcbPlcfbtePapx = ");
- buffer.append(" (").append(getLcbPlcfbtePapx()).append(" )\n");
-
- buffer.append(" .fcPlcfsea = ");
- buffer.append(" (").append(getFcPlcfsea()).append(" )\n");
-
- buffer.append(" .lcbPlcfsea = ");
- buffer.append(" (").append(getLcbPlcfsea()).append(" )\n");
-
- buffer.append(" .fcSttbfffn = ");
- buffer.append(" (").append(getFcSttbfffn()).append(" )\n");
-
- buffer.append(" .lcbSttbfffn = ");
- buffer.append(" (").append(getLcbSttbfffn()).append(" )\n");
-
- buffer.append(" .fcPlcffldMom = ");
- buffer.append(" (").append(getFcPlcffldMom()).append(" )\n");
-
- buffer.append(" .lcbPlcffldMom = ");
- buffer.append(" (").append(getLcbPlcffldMom()).append(" )\n");
-
- buffer.append(" .fcPlcffldHdr = ");
- buffer.append(" (").append(getFcPlcffldHdr()).append(" )\n");
-
- buffer.append(" .lcbPlcffldHdr = ");
- buffer.append(" (").append(getLcbPlcffldHdr()).append(" )\n");
-
- buffer.append(" .fcPlcffldFtn = ");
- buffer.append(" (").append(getFcPlcffldFtn()).append(" )\n");
-
- buffer.append(" .lcbPlcffldFtn = ");
- buffer.append(" (").append(getLcbPlcffldFtn()).append(" )\n");
-
- buffer.append(" .fcPlcffldAtn = ");
- buffer.append(" (").append(getFcPlcffldAtn()).append(" )\n");
-
- buffer.append(" .lcbPlcffldAtn = ");
- buffer.append(" (").append(getLcbPlcffldAtn()).append(" )\n");
-
- buffer.append(" .fcPlcffldMcr = ");
- buffer.append(" (").append(getFcPlcffldMcr()).append(" )\n");
-
- buffer.append(" .lcbPlcffldMcr = ");
- buffer.append(" (").append(getLcbPlcffldMcr()).append(" )\n");
-
- buffer.append(" .fcSttbfbkmk = ");
- buffer.append(" (").append(getFcSttbfbkmk()).append(" )\n");
-
- buffer.append(" .lcbSttbfbkmk = ");
- buffer.append(" (").append(getLcbSttbfbkmk()).append(" )\n");
-
- buffer.append(" .fcPlcfbkf = ");
- buffer.append(" (").append(getFcPlcfbkf()).append(" )\n");
-
- buffer.append(" .lcbPlcfbkf = ");
- buffer.append(" (").append(getLcbPlcfbkf()).append(" )\n");
-
- buffer.append(" .fcPlcfbkl = ");
- buffer.append(" (").append(getFcPlcfbkl()).append(" )\n");
-
- buffer.append(" .lcbPlcfbkl = ");
- buffer.append(" (").append(getLcbPlcfbkl()).append(" )\n");
-
- buffer.append(" .fcCmds = ");
- buffer.append(" (").append(getFcCmds()).append(" )\n");
-
- buffer.append(" .lcbCmds = ");
- buffer.append(" (").append(getLcbCmds()).append(" )\n");
-
- buffer.append(" .fcPlcmcr = ");
- buffer.append(" (").append(getFcPlcmcr()).append(" )\n");
-
- buffer.append(" .lcbPlcmcr = ");
- buffer.append(" (").append(getLcbPlcmcr()).append(" )\n");
-
- buffer.append(" .fcSttbfmcr = ");
- buffer.append(" (").append(getFcSttbfmcr()).append(" )\n");
-
- buffer.append(" .lcbSttbfmcr = ");
- buffer.append(" (").append(getLcbSttbfmcr()).append(" )\n");
-
- buffer.append(" .fcPrDrvr = ");
- buffer.append(" (").append(getFcPrDrvr()).append(" )\n");
-
- buffer.append(" .lcbPrDrvr = ");
- buffer.append(" (").append(getLcbPrDrvr()).append(" )\n");
-
- buffer.append(" .fcPrEnvPort = ");
- buffer.append(" (").append(getFcPrEnvPort()).append(" )\n");
-
- buffer.append(" .lcbPrEnvPort = ");
- buffer.append(" (").append(getLcbPrEnvPort()).append(" )\n");
-
- buffer.append(" .fcPrEnvLand = ");
- buffer.append(" (").append(getFcPrEnvLand()).append(" )\n");
-
- buffer.append(" .lcbPrEnvLand = ");
- buffer.append(" (").append(getLcbPrEnvLand()).append(" )\n");
-
- buffer.append(" .fcWss = ");
- buffer.append(" (").append(getFcWss()).append(" )\n");
-
- buffer.append(" .lcbWss = ");
- buffer.append(" (").append(getLcbWss()).append(" )\n");
-
- buffer.append(" .fcDop = ");
- buffer.append(" (").append(getFcDop()).append(" )\n");
-
- buffer.append(" .lcbDop = ");
- buffer.append(" (").append(getLcbDop()).append(" )\n");
-
- buffer.append(" .fcSttbfAssoc = ");
- buffer.append(" (").append(getFcSttbfAssoc()).append(" )\n");
-
- buffer.append(" .lcbSttbfAssoc = ");
- buffer.append(" (").append(getLcbSttbfAssoc()).append(" )\n");
-
- buffer.append(" .fcClx = ");
- buffer.append(" (").append(getFcClx()).append(" )\n");
-
- buffer.append(" .lcbClx = ");
- buffer.append(" (").append(getLcbClx()).append(" )\n");
-
- buffer.append(" .fcPlcfpgdFtn = ");
- buffer.append(" (").append(getFcPlcfpgdFtn()).append(" )\n");
-
- buffer.append(" .lcbPlcfpgdFtn = ");
- buffer.append(" (").append(getLcbPlcfpgdFtn()).append(" )\n");
-
- buffer.append(" .fcAutosaveSource = ");
- buffer.append(" (").append(getFcAutosaveSource()).append(" )\n");
-
- buffer.append(" .lcbAutosaveSource = ");
- buffer.append(" (").append(getLcbAutosaveSource()).append(" )\n");
-
- buffer.append(" .fcGrpXstAtnOwners = ");
- buffer.append(" (").append(getFcGrpXstAtnOwners()).append(" )\n");
-
- buffer.append(" .lcbGrpXstAtnOwners = ");
- buffer.append(" (").append(getLcbGrpXstAtnOwners()).append(" )\n");
-
- buffer.append(" .fcSttbfAtnbkmk = ");
- buffer.append(" (").append(getFcSttbfAtnbkmk()).append(" )\n");
-
- buffer.append(" .lcbSttbfAtnbkmk = ");
- buffer.append(" (").append(getLcbSttbfAtnbkmk()).append(" )\n");
-
- buffer.append(" .fcPlcdoaMom = ");
- buffer.append(" (").append(getFcPlcdoaMom()).append(" )\n");
-
- buffer.append(" .lcbPlcdoaMom = ");
- buffer.append(" (").append(getLcbPlcdoaMom()).append(" )\n");
-
- buffer.append(" .fcPlcdoaHdr = ");
- buffer.append(" (").append(getFcPlcdoaHdr()).append(" )\n");
-
- buffer.append(" .lcbPlcdoaHdr = ");
- buffer.append(" (").append(getLcbPlcdoaHdr()).append(" )\n");
-
- buffer.append(" .fcPlcspaMom = ");
- buffer.append(" (").append(getFcPlcspaMom()).append(" )\n");
-
- buffer.append(" .lcbPlcspaMom = ");
- buffer.append(" (").append(getLcbPlcspaMom()).append(" )\n");
-
- buffer.append(" .fcPlcspaHdr = ");
- buffer.append(" (").append(getFcPlcspaHdr()).append(" )\n");
-
- buffer.append(" .lcbPlcspaHdr = ");
- buffer.append(" (").append(getLcbPlcspaHdr()).append(" )\n");
-
- buffer.append(" .fcPlcfAtnbkf = ");
- buffer.append(" (").append(getFcPlcfAtnbkf()).append(" )\n");
-
- buffer.append(" .lcbPlcfAtnbkf = ");
- buffer.append(" (").append(getLcbPlcfAtnbkf()).append(" )\n");
-
- buffer.append(" .fcPlcfAtnbkl = ");
- buffer.append(" (").append(getFcPlcfAtnbkl()).append(" )\n");
-
- buffer.append(" .lcbPlcfAtnbkl = ");
- buffer.append(" (").append(getLcbPlcfAtnbkl()).append(" )\n");
-
- buffer.append(" .fcPms = ");
- buffer.append(" (").append(getFcPms()).append(" )\n");
-
- buffer.append(" .lcbPms = ");
- buffer.append(" (").append(getLcbPms()).append(" )\n");
-
- buffer.append(" .fcFormFldSttbs = ");
- buffer.append(" (").append(getFcFormFldSttbs()).append(" )\n");
-
- buffer.append(" .lcbFormFldSttbs = ");
- buffer.append(" (").append(getLcbFormFldSttbs()).append(" )\n");
-
- buffer.append(" .fcPlcfendRef = ");
- buffer.append(" (").append(getFcPlcfendRef()).append(" )\n");
-
- buffer.append(" .lcbPlcfendRef = ");
- buffer.append(" (").append(getLcbPlcfendRef()).append(" )\n");
-
- buffer.append(" .fcPlcfendTxt = ");
- buffer.append(" (").append(getFcPlcfendTxt()).append(" )\n");
-
- buffer.append(" .lcbPlcfendTxt = ");
- buffer.append(" (").append(getLcbPlcfendTxt()).append(" )\n");
-
- buffer.append(" .fcPlcffldEdn = ");
- buffer.append(" (").append(getFcPlcffldEdn()).append(" )\n");
-
- buffer.append(" .lcbPlcffldEdn = ");
- buffer.append(" (").append(getLcbPlcffldEdn()).append(" )\n");
-
- buffer.append(" .fcPlcfpgdEdn = ");
- buffer.append(" (").append(getFcPlcfpgdEdn()).append(" )\n");
-
- buffer.append(" .lcbPlcfpgdEdn = ");
- buffer.append(" (").append(getLcbPlcfpgdEdn()).append(" )\n");
-
- buffer.append(" .fcDggInfo = ");
- buffer.append(" (").append(getFcDggInfo()).append(" )\n");
-
- buffer.append(" .lcbDggInfo = ");
- buffer.append(" (").append(getLcbDggInfo()).append(" )\n");
-
- buffer.append(" .fcSttbfRMark = ");
- buffer.append(" (").append(getFcSttbfRMark()).append(" )\n");
-
- buffer.append(" .lcbSttbfRMark = ");
- buffer.append(" (").append(getLcbSttbfRMark()).append(" )\n");
-
- buffer.append(" .fcSttbCaption = ");
- buffer.append(" (").append(getFcSttbCaption()).append(" )\n");
-
- buffer.append(" .lcbSttbCaption = ");
- buffer.append(" (").append(getLcbSttbCaption()).append(" )\n");
-
- buffer.append(" .fcSttbAutoCaption = ");
- buffer.append(" (").append(getFcSttbAutoCaption()).append(" )\n");
-
- buffer.append(" .lcbSttbAutoCaption = ");
- buffer.append(" (").append(getLcbSttbAutoCaption()).append(" )\n");
-
- buffer.append(" .fcPlcfwkb = ");
- buffer.append(" (").append(getFcPlcfwkb()).append(" )\n");
-
- buffer.append(" .lcbPlcfwkb = ");
- buffer.append(" (").append(getLcbPlcfwkb()).append(" )\n");
-
- buffer.append(" .fcPlcfspl = ");
- buffer.append(" (").append(getFcPlcfspl()).append(" )\n");
-
- buffer.append(" .lcbPlcfspl = ");
- buffer.append(" (").append(getLcbPlcfspl()).append(" )\n");
-
- buffer.append(" .fcPlcftxbxTxt = ");
- buffer.append(" (").append(getFcPlcftxbxTxt()).append(" )\n");
-
- buffer.append(" .lcbPlcftxbxTxt = ");
- buffer.append(" (").append(getLcbPlcftxbxTxt()).append(" )\n");
-
- buffer.append(" .fcPlcffldTxbx = ");
- buffer.append(" (").append(getFcPlcffldTxbx()).append(" )\n");
-
- buffer.append(" .lcbPlcffldTxbx = ");
- buffer.append(" (").append(getLcbPlcffldTxbx()).append(" )\n");
-
- buffer.append(" .fcPlcfhdrtxbxTxt = ");
- buffer.append(" (").append(getFcPlcfhdrtxbxTxt()).append(" )\n");
-
- buffer.append(" .lcbPlcfhdrtxbxTxt = ");
- buffer.append(" (").append(getLcbPlcfhdrtxbxTxt()).append(" )\n");
-
- buffer.append(" .fcPlcffldHdrTxbx = ");
- buffer.append(" (").append(getFcPlcffldHdrTxbx()).append(" )\n");
-
- buffer.append(" .lcbPlcffldHdrTxbx = ");
- buffer.append(" (").append(getLcbPlcffldHdrTxbx()).append(" )\n");
-
- buffer.append(" .fcStwUser = ");
- buffer.append(" (").append(getFcStwUser()).append(" )\n");
-
- buffer.append(" .lcbStwUser = ");
- buffer.append(" (").append(getLcbStwUser()).append(" )\n");
-
- buffer.append(" .fcSttbttmbd = ");
- buffer.append(" (").append(getFcSttbttmbd()).append(" )\n");
-
- buffer.append(" .cbSttbttmbd = ");
- buffer.append(" (").append(getCbSttbttmbd()).append(" )\n");
-
- buffer.append(" .fcUnused = ");
- buffer.append(" (").append(getFcUnused()).append(" )\n");
-
- buffer.append(" .lcbUnused = ");
- buffer.append(" (").append(getLcbUnused()).append(" )\n");
-
- buffer.append(" .fcPgdMother = ");
- buffer.append(" (").append(getFcPgdMother()).append(" )\n");
-
- buffer.append(" .lcbPgdMother = ");
- buffer.append(" (").append(getLcbPgdMother()).append(" )\n");
-
- buffer.append(" .fcBkdMother = ");
- buffer.append(" (").append(getFcBkdMother()).append(" )\n");
-
- buffer.append(" .lcbBkdMother = ");
- buffer.append(" (").append(getLcbBkdMother()).append(" )\n");
-
- buffer.append(" .fcPgdFtn = ");
- buffer.append(" (").append(getFcPgdFtn()).append(" )\n");
-
- buffer.append(" .lcbPgdFtn = ");
- buffer.append(" (").append(getLcbPgdFtn()).append(" )\n");
-
- buffer.append(" .fcBkdFtn = ");
- buffer.append(" (").append(getFcBkdFtn()).append(" )\n");
-
- buffer.append(" .lcbBkdFtn = ");
- buffer.append(" (").append(getLcbBkdFtn()).append(" )\n");
-
- buffer.append(" .fcPgdEdn = ");
- buffer.append(" (").append(getFcPgdEdn()).append(" )\n");
-
- buffer.append(" .lcbPgdEdn = ");
- buffer.append(" (").append(getLcbPgdEdn()).append(" )\n");
-
- buffer.append(" .fcBkdEdn = ");
- buffer.append(" (").append(getFcBkdEdn()).append(" )\n");
-
- buffer.append(" .lcbBkdEdn = ");
- buffer.append(" (").append(getLcbBkdEdn()).append(" )\n");
-
- buffer.append(" .fcSttbfIntlFld = ");
- buffer.append(" (").append(getFcSttbfIntlFld()).append(" )\n");
-
- buffer.append(" .lcbSttbfIntlFld = ");
- buffer.append(" (").append(getLcbSttbfIntlFld()).append(" )\n");
-
- buffer.append(" .fcRouteSlip = ");
- buffer.append(" (").append(getFcRouteSlip()).append(" )\n");
-
- buffer.append(" .lcbRouteSlip = ");
- buffer.append(" (").append(getLcbRouteSlip()).append(" )\n");
-
- buffer.append(" .fcSttbSavedBy = ");
- buffer.append(" (").append(getFcSttbSavedBy()).append(" )\n");
-
- buffer.append(" .lcbSttbSavedBy = ");
- buffer.append(" (").append(getLcbSttbSavedBy()).append(" )\n");
-
- buffer.append(" .fcSttbFnm = ");
- buffer.append(" (").append(getFcSttbFnm()).append(" )\n");
-
- buffer.append(" .lcbSttbFnm = ");
- buffer.append(" (").append(getLcbSttbFnm()).append(" )\n");
-
- buffer.append(" .fcPlcfLst = ");
- buffer.append(" (").append(getFcPlcfLst()).append(" )\n");
-
- buffer.append(" .lcbPlcfLst = ");
- buffer.append(" (").append(getLcbPlcfLst()).append(" )\n");
-
- buffer.append(" .fcPlfLfo = ");
- buffer.append(" (").append(getFcPlfLfo()).append(" )\n");
-
- buffer.append(" .lcbPlfLfo = ");
- buffer.append(" (").append(getLcbPlfLfo()).append(" )\n");
-
- buffer.append(" .fcPlcftxbxBkd = ");
- buffer.append(" (").append(getFcPlcftxbxBkd()).append(" )\n");
-
- buffer.append(" .lcbPlcftxbxBkd = ");
- buffer.append(" (").append(getLcbPlcftxbxBkd()).append(" )\n");
-
- buffer.append(" .fcPlcftxbxHdrBkd = ");
- buffer.append(" (").append(getFcPlcftxbxHdrBkd()).append(" )\n");
-
- buffer.append(" .lcbPlcftxbxHdrBkd = ");
- buffer.append(" (").append(getLcbPlcftxbxHdrBkd()).append(" )\n");
-
- buffer.append(" .fcDocUndo = ");
- buffer.append(" (").append(getFcDocUndo()).append(" )\n");
-
- buffer.append(" .lcbDocUndo = ");
- buffer.append(" (").append(getLcbDocUndo()).append(" )\n");
-
- buffer.append(" .fcRgbuse = ");
- buffer.append(" (").append(getFcRgbuse()).append(" )\n");
-
- buffer.append(" .lcbRgbuse = ");
- buffer.append(" (").append(getLcbRgbuse()).append(" )\n");
-
- buffer.append(" .fcUsp = ");
- buffer.append(" (").append(getFcUsp()).append(" )\n");
-
- buffer.append(" .lcbUsp = ");
- buffer.append(" (").append(getLcbUsp()).append(" )\n");
-
- buffer.append(" .fcUskf = ");
- buffer.append(" (").append(getFcUskf()).append(" )\n");
-
- buffer.append(" .lcbUskf = ");
- buffer.append(" (").append(getLcbUskf()).append(" )\n");
-
- buffer.append(" .fcPlcupcRgbuse = ");
- buffer.append(" (").append(getFcPlcupcRgbuse()).append(" )\n");
-
- buffer.append(" .lcbPlcupcRgbuse = ");
- buffer.append(" (").append(getLcbPlcupcRgbuse()).append(" )\n");
-
- buffer.append(" .fcPlcupcUsp = ");
- buffer.append(" (").append(getFcPlcupcUsp()).append(" )\n");
-
- buffer.append(" .lcbPlcupcUsp = ");
- buffer.append(" (").append(getLcbPlcupcUsp()).append(" )\n");
-
- buffer.append(" .fcSttbGlsyStyle = ");
- buffer.append(" (").append(getFcSttbGlsyStyle()).append(" )\n");
-
- buffer.append(" .lcbSttbGlsyStyle = ");
- buffer.append(" (").append(getLcbSttbGlsyStyle()).append(" )\n");
-
- buffer.append(" .fcPlgosl = ");
- buffer.append(" (").append(getFcPlgosl()).append(" )\n");
-
- buffer.append(" .lcbPlgosl = ");
- buffer.append(" (").append(getLcbPlgosl()).append(" )\n");
-
- buffer.append(" .fcPlcocx = ");
- buffer.append(" (").append(getFcPlcocx()).append(" )\n");
-
- buffer.append(" .lcbPlcocx = ");
- buffer.append(" (").append(getLcbPlcocx()).append(" )\n");
-
- buffer.append(" .fcPlcfbteLvc = ");
- buffer.append(" (").append(getFcPlcfbteLvc()).append(" )\n");
-
- buffer.append(" .lcbPlcfbteLvc = ");
- buffer.append(" (").append(getLcbPlcfbteLvc()).append(" )\n");
-
- buffer.append(" .dwLowDateTime = ");
- buffer.append(" (").append(getDwLowDateTime()).append(" )\n");
-
- buffer.append(" .dwHighDateTime = ");
- buffer.append(" (").append(getDwHighDateTime()).append(" )\n");
-
- buffer.append(" .fcPlcflvc = ");
- buffer.append(" (").append(getFcPlcflvc()).append(" )\n");
-
- buffer.append(" .lcbPlcflvc = ");
- buffer.append(" (").append(getLcbPlcflvc()).append(" )\n");
-
- buffer.append(" .fcPlcasumy = ");
- buffer.append(" (").append(getFcPlcasumy()).append(" )\n");
-
- buffer.append(" .lcbPlcasumy = ");
- buffer.append(" (").append(getLcbPlcasumy()).append(" )\n");
-
- buffer.append(" .fcPlcfgram = ");
- buffer.append(" (").append(getFcPlcfgram()).append(" )\n");
-
- buffer.append(" .lcbPlcfgram = ");
- buffer.append(" (").append(getLcbPlcfgram()).append(" )\n");
-
- buffer.append(" .fcSttbListNames = ");
- buffer.append(" (").append(getFcSttbListNames()).append(" )\n");
-
- buffer.append(" .lcbSttbListNames = ");
- buffer.append(" (").append(getLcbSttbListNames()).append(" )\n");
-
- buffer.append(" .fcSttbfUssr = ");
- buffer.append(" (").append(getFcSttbfUssr()).append(" )\n");
-
- buffer.append(" .lcbSttbfUssr = ");
- buffer.append(" (").append(getLcbSttbfUssr()).append(" )\n");
-
- buffer.append("[/FIB]\n");
- return buffer.toString();
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4;
- }
-
-
-
- /**
- * Get the wIdent field for the FIB record.
- */
- public int getWIdent()
- {
- return field_1_wIdent;
- }
-
- /**
- * Set the wIdent field for the FIB record.
- */
- public void setWIdent(int field_1_wIdent)
- {
- this.field_1_wIdent = field_1_wIdent;
- }
-
- /**
- * Get the nFib field for the FIB record.
- */
- public int getNFib()
- {
- return field_2_nFib;
- }
-
- /**
- * Set the nFib field for the FIB record.
- */
- public void setNFib(int field_2_nFib)
- {
- this.field_2_nFib = field_2_nFib;
- }
-
- /**
- * Get the nProduct field for the FIB record.
- */
- public int getNProduct()
- {
- return field_3_nProduct;
- }
-
- /**
- * Set the nProduct field for the FIB record.
- */
- public void setNProduct(int field_3_nProduct)
- {
- this.field_3_nProduct = field_3_nProduct;
- }
-
- /**
- * Get the lid field for the FIB record.
- */
- public int getLid()
- {
- return field_4_lid;
- }
-
- /**
- * Set the lid field for the FIB record.
- */
- public void setLid(int field_4_lid)
- {
- this.field_4_lid = field_4_lid;
- }
-
- /**
- * Get the pnNext field for the FIB record.
- */
- public int getPnNext()
- {
- return field_5_pnNext;
- }
-
- /**
- * Set the pnNext field for the FIB record.
- */
- public void setPnNext(int field_5_pnNext)
- {
- this.field_5_pnNext = field_5_pnNext;
- }
-
- /**
- * Get the options field for the FIB record.
- */
- public short getOptions()
- {
- return field_6_options;
- }
-
- /**
- * Set the options field for the FIB record.
- */
- public void setOptions(short field_6_options)
- {
- this.field_6_options = field_6_options;
- }
-
- /**
- * Get the nFibBack field for the FIB record.
- */
- public int getNFibBack()
- {
- return field_7_nFibBack;
- }
-
- /**
- * Set the nFibBack field for the FIB record.
- */
- public void setNFibBack(int field_7_nFibBack)
- {
- this.field_7_nFibBack = field_7_nFibBack;
- }
-
- /**
- * Get the lKey field for the FIB record.
- */
- public int getLKey()
- {
- return field_8_lKey;
- }
-
- /**
- * Set the lKey field for the FIB record.
- */
- public void setLKey(int field_8_lKey)
- {
- this.field_8_lKey = field_8_lKey;
- }
-
- /**
- * Get the envr field for the FIB record.
- */
- public int getEnvr()
- {
- return field_9_envr;
- }
-
- /**
- * Set the envr field for the FIB record.
- */
- public void setEnvr(int field_9_envr)
- {
- this.field_9_envr = field_9_envr;
- }
-
- /**
- * Get the history field for the FIB record.
- */
- public short getHistory()
- {
- return field_10_history;
- }
-
- /**
- * Set the history field for the FIB record.
- */
- public void setHistory(short field_10_history)
- {
- this.field_10_history = field_10_history;
- }
-
- /**
- * Get the chs field for the FIB record.
- */
- public int getChs()
- {
- return field_11_chs;
- }
-
- /**
- * Set the chs field for the FIB record.
- */
- public void setChs(int field_11_chs)
- {
- this.field_11_chs = field_11_chs;
- }
-
- /**
- * Get the chsTables field for the FIB record.
- */
- public int getChsTables()
- {
- return field_12_chsTables;
- }
-
- /**
- * Set the chsTables field for the FIB record.
- */
- public void setChsTables(int field_12_chsTables)
- {
- this.field_12_chsTables = field_12_chsTables;
- }
-
- /**
- * Get the fcMin field for the FIB record.
- */
- public int getFcMin()
- {
- return field_13_fcMin;
- }
-
- /**
- * Set the fcMin field for the FIB record.
- */
- public void setFcMin(int field_13_fcMin)
- {
- this.field_13_fcMin = field_13_fcMin;
- }
-
- /**
- * Get the fcMac field for the FIB record.
- */
- public int getFcMac()
- {
- return field_14_fcMac;
- }
-
- /**
- * Set the fcMac field for the FIB record.
- */
- public void setFcMac(int field_14_fcMac)
- {
- this.field_14_fcMac = field_14_fcMac;
- }
-
- /**
- * Get the csw field for the FIB record.
- */
- public int getCsw()
- {
- return field_15_csw;
- }
-
- /**
- * Set the csw field for the FIB record.
- */
- public void setCsw(int field_15_csw)
- {
- this.field_15_csw = field_15_csw;
- }
-
- /**
- * Get the wMagicCreated field for the FIB record.
- */
- public int getWMagicCreated()
- {
- return field_16_wMagicCreated;
- }
-
- /**
- * Set the wMagicCreated field for the FIB record.
- */
- public void setWMagicCreated(int field_16_wMagicCreated)
- {
- this.field_16_wMagicCreated = field_16_wMagicCreated;
- }
-
- /**
- * Get the wMagicRevised field for the FIB record.
- */
- public int getWMagicRevised()
- {
- return field_17_wMagicRevised;
- }
-
- /**
- * Set the wMagicRevised field for the FIB record.
- */
- public void setWMagicRevised(int field_17_wMagicRevised)
- {
- this.field_17_wMagicRevised = field_17_wMagicRevised;
- }
-
- /**
- * Get the wMagicCreatedPrivate field for the FIB record.
- */
- public int getWMagicCreatedPrivate()
- {
- return field_18_wMagicCreatedPrivate;
- }
-
- /**
- * Set the wMagicCreatedPrivate field for the FIB record.
- */
- public void setWMagicCreatedPrivate(int field_18_wMagicCreatedPrivate)
- {
- this.field_18_wMagicCreatedPrivate = field_18_wMagicCreatedPrivate;
- }
-
- /**
- * Get the wMagicRevisedPrivate field for the FIB record.
- */
- public int getWMagicRevisedPrivate()
- {
- return field_19_wMagicRevisedPrivate;
- }
-
- /**
- * Set the wMagicRevisedPrivate field for the FIB record.
- */
- public void setWMagicRevisedPrivate(int field_19_wMagicRevisedPrivate)
- {
- this.field_19_wMagicRevisedPrivate = field_19_wMagicRevisedPrivate;
- }
-
- /**
- * Get the pnFbpChpFirst_W6 field for the FIB record.
- */
- public int getPnFbpChpFirst_W6()
- {
- return field_20_pnFbpChpFirst_W6;
- }
-
- /**
- * Set the pnFbpChpFirst_W6 field for the FIB record.
- */
- public void setPnFbpChpFirst_W6(int field_20_pnFbpChpFirst_W6)
- {
- this.field_20_pnFbpChpFirst_W6 = field_20_pnFbpChpFirst_W6;
- }
-
- /**
- * Get the pnChpFirst_W6 field for the FIB record.
- */
- public int getPnChpFirst_W6()
- {
- return field_21_pnChpFirst_W6;
- }
-
- /**
- * Set the pnChpFirst_W6 field for the FIB record.
- */
- public void setPnChpFirst_W6(int field_21_pnChpFirst_W6)
- {
- this.field_21_pnChpFirst_W6 = field_21_pnChpFirst_W6;
- }
-
- /**
- * Get the cpnBteChp_W6 field for the FIB record.
- */
- public int getCpnBteChp_W6()
- {
- return field_22_cpnBteChp_W6;
- }
-
- /**
- * Set the cpnBteChp_W6 field for the FIB record.
- */
- public void setCpnBteChp_W6(int field_22_cpnBteChp_W6)
- {
- this.field_22_cpnBteChp_W6 = field_22_cpnBteChp_W6;
- }
-
- /**
- * Get the pnFbpPapFirst_W6 field for the FIB record.
- */
- public int getPnFbpPapFirst_W6()
- {
- return field_23_pnFbpPapFirst_W6;
- }
-
- /**
- * Set the pnFbpPapFirst_W6 field for the FIB record.
- */
- public void setPnFbpPapFirst_W6(int field_23_pnFbpPapFirst_W6)
- {
- this.field_23_pnFbpPapFirst_W6 = field_23_pnFbpPapFirst_W6;
- }
-
- /**
- * Get the pnPapFirst_W6 field for the FIB record.
- */
- public int getPnPapFirst_W6()
- {
- return field_24_pnPapFirst_W6;
- }
-
- /**
- * Set the pnPapFirst_W6 field for the FIB record.
- */
- public void setPnPapFirst_W6(int field_24_pnPapFirst_W6)
- {
- this.field_24_pnPapFirst_W6 = field_24_pnPapFirst_W6;
- }
-
- /**
- * Get the cpnBtePap_W6 field for the FIB record.
- */
- public int getCpnBtePap_W6()
- {
- return field_25_cpnBtePap_W6;
- }
-
- /**
- * Set the cpnBtePap_W6 field for the FIB record.
- */
- public void setCpnBtePap_W6(int field_25_cpnBtePap_W6)
- {
- this.field_25_cpnBtePap_W6 = field_25_cpnBtePap_W6;
- }
-
- /**
- * Get the pnFbpLvcFirst_W6 field for the FIB record.
- */
- public int getPnFbpLvcFirst_W6()
- {
- return field_26_pnFbpLvcFirst_W6;
- }
-
- /**
- * Set the pnFbpLvcFirst_W6 field for the FIB record.
- */
- public void setPnFbpLvcFirst_W6(int field_26_pnFbpLvcFirst_W6)
- {
- this.field_26_pnFbpLvcFirst_W6 = field_26_pnFbpLvcFirst_W6;
- }
-
- /**
- * Get the pnLvcFirst_W6 field for the FIB record.
- */
- public int getPnLvcFirst_W6()
- {
- return field_27_pnLvcFirst_W6;
- }
-
- /**
- * Set the pnLvcFirst_W6 field for the FIB record.
- */
- public void setPnLvcFirst_W6(int field_27_pnLvcFirst_W6)
- {
- this.field_27_pnLvcFirst_W6 = field_27_pnLvcFirst_W6;
- }
-
- /**
- * Get the cpnBteLvc_W6 field for the FIB record.
- */
- public int getCpnBteLvc_W6()
- {
- return field_28_cpnBteLvc_W6;
- }
-
- /**
- * Set the cpnBteLvc_W6 field for the FIB record.
- */
- public void setCpnBteLvc_W6(int field_28_cpnBteLvc_W6)
- {
- this.field_28_cpnBteLvc_W6 = field_28_cpnBteLvc_W6;
- }
-
- /**
- * Get the lidFE field for the FIB record.
- */
- public int getLidFE()
- {
- return field_29_lidFE;
- }
-
- /**
- * Set the lidFE field for the FIB record.
- */
- public void setLidFE(int field_29_lidFE)
- {
- this.field_29_lidFE = field_29_lidFE;
- }
-
- /**
- * Get the clw field for the FIB record.
- */
- public int getClw()
- {
- return field_30_clw;
- }
-
- /**
- * Set the clw field for the FIB record.
- */
- public void setClw(int field_30_clw)
- {
- this.field_30_clw = field_30_clw;
- }
-
- /**
- * Get the cbMac field for the FIB record.
- */
- public int getCbMac()
- {
- return field_31_cbMac;
- }
-
- /**
- * Set the cbMac field for the FIB record.
- */
- public void setCbMac(int field_31_cbMac)
- {
- this.field_31_cbMac = field_31_cbMac;
- }
-
- /**
- * Get the lProductCreated field for the FIB record.
- */
- public int getLProductCreated()
- {
- return field_32_lProductCreated;
- }
-
- /**
- * Set the lProductCreated field for the FIB record.
- */
- public void setLProductCreated(int field_32_lProductCreated)
- {
- this.field_32_lProductCreated = field_32_lProductCreated;
- }
-
- /**
- * Get the lProductRevised field for the FIB record.
- */
- public int getLProductRevised()
- {
- return field_33_lProductRevised;
- }
-
- /**
- * Set the lProductRevised field for the FIB record.
- */
- public void setLProductRevised(int field_33_lProductRevised)
- {
- this.field_33_lProductRevised = field_33_lProductRevised;
- }
-
- /**
- * Get the ccpText field for the FIB record.
- */
- public int getCcpText()
- {
- return field_34_ccpText;
- }
-
- /**
- * Set the ccpText field for the FIB record.
- */
- public void setCcpText(int field_34_ccpText)
- {
- this.field_34_ccpText = field_34_ccpText;
- }
-
- /**
- * Get the ccpFtn field for the FIB record.
- */
- public int getCcpFtn()
- {
- return field_35_ccpFtn;
- }
-
- /**
- * Set the ccpFtn field for the FIB record.
- */
- public void setCcpFtn(int field_35_ccpFtn)
- {
- this.field_35_ccpFtn = field_35_ccpFtn;
- }
-
- /**
- * Get the ccpHdd field for the FIB record.
- */
- public int getCcpHdd()
- {
- return field_36_ccpHdd;
- }
-
- /**
- * Set the ccpHdd field for the FIB record.
- */
- public void setCcpHdd(int field_36_ccpHdd)
- {
- this.field_36_ccpHdd = field_36_ccpHdd;
- }
-
- /**
- * Get the ccpMcr field for the FIB record.
- */
- public int getCcpMcr()
- {
- return field_37_ccpMcr;
- }
-
- /**
- * Set the ccpMcr field for the FIB record.
- */
- public void setCcpMcr(int field_37_ccpMcr)
- {
- this.field_37_ccpMcr = field_37_ccpMcr;
- }
-
- /**
- * Get the ccpAtn field for the FIB record.
- */
- public int getCcpAtn()
- {
- return field_38_ccpAtn;
- }
-
- /**
- * Set the ccpAtn field for the FIB record.
- */
- public void setCcpAtn(int field_38_ccpAtn)
- {
- this.field_38_ccpAtn = field_38_ccpAtn;
- }
-
- /**
- * Get the ccpEdn field for the FIB record.
- */
- public int getCcpEdn()
- {
- return field_39_ccpEdn;
- }
-
- /**
- * Set the ccpEdn field for the FIB record.
- */
- public void setCcpEdn(int field_39_ccpEdn)
- {
- this.field_39_ccpEdn = field_39_ccpEdn;
- }
-
- /**
- * Get the ccpTxbx field for the FIB record.
- */
- public int getCcpTxbx()
- {
- return field_40_ccpTxbx;
- }
-
- /**
- * Set the ccpTxbx field for the FIB record.
- */
- public void setCcpTxbx(int field_40_ccpTxbx)
- {
- this.field_40_ccpTxbx = field_40_ccpTxbx;
- }
-
- /**
- * Get the ccpHdrTxbx field for the FIB record.
- */
- public int getCcpHdrTxbx()
- {
- return field_41_ccpHdrTxbx;
- }
-
- /**
- * Set the ccpHdrTxbx field for the FIB record.
- */
- public void setCcpHdrTxbx(int field_41_ccpHdrTxbx)
- {
- this.field_41_ccpHdrTxbx = field_41_ccpHdrTxbx;
- }
-
- /**
- * Get the pnFbpChpFirst field for the FIB record.
- */
- public int getPnFbpChpFirst()
- {
- return field_42_pnFbpChpFirst;
- }
-
- /**
- * Set the pnFbpChpFirst field for the FIB record.
- */
- public void setPnFbpChpFirst(int field_42_pnFbpChpFirst)
- {
- this.field_42_pnFbpChpFirst = field_42_pnFbpChpFirst;
- }
-
- /**
- * Get the pnChpFirst field for the FIB record.
- */
- public int getPnChpFirst()
- {
- return field_43_pnChpFirst;
- }
-
- /**
- * Set the pnChpFirst field for the FIB record.
- */
- public void setPnChpFirst(int field_43_pnChpFirst)
- {
- this.field_43_pnChpFirst = field_43_pnChpFirst;
- }
-
- /**
- * Get the cpnBteChp field for the FIB record.
- */
- public int getCpnBteChp()
- {
- return field_44_cpnBteChp;
- }
-
- /**
- * Set the cpnBteChp field for the FIB record.
- */
- public void setCpnBteChp(int field_44_cpnBteChp)
- {
- this.field_44_cpnBteChp = field_44_cpnBteChp;
- }
-
- /**
- * Get the pnFbpPapFirst field for the FIB record.
- */
- public int getPnFbpPapFirst()
- {
- return field_45_pnFbpPapFirst;
- }
-
- /**
- * Set the pnFbpPapFirst field for the FIB record.
- */
- public void setPnFbpPapFirst(int field_45_pnFbpPapFirst)
- {
- this.field_45_pnFbpPapFirst = field_45_pnFbpPapFirst;
- }
-
- /**
- * Get the pnPapFirst field for the FIB record.
- */
- public int getPnPapFirst()
- {
- return field_46_pnPapFirst;
- }
-
- /**
- * Set the pnPapFirst field for the FIB record.
- */
- public void setPnPapFirst(int field_46_pnPapFirst)
- {
- this.field_46_pnPapFirst = field_46_pnPapFirst;
- }
-
- /**
- * Get the cpnBtePap field for the FIB record.
- */
- public int getCpnBtePap()
- {
- return field_47_cpnBtePap;
- }
-
- /**
- * Set the cpnBtePap field for the FIB record.
- */
- public void setCpnBtePap(int field_47_cpnBtePap)
- {
- this.field_47_cpnBtePap = field_47_cpnBtePap;
- }
-
- /**
- * Get the pnFbpLvcFirst field for the FIB record.
- */
- public int getPnFbpLvcFirst()
- {
- return field_48_pnFbpLvcFirst;
- }
-
- /**
- * Set the pnFbpLvcFirst field for the FIB record.
- */
- public void setPnFbpLvcFirst(int field_48_pnFbpLvcFirst)
- {
- this.field_48_pnFbpLvcFirst = field_48_pnFbpLvcFirst;
- }
-
- /**
- * Get the pnLvcFirst field for the FIB record.
- */
- public int getPnLvcFirst()
- {
- return field_49_pnLvcFirst;
- }
-
- /**
- * Set the pnLvcFirst field for the FIB record.
- */
- public void setPnLvcFirst(int field_49_pnLvcFirst)
- {
- this.field_49_pnLvcFirst = field_49_pnLvcFirst;
- }
-
- /**
- * Get the cpnBteLvc field for the FIB record.
- */
- public int getCpnBteLvc()
- {
- return field_50_cpnBteLvc;
- }
-
- /**
- * Set the cpnBteLvc field for the FIB record.
- */
- public void setCpnBteLvc(int field_50_cpnBteLvc)
- {
- this.field_50_cpnBteLvc = field_50_cpnBteLvc;
- }
-
- /**
- * Get the fcIslandFirst field for the FIB record.
- */
- public int getFcIslandFirst()
- {
- return field_51_fcIslandFirst;
- }
-
- /**
- * Set the fcIslandFirst field for the FIB record.
- */
- public void setFcIslandFirst(int field_51_fcIslandFirst)
- {
- this.field_51_fcIslandFirst = field_51_fcIslandFirst;
- }
-
- /**
- * Get the fcIslandLim field for the FIB record.
- */
- public int getFcIslandLim()
- {
- return field_52_fcIslandLim;
- }
-
- /**
- * Set the fcIslandLim field for the FIB record.
- */
- public void setFcIslandLim(int field_52_fcIslandLim)
- {
- this.field_52_fcIslandLim = field_52_fcIslandLim;
- }
-
- /**
- * Get the cfclcb field for the FIB record.
- */
- public int getCfclcb()
- {
- return field_53_cfclcb;
- }
-
- /**
- * Set the cfclcb field for the FIB record.
- */
- public void setCfclcb(int field_53_cfclcb)
- {
- this.field_53_cfclcb = field_53_cfclcb;
- }
-
- /**
- * Get the fcStshfOrig field for the FIB record.
- */
- public int getFcStshfOrig()
- {
- return field_54_fcStshfOrig;
- }
-
- /**
- * Set the fcStshfOrig field for the FIB record.
- */
- public void setFcStshfOrig(int field_54_fcStshfOrig)
- {
- this.field_54_fcStshfOrig = field_54_fcStshfOrig;
- }
-
- /**
- * Get the lcbStshfOrig field for the FIB record.
- */
- public int getLcbStshfOrig()
- {
- return field_55_lcbStshfOrig;
- }
-
- /**
- * Set the lcbStshfOrig field for the FIB record.
- */
- public void setLcbStshfOrig(int field_55_lcbStshfOrig)
- {
- this.field_55_lcbStshfOrig = field_55_lcbStshfOrig;
- }
-
- /**
- * Get the fcStshf field for the FIB record.
- */
- public int getFcStshf()
- {
- return field_56_fcStshf;
- }
-
- /**
- * Set the fcStshf field for the FIB record.
- */
- public void setFcStshf(int field_56_fcStshf)
- {
- this.field_56_fcStshf = field_56_fcStshf;
- }
-
- /**
- * Get the lcbStshf field for the FIB record.
- */
- public int getLcbStshf()
- {
- return field_57_lcbStshf;
- }
-
- /**
- * Set the lcbStshf field for the FIB record.
- */
- public void setLcbStshf(int field_57_lcbStshf)
- {
- this.field_57_lcbStshf = field_57_lcbStshf;
- }
-
- /**
- * Get the fcPlcffndRef field for the FIB record.
- */
- public int getFcPlcffndRef()
- {
- return field_58_fcPlcffndRef;
- }
-
- /**
- * Set the fcPlcffndRef field for the FIB record.
- */
- public void setFcPlcffndRef(int field_58_fcPlcffndRef)
- {
- this.field_58_fcPlcffndRef = field_58_fcPlcffndRef;
- }
-
- /**
- * Get the lcbPlcffndRef field for the FIB record.
- */
- public int getLcbPlcffndRef()
- {
- return field_59_lcbPlcffndRef;
- }
-
- /**
- * Set the lcbPlcffndRef field for the FIB record.
- */
- public void setLcbPlcffndRef(int field_59_lcbPlcffndRef)
- {
- this.field_59_lcbPlcffndRef = field_59_lcbPlcffndRef;
- }
-
- /**
- * Get the fcPlcffndTxt field for the FIB record.
- */
- public int getFcPlcffndTxt()
- {
- return field_60_fcPlcffndTxt;
- }
-
- /**
- * Set the fcPlcffndTxt field for the FIB record.
- */
- public void setFcPlcffndTxt(int field_60_fcPlcffndTxt)
- {
- this.field_60_fcPlcffndTxt = field_60_fcPlcffndTxt;
- }
-
- /**
- * Get the lcbPlcffndTxt field for the FIB record.
- */
- public int getLcbPlcffndTxt()
- {
- return field_61_lcbPlcffndTxt;
- }
-
- /**
- * Set the lcbPlcffndTxt field for the FIB record.
- */
- public void setLcbPlcffndTxt(int field_61_lcbPlcffndTxt)
- {
- this.field_61_lcbPlcffndTxt = field_61_lcbPlcffndTxt;
- }
-
- /**
- * Get the fcPlcfandRef field for the FIB record.
- */
- public int getFcPlcfandRef()
- {
- return field_62_fcPlcfandRef;
- }
-
- /**
- * Set the fcPlcfandRef field for the FIB record.
- */
- public void setFcPlcfandRef(int field_62_fcPlcfandRef)
- {
- this.field_62_fcPlcfandRef = field_62_fcPlcfandRef;
- }
-
- /**
- * Get the lcbPlcfandRef field for the FIB record.
- */
- public int getLcbPlcfandRef()
- {
- return field_63_lcbPlcfandRef;
- }
-
- /**
- * Set the lcbPlcfandRef field for the FIB record.
- */
- public void setLcbPlcfandRef(int field_63_lcbPlcfandRef)
- {
- this.field_63_lcbPlcfandRef = field_63_lcbPlcfandRef;
- }
-
- /**
- * Get the fcPlcfandTxt field for the FIB record.
- */
- public int getFcPlcfandTxt()
- {
- return field_64_fcPlcfandTxt;
- }
-
- /**
- * Set the fcPlcfandTxt field for the FIB record.
- */
- public void setFcPlcfandTxt(int field_64_fcPlcfandTxt)
- {
- this.field_64_fcPlcfandTxt = field_64_fcPlcfandTxt;
- }
-
- /**
- * Get the lcbPlcfandTxt field for the FIB record.
- */
- public int getLcbPlcfandTxt()
- {
- return field_65_lcbPlcfandTxt;
- }
-
- /**
- * Set the lcbPlcfandTxt field for the FIB record.
- */
- public void setLcbPlcfandTxt(int field_65_lcbPlcfandTxt)
- {
- this.field_65_lcbPlcfandTxt = field_65_lcbPlcfandTxt;
- }
-
- /**
- * Get the fcPlcfsed field for the FIB record.
- */
- public int getFcPlcfsed()
- {
- return field_66_fcPlcfsed;
- }
-
- /**
- * Set the fcPlcfsed field for the FIB record.
- */
- public void setFcPlcfsed(int field_66_fcPlcfsed)
- {
- this.field_66_fcPlcfsed = field_66_fcPlcfsed;
- }
-
- /**
- * Get the lcbPlcfsed field for the FIB record.
- */
- public int getLcbPlcfsed()
- {
- return field_67_lcbPlcfsed;
- }
-
- /**
- * Set the lcbPlcfsed field for the FIB record.
- */
- public void setLcbPlcfsed(int field_67_lcbPlcfsed)
- {
- this.field_67_lcbPlcfsed = field_67_lcbPlcfsed;
- }
-
- /**
- * Get the fcPlcpad field for the FIB record.
- */
- public int getFcPlcpad()
- {
- return field_68_fcPlcpad;
- }
-
- /**
- * Set the fcPlcpad field for the FIB record.
- */
- public void setFcPlcpad(int field_68_fcPlcpad)
- {
- this.field_68_fcPlcpad = field_68_fcPlcpad;
- }
-
- /**
- * Get the lcbPlcpad field for the FIB record.
- */
- public int getLcbPlcpad()
- {
- return field_69_lcbPlcpad;
- }
-
- /**
- * Set the lcbPlcpad field for the FIB record.
- */
- public void setLcbPlcpad(int field_69_lcbPlcpad)
- {
- this.field_69_lcbPlcpad = field_69_lcbPlcpad;
- }
-
- /**
- * Get the fcPlcfphe field for the FIB record.
- */
- public int getFcPlcfphe()
- {
- return field_70_fcPlcfphe;
- }
-
- /**
- * Set the fcPlcfphe field for the FIB record.
- */
- public void setFcPlcfphe(int field_70_fcPlcfphe)
- {
- this.field_70_fcPlcfphe = field_70_fcPlcfphe;
- }
-
- /**
- * Get the lcbPlcfphe field for the FIB record.
- */
- public int getLcbPlcfphe()
- {
- return field_71_lcbPlcfphe;
- }
-
- /**
- * Set the lcbPlcfphe field for the FIB record.
- */
- public void setLcbPlcfphe(int field_71_lcbPlcfphe)
- {
- this.field_71_lcbPlcfphe = field_71_lcbPlcfphe;
- }
-
- /**
- * Get the fcSttbfglsy field for the FIB record.
- */
- public int getFcSttbfglsy()
- {
- return field_72_fcSttbfglsy;
- }
-
- /**
- * Set the fcSttbfglsy field for the FIB record.
- */
- public void setFcSttbfglsy(int field_72_fcSttbfglsy)
- {
- this.field_72_fcSttbfglsy = field_72_fcSttbfglsy;
- }
-
- /**
- * Get the lcbSttbfglsy field for the FIB record.
- */
- public int getLcbSttbfglsy()
- {
- return field_73_lcbSttbfglsy;
- }
-
- /**
- * Set the lcbSttbfglsy field for the FIB record.
- */
- public void setLcbSttbfglsy(int field_73_lcbSttbfglsy)
- {
- this.field_73_lcbSttbfglsy = field_73_lcbSttbfglsy;
- }
-
- /**
- * Get the fcPlcfglsy field for the FIB record.
- */
- public int getFcPlcfglsy()
- {
- return field_74_fcPlcfglsy;
- }
-
- /**
- * Set the fcPlcfglsy field for the FIB record.
- */
- public void setFcPlcfglsy(int field_74_fcPlcfglsy)
- {
- this.field_74_fcPlcfglsy = field_74_fcPlcfglsy;
- }
-
- /**
- * Get the lcbPlcfglsy field for the FIB record.
- */
- public int getLcbPlcfglsy()
- {
- return field_75_lcbPlcfglsy;
- }
-
- /**
- * Set the lcbPlcfglsy field for the FIB record.
- */
- public void setLcbPlcfglsy(int field_75_lcbPlcfglsy)
- {
- this.field_75_lcbPlcfglsy = field_75_lcbPlcfglsy;
- }
-
- /**
- * Get the fcPlcfhdd field for the FIB record.
- */
- public int getFcPlcfhdd()
- {
- return field_76_fcPlcfhdd;
- }
-
- /**
- * Set the fcPlcfhdd field for the FIB record.
- */
- public void setFcPlcfhdd(int field_76_fcPlcfhdd)
- {
- this.field_76_fcPlcfhdd = field_76_fcPlcfhdd;
- }
-
- /**
- * Get the lcbPlcfhdd field for the FIB record.
- */
- public int getLcbPlcfhdd()
- {
- return field_77_lcbPlcfhdd;
- }
-
- /**
- * Set the lcbPlcfhdd field for the FIB record.
- */
- public void setLcbPlcfhdd(int field_77_lcbPlcfhdd)
- {
- this.field_77_lcbPlcfhdd = field_77_lcbPlcfhdd;
- }
-
- /**
- * Get the fcPlcfbteChpx field for the FIB record.
- */
- public int getFcPlcfbteChpx()
- {
- return field_78_fcPlcfbteChpx;
- }
-
- /**
- * Set the fcPlcfbteChpx field for the FIB record.
- */
- public void setFcPlcfbteChpx(int field_78_fcPlcfbteChpx)
- {
- this.field_78_fcPlcfbteChpx = field_78_fcPlcfbteChpx;
- }
-
- /**
- * Get the lcbPlcfbteChpx field for the FIB record.
- */
- public int getLcbPlcfbteChpx()
- {
- return field_79_lcbPlcfbteChpx;
- }
-
- /**
- * Set the lcbPlcfbteChpx field for the FIB record.
- */
- public void setLcbPlcfbteChpx(int field_79_lcbPlcfbteChpx)
- {
- this.field_79_lcbPlcfbteChpx = field_79_lcbPlcfbteChpx;
- }
-
- /**
- * Get the fcPlcfbtePapx field for the FIB record.
- */
- public int getFcPlcfbtePapx()
- {
- return field_80_fcPlcfbtePapx;
- }
-
- /**
- * Set the fcPlcfbtePapx field for the FIB record.
- */
- public void setFcPlcfbtePapx(int field_80_fcPlcfbtePapx)
- {
- this.field_80_fcPlcfbtePapx = field_80_fcPlcfbtePapx;
- }
-
- /**
- * Get the lcbPlcfbtePapx field for the FIB record.
- */
- public int getLcbPlcfbtePapx()
- {
- return field_81_lcbPlcfbtePapx;
- }
-
- /**
- * Set the lcbPlcfbtePapx field for the FIB record.
- */
- public void setLcbPlcfbtePapx(int field_81_lcbPlcfbtePapx)
- {
- this.field_81_lcbPlcfbtePapx = field_81_lcbPlcfbtePapx;
- }
-
- /**
- * Get the fcPlcfsea field for the FIB record.
- */
- public int getFcPlcfsea()
- {
- return field_82_fcPlcfsea;
- }
-
- /**
- * Set the fcPlcfsea field for the FIB record.
- */
- public void setFcPlcfsea(int field_82_fcPlcfsea)
- {
- this.field_82_fcPlcfsea = field_82_fcPlcfsea;
- }
-
- /**
- * Get the lcbPlcfsea field for the FIB record.
- */
- public int getLcbPlcfsea()
- {
- return field_83_lcbPlcfsea;
- }
-
- /**
- * Set the lcbPlcfsea field for the FIB record.
- */
- public void setLcbPlcfsea(int field_83_lcbPlcfsea)
- {
- this.field_83_lcbPlcfsea = field_83_lcbPlcfsea;
- }
-
- /**
- * Get the fcSttbfffn field for the FIB record.
- */
- public int getFcSttbfffn()
- {
- return field_84_fcSttbfffn;
- }
-
- /**
- * Set the fcSttbfffn field for the FIB record.
- */
- public void setFcSttbfffn(int field_84_fcSttbfffn)
- {
- this.field_84_fcSttbfffn = field_84_fcSttbfffn;
- }
-
- /**
- * Get the lcbSttbfffn field for the FIB record.
- */
- public int getLcbSttbfffn()
- {
- return field_85_lcbSttbfffn;
- }
-
- /**
- * Set the lcbSttbfffn field for the FIB record.
- */
- public void setLcbSttbfffn(int field_85_lcbSttbfffn)
- {
- this.field_85_lcbSttbfffn = field_85_lcbSttbfffn;
- }
-
- /**
- * Get the fcPlcffldMom field for the FIB record.
- */
- public int getFcPlcffldMom()
- {
- return field_86_fcPlcffldMom;
- }
-
- /**
- * Set the fcPlcffldMom field for the FIB record.
- */
- public void setFcPlcffldMom(int field_86_fcPlcffldMom)
- {
- this.field_86_fcPlcffldMom = field_86_fcPlcffldMom;
- }
-
- /**
- * Get the lcbPlcffldMom field for the FIB record.
- */
- public int getLcbPlcffldMom()
- {
- return field_87_lcbPlcffldMom;
- }
-
- /**
- * Set the lcbPlcffldMom field for the FIB record.
- */
- public void setLcbPlcffldMom(int field_87_lcbPlcffldMom)
- {
- this.field_87_lcbPlcffldMom = field_87_lcbPlcffldMom;
- }
-
- /**
- * Get the fcPlcffldHdr field for the FIB record.
- */
- public int getFcPlcffldHdr()
- {
- return field_88_fcPlcffldHdr;
- }
-
- /**
- * Set the fcPlcffldHdr field for the FIB record.
- */
- public void setFcPlcffldHdr(int field_88_fcPlcffldHdr)
- {
- this.field_88_fcPlcffldHdr = field_88_fcPlcffldHdr;
- }
-
- /**
- * Get the lcbPlcffldHdr field for the FIB record.
- */
- public int getLcbPlcffldHdr()
- {
- return field_89_lcbPlcffldHdr;
- }
-
- /**
- * Set the lcbPlcffldHdr field for the FIB record.
- */
- public void setLcbPlcffldHdr(int field_89_lcbPlcffldHdr)
- {
- this.field_89_lcbPlcffldHdr = field_89_lcbPlcffldHdr;
- }
-
- /**
- * Get the fcPlcffldFtn field for the FIB record.
- */
- public int getFcPlcffldFtn()
- {
- return field_90_fcPlcffldFtn;
- }
-
- /**
- * Set the fcPlcffldFtn field for the FIB record.
- */
- public void setFcPlcffldFtn(int field_90_fcPlcffldFtn)
- {
- this.field_90_fcPlcffldFtn = field_90_fcPlcffldFtn;
- }
-
- /**
- * Get the lcbPlcffldFtn field for the FIB record.
- */
- public int getLcbPlcffldFtn()
- {
- return field_91_lcbPlcffldFtn;
- }
-
- /**
- * Set the lcbPlcffldFtn field for the FIB record.
- */
- public void setLcbPlcffldFtn(int field_91_lcbPlcffldFtn)
- {
- this.field_91_lcbPlcffldFtn = field_91_lcbPlcffldFtn;
- }
-
- /**
- * Get the fcPlcffldAtn field for the FIB record.
- */
- public int getFcPlcffldAtn()
- {
- return field_92_fcPlcffldAtn;
- }
-
- /**
- * Set the fcPlcffldAtn field for the FIB record.
- */
- public void setFcPlcffldAtn(int field_92_fcPlcffldAtn)
- {
- this.field_92_fcPlcffldAtn = field_92_fcPlcffldAtn;
- }
-
- /**
- * Get the lcbPlcffldAtn field for the FIB record.
- */
- public int getLcbPlcffldAtn()
- {
- return field_93_lcbPlcffldAtn;
- }
-
- /**
- * Set the lcbPlcffldAtn field for the FIB record.
- */
- public void setLcbPlcffldAtn(int field_93_lcbPlcffldAtn)
- {
- this.field_93_lcbPlcffldAtn = field_93_lcbPlcffldAtn;
- }
-
- /**
- * Get the fcPlcffldMcr field for the FIB record.
- */
- public int getFcPlcffldMcr()
- {
- return field_94_fcPlcffldMcr;
- }
-
- /**
- * Set the fcPlcffldMcr field for the FIB record.
- */
- public void setFcPlcffldMcr(int field_94_fcPlcffldMcr)
- {
- this.field_94_fcPlcffldMcr = field_94_fcPlcffldMcr;
- }
-
- /**
- * Get the lcbPlcffldMcr field for the FIB record.
- */
- public int getLcbPlcffldMcr()
- {
- return field_95_lcbPlcffldMcr;
- }
-
- /**
- * Set the lcbPlcffldMcr field for the FIB record.
- */
- public void setLcbPlcffldMcr(int field_95_lcbPlcffldMcr)
- {
- this.field_95_lcbPlcffldMcr = field_95_lcbPlcffldMcr;
- }
-
- /**
- * Get the fcSttbfbkmk field for the FIB record.
- */
- public int getFcSttbfbkmk()
- {
- return field_96_fcSttbfbkmk;
- }
-
- /**
- * Set the fcSttbfbkmk field for the FIB record.
- */
- public void setFcSttbfbkmk(int field_96_fcSttbfbkmk)
- {
- this.field_96_fcSttbfbkmk = field_96_fcSttbfbkmk;
- }
-
- /**
- * Get the lcbSttbfbkmk field for the FIB record.
- */
- public int getLcbSttbfbkmk()
- {
- return field_97_lcbSttbfbkmk;
- }
-
- /**
- * Set the lcbSttbfbkmk field for the FIB record.
- */
- public void setLcbSttbfbkmk(int field_97_lcbSttbfbkmk)
- {
- this.field_97_lcbSttbfbkmk = field_97_lcbSttbfbkmk;
- }
-
- /**
- * Get the fcPlcfbkf field for the FIB record.
- */
- public int getFcPlcfbkf()
- {
- return field_98_fcPlcfbkf;
- }
-
- /**
- * Set the fcPlcfbkf field for the FIB record.
- */
- public void setFcPlcfbkf(int field_98_fcPlcfbkf)
- {
- this.field_98_fcPlcfbkf = field_98_fcPlcfbkf;
- }
-
- /**
- * Get the lcbPlcfbkf field for the FIB record.
- */
- public int getLcbPlcfbkf()
- {
- return field_99_lcbPlcfbkf;
- }
-
- /**
- * Set the lcbPlcfbkf field for the FIB record.
- */
- public void setLcbPlcfbkf(int field_99_lcbPlcfbkf)
- {
- this.field_99_lcbPlcfbkf = field_99_lcbPlcfbkf;
- }
-
- /**
- * Get the fcPlcfbkl field for the FIB record.
- */
- public int getFcPlcfbkl()
- {
- return field_100_fcPlcfbkl;
- }
-
- /**
- * Set the fcPlcfbkl field for the FIB record.
- */
- public void setFcPlcfbkl(int field_100_fcPlcfbkl)
- {
- this.field_100_fcPlcfbkl = field_100_fcPlcfbkl;
- }
-
- /**
- * Get the lcbPlcfbkl field for the FIB record.
- */
- public int getLcbPlcfbkl()
- {
- return field_101_lcbPlcfbkl;
- }
-
- /**
- * Set the lcbPlcfbkl field for the FIB record.
- */
- public void setLcbPlcfbkl(int field_101_lcbPlcfbkl)
- {
- this.field_101_lcbPlcfbkl = field_101_lcbPlcfbkl;
- }
-
- /**
- * Get the fcCmds field for the FIB record.
- */
- public int getFcCmds()
- {
- return field_102_fcCmds;
- }
-
- /**
- * Set the fcCmds field for the FIB record.
- */
- public void setFcCmds(int field_102_fcCmds)
- {
- this.field_102_fcCmds = field_102_fcCmds;
- }
-
- /**
- * Get the lcbCmds field for the FIB record.
- */
- public int getLcbCmds()
- {
- return field_103_lcbCmds;
- }
-
- /**
- * Set the lcbCmds field for the FIB record.
- */
- public void setLcbCmds(int field_103_lcbCmds)
- {
- this.field_103_lcbCmds = field_103_lcbCmds;
- }
-
- /**
- * Get the fcPlcmcr field for the FIB record.
- */
- public int getFcPlcmcr()
- {
- return field_104_fcPlcmcr;
- }
-
- /**
- * Set the fcPlcmcr field for the FIB record.
- */
- public void setFcPlcmcr(int field_104_fcPlcmcr)
- {
- this.field_104_fcPlcmcr = field_104_fcPlcmcr;
- }
-
- /**
- * Get the lcbPlcmcr field for the FIB record.
- */
- public int getLcbPlcmcr()
- {
- return field_105_lcbPlcmcr;
- }
-
- /**
- * Set the lcbPlcmcr field for the FIB record.
- */
- public void setLcbPlcmcr(int field_105_lcbPlcmcr)
- {
- this.field_105_lcbPlcmcr = field_105_lcbPlcmcr;
- }
-
- /**
- * Get the fcSttbfmcr field for the FIB record.
- */
- public int getFcSttbfmcr()
- {
- return field_106_fcSttbfmcr;
- }
-
- /**
- * Set the fcSttbfmcr field for the FIB record.
- */
- public void setFcSttbfmcr(int field_106_fcSttbfmcr)
- {
- this.field_106_fcSttbfmcr = field_106_fcSttbfmcr;
- }
-
- /**
- * Get the lcbSttbfmcr field for the FIB record.
- */
- public int getLcbSttbfmcr()
- {
- return field_107_lcbSttbfmcr;
- }
-
- /**
- * Set the lcbSttbfmcr field for the FIB record.
- */
- public void setLcbSttbfmcr(int field_107_lcbSttbfmcr)
- {
- this.field_107_lcbSttbfmcr = field_107_lcbSttbfmcr;
- }
-
- /**
- * Get the fcPrDrvr field for the FIB record.
- */
- public int getFcPrDrvr()
- {
- return field_108_fcPrDrvr;
- }
-
- /**
- * Set the fcPrDrvr field for the FIB record.
- */
- public void setFcPrDrvr(int field_108_fcPrDrvr)
- {
- this.field_108_fcPrDrvr = field_108_fcPrDrvr;
- }
-
- /**
- * Get the lcbPrDrvr field for the FIB record.
- */
- public int getLcbPrDrvr()
- {
- return field_109_lcbPrDrvr;
- }
-
- /**
- * Set the lcbPrDrvr field for the FIB record.
- */
- public void setLcbPrDrvr(int field_109_lcbPrDrvr)
- {
- this.field_109_lcbPrDrvr = field_109_lcbPrDrvr;
- }
-
- /**
- * Get the fcPrEnvPort field for the FIB record.
- */
- public int getFcPrEnvPort()
- {
- return field_110_fcPrEnvPort;
- }
-
- /**
- * Set the fcPrEnvPort field for the FIB record.
- */
- public void setFcPrEnvPort(int field_110_fcPrEnvPort)
- {
- this.field_110_fcPrEnvPort = field_110_fcPrEnvPort;
- }
-
- /**
- * Get the lcbPrEnvPort field for the FIB record.
- */
- public int getLcbPrEnvPort()
- {
- return field_111_lcbPrEnvPort;
- }
-
- /**
- * Set the lcbPrEnvPort field for the FIB record.
- */
- public void setLcbPrEnvPort(int field_111_lcbPrEnvPort)
- {
- this.field_111_lcbPrEnvPort = field_111_lcbPrEnvPort;
- }
-
- /**
- * Get the fcPrEnvLand field for the FIB record.
- */
- public int getFcPrEnvLand()
- {
- return field_112_fcPrEnvLand;
- }
-
- /**
- * Set the fcPrEnvLand field for the FIB record.
- */
- public void setFcPrEnvLand(int field_112_fcPrEnvLand)
- {
- this.field_112_fcPrEnvLand = field_112_fcPrEnvLand;
- }
-
- /**
- * Get the lcbPrEnvLand field for the FIB record.
- */
- public int getLcbPrEnvLand()
- {
- return field_113_lcbPrEnvLand;
- }
-
- /**
- * Set the lcbPrEnvLand field for the FIB record.
- */
- public void setLcbPrEnvLand(int field_113_lcbPrEnvLand)
- {
- this.field_113_lcbPrEnvLand = field_113_lcbPrEnvLand;
- }
-
- /**
- * Get the fcWss field for the FIB record.
- */
- public int getFcWss()
- {
- return field_114_fcWss;
- }
-
- /**
- * Set the fcWss field for the FIB record.
- */
- public void setFcWss(int field_114_fcWss)
- {
- this.field_114_fcWss = field_114_fcWss;
- }
-
- /**
- * Get the lcbWss field for the FIB record.
- */
- public int getLcbWss()
- {
- return field_115_lcbWss;
- }
-
- /**
- * Set the lcbWss field for the FIB record.
- */
- public void setLcbWss(int field_115_lcbWss)
- {
- this.field_115_lcbWss = field_115_lcbWss;
- }
-
- /**
- * Get the fcDop field for the FIB record.
- */
- public int getFcDop()
- {
- return field_116_fcDop;
- }
-
- /**
- * Set the fcDop field for the FIB record.
- */
- public void setFcDop(int field_116_fcDop)
- {
- this.field_116_fcDop = field_116_fcDop;
- }
-
- /**
- * Get the lcbDop field for the FIB record.
- */
- public int getLcbDop()
- {
- return field_117_lcbDop;
- }
-
- /**
- * Set the lcbDop field for the FIB record.
- */
- public void setLcbDop(int field_117_lcbDop)
- {
- this.field_117_lcbDop = field_117_lcbDop;
- }
-
- /**
- * Get the fcSttbfAssoc field for the FIB record.
- */
- public int getFcSttbfAssoc()
- {
- return field_118_fcSttbfAssoc;
- }
-
- /**
- * Set the fcSttbfAssoc field for the FIB record.
- */
- public void setFcSttbfAssoc(int field_118_fcSttbfAssoc)
- {
- this.field_118_fcSttbfAssoc = field_118_fcSttbfAssoc;
- }
-
- /**
- * Get the lcbSttbfAssoc field for the FIB record.
- */
- public int getLcbSttbfAssoc()
- {
- return field_119_lcbSttbfAssoc;
- }
-
- /**
- * Set the lcbSttbfAssoc field for the FIB record.
- */
- public void setLcbSttbfAssoc(int field_119_lcbSttbfAssoc)
- {
- this.field_119_lcbSttbfAssoc = field_119_lcbSttbfAssoc;
- }
-
- /**
- * Get the fcClx field for the FIB record.
- */
- public int getFcClx()
- {
- return field_120_fcClx;
- }
-
- /**
- * Set the fcClx field for the FIB record.
- */
- public void setFcClx(int field_120_fcClx)
- {
- this.field_120_fcClx = field_120_fcClx;
- }
-
- /**
- * Get the lcbClx field for the FIB record.
- */
- public int getLcbClx()
- {
- return field_121_lcbClx;
- }
-
- /**
- * Set the lcbClx field for the FIB record.
- */
- public void setLcbClx(int field_121_lcbClx)
- {
- this.field_121_lcbClx = field_121_lcbClx;
- }
-
- /**
- * Get the fcPlcfpgdFtn field for the FIB record.
- */
- public int getFcPlcfpgdFtn()
- {
- return field_122_fcPlcfpgdFtn;
- }
-
- /**
- * Set the fcPlcfpgdFtn field for the FIB record.
- */
- public void setFcPlcfpgdFtn(int field_122_fcPlcfpgdFtn)
- {
- this.field_122_fcPlcfpgdFtn = field_122_fcPlcfpgdFtn;
- }
-
- /**
- * Get the lcbPlcfpgdFtn field for the FIB record.
- */
- public int getLcbPlcfpgdFtn()
- {
- return field_123_lcbPlcfpgdFtn;
- }
-
- /**
- * Set the lcbPlcfpgdFtn field for the FIB record.
- */
- public void setLcbPlcfpgdFtn(int field_123_lcbPlcfpgdFtn)
- {
- this.field_123_lcbPlcfpgdFtn = field_123_lcbPlcfpgdFtn;
- }
-
- /**
- * Get the fcAutosaveSource field for the FIB record.
- */
- public int getFcAutosaveSource()
- {
- return field_124_fcAutosaveSource;
- }
-
- /**
- * Set the fcAutosaveSource field for the FIB record.
- */
- public void setFcAutosaveSource(int field_124_fcAutosaveSource)
- {
- this.field_124_fcAutosaveSource = field_124_fcAutosaveSource;
- }
-
- /**
- * Get the lcbAutosaveSource field for the FIB record.
- */
- public int getLcbAutosaveSource()
- {
- return field_125_lcbAutosaveSource;
- }
-
- /**
- * Set the lcbAutosaveSource field for the FIB record.
- */
- public void setLcbAutosaveSource(int field_125_lcbAutosaveSource)
- {
- this.field_125_lcbAutosaveSource = field_125_lcbAutosaveSource;
- }
-
- /**
- * Get the fcGrpXstAtnOwners field for the FIB record.
- */
- public int getFcGrpXstAtnOwners()
- {
- return field_126_fcGrpXstAtnOwners;
- }
-
- /**
- * Set the fcGrpXstAtnOwners field for the FIB record.
- */
- public void setFcGrpXstAtnOwners(int field_126_fcGrpXstAtnOwners)
- {
- this.field_126_fcGrpXstAtnOwners = field_126_fcGrpXstAtnOwners;
- }
-
- /**
- * Get the lcbGrpXstAtnOwners field for the FIB record.
- */
- public int getLcbGrpXstAtnOwners()
- {
- return field_127_lcbGrpXstAtnOwners;
- }
-
- /**
- * Set the lcbGrpXstAtnOwners field for the FIB record.
- */
- public void setLcbGrpXstAtnOwners(int field_127_lcbGrpXstAtnOwners)
- {
- this.field_127_lcbGrpXstAtnOwners = field_127_lcbGrpXstAtnOwners;
- }
-
- /**
- * Get the fcSttbfAtnbkmk field for the FIB record.
- */
- public int getFcSttbfAtnbkmk()
- {
- return field_128_fcSttbfAtnbkmk;
- }
-
- /**
- * Set the fcSttbfAtnbkmk field for the FIB record.
- */
- public void setFcSttbfAtnbkmk(int field_128_fcSttbfAtnbkmk)
- {
- this.field_128_fcSttbfAtnbkmk = field_128_fcSttbfAtnbkmk;
- }
-
- /**
- * Get the lcbSttbfAtnbkmk field for the FIB record.
- */
- public int getLcbSttbfAtnbkmk()
- {
- return field_129_lcbSttbfAtnbkmk;
- }
-
- /**
- * Set the lcbSttbfAtnbkmk field for the FIB record.
- */
- public void setLcbSttbfAtnbkmk(int field_129_lcbSttbfAtnbkmk)
- {
- this.field_129_lcbSttbfAtnbkmk = field_129_lcbSttbfAtnbkmk;
- }
-
- /**
- * Get the fcPlcdoaMom field for the FIB record.
- */
- public int getFcPlcdoaMom()
- {
- return field_130_fcPlcdoaMom;
- }
-
- /**
- * Set the fcPlcdoaMom field for the FIB record.
- */
- public void setFcPlcdoaMom(int field_130_fcPlcdoaMom)
- {
- this.field_130_fcPlcdoaMom = field_130_fcPlcdoaMom;
- }
-
- /**
- * Get the lcbPlcdoaMom field for the FIB record.
- */
- public int getLcbPlcdoaMom()
- {
- return field_131_lcbPlcdoaMom;
- }
-
- /**
- * Set the lcbPlcdoaMom field for the FIB record.
- */
- public void setLcbPlcdoaMom(int field_131_lcbPlcdoaMom)
- {
- this.field_131_lcbPlcdoaMom = field_131_lcbPlcdoaMom;
- }
-
- /**
- * Get the fcPlcdoaHdr field for the FIB record.
- */
- public int getFcPlcdoaHdr()
- {
- return field_132_fcPlcdoaHdr;
- }
-
- /**
- * Set the fcPlcdoaHdr field for the FIB record.
- */
- public void setFcPlcdoaHdr(int field_132_fcPlcdoaHdr)
- {
- this.field_132_fcPlcdoaHdr = field_132_fcPlcdoaHdr;
- }
-
- /**
- * Get the lcbPlcdoaHdr field for the FIB record.
- */
- public int getLcbPlcdoaHdr()
- {
- return field_133_lcbPlcdoaHdr;
- }
-
- /**
- * Set the lcbPlcdoaHdr field for the FIB record.
- */
- public void setLcbPlcdoaHdr(int field_133_lcbPlcdoaHdr)
- {
- this.field_133_lcbPlcdoaHdr = field_133_lcbPlcdoaHdr;
- }
-
- /**
- * Get the fcPlcspaMom field for the FIB record.
- */
- public int getFcPlcspaMom()
- {
- return field_134_fcPlcspaMom;
- }
-
- /**
- * Set the fcPlcspaMom field for the FIB record.
- */
- public void setFcPlcspaMom(int field_134_fcPlcspaMom)
- {
- this.field_134_fcPlcspaMom = field_134_fcPlcspaMom;
- }
-
- /**
- * Get the lcbPlcspaMom field for the FIB record.
- */
- public int getLcbPlcspaMom()
- {
- return field_135_lcbPlcspaMom;
- }
-
- /**
- * Set the lcbPlcspaMom field for the FIB record.
- */
- public void setLcbPlcspaMom(int field_135_lcbPlcspaMom)
- {
- this.field_135_lcbPlcspaMom = field_135_lcbPlcspaMom;
- }
-
- /**
- * Get the fcPlcspaHdr field for the FIB record.
- */
- public int getFcPlcspaHdr()
- {
- return field_136_fcPlcspaHdr;
- }
-
- /**
- * Set the fcPlcspaHdr field for the FIB record.
- */
- public void setFcPlcspaHdr(int field_136_fcPlcspaHdr)
- {
- this.field_136_fcPlcspaHdr = field_136_fcPlcspaHdr;
- }
-
- /**
- * Get the lcbPlcspaHdr field for the FIB record.
- */
- public int getLcbPlcspaHdr()
- {
- return field_137_lcbPlcspaHdr;
- }
-
- /**
- * Set the lcbPlcspaHdr field for the FIB record.
- */
- public void setLcbPlcspaHdr(int field_137_lcbPlcspaHdr)
- {
- this.field_137_lcbPlcspaHdr = field_137_lcbPlcspaHdr;
- }
-
- /**
- * Get the fcPlcfAtnbkf field for the FIB record.
- */
- public int getFcPlcfAtnbkf()
- {
- return field_138_fcPlcfAtnbkf;
- }
-
- /**
- * Set the fcPlcfAtnbkf field for the FIB record.
- */
- public void setFcPlcfAtnbkf(int field_138_fcPlcfAtnbkf)
- {
- this.field_138_fcPlcfAtnbkf = field_138_fcPlcfAtnbkf;
- }
-
- /**
- * Get the lcbPlcfAtnbkf field for the FIB record.
- */
- public int getLcbPlcfAtnbkf()
- {
- return field_139_lcbPlcfAtnbkf;
- }
-
- /**
- * Set the lcbPlcfAtnbkf field for the FIB record.
- */
- public void setLcbPlcfAtnbkf(int field_139_lcbPlcfAtnbkf)
- {
- this.field_139_lcbPlcfAtnbkf = field_139_lcbPlcfAtnbkf;
- }
-
- /**
- * Get the fcPlcfAtnbkl field for the FIB record.
- */
- public int getFcPlcfAtnbkl()
- {
- return field_140_fcPlcfAtnbkl;
- }
-
- /**
- * Set the fcPlcfAtnbkl field for the FIB record.
- */
- public void setFcPlcfAtnbkl(int field_140_fcPlcfAtnbkl)
- {
- this.field_140_fcPlcfAtnbkl = field_140_fcPlcfAtnbkl;
- }
-
- /**
- * Get the lcbPlcfAtnbkl field for the FIB record.
- */
- public int getLcbPlcfAtnbkl()
- {
- return field_141_lcbPlcfAtnbkl;
- }
-
- /**
- * Set the lcbPlcfAtnbkl field for the FIB record.
- */
- public void setLcbPlcfAtnbkl(int field_141_lcbPlcfAtnbkl)
- {
- this.field_141_lcbPlcfAtnbkl = field_141_lcbPlcfAtnbkl;
- }
-
- /**
- * Get the fcPms field for the FIB record.
- */
- public int getFcPms()
- {
- return field_142_fcPms;
- }
-
- /**
- * Set the fcPms field for the FIB record.
- */
- public void setFcPms(int field_142_fcPms)
- {
- this.field_142_fcPms = field_142_fcPms;
- }
-
- /**
- * Get the lcbPms field for the FIB record.
- */
- public int getLcbPms()
- {
- return field_143_lcbPms;
- }
-
- /**
- * Set the lcbPms field for the FIB record.
- */
- public void setLcbPms(int field_143_lcbPms)
- {
- this.field_143_lcbPms = field_143_lcbPms;
- }
-
- /**
- * Get the fcFormFldSttbs field for the FIB record.
- */
- public int getFcFormFldSttbs()
- {
- return field_144_fcFormFldSttbs;
- }
-
- /**
- * Set the fcFormFldSttbs field for the FIB record.
- */
- public void setFcFormFldSttbs(int field_144_fcFormFldSttbs)
- {
- this.field_144_fcFormFldSttbs = field_144_fcFormFldSttbs;
- }
-
- /**
- * Get the lcbFormFldSttbs field for the FIB record.
- */
- public int getLcbFormFldSttbs()
- {
- return field_145_lcbFormFldSttbs;
- }
-
- /**
- * Set the lcbFormFldSttbs field for the FIB record.
- */
- public void setLcbFormFldSttbs(int field_145_lcbFormFldSttbs)
- {
- this.field_145_lcbFormFldSttbs = field_145_lcbFormFldSttbs;
- }
-
- /**
- * Get the fcPlcfendRef field for the FIB record.
- */
- public int getFcPlcfendRef()
- {
- return field_146_fcPlcfendRef;
- }
-
- /**
- * Set the fcPlcfendRef field for the FIB record.
- */
- public void setFcPlcfendRef(int field_146_fcPlcfendRef)
- {
- this.field_146_fcPlcfendRef = field_146_fcPlcfendRef;
- }
-
- /**
- * Get the lcbPlcfendRef field for the FIB record.
- */
- public int getLcbPlcfendRef()
- {
- return field_147_lcbPlcfendRef;
- }
-
- /**
- * Set the lcbPlcfendRef field for the FIB record.
- */
- public void setLcbPlcfendRef(int field_147_lcbPlcfendRef)
- {
- this.field_147_lcbPlcfendRef = field_147_lcbPlcfendRef;
- }
-
- /**
- * Get the fcPlcfendTxt field for the FIB record.
- */
- public int getFcPlcfendTxt()
- {
- return field_148_fcPlcfendTxt;
- }
-
- /**
- * Set the fcPlcfendTxt field for the FIB record.
- */
- public void setFcPlcfendTxt(int field_148_fcPlcfendTxt)
- {
- this.field_148_fcPlcfendTxt = field_148_fcPlcfendTxt;
- }
-
- /**
- * Get the lcbPlcfendTxt field for the FIB record.
- */
- public int getLcbPlcfendTxt()
- {
- return field_149_lcbPlcfendTxt;
- }
-
- /**
- * Set the lcbPlcfendTxt field for the FIB record.
- */
- public void setLcbPlcfendTxt(int field_149_lcbPlcfendTxt)
- {
- this.field_149_lcbPlcfendTxt = field_149_lcbPlcfendTxt;
- }
-
- /**
- * Get the fcPlcffldEdn field for the FIB record.
- */
- public int getFcPlcffldEdn()
- {
- return field_150_fcPlcffldEdn;
- }
-
- /**
- * Set the fcPlcffldEdn field for the FIB record.
- */
- public void setFcPlcffldEdn(int field_150_fcPlcffldEdn)
- {
- this.field_150_fcPlcffldEdn = field_150_fcPlcffldEdn;
- }
-
- /**
- * Get the lcbPlcffldEdn field for the FIB record.
- */
- public int getLcbPlcffldEdn()
- {
- return field_151_lcbPlcffldEdn;
- }
-
- /**
- * Set the lcbPlcffldEdn field for the FIB record.
- */
- public void setLcbPlcffldEdn(int field_151_lcbPlcffldEdn)
- {
- this.field_151_lcbPlcffldEdn = field_151_lcbPlcffldEdn;
- }
-
- /**
- * Get the fcPlcfpgdEdn field for the FIB record.
- */
- public int getFcPlcfpgdEdn()
- {
- return field_152_fcPlcfpgdEdn;
- }
-
- /**
- * Set the fcPlcfpgdEdn field for the FIB record.
- */
- public void setFcPlcfpgdEdn(int field_152_fcPlcfpgdEdn)
- {
- this.field_152_fcPlcfpgdEdn = field_152_fcPlcfpgdEdn;
- }
-
- /**
- * Get the lcbPlcfpgdEdn field for the FIB record.
- */
- public int getLcbPlcfpgdEdn()
- {
- return field_153_lcbPlcfpgdEdn;
- }
-
- /**
- * Set the lcbPlcfpgdEdn field for the FIB record.
- */
- public void setLcbPlcfpgdEdn(int field_153_lcbPlcfpgdEdn)
- {
- this.field_153_lcbPlcfpgdEdn = field_153_lcbPlcfpgdEdn;
- }
-
- /**
- * Get the fcDggInfo field for the FIB record.
- */
- public int getFcDggInfo()
- {
- return field_154_fcDggInfo;
- }
-
- /**
- * Set the fcDggInfo field for the FIB record.
- */
- public void setFcDggInfo(int field_154_fcDggInfo)
- {
- this.field_154_fcDggInfo = field_154_fcDggInfo;
- }
-
- /**
- * Get the lcbDggInfo field for the FIB record.
- */
- public int getLcbDggInfo()
- {
- return field_155_lcbDggInfo;
- }
-
- /**
- * Set the lcbDggInfo field for the FIB record.
- */
- public void setLcbDggInfo(int field_155_lcbDggInfo)
- {
- this.field_155_lcbDggInfo = field_155_lcbDggInfo;
- }
-
- /**
- * Get the fcSttbfRMark field for the FIB record.
- */
- public int getFcSttbfRMark()
- {
- return field_156_fcSttbfRMark;
- }
-
- /**
- * Set the fcSttbfRMark field for the FIB record.
- */
- public void setFcSttbfRMark(int field_156_fcSttbfRMark)
- {
- this.field_156_fcSttbfRMark = field_156_fcSttbfRMark;
- }
-
- /**
- * Get the lcbSttbfRMark field for the FIB record.
- */
- public int getLcbSttbfRMark()
- {
- return field_157_lcbSttbfRMark;
- }
-
- /**
- * Set the lcbSttbfRMark field for the FIB record.
- */
- public void setLcbSttbfRMark(int field_157_lcbSttbfRMark)
- {
- this.field_157_lcbSttbfRMark = field_157_lcbSttbfRMark;
- }
-
- /**
- * Get the fcSttbCaption field for the FIB record.
- */
- public int getFcSttbCaption()
- {
- return field_158_fcSttbCaption;
- }
-
- /**
- * Set the fcSttbCaption field for the FIB record.
- */
- public void setFcSttbCaption(int field_158_fcSttbCaption)
- {
- this.field_158_fcSttbCaption = field_158_fcSttbCaption;
- }
-
- /**
- * Get the lcbSttbCaption field for the FIB record.
- */
- public int getLcbSttbCaption()
- {
- return field_159_lcbSttbCaption;
- }
-
- /**
- * Set the lcbSttbCaption field for the FIB record.
- */
- public void setLcbSttbCaption(int field_159_lcbSttbCaption)
- {
- this.field_159_lcbSttbCaption = field_159_lcbSttbCaption;
- }
-
- /**
- * Get the fcSttbAutoCaption field for the FIB record.
- */
- public int getFcSttbAutoCaption()
- {
- return field_160_fcSttbAutoCaption;
- }
-
- /**
- * Set the fcSttbAutoCaption field for the FIB record.
- */
- public void setFcSttbAutoCaption(int field_160_fcSttbAutoCaption)
- {
- this.field_160_fcSttbAutoCaption = field_160_fcSttbAutoCaption;
- }
-
- /**
- * Get the lcbSttbAutoCaption field for the FIB record.
- */
- public int getLcbSttbAutoCaption()
- {
- return field_161_lcbSttbAutoCaption;
- }
-
- /**
- * Set the lcbSttbAutoCaption field for the FIB record.
- */
- public void setLcbSttbAutoCaption(int field_161_lcbSttbAutoCaption)
- {
- this.field_161_lcbSttbAutoCaption = field_161_lcbSttbAutoCaption;
- }
-
- /**
- * Get the fcPlcfwkb field for the FIB record.
- */
- public int getFcPlcfwkb()
- {
- return field_162_fcPlcfwkb;
- }
-
- /**
- * Set the fcPlcfwkb field for the FIB record.
- */
- public void setFcPlcfwkb(int field_162_fcPlcfwkb)
- {
- this.field_162_fcPlcfwkb = field_162_fcPlcfwkb;
- }
-
- /**
- * Get the lcbPlcfwkb field for the FIB record.
- */
- public int getLcbPlcfwkb()
- {
- return field_163_lcbPlcfwkb;
- }
-
- /**
- * Set the lcbPlcfwkb field for the FIB record.
- */
- public void setLcbPlcfwkb(int field_163_lcbPlcfwkb)
- {
- this.field_163_lcbPlcfwkb = field_163_lcbPlcfwkb;
- }
-
- /**
- * Get the fcPlcfspl field for the FIB record.
- */
- public int getFcPlcfspl()
- {
- return field_164_fcPlcfspl;
- }
-
- /**
- * Set the fcPlcfspl field for the FIB record.
- */
- public void setFcPlcfspl(int field_164_fcPlcfspl)
- {
- this.field_164_fcPlcfspl = field_164_fcPlcfspl;
- }
-
- /**
- * Get the lcbPlcfspl field for the FIB record.
- */
- public int getLcbPlcfspl()
- {
- return field_165_lcbPlcfspl;
- }
-
- /**
- * Set the lcbPlcfspl field for the FIB record.
- */
- public void setLcbPlcfspl(int field_165_lcbPlcfspl)
- {
- this.field_165_lcbPlcfspl = field_165_lcbPlcfspl;
- }
-
- /**
- * Get the fcPlcftxbxTxt field for the FIB record.
- */
- public int getFcPlcftxbxTxt()
- {
- return field_166_fcPlcftxbxTxt;
- }
-
- /**
- * Set the fcPlcftxbxTxt field for the FIB record.
- */
- public void setFcPlcftxbxTxt(int field_166_fcPlcftxbxTxt)
- {
- this.field_166_fcPlcftxbxTxt = field_166_fcPlcftxbxTxt;
- }
-
- /**
- * Get the lcbPlcftxbxTxt field for the FIB record.
- */
- public int getLcbPlcftxbxTxt()
- {
- return field_167_lcbPlcftxbxTxt;
- }
-
- /**
- * Set the lcbPlcftxbxTxt field for the FIB record.
- */
- public void setLcbPlcftxbxTxt(int field_167_lcbPlcftxbxTxt)
- {
- this.field_167_lcbPlcftxbxTxt = field_167_lcbPlcftxbxTxt;
- }
-
- /**
- * Get the fcPlcffldTxbx field for the FIB record.
- */
- public int getFcPlcffldTxbx()
- {
- return field_168_fcPlcffldTxbx;
- }
-
- /**
- * Set the fcPlcffldTxbx field for the FIB record.
- */
- public void setFcPlcffldTxbx(int field_168_fcPlcffldTxbx)
- {
- this.field_168_fcPlcffldTxbx = field_168_fcPlcffldTxbx;
- }
-
- /**
- * Get the lcbPlcffldTxbx field for the FIB record.
- */
- public int getLcbPlcffldTxbx()
- {
- return field_169_lcbPlcffldTxbx;
- }
-
- /**
- * Set the lcbPlcffldTxbx field for the FIB record.
- */
- public void setLcbPlcffldTxbx(int field_169_lcbPlcffldTxbx)
- {
- this.field_169_lcbPlcffldTxbx = field_169_lcbPlcffldTxbx;
- }
-
- /**
- * Get the fcPlcfhdrtxbxTxt field for the FIB record.
- */
- public int getFcPlcfhdrtxbxTxt()
- {
- return field_170_fcPlcfhdrtxbxTxt;
- }
-
- /**
- * Set the fcPlcfhdrtxbxTxt field for the FIB record.
- */
- public void setFcPlcfhdrtxbxTxt(int field_170_fcPlcfhdrtxbxTxt)
- {
- this.field_170_fcPlcfhdrtxbxTxt = field_170_fcPlcfhdrtxbxTxt;
- }
-
- /**
- * Get the lcbPlcfhdrtxbxTxt field for the FIB record.
- */
- public int getLcbPlcfhdrtxbxTxt()
- {
- return field_171_lcbPlcfhdrtxbxTxt;
- }
-
- /**
- * Set the lcbPlcfhdrtxbxTxt field for the FIB record.
- */
- public void setLcbPlcfhdrtxbxTxt(int field_171_lcbPlcfhdrtxbxTxt)
- {
- this.field_171_lcbPlcfhdrtxbxTxt = field_171_lcbPlcfhdrtxbxTxt;
- }
-
- /**
- * Get the fcPlcffldHdrTxbx field for the FIB record.
- */
- public int getFcPlcffldHdrTxbx()
- {
- return field_172_fcPlcffldHdrTxbx;
- }
-
- /**
- * Set the fcPlcffldHdrTxbx field for the FIB record.
- */
- public void setFcPlcffldHdrTxbx(int field_172_fcPlcffldHdrTxbx)
- {
- this.field_172_fcPlcffldHdrTxbx = field_172_fcPlcffldHdrTxbx;
- }
-
- /**
- * Get the lcbPlcffldHdrTxbx field for the FIB record.
- */
- public int getLcbPlcffldHdrTxbx()
- {
- return field_173_lcbPlcffldHdrTxbx;
- }
-
- /**
- * Set the lcbPlcffldHdrTxbx field for the FIB record.
- */
- public void setLcbPlcffldHdrTxbx(int field_173_lcbPlcffldHdrTxbx)
- {
- this.field_173_lcbPlcffldHdrTxbx = field_173_lcbPlcffldHdrTxbx;
- }
-
- /**
- * Get the fcStwUser field for the FIB record.
- */
- public int getFcStwUser()
- {
- return field_174_fcStwUser;
- }
-
- /**
- * Set the fcStwUser field for the FIB record.
- */
- public void setFcStwUser(int field_174_fcStwUser)
- {
- this.field_174_fcStwUser = field_174_fcStwUser;
- }
-
- /**
- * Get the lcbStwUser field for the FIB record.
- */
- public int getLcbStwUser()
- {
- return field_175_lcbStwUser;
- }
-
- /**
- * Set the lcbStwUser field for the FIB record.
- */
- public void setLcbStwUser(int field_175_lcbStwUser)
- {
- this.field_175_lcbStwUser = field_175_lcbStwUser;
- }
-
- /**
- * Get the fcSttbttmbd field for the FIB record.
- */
- public int getFcSttbttmbd()
- {
- return field_176_fcSttbttmbd;
- }
-
- /**
- * Set the fcSttbttmbd field for the FIB record.
- */
- public void setFcSttbttmbd(int field_176_fcSttbttmbd)
- {
- this.field_176_fcSttbttmbd = field_176_fcSttbttmbd;
- }
-
- /**
- * Get the cbSttbttmbd field for the FIB record.
- */
- public int getCbSttbttmbd()
- {
- return field_177_cbSttbttmbd;
- }
-
- /**
- * Set the cbSttbttmbd field for the FIB record.
- */
- public void setCbSttbttmbd(int field_177_cbSttbttmbd)
- {
- this.field_177_cbSttbttmbd = field_177_cbSttbttmbd;
- }
-
- /**
- * Get the fcUnused field for the FIB record.
- */
- public int getFcUnused()
- {
- return field_178_fcUnused;
- }
-
- /**
- * Set the fcUnused field for the FIB record.
- */
- public void setFcUnused(int field_178_fcUnused)
- {
- this.field_178_fcUnused = field_178_fcUnused;
- }
-
- /**
- * Get the lcbUnused field for the FIB record.
- */
- public int getLcbUnused()
- {
- return field_179_lcbUnused;
- }
-
- /**
- * Set the lcbUnused field for the FIB record.
- */
- public void setLcbUnused(int field_179_lcbUnused)
- {
- this.field_179_lcbUnused = field_179_lcbUnused;
- }
-
- /**
- * Get the fcPgdMother field for the FIB record.
- */
- public int getFcPgdMother()
- {
- return field_180_fcPgdMother;
- }
-
- /**
- * Set the fcPgdMother field for the FIB record.
- */
- public void setFcPgdMother(int field_180_fcPgdMother)
- {
- this.field_180_fcPgdMother = field_180_fcPgdMother;
- }
-
- /**
- * Get the lcbPgdMother field for the FIB record.
- */
- public int getLcbPgdMother()
- {
- return field_181_lcbPgdMother;
- }
-
- /**
- * Set the lcbPgdMother field for the FIB record.
- */
- public void setLcbPgdMother(int field_181_lcbPgdMother)
- {
- this.field_181_lcbPgdMother = field_181_lcbPgdMother;
- }
-
- /**
- * Get the fcBkdMother field for the FIB record.
- */
- public int getFcBkdMother()
- {
- return field_182_fcBkdMother;
- }
-
- /**
- * Set the fcBkdMother field for the FIB record.
- */
- public void setFcBkdMother(int field_182_fcBkdMother)
- {
- this.field_182_fcBkdMother = field_182_fcBkdMother;
- }
-
- /**
- * Get the lcbBkdMother field for the FIB record.
- */
- public int getLcbBkdMother()
- {
- return field_183_lcbBkdMother;
- }
-
- /**
- * Set the lcbBkdMother field for the FIB record.
- */
- public void setLcbBkdMother(int field_183_lcbBkdMother)
- {
- this.field_183_lcbBkdMother = field_183_lcbBkdMother;
- }
-
- /**
- * Get the fcPgdFtn field for the FIB record.
- */
- public int getFcPgdFtn()
- {
- return field_184_fcPgdFtn;
- }
-
- /**
- * Set the fcPgdFtn field for the FIB record.
- */
- public void setFcPgdFtn(int field_184_fcPgdFtn)
- {
- this.field_184_fcPgdFtn = field_184_fcPgdFtn;
- }
-
- /**
- * Get the lcbPgdFtn field for the FIB record.
- */
- public int getLcbPgdFtn()
- {
- return field_185_lcbPgdFtn;
- }
-
- /**
- * Set the lcbPgdFtn field for the FIB record.
- */
- public void setLcbPgdFtn(int field_185_lcbPgdFtn)
- {
- this.field_185_lcbPgdFtn = field_185_lcbPgdFtn;
- }
-
- /**
- * Get the fcBkdFtn field for the FIB record.
- */
- public int getFcBkdFtn()
- {
- return field_186_fcBkdFtn;
- }
-
- /**
- * Set the fcBkdFtn field for the FIB record.
- */
- public void setFcBkdFtn(int field_186_fcBkdFtn)
- {
- this.field_186_fcBkdFtn = field_186_fcBkdFtn;
- }
-
- /**
- * Get the lcbBkdFtn field for the FIB record.
- */
- public int getLcbBkdFtn()
- {
- return field_187_lcbBkdFtn;
- }
-
- /**
- * Set the lcbBkdFtn field for the FIB record.
- */
- public void setLcbBkdFtn(int field_187_lcbBkdFtn)
- {
- this.field_187_lcbBkdFtn = field_187_lcbBkdFtn;
- }
-
- /**
- * Get the fcPgdEdn field for the FIB record.
- */
- public int getFcPgdEdn()
- {
- return field_188_fcPgdEdn;
- }
-
- /**
- * Set the fcPgdEdn field for the FIB record.
- */
- public void setFcPgdEdn(int field_188_fcPgdEdn)
- {
- this.field_188_fcPgdEdn = field_188_fcPgdEdn;
- }
-
- /**
- * Get the lcbPgdEdn field for the FIB record.
- */
- public int getLcbPgdEdn()
- {
- return field_189_lcbPgdEdn;
- }
-
- /**
- * Set the lcbPgdEdn field for the FIB record.
- */
- public void setLcbPgdEdn(int field_189_lcbPgdEdn)
- {
- this.field_189_lcbPgdEdn = field_189_lcbPgdEdn;
- }
-
- /**
- * Get the fcBkdEdn field for the FIB record.
- */
- public int getFcBkdEdn()
- {
- return field_190_fcBkdEdn;
- }
-
- /**
- * Set the fcBkdEdn field for the FIB record.
- */
- public void setFcBkdEdn(int field_190_fcBkdEdn)
- {
- this.field_190_fcBkdEdn = field_190_fcBkdEdn;
- }
-
- /**
- * Get the lcbBkdEdn field for the FIB record.
- */
- public int getLcbBkdEdn()
- {
- return field_191_lcbBkdEdn;
- }
-
- /**
- * Set the lcbBkdEdn field for the FIB record.
- */
- public void setLcbBkdEdn(int field_191_lcbBkdEdn)
- {
- this.field_191_lcbBkdEdn = field_191_lcbBkdEdn;
- }
-
- /**
- * Get the fcSttbfIntlFld field for the FIB record.
- */
- public int getFcSttbfIntlFld()
- {
- return field_192_fcSttbfIntlFld;
- }
-
- /**
- * Set the fcSttbfIntlFld field for the FIB record.
- */
- public void setFcSttbfIntlFld(int field_192_fcSttbfIntlFld)
- {
- this.field_192_fcSttbfIntlFld = field_192_fcSttbfIntlFld;
- }
-
- /**
- * Get the lcbSttbfIntlFld field for the FIB record.
- */
- public int getLcbSttbfIntlFld()
- {
- return field_193_lcbSttbfIntlFld;
- }
-
- /**
- * Set the lcbSttbfIntlFld field for the FIB record.
- */
- public void setLcbSttbfIntlFld(int field_193_lcbSttbfIntlFld)
- {
- this.field_193_lcbSttbfIntlFld = field_193_lcbSttbfIntlFld;
- }
-
- /**
- * Get the fcRouteSlip field for the FIB record.
- */
- public int getFcRouteSlip()
- {
- return field_194_fcRouteSlip;
- }
-
- /**
- * Set the fcRouteSlip field for the FIB record.
- */
- public void setFcRouteSlip(int field_194_fcRouteSlip)
- {
- this.field_194_fcRouteSlip = field_194_fcRouteSlip;
- }
-
- /**
- * Get the lcbRouteSlip field for the FIB record.
- */
- public int getLcbRouteSlip()
- {
- return field_195_lcbRouteSlip;
- }
-
- /**
- * Set the lcbRouteSlip field for the FIB record.
- */
- public void setLcbRouteSlip(int field_195_lcbRouteSlip)
- {
- this.field_195_lcbRouteSlip = field_195_lcbRouteSlip;
- }
-
- /**
- * Get the fcSttbSavedBy field for the FIB record.
- */
- public int getFcSttbSavedBy()
- {
- return field_196_fcSttbSavedBy;
- }
-
- /**
- * Set the fcSttbSavedBy field for the FIB record.
- */
- public void setFcSttbSavedBy(int field_196_fcSttbSavedBy)
- {
- this.field_196_fcSttbSavedBy = field_196_fcSttbSavedBy;
- }
-
- /**
- * Get the lcbSttbSavedBy field for the FIB record.
- */
- public int getLcbSttbSavedBy()
- {
- return field_197_lcbSttbSavedBy;
- }
-
- /**
- * Set the lcbSttbSavedBy field for the FIB record.
- */
- public void setLcbSttbSavedBy(int field_197_lcbSttbSavedBy)
- {
- this.field_197_lcbSttbSavedBy = field_197_lcbSttbSavedBy;
- }
-
- /**
- * Get the fcSttbFnm field for the FIB record.
- */
- public int getFcSttbFnm()
- {
- return field_198_fcSttbFnm;
- }
-
- /**
- * Set the fcSttbFnm field for the FIB record.
- */
- public void setFcSttbFnm(int field_198_fcSttbFnm)
- {
- this.field_198_fcSttbFnm = field_198_fcSttbFnm;
- }
-
- /**
- * Get the lcbSttbFnm field for the FIB record.
- */
- public int getLcbSttbFnm()
- {
- return field_199_lcbSttbFnm;
- }
-
- /**
- * Set the lcbSttbFnm field for the FIB record.
- */
- public void setLcbSttbFnm(int field_199_lcbSttbFnm)
- {
- this.field_199_lcbSttbFnm = field_199_lcbSttbFnm;
- }
-
- /**
- * Get the fcPlcfLst field for the FIB record.
- */
- public int getFcPlcfLst()
- {
- return field_200_fcPlcfLst;
- }
-
- /**
- * Set the fcPlcfLst field for the FIB record.
- */
- public void setFcPlcfLst(int field_200_fcPlcfLst)
- {
- this.field_200_fcPlcfLst = field_200_fcPlcfLst;
- }
-
- /**
- * Get the lcbPlcfLst field for the FIB record.
- */
- public int getLcbPlcfLst()
- {
- return field_201_lcbPlcfLst;
- }
-
- /**
- * Set the lcbPlcfLst field for the FIB record.
- */
- public void setLcbPlcfLst(int field_201_lcbPlcfLst)
- {
- this.field_201_lcbPlcfLst = field_201_lcbPlcfLst;
- }
-
- /**
- * Get the fcPlfLfo field for the FIB record.
- */
- public int getFcPlfLfo()
- {
- return field_202_fcPlfLfo;
- }
-
- /**
- * Set the fcPlfLfo field for the FIB record.
- */
- public void setFcPlfLfo(int field_202_fcPlfLfo)
- {
- this.field_202_fcPlfLfo = field_202_fcPlfLfo;
- }
-
- /**
- * Get the lcbPlfLfo field for the FIB record.
- */
- public int getLcbPlfLfo()
- {
- return field_203_lcbPlfLfo;
- }
-
- /**
- * Set the lcbPlfLfo field for the FIB record.
- */
- public void setLcbPlfLfo(int field_203_lcbPlfLfo)
- {
- this.field_203_lcbPlfLfo = field_203_lcbPlfLfo;
- }
-
- /**
- * Get the fcPlcftxbxBkd field for the FIB record.
- */
- public int getFcPlcftxbxBkd()
- {
- return field_204_fcPlcftxbxBkd;
- }
-
- /**
- * Set the fcPlcftxbxBkd field for the FIB record.
- */
- public void setFcPlcftxbxBkd(int field_204_fcPlcftxbxBkd)
- {
- this.field_204_fcPlcftxbxBkd = field_204_fcPlcftxbxBkd;
- }
-
- /**
- * Get the lcbPlcftxbxBkd field for the FIB record.
- */
- public int getLcbPlcftxbxBkd()
- {
- return field_205_lcbPlcftxbxBkd;
- }
-
- /**
- * Set the lcbPlcftxbxBkd field for the FIB record.
- */
- public void setLcbPlcftxbxBkd(int field_205_lcbPlcftxbxBkd)
- {
- this.field_205_lcbPlcftxbxBkd = field_205_lcbPlcftxbxBkd;
- }
-
- /**
- * Get the fcPlcftxbxHdrBkd field for the FIB record.
- */
- public int getFcPlcftxbxHdrBkd()
- {
- return field_206_fcPlcftxbxHdrBkd;
- }
-
- /**
- * Set the fcPlcftxbxHdrBkd field for the FIB record.
- */
- public void setFcPlcftxbxHdrBkd(int field_206_fcPlcftxbxHdrBkd)
- {
- this.field_206_fcPlcftxbxHdrBkd = field_206_fcPlcftxbxHdrBkd;
- }
-
- /**
- * Get the lcbPlcftxbxHdrBkd field for the FIB record.
- */
- public int getLcbPlcftxbxHdrBkd()
- {
- return field_207_lcbPlcftxbxHdrBkd;
- }
-
- /**
- * Set the lcbPlcftxbxHdrBkd field for the FIB record.
- */
- public void setLcbPlcftxbxHdrBkd(int field_207_lcbPlcftxbxHdrBkd)
- {
- this.field_207_lcbPlcftxbxHdrBkd = field_207_lcbPlcftxbxHdrBkd;
- }
-
- /**
- * Get the fcDocUndo field for the FIB record.
- */
- public int getFcDocUndo()
- {
- return field_208_fcDocUndo;
- }
-
- /**
- * Set the fcDocUndo field for the FIB record.
- */
- public void setFcDocUndo(int field_208_fcDocUndo)
- {
- this.field_208_fcDocUndo = field_208_fcDocUndo;
- }
-
- /**
- * Get the lcbDocUndo field for the FIB record.
- */
- public int getLcbDocUndo()
- {
- return field_209_lcbDocUndo;
- }
-
- /**
- * Set the lcbDocUndo field for the FIB record.
- */
- public void setLcbDocUndo(int field_209_lcbDocUndo)
- {
- this.field_209_lcbDocUndo = field_209_lcbDocUndo;
- }
-
- /**
- * Get the fcRgbuse field for the FIB record.
- */
- public int getFcRgbuse()
- {
- return field_210_fcRgbuse;
- }
-
- /**
- * Set the fcRgbuse field for the FIB record.
- */
- public void setFcRgbuse(int field_210_fcRgbuse)
- {
- this.field_210_fcRgbuse = field_210_fcRgbuse;
- }
-
- /**
- * Get the lcbRgbuse field for the FIB record.
- */
- public int getLcbRgbuse()
- {
- return field_211_lcbRgbuse;
- }
-
- /**
- * Set the lcbRgbuse field for the FIB record.
- */
- public void setLcbRgbuse(int field_211_lcbRgbuse)
- {
- this.field_211_lcbRgbuse = field_211_lcbRgbuse;
- }
-
- /**
- * Get the fcUsp field for the FIB record.
- */
- public int getFcUsp()
- {
- return field_212_fcUsp;
- }
-
- /**
- * Set the fcUsp field for the FIB record.
- */
- public void setFcUsp(int field_212_fcUsp)
- {
- this.field_212_fcUsp = field_212_fcUsp;
- }
-
- /**
- * Get the lcbUsp field for the FIB record.
- */
- public int getLcbUsp()
- {
- return field_213_lcbUsp;
- }
-
- /**
- * Set the lcbUsp field for the FIB record.
- */
- public void setLcbUsp(int field_213_lcbUsp)
- {
- this.field_213_lcbUsp = field_213_lcbUsp;
- }
-
- /**
- * Get the fcUskf field for the FIB record.
- */
- public int getFcUskf()
- {
- return field_214_fcUskf;
- }
-
- /**
- * Set the fcUskf field for the FIB record.
- */
- public void setFcUskf(int field_214_fcUskf)
- {
- this.field_214_fcUskf = field_214_fcUskf;
- }
-
- /**
- * Get the lcbUskf field for the FIB record.
- */
- public int getLcbUskf()
- {
- return field_215_lcbUskf;
- }
-
- /**
- * Set the lcbUskf field for the FIB record.
- */
- public void setLcbUskf(int field_215_lcbUskf)
- {
- this.field_215_lcbUskf = field_215_lcbUskf;
- }
-
- /**
- * Get the fcPlcupcRgbuse field for the FIB record.
- */
- public int getFcPlcupcRgbuse()
- {
- return field_216_fcPlcupcRgbuse;
- }
-
- /**
- * Set the fcPlcupcRgbuse field for the FIB record.
- */
- public void setFcPlcupcRgbuse(int field_216_fcPlcupcRgbuse)
- {
- this.field_216_fcPlcupcRgbuse = field_216_fcPlcupcRgbuse;
- }
-
- /**
- * Get the lcbPlcupcRgbuse field for the FIB record.
- */
- public int getLcbPlcupcRgbuse()
- {
- return field_217_lcbPlcupcRgbuse;
- }
-
- /**
- * Set the lcbPlcupcRgbuse field for the FIB record.
- */
- public void setLcbPlcupcRgbuse(int field_217_lcbPlcupcRgbuse)
- {
- this.field_217_lcbPlcupcRgbuse = field_217_lcbPlcupcRgbuse;
- }
-
- /**
- * Get the fcPlcupcUsp field for the FIB record.
- */
- public int getFcPlcupcUsp()
- {
- return field_218_fcPlcupcUsp;
- }
-
- /**
- * Set the fcPlcupcUsp field for the FIB record.
- */
- public void setFcPlcupcUsp(int field_218_fcPlcupcUsp)
- {
- this.field_218_fcPlcupcUsp = field_218_fcPlcupcUsp;
- }
-
- /**
- * Get the lcbPlcupcUsp field for the FIB record.
- */
- public int getLcbPlcupcUsp()
- {
- return field_219_lcbPlcupcUsp;
- }
-
- /**
- * Set the lcbPlcupcUsp field for the FIB record.
- */
- public void setLcbPlcupcUsp(int field_219_lcbPlcupcUsp)
- {
- this.field_219_lcbPlcupcUsp = field_219_lcbPlcupcUsp;
- }
-
- /**
- * Get the fcSttbGlsyStyle field for the FIB record.
- */
- public int getFcSttbGlsyStyle()
- {
- return field_220_fcSttbGlsyStyle;
- }
-
- /**
- * Set the fcSttbGlsyStyle field for the FIB record.
- */
- public void setFcSttbGlsyStyle(int field_220_fcSttbGlsyStyle)
- {
- this.field_220_fcSttbGlsyStyle = field_220_fcSttbGlsyStyle;
- }
-
- /**
- * Get the lcbSttbGlsyStyle field for the FIB record.
- */
- public int getLcbSttbGlsyStyle()
- {
- return field_221_lcbSttbGlsyStyle;
- }
-
- /**
- * Set the lcbSttbGlsyStyle field for the FIB record.
- */
- public void setLcbSttbGlsyStyle(int field_221_lcbSttbGlsyStyle)
- {
- this.field_221_lcbSttbGlsyStyle = field_221_lcbSttbGlsyStyle;
- }
-
- /**
- * Get the fcPlgosl field for the FIB record.
- */
- public int getFcPlgosl()
- {
- return field_222_fcPlgosl;
- }
-
- /**
- * Set the fcPlgosl field for the FIB record.
- */
- public void setFcPlgosl(int field_222_fcPlgosl)
- {
- this.field_222_fcPlgosl = field_222_fcPlgosl;
- }
-
- /**
- * Get the lcbPlgosl field for the FIB record.
- */
- public int getLcbPlgosl()
- {
- return field_223_lcbPlgosl;
- }
-
- /**
- * Set the lcbPlgosl field for the FIB record.
- */
- public void setLcbPlgosl(int field_223_lcbPlgosl)
- {
- this.field_223_lcbPlgosl = field_223_lcbPlgosl;
- }
-
- /**
- * Get the fcPlcocx field for the FIB record.
- */
- public int getFcPlcocx()
- {
- return field_224_fcPlcocx;
- }
-
- /**
- * Set the fcPlcocx field for the FIB record.
- */
- public void setFcPlcocx(int field_224_fcPlcocx)
- {
- this.field_224_fcPlcocx = field_224_fcPlcocx;
- }
-
- /**
- * Get the lcbPlcocx field for the FIB record.
- */
- public int getLcbPlcocx()
- {
- return field_225_lcbPlcocx;
- }
-
- /**
- * Set the lcbPlcocx field for the FIB record.
- */
- public void setLcbPlcocx(int field_225_lcbPlcocx)
- {
- this.field_225_lcbPlcocx = field_225_lcbPlcocx;
- }
-
- /**
- * Get the fcPlcfbteLvc field for the FIB record.
- */
- public int getFcPlcfbteLvc()
- {
- return field_226_fcPlcfbteLvc;
- }
-
- /**
- * Set the fcPlcfbteLvc field for the FIB record.
- */
- public void setFcPlcfbteLvc(int field_226_fcPlcfbteLvc)
- {
- this.field_226_fcPlcfbteLvc = field_226_fcPlcfbteLvc;
- }
-
- /**
- * Get the lcbPlcfbteLvc field for the FIB record.
- */
- public int getLcbPlcfbteLvc()
- {
- return field_227_lcbPlcfbteLvc;
- }
-
- /**
- * Set the lcbPlcfbteLvc field for the FIB record.
- */
- public void setLcbPlcfbteLvc(int field_227_lcbPlcfbteLvc)
- {
- this.field_227_lcbPlcfbteLvc = field_227_lcbPlcfbteLvc;
- }
-
- /**
- * Get the dwLowDateTime field for the FIB record.
- */
- public int getDwLowDateTime()
- {
- return field_228_dwLowDateTime;
- }
-
- /**
- * Set the dwLowDateTime field for the FIB record.
- */
- public void setDwLowDateTime(int field_228_dwLowDateTime)
- {
- this.field_228_dwLowDateTime = field_228_dwLowDateTime;
- }
-
- /**
- * Get the dwHighDateTime field for the FIB record.
- */
- public int getDwHighDateTime()
- {
- return field_229_dwHighDateTime;
- }
-
- /**
- * Set the dwHighDateTime field for the FIB record.
- */
- public void setDwHighDateTime(int field_229_dwHighDateTime)
- {
- this.field_229_dwHighDateTime = field_229_dwHighDateTime;
- }
-
- /**
- * Get the fcPlcflvc field for the FIB record.
- */
- public int getFcPlcflvc()
- {
- return field_230_fcPlcflvc;
- }
-
- /**
- * Set the fcPlcflvc field for the FIB record.
- */
- public void setFcPlcflvc(int field_230_fcPlcflvc)
- {
- this.field_230_fcPlcflvc = field_230_fcPlcflvc;
- }
-
- /**
- * Get the lcbPlcflvc field for the FIB record.
- */
- public int getLcbPlcflvc()
- {
- return field_231_lcbPlcflvc;
- }
-
- /**
- * Set the lcbPlcflvc field for the FIB record.
- */
- public void setLcbPlcflvc(int field_231_lcbPlcflvc)
- {
- this.field_231_lcbPlcflvc = field_231_lcbPlcflvc;
- }
-
- /**
- * Get the fcPlcasumy field for the FIB record.
- */
- public int getFcPlcasumy()
- {
- return field_232_fcPlcasumy;
- }
-
- /**
- * Set the fcPlcasumy field for the FIB record.
- */
- public void setFcPlcasumy(int field_232_fcPlcasumy)
- {
- this.field_232_fcPlcasumy = field_232_fcPlcasumy;
- }
-
- /**
- * Get the lcbPlcasumy field for the FIB record.
- */
- public int getLcbPlcasumy()
- {
- return field_233_lcbPlcasumy;
- }
-
- /**
- * Set the lcbPlcasumy field for the FIB record.
- */
- public void setLcbPlcasumy(int field_233_lcbPlcasumy)
- {
- this.field_233_lcbPlcasumy = field_233_lcbPlcasumy;
- }
-
- /**
- * Get the fcPlcfgram field for the FIB record.
- */
- public int getFcPlcfgram()
- {
- return field_234_fcPlcfgram;
- }
-
- /**
- * Set the fcPlcfgram field for the FIB record.
- */
- public void setFcPlcfgram(int field_234_fcPlcfgram)
- {
- this.field_234_fcPlcfgram = field_234_fcPlcfgram;
- }
-
- /**
- * Get the lcbPlcfgram field for the FIB record.
- */
- public int getLcbPlcfgram()
- {
- return field_235_lcbPlcfgram;
- }
-
- /**
- * Set the lcbPlcfgram field for the FIB record.
- */
- public void setLcbPlcfgram(int field_235_lcbPlcfgram)
- {
- this.field_235_lcbPlcfgram = field_235_lcbPlcfgram;
- }
-
- /**
- * Get the fcSttbListNames field for the FIB record.
- */
- public int getFcSttbListNames()
- {
- return field_236_fcSttbListNames;
- }
-
- /**
- * Set the fcSttbListNames field for the FIB record.
- */
- public void setFcSttbListNames(int field_236_fcSttbListNames)
- {
- this.field_236_fcSttbListNames = field_236_fcSttbListNames;
- }
-
- /**
- * Get the lcbSttbListNames field for the FIB record.
- */
- public int getLcbSttbListNames()
- {
- return field_237_lcbSttbListNames;
- }
-
- /**
- * Set the lcbSttbListNames field for the FIB record.
- */
- public void setLcbSttbListNames(int field_237_lcbSttbListNames)
- {
- this.field_237_lcbSttbListNames = field_237_lcbSttbListNames;
- }
-
- /**
- * Get the fcSttbfUssr field for the FIB record.
- */
- public int getFcSttbfUssr()
- {
- return field_238_fcSttbfUssr;
- }
-
- /**
- * Set the fcSttbfUssr field for the FIB record.
- */
- public void setFcSttbfUssr(int field_238_fcSttbfUssr)
- {
- this.field_238_fcSttbfUssr = field_238_fcSttbfUssr;
- }
-
- /**
- * Get the lcbSttbfUssr field for the FIB record.
- */
- public int getLcbSttbfUssr()
- {
- return field_239_lcbSttbfUssr;
- }
-
- /**
- * Set the lcbSttbfUssr field for the FIB record.
- */
- public void setLcbSttbfUssr(int field_239_lcbSttbfUssr)
- {
- this.field_239_lcbSttbfUssr = field_239_lcbSttbfUssr;
- }
-
- /**
- * Sets the fDot field value.
- *
- */
- public void setFDot(boolean value)
- {
- field_6_options = (short)fDot.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fDot field value.
- */
- public boolean isFDot()
- {
- return fDot.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fGlsy field value.
- *
- */
- public void setFGlsy(boolean value)
- {
- field_6_options = (short)fGlsy.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fGlsy field value.
- */
- public boolean isFGlsy()
- {
- return fGlsy.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fComplex field value.
- *
- */
- public void setFComplex(boolean value)
- {
- field_6_options = (short)fComplex.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fComplex field value.
- */
- public boolean isFComplex()
- {
- return fComplex.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fHasPic field value.
- *
- */
- public void setFHasPic(boolean value)
- {
- field_6_options = (short)fHasPic.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fHasPic field value.
- */
- public boolean isFHasPic()
- {
- return fHasPic.isSet(field_6_options);
-
- }
-
- /**
- * Sets the cQuickSaves field value.
- *
- */
- public void setCQuickSaves(byte value)
- {
- field_6_options = (short)cQuickSaves.setValue(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the cQuickSaves field value.
- */
- public byte getCQuickSaves()
- {
- return ( byte )cQuickSaves.getValue(field_6_options);
-
- }
-
- /**
- * Sets the fEncrypted field value.
- *
- */
- public void setFEncrypted(boolean value)
- {
- field_6_options = (short)fEncrypted.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fEncrypted field value.
- */
- public boolean isFEncrypted()
- {
- return fEncrypted.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fWhichTblStm field value.
- *
- */
- public void setFWhichTblStm(boolean value)
- {
- field_6_options = (short)fWhichTblStm.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fWhichTblStm field value.
- */
- public boolean isFWhichTblStm()
- {
- return fWhichTblStm.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fReadOnlyRecommended field value.
- *
- */
- public void setFReadOnlyRecommended(boolean value)
- {
- field_6_options = (short)fReadOnlyRecommended.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fReadOnlyRecommended field value.
- */
- public boolean isFReadOnlyRecommended()
- {
- return fReadOnlyRecommended.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fWriteReservation field value.
- *
- */
- public void setFWriteReservation(boolean value)
- {
- field_6_options = (short)fWriteReservation.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fWriteReservation field value.
- */
- public boolean isFWriteReservation()
- {
- return fWriteReservation.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fExtChar field value.
- *
- */
- public void setFExtChar(boolean value)
- {
- field_6_options = (short)fExtChar.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fExtChar field value.
- */
- public boolean isFExtChar()
- {
- return fExtChar.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fLoadOverride field value.
- *
- */
- public void setFLoadOverride(boolean value)
- {
- field_6_options = (short)fLoadOverride.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fLoadOverride field value.
- */
- public boolean isFLoadOverride()
- {
- return fLoadOverride.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fFarEast field value.
- *
- */
- public void setFFarEast(boolean value)
- {
- field_6_options = (short)fFarEast.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fFarEast field value.
- */
- public boolean isFFarEast()
- {
- return fFarEast.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fCrypto field value.
- *
- */
- public void setFCrypto(boolean value)
- {
- field_6_options = (short)fCrypto.setBoolean(field_6_options, value);
-
-
- }
-
- /**
- *
- * @return the fCrypto field value.
- */
- public boolean isFCrypto()
- {
- return fCrypto.isSet(field_6_options);
-
- }
-
- /**
- * Sets the fMac field value.
- *
- */
- public void setFMac(boolean value)
- {
- field_10_history = (short)fMac.setBoolean(field_10_history, value);
-
-
- }
-
- /**
- *
- * @return the fMac field value.
- */
- public boolean isFMac()
- {
- return fMac.isSet(field_10_history);
-
- }
-
- /**
- * Sets the fEmptySpecial field value.
- *
- */
- public void setFEmptySpecial(boolean value)
- {
- field_10_history = (short)fEmptySpecial.setBoolean(field_10_history, value);
-
-
- }
-
- /**
- *
- * @return the fEmptySpecial field value.
- */
- public boolean isFEmptySpecial()
- {
- return fEmptySpecial.isSet(field_10_history);
-
- }
-
- /**
- * Sets the fLoadOverridePage field value.
- *
- */
- public void setFLoadOverridePage(boolean value)
- {
- field_10_history = (short)fLoadOverridePage.setBoolean(field_10_history, value);
-
-
- }
-
- /**
- *
- * @return the fLoadOverridePage field value.
- */
- public boolean isFLoadOverridePage()
- {
- return fLoadOverridePage.isSet(field_10_history);
-
- }
-
- /**
- * Sets the fFutureSavedUndo field value.
- *
- */
- public void setFFutureSavedUndo(boolean value)
- {
- field_10_history = (short)fFutureSavedUndo.setBoolean(field_10_history, value);
-
-
- }
-
- /**
- *
- * @return the fFutureSavedUndo field value.
- */
- public boolean isFFutureSavedUndo()
- {
- return fFutureSavedUndo.isSet(field_10_history);
-
- }
-
- /**
- * Sets the fWord97Saved field value.
- *
- */
- public void setFWord97Saved(boolean value)
- {
- field_10_history = (short)fWord97Saved.setBoolean(field_10_history, value);
-
-
- }
-
- /**
- *
- * @return the fWord97Saved field value.
- */
- public boolean isFWord97Saved()
- {
- return fWord97Saved.isSet(field_10_history);
-
- }
-
- /**
- * Sets the fSpare0 field value.
- *
- */
- public void setFSpare0(byte value)
- {
- field_10_history = (short)fSpare0.setValue(field_10_history, value);
-
-
- }
-
- /**
- *
- * @return the fSpare0 field value.
- */
- public byte getFSpare0()
- {
- return ( byte )fSpare0.getValue(field_10_history);
-
- }
-
-
-} // END OF CLASS
-
-
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/PAPAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/PAPAbstractType.java
deleted file mode 100644
index 67a5f3522a..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/PAPAbstractType.java
+++ /dev/null
@@ -1,1306 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * Paragraph Properties.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author S. Ryan Ackley
- */
-public abstract class PAPAbstractType
- implements HDFType
-{
-
- protected int field_1_istd;
- protected byte field_2_jc;
- protected byte field_3_fKeep;
- protected byte field_4_fKeepFollow;
- protected byte field_5_fPageBreakBefore;
- protected byte field_6_fBrLnAbove;
- protected byte field_7_fBrLnBelow;
- protected byte field_8_pcVert;
- protected byte field_9_pcHorz;
- protected byte field_10_brcp;
- protected byte field_11_brcl;
- protected byte field_12_ilvl;
- protected byte field_13_fNoLnn;
- protected int field_14_ilfo;
- protected byte field_15_fSideBySide;
- protected byte field_16_fNoAutoHyph;
- protected byte field_17_fWidowControl;
- protected int field_18_dxaRight;
- protected int field_19_dxaLeft;
- protected int field_20_dxaLeft1;
- protected LineSpacingDescriptor field_21_lspd;
- protected int field_22_dyaBefore;
- protected int field_23_dyaAfter;
- protected byte[] field_24_phe;
- protected byte field_25_fCrLf;
- protected byte field_26_fUsePgsuSettings;
- protected byte field_27_fAdjustRight;
- protected byte field_28_fKinsoku;
- protected byte field_29_fWordWrap;
- protected byte field_30_fOverflowPunct;
- protected byte field_31_fTopLinePunct;
- protected byte field_32_fAutoSpaceDE;
- protected byte field_33_fAutoSpaceDN;
- protected int field_34_wAlignFont;
- protected short field_35_fontAlign;
- private static BitField fVertical = new BitField(0x0001);
- private static BitField fBackward = new BitField(0x0002);
- private static BitField fRotateFont = new BitField(0x0004);
- protected byte field_36_fBackward;
- protected byte field_37_fRotateFont;
- protected byte field_38_fInTable;
- protected byte field_39_fTtp;
- protected byte field_40_wr;
- protected byte field_41_fLocked;
- protected byte[] field_42_ptap;
- protected int field_43_dxaAbs;
- protected int field_44_dyaAbs;
- protected int field_45_dxaWidth;
- protected BorderCode field_46_brcTop;
- protected BorderCode field_47_brcLeft;
- protected BorderCode field_48_brcBottom;
- protected BorderCode field_49_brcRight;
- protected BorderCode field_50_brcBetween;
- protected BorderCode field_51_brcBar;
- protected int field_52_dxaFromText;
- protected int field_53_dyaFromText;
- protected int field_54_dyaHeight;
- protected byte field_55_fMinHeight;
- protected short field_56_shd;
- protected short field_57_dcs;
- protected byte field_58_lvl;
- protected byte field_59_fNumRMIns;
- protected byte[] field_60_anld;
- protected int field_61_fPropRMark;
- protected int field_62_ibstPropRMark;
- protected DateAndTime field_63_dttmPropRMark;
- protected byte[] field_64_numrm;
- protected int field_65_itbdMac;
- protected int[] field_66_rgdxaTab;
- protected byte[] field_67_rgtbd;
-
-
- public PAPAbstractType()
- {
-
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 1 + 1 + 4 + 4 + 4 + 4 + 4 + 4 + 12 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 1 + 2 + 2 + 1 + 1 + 84 + 1 + 2 + 4 + 128 + 2 + 128 + 128;
- }
-
-
-
- /**
- * Get the istd field for the PAP record.
- */
- public int getIstd()
- {
- return field_1_istd;
- }
-
- /**
- * Set the istd field for the PAP record.
- */
- public void setIstd(int field_1_istd)
- {
- this.field_1_istd = field_1_istd;
- }
-
- /**
- * Get the jc field for the PAP record.
- */
- public byte getJc()
- {
- return field_2_jc;
- }
-
- /**
- * Set the jc field for the PAP record.
- */
- public void setJc(byte field_2_jc)
- {
- this.field_2_jc = field_2_jc;
- }
-
- /**
- * Get the fKeep field for the PAP record.
- */
- public byte getFKeep()
- {
- return field_3_fKeep;
- }
-
- /**
- * Set the fKeep field for the PAP record.
- */
- public void setFKeep(byte field_3_fKeep)
- {
- this.field_3_fKeep = field_3_fKeep;
- }
-
- /**
- * Get the fKeepFollow field for the PAP record.
- */
- public byte getFKeepFollow()
- {
- return field_4_fKeepFollow;
- }
-
- /**
- * Set the fKeepFollow field for the PAP record.
- */
- public void setFKeepFollow(byte field_4_fKeepFollow)
- {
- this.field_4_fKeepFollow = field_4_fKeepFollow;
- }
-
- /**
- * Get the fPageBreakBefore field for the PAP record.
- */
- public byte getFPageBreakBefore()
- {
- return field_5_fPageBreakBefore;
- }
-
- /**
- * Set the fPageBreakBefore field for the PAP record.
- */
- public void setFPageBreakBefore(byte field_5_fPageBreakBefore)
- {
- this.field_5_fPageBreakBefore = field_5_fPageBreakBefore;
- }
-
- /**
- * Get the fBrLnAbove field for the PAP record.
- */
- public byte getFBrLnAbove()
- {
- return field_6_fBrLnAbove;
- }
-
- /**
- * Set the fBrLnAbove field for the PAP record.
- */
- public void setFBrLnAbove(byte field_6_fBrLnAbove)
- {
- this.field_6_fBrLnAbove = field_6_fBrLnAbove;
- }
-
- /**
- * Get the fBrLnBelow field for the PAP record.
- */
- public byte getFBrLnBelow()
- {
- return field_7_fBrLnBelow;
- }
-
- /**
- * Set the fBrLnBelow field for the PAP record.
- */
- public void setFBrLnBelow(byte field_7_fBrLnBelow)
- {
- this.field_7_fBrLnBelow = field_7_fBrLnBelow;
- }
-
- /**
- * Get the pcVert field for the PAP record.
- */
- public byte getPcVert()
- {
- return field_8_pcVert;
- }
-
- /**
- * Set the pcVert field for the PAP record.
- */
- public void setPcVert(byte field_8_pcVert)
- {
- this.field_8_pcVert = field_8_pcVert;
- }
-
- /**
- * Get the pcHorz field for the PAP record.
- */
- public byte getPcHorz()
- {
- return field_9_pcHorz;
- }
-
- /**
- * Set the pcHorz field for the PAP record.
- */
- public void setPcHorz(byte field_9_pcHorz)
- {
- this.field_9_pcHorz = field_9_pcHorz;
- }
-
- /**
- * Get the brcp field for the PAP record.
- */
- public byte getBrcp()
- {
- return field_10_brcp;
- }
-
- /**
- * Set the brcp field for the PAP record.
- */
- public void setBrcp(byte field_10_brcp)
- {
- this.field_10_brcp = field_10_brcp;
- }
-
- /**
- * Get the brcl field for the PAP record.
- */
- public byte getBrcl()
- {
- return field_11_brcl;
- }
-
- /**
- * Set the brcl field for the PAP record.
- */
- public void setBrcl(byte field_11_brcl)
- {
- this.field_11_brcl = field_11_brcl;
- }
-
- /**
- * Get the ilvl field for the PAP record.
- */
- public byte getIlvl()
- {
- return field_12_ilvl;
- }
-
- /**
- * Set the ilvl field for the PAP record.
- */
- public void setIlvl(byte field_12_ilvl)
- {
- this.field_12_ilvl = field_12_ilvl;
- }
-
- /**
- * Get the fNoLnn field for the PAP record.
- */
- public byte getFNoLnn()
- {
- return field_13_fNoLnn;
- }
-
- /**
- * Set the fNoLnn field for the PAP record.
- */
- public void setFNoLnn(byte field_13_fNoLnn)
- {
- this.field_13_fNoLnn = field_13_fNoLnn;
- }
-
- /**
- * Get the ilfo field for the PAP record.
- */
- public int getIlfo()
- {
- return field_14_ilfo;
- }
-
- /**
- * Set the ilfo field for the PAP record.
- */
- public void setIlfo(int field_14_ilfo)
- {
- this.field_14_ilfo = field_14_ilfo;
- }
-
- /**
- * Get the fSideBySide field for the PAP record.
- */
- public byte getFSideBySide()
- {
- return field_15_fSideBySide;
- }
-
- /**
- * Set the fSideBySide field for the PAP record.
- */
- public void setFSideBySide(byte field_15_fSideBySide)
- {
- this.field_15_fSideBySide = field_15_fSideBySide;
- }
-
- /**
- * Get the fNoAutoHyph field for the PAP record.
- */
- public byte getFNoAutoHyph()
- {
- return field_16_fNoAutoHyph;
- }
-
- /**
- * Set the fNoAutoHyph field for the PAP record.
- */
- public void setFNoAutoHyph(byte field_16_fNoAutoHyph)
- {
- this.field_16_fNoAutoHyph = field_16_fNoAutoHyph;
- }
-
- /**
- * Get the fWidowControl field for the PAP record.
- */
- public byte getFWidowControl()
- {
- return field_17_fWidowControl;
- }
-
- /**
- * Set the fWidowControl field for the PAP record.
- */
- public void setFWidowControl(byte field_17_fWidowControl)
- {
- this.field_17_fWidowControl = field_17_fWidowControl;
- }
-
- /**
- * Get the dxaRight field for the PAP record.
- */
- public int getDxaRight()
- {
- return field_18_dxaRight;
- }
-
- /**
- * Set the dxaRight field for the PAP record.
- */
- public void setDxaRight(int field_18_dxaRight)
- {
- this.field_18_dxaRight = field_18_dxaRight;
- }
-
- /**
- * Get the dxaLeft field for the PAP record.
- */
- public int getDxaLeft()
- {
- return field_19_dxaLeft;
- }
-
- /**
- * Set the dxaLeft field for the PAP record.
- */
- public void setDxaLeft(int field_19_dxaLeft)
- {
- this.field_19_dxaLeft = field_19_dxaLeft;
- }
-
- /**
- * Get the dxaLeft1 field for the PAP record.
- */
- public int getDxaLeft1()
- {
- return field_20_dxaLeft1;
- }
-
- /**
- * Set the dxaLeft1 field for the PAP record.
- */
- public void setDxaLeft1(int field_20_dxaLeft1)
- {
- this.field_20_dxaLeft1 = field_20_dxaLeft1;
- }
-
- /**
- * Get the lspd field for the PAP record.
- */
- public LineSpacingDescriptor getLspd()
- {
- return field_21_lspd;
- }
-
- /**
- * Set the lspd field for the PAP record.
- */
- public void setLspd(LineSpacingDescriptor field_21_lspd)
- {
- this.field_21_lspd = field_21_lspd;
- }
-
- /**
- * Get the dyaBefore field for the PAP record.
- */
- public int getDyaBefore()
- {
- return field_22_dyaBefore;
- }
-
- /**
- * Set the dyaBefore field for the PAP record.
- */
- public void setDyaBefore(int field_22_dyaBefore)
- {
- this.field_22_dyaBefore = field_22_dyaBefore;
- }
-
- /**
- * Get the dyaAfter field for the PAP record.
- */
- public int getDyaAfter()
- {
- return field_23_dyaAfter;
- }
-
- /**
- * Set the dyaAfter field for the PAP record.
- */
- public void setDyaAfter(int field_23_dyaAfter)
- {
- this.field_23_dyaAfter = field_23_dyaAfter;
- }
-
- /**
- * Get the phe field for the PAP record.
- */
- public byte[] getPhe()
- {
- return field_24_phe;
- }
-
- /**
- * Set the phe field for the PAP record.
- */
- public void setPhe(byte[] field_24_phe)
- {
- this.field_24_phe = field_24_phe;
- }
-
- /**
- * Get the fCrLf field for the PAP record.
- */
- public byte getFCrLf()
- {
- return field_25_fCrLf;
- }
-
- /**
- * Set the fCrLf field for the PAP record.
- */
- public void setFCrLf(byte field_25_fCrLf)
- {
- this.field_25_fCrLf = field_25_fCrLf;
- }
-
- /**
- * Get the fUsePgsuSettings field for the PAP record.
- */
- public byte getFUsePgsuSettings()
- {
- return field_26_fUsePgsuSettings;
- }
-
- /**
- * Set the fUsePgsuSettings field for the PAP record.
- */
- public void setFUsePgsuSettings(byte field_26_fUsePgsuSettings)
- {
- this.field_26_fUsePgsuSettings = field_26_fUsePgsuSettings;
- }
-
- /**
- * Get the fAdjustRight field for the PAP record.
- */
- public byte getFAdjustRight()
- {
- return field_27_fAdjustRight;
- }
-
- /**
- * Set the fAdjustRight field for the PAP record.
- */
- public void setFAdjustRight(byte field_27_fAdjustRight)
- {
- this.field_27_fAdjustRight = field_27_fAdjustRight;
- }
-
- /**
- * Get the fKinsoku field for the PAP record.
- */
- public byte getFKinsoku()
- {
- return field_28_fKinsoku;
- }
-
- /**
- * Set the fKinsoku field for the PAP record.
- */
- public void setFKinsoku(byte field_28_fKinsoku)
- {
- this.field_28_fKinsoku = field_28_fKinsoku;
- }
-
- /**
- * Get the fWordWrap field for the PAP record.
- */
- public byte getFWordWrap()
- {
- return field_29_fWordWrap;
- }
-
- /**
- * Set the fWordWrap field for the PAP record.
- */
- public void setFWordWrap(byte field_29_fWordWrap)
- {
- this.field_29_fWordWrap = field_29_fWordWrap;
- }
-
- /**
- * Get the fOverflowPunct field for the PAP record.
- */
- public byte getFOverflowPunct()
- {
- return field_30_fOverflowPunct;
- }
-
- /**
- * Set the fOverflowPunct field for the PAP record.
- */
- public void setFOverflowPunct(byte field_30_fOverflowPunct)
- {
- this.field_30_fOverflowPunct = field_30_fOverflowPunct;
- }
-
- /**
- * Get the fTopLinePunct field for the PAP record.
- */
- public byte getFTopLinePunct()
- {
- return field_31_fTopLinePunct;
- }
-
- /**
- * Set the fTopLinePunct field for the PAP record.
- */
- public void setFTopLinePunct(byte field_31_fTopLinePunct)
- {
- this.field_31_fTopLinePunct = field_31_fTopLinePunct;
- }
-
- /**
- * Get the fAutoSpaceDE field for the PAP record.
- */
- public byte getFAutoSpaceDE()
- {
- return field_32_fAutoSpaceDE;
- }
-
- /**
- * Set the fAutoSpaceDE field for the PAP record.
- */
- public void setFAutoSpaceDE(byte field_32_fAutoSpaceDE)
- {
- this.field_32_fAutoSpaceDE = field_32_fAutoSpaceDE;
- }
-
- /**
- * Get the fAutoSpaceDN field for the PAP record.
- */
- public byte getFAutoSpaceDN()
- {
- return field_33_fAutoSpaceDN;
- }
-
- /**
- * Set the fAutoSpaceDN field for the PAP record.
- */
- public void setFAutoSpaceDN(byte field_33_fAutoSpaceDN)
- {
- this.field_33_fAutoSpaceDN = field_33_fAutoSpaceDN;
- }
-
- /**
- * Get the wAlignFont field for the PAP record.
- */
- public int getWAlignFont()
- {
- return field_34_wAlignFont;
- }
-
- /**
- * Set the wAlignFont field for the PAP record.
- */
- public void setWAlignFont(int field_34_wAlignFont)
- {
- this.field_34_wAlignFont = field_34_wAlignFont;
- }
-
- /**
- * Get the fontAlign field for the PAP record.
- */
- public short getFontAlign()
- {
- return field_35_fontAlign;
- }
-
- /**
- * Set the fontAlign field for the PAP record.
- */
- public void setFontAlign(short field_35_fontAlign)
- {
- this.field_35_fontAlign = field_35_fontAlign;
- }
-
- /**
- * Get the fBackward field for the PAP record.
- */
- public byte getFBackward()
- {
- return field_36_fBackward;
- }
-
- /**
- * Set the fBackward field for the PAP record.
- */
- public void setFBackward(byte field_36_fBackward)
- {
- this.field_36_fBackward = field_36_fBackward;
- }
-
- /**
- * Get the fRotateFont field for the PAP record.
- */
- public byte getFRotateFont()
- {
- return field_37_fRotateFont;
- }
-
- /**
- * Set the fRotateFont field for the PAP record.
- */
- public void setFRotateFont(byte field_37_fRotateFont)
- {
- this.field_37_fRotateFont = field_37_fRotateFont;
- }
-
- /**
- * Get the fInTable field for the PAP record.
- */
- public byte getFInTable()
- {
- return field_38_fInTable;
- }
-
- /**
- * Set the fInTable field for the PAP record.
- */
- public void setFInTable(byte field_38_fInTable)
- {
- this.field_38_fInTable = field_38_fInTable;
- }
-
- /**
- * Get the fTtp field for the PAP record.
- */
- public byte getFTtp()
- {
- return field_39_fTtp;
- }
-
- /**
- * Set the fTtp field for the PAP record.
- */
- public void setFTtp(byte field_39_fTtp)
- {
- this.field_39_fTtp = field_39_fTtp;
- }
-
- /**
- * Get the wr field for the PAP record.
- */
- public byte getWr()
- {
- return field_40_wr;
- }
-
- /**
- * Set the wr field for the PAP record.
- */
- public void setWr(byte field_40_wr)
- {
- this.field_40_wr = field_40_wr;
- }
-
- /**
- * Get the fLocked field for the PAP record.
- */
- public byte getFLocked()
- {
- return field_41_fLocked;
- }
-
- /**
- * Set the fLocked field for the PAP record.
- */
- public void setFLocked(byte field_41_fLocked)
- {
- this.field_41_fLocked = field_41_fLocked;
- }
-
- /**
- * Get the ptap field for the PAP record.
- */
- public byte[] getPtap()
- {
- return field_42_ptap;
- }
-
- /**
- * Set the ptap field for the PAP record.
- */
- public void setPtap(byte[] field_42_ptap)
- {
- this.field_42_ptap = field_42_ptap;
- }
-
- /**
- * Get the dxaAbs field for the PAP record.
- */
- public int getDxaAbs()
- {
- return field_43_dxaAbs;
- }
-
- /**
- * Set the dxaAbs field for the PAP record.
- */
- public void setDxaAbs(int field_43_dxaAbs)
- {
- this.field_43_dxaAbs = field_43_dxaAbs;
- }
-
- /**
- * Get the dyaAbs field for the PAP record.
- */
- public int getDyaAbs()
- {
- return field_44_dyaAbs;
- }
-
- /**
- * Set the dyaAbs field for the PAP record.
- */
- public void setDyaAbs(int field_44_dyaAbs)
- {
- this.field_44_dyaAbs = field_44_dyaAbs;
- }
-
- /**
- * Get the dxaWidth field for the PAP record.
- */
- public int getDxaWidth()
- {
- return field_45_dxaWidth;
- }
-
- /**
- * Set the dxaWidth field for the PAP record.
- */
- public void setDxaWidth(int field_45_dxaWidth)
- {
- this.field_45_dxaWidth = field_45_dxaWidth;
- }
-
- /**
- * Get the brcTop field for the PAP record.
- */
- public BorderCode getBrcTop()
- {
- return field_46_brcTop;
- }
-
- /**
- * Set the brcTop field for the PAP record.
- */
- public void setBrcTop(BorderCode field_46_brcTop)
- {
- this.field_46_brcTop = field_46_brcTop;
- }
-
- /**
- * Get the brcLeft field for the PAP record.
- */
- public BorderCode getBrcLeft()
- {
- return field_47_brcLeft;
- }
-
- /**
- * Set the brcLeft field for the PAP record.
- */
- public void setBrcLeft(BorderCode field_47_brcLeft)
- {
- this.field_47_brcLeft = field_47_brcLeft;
- }
-
- /**
- * Get the brcBottom field for the PAP record.
- */
- public BorderCode getBrcBottom()
- {
- return field_48_brcBottom;
- }
-
- /**
- * Set the brcBottom field for the PAP record.
- */
- public void setBrcBottom(BorderCode field_48_brcBottom)
- {
- this.field_48_brcBottom = field_48_brcBottom;
- }
-
- /**
- * Get the brcRight field for the PAP record.
- */
- public BorderCode getBrcRight()
- {
- return field_49_brcRight;
- }
-
- /**
- * Set the brcRight field for the PAP record.
- */
- public void setBrcRight(BorderCode field_49_brcRight)
- {
- this.field_49_brcRight = field_49_brcRight;
- }
-
- /**
- * Get the brcBetween field for the PAP record.
- */
- public BorderCode getBrcBetween()
- {
- return field_50_brcBetween;
- }
-
- /**
- * Set the brcBetween field for the PAP record.
- */
- public void setBrcBetween(BorderCode field_50_brcBetween)
- {
- this.field_50_brcBetween = field_50_brcBetween;
- }
-
- /**
- * Get the brcBar field for the PAP record.
- */
- public BorderCode getBrcBar()
- {
- return field_51_brcBar;
- }
-
- /**
- * Set the brcBar field for the PAP record.
- */
- public void setBrcBar(BorderCode field_51_brcBar)
- {
- this.field_51_brcBar = field_51_brcBar;
- }
-
- /**
- * Get the dxaFromText field for the PAP record.
- */
- public int getDxaFromText()
- {
- return field_52_dxaFromText;
- }
-
- /**
- * Set the dxaFromText field for the PAP record.
- */
- public void setDxaFromText(int field_52_dxaFromText)
- {
- this.field_52_dxaFromText = field_52_dxaFromText;
- }
-
- /**
- * Get the dyaFromText field for the PAP record.
- */
- public int getDyaFromText()
- {
- return field_53_dyaFromText;
- }
-
- /**
- * Set the dyaFromText field for the PAP record.
- */
- public void setDyaFromText(int field_53_dyaFromText)
- {
- this.field_53_dyaFromText = field_53_dyaFromText;
- }
-
- /**
- * Get the dyaHeight field for the PAP record.
- */
- public int getDyaHeight()
- {
- return field_54_dyaHeight;
- }
-
- /**
- * Set the dyaHeight field for the PAP record.
- */
- public void setDyaHeight(int field_54_dyaHeight)
- {
- this.field_54_dyaHeight = field_54_dyaHeight;
- }
-
- /**
- * Get the fMinHeight field for the PAP record.
- */
- public byte getFMinHeight()
- {
- return field_55_fMinHeight;
- }
-
- /**
- * Set the fMinHeight field for the PAP record.
- */
- public void setFMinHeight(byte field_55_fMinHeight)
- {
- this.field_55_fMinHeight = field_55_fMinHeight;
- }
-
- /**
- * Get the shd field for the PAP record.
- */
- public short getShd()
- {
- return field_56_shd;
- }
-
- /**
- * Set the shd field for the PAP record.
- */
- public void setShd(short field_56_shd)
- {
- this.field_56_shd = field_56_shd;
- }
-
- /**
- * Get the dcs field for the PAP record.
- */
- public short getDcs()
- {
- return field_57_dcs;
- }
-
- /**
- * Set the dcs field for the PAP record.
- */
- public void setDcs(short field_57_dcs)
- {
- this.field_57_dcs = field_57_dcs;
- }
-
- /**
- * Get the lvl field for the PAP record.
- */
- public byte getLvl()
- {
- return field_58_lvl;
- }
-
- /**
- * Set the lvl field for the PAP record.
- */
- public void setLvl(byte field_58_lvl)
- {
- this.field_58_lvl = field_58_lvl;
- }
-
- /**
- * Get the fNumRMIns field for the PAP record.
- */
- public byte getFNumRMIns()
- {
- return field_59_fNumRMIns;
- }
-
- /**
- * Set the fNumRMIns field for the PAP record.
- */
- public void setFNumRMIns(byte field_59_fNumRMIns)
- {
- this.field_59_fNumRMIns = field_59_fNumRMIns;
- }
-
- /**
- * Get the anld field for the PAP record.
- */
- public byte[] getAnld()
- {
- return field_60_anld;
- }
-
- /**
- * Set the anld field for the PAP record.
- */
- public void setAnld(byte[] field_60_anld)
- {
- this.field_60_anld = field_60_anld;
- }
-
- /**
- * Get the fPropRMark field for the PAP record.
- */
- public int getFPropRMark()
- {
- return field_61_fPropRMark;
- }
-
- /**
- * Set the fPropRMark field for the PAP record.
- */
- public void setFPropRMark(int field_61_fPropRMark)
- {
- this.field_61_fPropRMark = field_61_fPropRMark;
- }
-
- /**
- * Get the ibstPropRMark field for the PAP record.
- */
- public int getIbstPropRMark()
- {
- return field_62_ibstPropRMark;
- }
-
- /**
- * Set the ibstPropRMark field for the PAP record.
- */
- public void setIbstPropRMark(int field_62_ibstPropRMark)
- {
- this.field_62_ibstPropRMark = field_62_ibstPropRMark;
- }
-
- /**
- * Get the dttmPropRMark field for the PAP record.
- */
- public DateAndTime getDttmPropRMark()
- {
- return field_63_dttmPropRMark;
- }
-
- /**
- * Set the dttmPropRMark field for the PAP record.
- */
- public void setDttmPropRMark(DateAndTime field_63_dttmPropRMark)
- {
- this.field_63_dttmPropRMark = field_63_dttmPropRMark;
- }
-
- /**
- * Get the numrm field for the PAP record.
- */
- public byte[] getNumrm()
- {
- return field_64_numrm;
- }
-
- /**
- * Set the numrm field for the PAP record.
- */
- public void setNumrm(byte[] field_64_numrm)
- {
- this.field_64_numrm = field_64_numrm;
- }
-
- /**
- * Get the itbdMac field for the PAP record.
- */
- public int getItbdMac()
- {
- return field_65_itbdMac;
- }
-
- /**
- * Set the itbdMac field for the PAP record.
- */
- public void setItbdMac(int field_65_itbdMac)
- {
- this.field_65_itbdMac = field_65_itbdMac;
- }
-
- /**
- * Get the rgdxaTab field for the PAP record.
- */
- public int[] getRgdxaTab()
- {
- return field_66_rgdxaTab;
- }
-
- /**
- * Set the rgdxaTab field for the PAP record.
- */
- public void setRgdxaTab(int[] field_66_rgdxaTab)
- {
- this.field_66_rgdxaTab = field_66_rgdxaTab;
- }
-
- /**
- * Get the rgtbd field for the PAP record.
- */
- public byte[] getRgtbd()
- {
- return field_67_rgtbd;
- }
-
- /**
- * Set the rgtbd field for the PAP record.
- */
- public void setRgtbd(byte[] field_67_rgtbd)
- {
- this.field_67_rgtbd = field_67_rgtbd;
- }
-
- /**
- * Sets the fVertical field value.
- *
- */
- public void setFVertical(boolean value)
- {
- field_35_fontAlign = (short)fVertical.setBoolean(field_35_fontAlign, value);
-
-
- }
-
- /**
- *
- * @return the fVertical field value.
- */
- public boolean isFVertical()
- {
- return fVertical.isSet(field_35_fontAlign);
-
- }
-
- /**
- * Sets the fBackward field value.
- *
- */
- public void setFBackward(boolean value)
- {
- field_35_fontAlign = (short)fBackward.setBoolean(field_35_fontAlign, value);
-
-
- }
-
- /**
- *
- * @return the fBackward field value.
- */
- public boolean isFBackward()
- {
- return fBackward.isSet(field_35_fontAlign);
-
- }
-
- /**
- * Sets the fRotateFont field value.
- *
- */
- public void setFRotateFont(boolean value)
- {
- field_35_fontAlign = (short)fRotateFont.setBoolean(field_35_fontAlign, value);
-
-
- }
-
- /**
- *
- * @return the fRotateFont field value.
- */
- public boolean isFRotateFont()
- {
- return fRotateFont.isSet(field_35_fontAlign);
-
- }
-
-
-} // END OF CLASS
-
-
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/SEPAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/SEPAbstractType.java
deleted file mode 100644
index b35053483c..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/SEPAbstractType.java
+++ /dev/null
@@ -1,1104 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * Section Properties.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author S. Ryan Ackley
- */
-public abstract class SEPAbstractType
- implements HDFType
-{
-
- protected byte field_1_bkc;
- protected boolean field_2_fTitlePage;
- protected boolean field_3_fAutoPgn;
- protected byte field_4_nfcPgn;
- protected boolean field_5_fUnlocked;
- protected byte field_6_cnsPgn;
- protected boolean field_7_fPgnRestart;
- protected boolean field_8_fEndNote;
- protected byte field_9_lnc;
- protected byte field_10_grpfIhdt;
- protected int field_11_nLnnMod;
- protected int field_12_dxaLnn;
- protected int field_13_dxaPgn;
- protected int field_14_dyaPgn;
- protected boolean field_15_fLBetween;
- protected byte field_16_vjc;
- protected int field_17_dmBinFirst;
- protected int field_18_dmBinOther;
- protected int field_19_dmPaperReq;
- protected BorderCode field_20_brcTop;
- protected BorderCode field_21_brcLeft;
- protected BorderCode field_22_brcBottom;
- protected BorderCode field_23_brcRight;
- protected boolean field_24_fPropMark;
- protected int field_25_ibstPropRMark;
- protected DateAndTime field_26_dttmPropRMark;
- protected int field_27_dxtCharSpace;
- protected int field_28_dyaLinePitch;
- protected int field_29_clm;
- protected int field_30_unused2;
- protected byte field_31_dmOrientPage;
- protected byte field_32_iHeadingPgn;
- protected int field_33_pgnStart;
- protected int field_34_lnnMin;
- protected int field_35_wTextFlow;
- protected short field_36_unused3;
- protected int field_37_pgbProp;
- protected short field_38_unused4;
- protected int field_39_xaPage;
- protected int field_40_yaPage;
- protected int field_41_xaPageNUp;
- protected int field_42_yaPageNUp;
- protected int field_43_dxaLeft;
- protected int field_44_dxaRight;
- protected int field_45_dyaTop;
- protected int field_46_dyaBottom;
- protected int field_47_dzaGutter;
- protected int field_48_dyaHdrTop;
- protected int field_49_dyaHdrBottom;
- protected int field_50_ccolM1;
- protected boolean field_51_fEvenlySpaced;
- protected byte field_52_unused5;
- protected int field_53_dxaColumns;
- protected int[] field_54_rgdxaColumn;
- protected int field_55_dxaColumnWidth;
- protected byte field_56_dmOrientFirst;
- protected byte field_57_fLayout;
- protected short field_58_unused6;
- protected byte[] field_59_olstAnm;
-
-
- public SEPAbstractType()
- {
-
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 1 + 0 + 0 + 1 + 0 + 1 + 0 + 0 + 1 + 1 + 2 + 4 + 2 + 2 + 0 + 1 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 0 + 2 + 4 + 4 + 4 + 2 + 2 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 2 + 0 + 1 + 4 + 356 + 4 + 1 + 1 + 2 + 212;
- }
-
-
-
- /**
- * Get the bkc field for the SEP record.
- */
- public byte getBkc()
- {
- return field_1_bkc;
- }
-
- /**
- * Set the bkc field for the SEP record.
- */
- public void setBkc(byte field_1_bkc)
- {
- this.field_1_bkc = field_1_bkc;
- }
-
- /**
- * Get the fTitlePage field for the SEP record.
- */
- public boolean getFTitlePage()
- {
- return field_2_fTitlePage;
- }
-
- /**
- * Set the fTitlePage field for the SEP record.
- */
- public void setFTitlePage(boolean field_2_fTitlePage)
- {
- this.field_2_fTitlePage = field_2_fTitlePage;
- }
-
- /**
- * Get the fAutoPgn field for the SEP record.
- */
- public boolean getFAutoPgn()
- {
- return field_3_fAutoPgn;
- }
-
- /**
- * Set the fAutoPgn field for the SEP record.
- */
- public void setFAutoPgn(boolean field_3_fAutoPgn)
- {
- this.field_3_fAutoPgn = field_3_fAutoPgn;
- }
-
- /**
- * Get the nfcPgn field for the SEP record.
- */
- public byte getNfcPgn()
- {
- return field_4_nfcPgn;
- }
-
- /**
- * Set the nfcPgn field for the SEP record.
- */
- public void setNfcPgn(byte field_4_nfcPgn)
- {
- this.field_4_nfcPgn = field_4_nfcPgn;
- }
-
- /**
- * Get the fUnlocked field for the SEP record.
- */
- public boolean getFUnlocked()
- {
- return field_5_fUnlocked;
- }
-
- /**
- * Set the fUnlocked field for the SEP record.
- */
- public void setFUnlocked(boolean field_5_fUnlocked)
- {
- this.field_5_fUnlocked = field_5_fUnlocked;
- }
-
- /**
- * Get the cnsPgn field for the SEP record.
- */
- public byte getCnsPgn()
- {
- return field_6_cnsPgn;
- }
-
- /**
- * Set the cnsPgn field for the SEP record.
- */
- public void setCnsPgn(byte field_6_cnsPgn)
- {
- this.field_6_cnsPgn = field_6_cnsPgn;
- }
-
- /**
- * Get the fPgnRestart field for the SEP record.
- */
- public boolean getFPgnRestart()
- {
- return field_7_fPgnRestart;
- }
-
- /**
- * Set the fPgnRestart field for the SEP record.
- */
- public void setFPgnRestart(boolean field_7_fPgnRestart)
- {
- this.field_7_fPgnRestart = field_7_fPgnRestart;
- }
-
- /**
- * Get the fEndNote field for the SEP record.
- */
- public boolean getFEndNote()
- {
- return field_8_fEndNote;
- }
-
- /**
- * Set the fEndNote field for the SEP record.
- */
- public void setFEndNote(boolean field_8_fEndNote)
- {
- this.field_8_fEndNote = field_8_fEndNote;
- }
-
- /**
- * Get the lnc field for the SEP record.
- */
- public byte getLnc()
- {
- return field_9_lnc;
- }
-
- /**
- * Set the lnc field for the SEP record.
- */
- public void setLnc(byte field_9_lnc)
- {
- this.field_9_lnc = field_9_lnc;
- }
-
- /**
- * Get the grpfIhdt field for the SEP record.
- */
- public byte getGrpfIhdt()
- {
- return field_10_grpfIhdt;
- }
-
- /**
- * Set the grpfIhdt field for the SEP record.
- */
- public void setGrpfIhdt(byte field_10_grpfIhdt)
- {
- this.field_10_grpfIhdt = field_10_grpfIhdt;
- }
-
- /**
- * Get the nLnnMod field for the SEP record.
- */
- public int getNLnnMod()
- {
- return field_11_nLnnMod;
- }
-
- /**
- * Set the nLnnMod field for the SEP record.
- */
- public void setNLnnMod(int field_11_nLnnMod)
- {
- this.field_11_nLnnMod = field_11_nLnnMod;
- }
-
- /**
- * Get the dxaLnn field for the SEP record.
- */
- public int getDxaLnn()
- {
- return field_12_dxaLnn;
- }
-
- /**
- * Set the dxaLnn field for the SEP record.
- */
- public void setDxaLnn(int field_12_dxaLnn)
- {
- this.field_12_dxaLnn = field_12_dxaLnn;
- }
-
- /**
- * Get the dxaPgn field for the SEP record.
- */
- public int getDxaPgn()
- {
- return field_13_dxaPgn;
- }
-
- /**
- * Set the dxaPgn field for the SEP record.
- */
- public void setDxaPgn(int field_13_dxaPgn)
- {
- this.field_13_dxaPgn = field_13_dxaPgn;
- }
-
- /**
- * Get the dyaPgn field for the SEP record.
- */
- public int getDyaPgn()
- {
- return field_14_dyaPgn;
- }
-
- /**
- * Set the dyaPgn field for the SEP record.
- */
- public void setDyaPgn(int field_14_dyaPgn)
- {
- this.field_14_dyaPgn = field_14_dyaPgn;
- }
-
- /**
- * Get the fLBetween field for the SEP record.
- */
- public boolean getFLBetween()
- {
- return field_15_fLBetween;
- }
-
- /**
- * Set the fLBetween field for the SEP record.
- */
- public void setFLBetween(boolean field_15_fLBetween)
- {
- this.field_15_fLBetween = field_15_fLBetween;
- }
-
- /**
- * Get the vjc field for the SEP record.
- */
- public byte getVjc()
- {
- return field_16_vjc;
- }
-
- /**
- * Set the vjc field for the SEP record.
- */
- public void setVjc(byte field_16_vjc)
- {
- this.field_16_vjc = field_16_vjc;
- }
-
- /**
- * Get the dmBinFirst field for the SEP record.
- */
- public int getDmBinFirst()
- {
- return field_17_dmBinFirst;
- }
-
- /**
- * Set the dmBinFirst field for the SEP record.
- */
- public void setDmBinFirst(int field_17_dmBinFirst)
- {
- this.field_17_dmBinFirst = field_17_dmBinFirst;
- }
-
- /**
- * Get the dmBinOther field for the SEP record.
- */
- public int getDmBinOther()
- {
- return field_18_dmBinOther;
- }
-
- /**
- * Set the dmBinOther field for the SEP record.
- */
- public void setDmBinOther(int field_18_dmBinOther)
- {
- this.field_18_dmBinOther = field_18_dmBinOther;
- }
-
- /**
- * Get the dmPaperReq field for the SEP record.
- */
- public int getDmPaperReq()
- {
- return field_19_dmPaperReq;
- }
-
- /**
- * Set the dmPaperReq field for the SEP record.
- */
- public void setDmPaperReq(int field_19_dmPaperReq)
- {
- this.field_19_dmPaperReq = field_19_dmPaperReq;
- }
-
- /**
- * Get the brcTop field for the SEP record.
- */
- public BorderCode getBrcTop()
- {
- return field_20_brcTop;
- }
-
- /**
- * Set the brcTop field for the SEP record.
- */
- public void setBrcTop(BorderCode field_20_brcTop)
- {
- this.field_20_brcTop = field_20_brcTop;
- }
-
- /**
- * Get the brcLeft field for the SEP record.
- */
- public BorderCode getBrcLeft()
- {
- return field_21_brcLeft;
- }
-
- /**
- * Set the brcLeft field for the SEP record.
- */
- public void setBrcLeft(BorderCode field_21_brcLeft)
- {
- this.field_21_brcLeft = field_21_brcLeft;
- }
-
- /**
- * Get the brcBottom field for the SEP record.
- */
- public BorderCode getBrcBottom()
- {
- return field_22_brcBottom;
- }
-
- /**
- * Set the brcBottom field for the SEP record.
- */
- public void setBrcBottom(BorderCode field_22_brcBottom)
- {
- this.field_22_brcBottom = field_22_brcBottom;
- }
-
- /**
- * Get the brcRight field for the SEP record.
- */
- public BorderCode getBrcRight()
- {
- return field_23_brcRight;
- }
-
- /**
- * Set the brcRight field for the SEP record.
- */
- public void setBrcRight(BorderCode field_23_brcRight)
- {
- this.field_23_brcRight = field_23_brcRight;
- }
-
- /**
- * Get the fPropMark field for the SEP record.
- */
- public boolean getFPropMark()
- {
- return field_24_fPropMark;
- }
-
- /**
- * Set the fPropMark field for the SEP record.
- */
- public void setFPropMark(boolean field_24_fPropMark)
- {
- this.field_24_fPropMark = field_24_fPropMark;
- }
-
- /**
- * Get the ibstPropRMark field for the SEP record.
- */
- public int getIbstPropRMark()
- {
- return field_25_ibstPropRMark;
- }
-
- /**
- * Set the ibstPropRMark field for the SEP record.
- */
- public void setIbstPropRMark(int field_25_ibstPropRMark)
- {
- this.field_25_ibstPropRMark = field_25_ibstPropRMark;
- }
-
- /**
- * Get the dttmPropRMark field for the SEP record.
- */
- public DateAndTime getDttmPropRMark()
- {
- return field_26_dttmPropRMark;
- }
-
- /**
- * Set the dttmPropRMark field for the SEP record.
- */
- public void setDttmPropRMark(DateAndTime field_26_dttmPropRMark)
- {
- this.field_26_dttmPropRMark = field_26_dttmPropRMark;
- }
-
- /**
- * Get the dxtCharSpace field for the SEP record.
- */
- public int getDxtCharSpace()
- {
- return field_27_dxtCharSpace;
- }
-
- /**
- * Set the dxtCharSpace field for the SEP record.
- */
- public void setDxtCharSpace(int field_27_dxtCharSpace)
- {
- this.field_27_dxtCharSpace = field_27_dxtCharSpace;
- }
-
- /**
- * Get the dyaLinePitch field for the SEP record.
- */
- public int getDyaLinePitch()
- {
- return field_28_dyaLinePitch;
- }
-
- /**
- * Set the dyaLinePitch field for the SEP record.
- */
- public void setDyaLinePitch(int field_28_dyaLinePitch)
- {
- this.field_28_dyaLinePitch = field_28_dyaLinePitch;
- }
-
- /**
- * Get the clm field for the SEP record.
- */
- public int getClm()
- {
- return field_29_clm;
- }
-
- /**
- * Set the clm field for the SEP record.
- */
- public void setClm(int field_29_clm)
- {
- this.field_29_clm = field_29_clm;
- }
-
- /**
- * Get the unused2 field for the SEP record.
- */
- public int getUnused2()
- {
- return field_30_unused2;
- }
-
- /**
- * Set the unused2 field for the SEP record.
- */
- public void setUnused2(int field_30_unused2)
- {
- this.field_30_unused2 = field_30_unused2;
- }
-
- /**
- * Get the dmOrientPage field for the SEP record.
- */
- public byte getDmOrientPage()
- {
- return field_31_dmOrientPage;
- }
-
- /**
- * Set the dmOrientPage field for the SEP record.
- */
- public void setDmOrientPage(byte field_31_dmOrientPage)
- {
- this.field_31_dmOrientPage = field_31_dmOrientPage;
- }
-
- /**
- * Get the iHeadingPgn field for the SEP record.
- */
- public byte getIHeadingPgn()
- {
- return field_32_iHeadingPgn;
- }
-
- /**
- * Set the iHeadingPgn field for the SEP record.
- */
- public void setIHeadingPgn(byte field_32_iHeadingPgn)
- {
- this.field_32_iHeadingPgn = field_32_iHeadingPgn;
- }
-
- /**
- * Get the pgnStart field for the SEP record.
- */
- public int getPgnStart()
- {
- return field_33_pgnStart;
- }
-
- /**
- * Set the pgnStart field for the SEP record.
- */
- public void setPgnStart(int field_33_pgnStart)
- {
- this.field_33_pgnStart = field_33_pgnStart;
- }
-
- /**
- * Get the lnnMin field for the SEP record.
- */
- public int getLnnMin()
- {
- return field_34_lnnMin;
- }
-
- /**
- * Set the lnnMin field for the SEP record.
- */
- public void setLnnMin(int field_34_lnnMin)
- {
- this.field_34_lnnMin = field_34_lnnMin;
- }
-
- /**
- * Get the wTextFlow field for the SEP record.
- */
- public int getWTextFlow()
- {
- return field_35_wTextFlow;
- }
-
- /**
- * Set the wTextFlow field for the SEP record.
- */
- public void setWTextFlow(int field_35_wTextFlow)
- {
- this.field_35_wTextFlow = field_35_wTextFlow;
- }
-
- /**
- * Get the unused3 field for the SEP record.
- */
- public short getUnused3()
- {
- return field_36_unused3;
- }
-
- /**
- * Set the unused3 field for the SEP record.
- */
- public void setUnused3(short field_36_unused3)
- {
- this.field_36_unused3 = field_36_unused3;
- }
-
- /**
- * Get the pgbProp field for the SEP record.
- */
- public int getPgbProp()
- {
- return field_37_pgbProp;
- }
-
- /**
- * Set the pgbProp field for the SEP record.
- */
- public void setPgbProp(int field_37_pgbProp)
- {
- this.field_37_pgbProp = field_37_pgbProp;
- }
-
- /**
- * Get the unused4 field for the SEP record.
- */
- public short getUnused4()
- {
- return field_38_unused4;
- }
-
- /**
- * Set the unused4 field for the SEP record.
- */
- public void setUnused4(short field_38_unused4)
- {
- this.field_38_unused4 = field_38_unused4;
- }
-
- /**
- * Get the xaPage field for the SEP record.
- */
- public int getXaPage()
- {
- return field_39_xaPage;
- }
-
- /**
- * Set the xaPage field for the SEP record.
- */
- public void setXaPage(int field_39_xaPage)
- {
- this.field_39_xaPage = field_39_xaPage;
- }
-
- /**
- * Get the yaPage field for the SEP record.
- */
- public int getYaPage()
- {
- return field_40_yaPage;
- }
-
- /**
- * Set the yaPage field for the SEP record.
- */
- public void setYaPage(int field_40_yaPage)
- {
- this.field_40_yaPage = field_40_yaPage;
- }
-
- /**
- * Get the xaPageNUp field for the SEP record.
- */
- public int getXaPageNUp()
- {
- return field_41_xaPageNUp;
- }
-
- /**
- * Set the xaPageNUp field for the SEP record.
- */
- public void setXaPageNUp(int field_41_xaPageNUp)
- {
- this.field_41_xaPageNUp = field_41_xaPageNUp;
- }
-
- /**
- * Get the yaPageNUp field for the SEP record.
- */
- public int getYaPageNUp()
- {
- return field_42_yaPageNUp;
- }
-
- /**
- * Set the yaPageNUp field for the SEP record.
- */
- public void setYaPageNUp(int field_42_yaPageNUp)
- {
- this.field_42_yaPageNUp = field_42_yaPageNUp;
- }
-
- /**
- * Get the dxaLeft field for the SEP record.
- */
- public int getDxaLeft()
- {
- return field_43_dxaLeft;
- }
-
- /**
- * Set the dxaLeft field for the SEP record.
- */
- public void setDxaLeft(int field_43_dxaLeft)
- {
- this.field_43_dxaLeft = field_43_dxaLeft;
- }
-
- /**
- * Get the dxaRight field for the SEP record.
- */
- public int getDxaRight()
- {
- return field_44_dxaRight;
- }
-
- /**
- * Set the dxaRight field for the SEP record.
- */
- public void setDxaRight(int field_44_dxaRight)
- {
- this.field_44_dxaRight = field_44_dxaRight;
- }
-
- /**
- * Get the dyaTop field for the SEP record.
- */
- public int getDyaTop()
- {
- return field_45_dyaTop;
- }
-
- /**
- * Set the dyaTop field for the SEP record.
- */
- public void setDyaTop(int field_45_dyaTop)
- {
- this.field_45_dyaTop = field_45_dyaTop;
- }
-
- /**
- * Get the dyaBottom field for the SEP record.
- */
- public int getDyaBottom()
- {
- return field_46_dyaBottom;
- }
-
- /**
- * Set the dyaBottom field for the SEP record.
- */
- public void setDyaBottom(int field_46_dyaBottom)
- {
- this.field_46_dyaBottom = field_46_dyaBottom;
- }
-
- /**
- * Get the dzaGutter field for the SEP record.
- */
- public int getDzaGutter()
- {
- return field_47_dzaGutter;
- }
-
- /**
- * Set the dzaGutter field for the SEP record.
- */
- public void setDzaGutter(int field_47_dzaGutter)
- {
- this.field_47_dzaGutter = field_47_dzaGutter;
- }
-
- /**
- * Get the dyaHdrTop field for the SEP record.
- */
- public int getDyaHdrTop()
- {
- return field_48_dyaHdrTop;
- }
-
- /**
- * Set the dyaHdrTop field for the SEP record.
- */
- public void setDyaHdrTop(int field_48_dyaHdrTop)
- {
- this.field_48_dyaHdrTop = field_48_dyaHdrTop;
- }
-
- /**
- * Get the dyaHdrBottom field for the SEP record.
- */
- public int getDyaHdrBottom()
- {
- return field_49_dyaHdrBottom;
- }
-
- /**
- * Set the dyaHdrBottom field for the SEP record.
- */
- public void setDyaHdrBottom(int field_49_dyaHdrBottom)
- {
- this.field_49_dyaHdrBottom = field_49_dyaHdrBottom;
- }
-
- /**
- * Get the ccolM1 field for the SEP record.
- */
- public int getCcolM1()
- {
- return field_50_ccolM1;
- }
-
- /**
- * Set the ccolM1 field for the SEP record.
- */
- public void setCcolM1(int field_50_ccolM1)
- {
- this.field_50_ccolM1 = field_50_ccolM1;
- }
-
- /**
- * Get the fEvenlySpaced field for the SEP record.
- */
- public boolean getFEvenlySpaced()
- {
- return field_51_fEvenlySpaced;
- }
-
- /**
- * Set the fEvenlySpaced field for the SEP record.
- */
- public void setFEvenlySpaced(boolean field_51_fEvenlySpaced)
- {
- this.field_51_fEvenlySpaced = field_51_fEvenlySpaced;
- }
-
- /**
- * Get the unused5 field for the SEP record.
- */
- public byte getUnused5()
- {
- return field_52_unused5;
- }
-
- /**
- * Set the unused5 field for the SEP record.
- */
- public void setUnused5(byte field_52_unused5)
- {
- this.field_52_unused5 = field_52_unused5;
- }
-
- /**
- * Get the dxaColumns field for the SEP record.
- */
- public int getDxaColumns()
- {
- return field_53_dxaColumns;
- }
-
- /**
- * Set the dxaColumns field for the SEP record.
- */
- public void setDxaColumns(int field_53_dxaColumns)
- {
- this.field_53_dxaColumns = field_53_dxaColumns;
- }
-
- /**
- * Get the rgdxaColumn field for the SEP record.
- */
- public int[] getRgdxaColumn()
- {
- return field_54_rgdxaColumn;
- }
-
- /**
- * Set the rgdxaColumn field for the SEP record.
- */
- public void setRgdxaColumn(int[] field_54_rgdxaColumn)
- {
- this.field_54_rgdxaColumn = field_54_rgdxaColumn;
- }
-
- /**
- * Get the dxaColumnWidth field for the SEP record.
- */
- public int getDxaColumnWidth()
- {
- return field_55_dxaColumnWidth;
- }
-
- /**
- * Set the dxaColumnWidth field for the SEP record.
- */
- public void setDxaColumnWidth(int field_55_dxaColumnWidth)
- {
- this.field_55_dxaColumnWidth = field_55_dxaColumnWidth;
- }
-
- /**
- * Get the dmOrientFirst field for the SEP record.
- */
- public byte getDmOrientFirst()
- {
- return field_56_dmOrientFirst;
- }
-
- /**
- * Set the dmOrientFirst field for the SEP record.
- */
- public void setDmOrientFirst(byte field_56_dmOrientFirst)
- {
- this.field_56_dmOrientFirst = field_56_dmOrientFirst;
- }
-
- /**
- * Get the fLayout field for the SEP record.
- */
- public byte getFLayout()
- {
- return field_57_fLayout;
- }
-
- /**
- * Set the fLayout field for the SEP record.
- */
- public void setFLayout(byte field_57_fLayout)
- {
- this.field_57_fLayout = field_57_fLayout;
- }
-
- /**
- * Get the unused6 field for the SEP record.
- */
- public short getUnused6()
- {
- return field_58_unused6;
- }
-
- /**
- * Set the unused6 field for the SEP record.
- */
- public void setUnused6(short field_58_unused6)
- {
- this.field_58_unused6 = field_58_unused6;
- }
-
- /**
- * Get the olstAnm field for the SEP record.
- */
- public byte[] getOlstAnm()
- {
- return field_59_olstAnm;
- }
-
- /**
- * Set the olstAnm field for the SEP record.
- */
- public void setOlstAnm(byte[] field_59_olstAnm)
- {
- this.field_59_olstAnm = field_59_olstAnm;
- }
-
-
-} // END OF CLASS
-
-
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/TAPAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/TAPAbstractType.java
deleted file mode 100644
index aef5f1e521..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/TAPAbstractType.java
+++ /dev/null
@@ -1,373 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * Table Properties.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author S. Ryan Ackley
- */
-public abstract class TAPAbstractType
- implements HDFType
-{
-
- protected int field_1_jc;
- protected int field_2_dxaGapHalf;
- protected int field_3_dyaRowHeight;
- protected boolean field_4_fCantSplit;
- protected boolean field_5_fTableHeader;
- protected int field_6_tlp;
- protected short field_7_itcMac;
- protected short[] field_8_rgdxaCenter;
- protected TableCellDescriptor[] field_9_rgtc;
- protected ShadingDescriptor[] field_10_rgshd;
- protected BorderCode field_11_brcBottom;
- protected BorderCode field_12_brcTop;
- protected BorderCode field_13_brcLeft;
- protected BorderCode field_14_brcRight;
- protected BorderCode field_15_brcVertical;
- protected BorderCode field_16_brcHorizontal;
-
-
- public TAPAbstractType()
- {
-
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 2 + 4 + 4 + 0 + 0 + 4 + 2 + 130 + 0 + 0 + 4 + 4 + 4 + 4 + 4 + 4;
- }
-
-
-
- /**
- * Get the jc field for the TAP record.
- */
- public int getJc()
- {
- return field_1_jc;
- }
-
- /**
- * Set the jc field for the TAP record.
- */
- public void setJc(int field_1_jc)
- {
- this.field_1_jc = field_1_jc;
- }
-
- /**
- * Get the dxaGapHalf field for the TAP record.
- */
- public int getDxaGapHalf()
- {
- return field_2_dxaGapHalf;
- }
-
- /**
- * Set the dxaGapHalf field for the TAP record.
- */
- public void setDxaGapHalf(int field_2_dxaGapHalf)
- {
- this.field_2_dxaGapHalf = field_2_dxaGapHalf;
- }
-
- /**
- * Get the dyaRowHeight field for the TAP record.
- */
- public int getDyaRowHeight()
- {
- return field_3_dyaRowHeight;
- }
-
- /**
- * Set the dyaRowHeight field for the TAP record.
- */
- public void setDyaRowHeight(int field_3_dyaRowHeight)
- {
- this.field_3_dyaRowHeight = field_3_dyaRowHeight;
- }
-
- /**
- * Get the fCantSplit field for the TAP record.
- */
- public boolean getFCantSplit()
- {
- return field_4_fCantSplit;
- }
-
- /**
- * Set the fCantSplit field for the TAP record.
- */
- public void setFCantSplit(boolean field_4_fCantSplit)
- {
- this.field_4_fCantSplit = field_4_fCantSplit;
- }
-
- /**
- * Get the fTableHeader field for the TAP record.
- */
- public boolean getFTableHeader()
- {
- return field_5_fTableHeader;
- }
-
- /**
- * Set the fTableHeader field for the TAP record.
- */
- public void setFTableHeader(boolean field_5_fTableHeader)
- {
- this.field_5_fTableHeader = field_5_fTableHeader;
- }
-
- /**
- * Get the tlp field for the TAP record.
- */
- public int getTlp()
- {
- return field_6_tlp;
- }
-
- /**
- * Set the tlp field for the TAP record.
- */
- public void setTlp(int field_6_tlp)
- {
- this.field_6_tlp = field_6_tlp;
- }
-
- /**
- * Get the itcMac field for the TAP record.
- */
- public short getItcMac()
- {
- return field_7_itcMac;
- }
-
- /**
- * Set the itcMac field for the TAP record.
- */
- public void setItcMac(short field_7_itcMac)
- {
- this.field_7_itcMac = field_7_itcMac;
- }
-
- /**
- * Get the rgdxaCenter field for the TAP record.
- */
- public short[] getRgdxaCenter()
- {
- return field_8_rgdxaCenter;
- }
-
- /**
- * Set the rgdxaCenter field for the TAP record.
- */
- public void setRgdxaCenter(short[] field_8_rgdxaCenter)
- {
- this.field_8_rgdxaCenter = field_8_rgdxaCenter;
- }
-
- /**
- * Get the rgtc field for the TAP record.
- */
- public TableCellDescriptor[] getRgtc()
- {
- return field_9_rgtc;
- }
-
- /**
- * Set the rgtc field for the TAP record.
- */
- public void setRgtc(TableCellDescriptor[] field_9_rgtc)
- {
- this.field_9_rgtc = field_9_rgtc;
- }
-
- /**
- * Get the rgshd field for the TAP record.
- */
- public ShadingDescriptor[] getRgshd()
- {
- return field_10_rgshd;
- }
-
- /**
- * Set the rgshd field for the TAP record.
- */
- public void setRgshd(ShadingDescriptor[] field_10_rgshd)
- {
- this.field_10_rgshd = field_10_rgshd;
- }
-
- /**
- * Get the brcBottom field for the TAP record.
- */
- public BorderCode getBrcBottom()
- {
- return field_11_brcBottom;
- }
-
- /**
- * Set the brcBottom field for the TAP record.
- */
- public void setBrcBottom(BorderCode field_11_brcBottom)
- {
- this.field_11_brcBottom = field_11_brcBottom;
- }
-
- /**
- * Get the brcTop field for the TAP record.
- */
- public BorderCode getBrcTop()
- {
- return field_12_brcTop;
- }
-
- /**
- * Set the brcTop field for the TAP record.
- */
- public void setBrcTop(BorderCode field_12_brcTop)
- {
- this.field_12_brcTop = field_12_brcTop;
- }
-
- /**
- * Get the brcLeft field for the TAP record.
- */
- public BorderCode getBrcLeft()
- {
- return field_13_brcLeft;
- }
-
- /**
- * Set the brcLeft field for the TAP record.
- */
- public void setBrcLeft(BorderCode field_13_brcLeft)
- {
- this.field_13_brcLeft = field_13_brcLeft;
- }
-
- /**
- * Get the brcRight field for the TAP record.
- */
- public BorderCode getBrcRight()
- {
- return field_14_brcRight;
- }
-
- /**
- * Set the brcRight field for the TAP record.
- */
- public void setBrcRight(BorderCode field_14_brcRight)
- {
- this.field_14_brcRight = field_14_brcRight;
- }
-
- /**
- * Get the brcVertical field for the TAP record.
- */
- public BorderCode getBrcVertical()
- {
- return field_15_brcVertical;
- }
-
- /**
- * Set the brcVertical field for the TAP record.
- */
- public void setBrcVertical(BorderCode field_15_brcVertical)
- {
- this.field_15_brcVertical = field_15_brcVertical;
- }
-
- /**
- * Get the brcHorizontal field for the TAP record.
- */
- public BorderCode getBrcHorizontal()
- {
- return field_16_brcHorizontal;
- }
-
- /**
- * Set the brcHorizontal field for the TAP record.
- */
- public void setBrcHorizontal(BorderCode field_16_brcHorizontal)
- {
- this.field_16_brcHorizontal = field_16_brcHorizontal;
- }
-
-
-} // END OF CLASS
-
-
-
-
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/TCAbstractType.java b/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/TCAbstractType.java
deleted file mode 100644
index 0ffdce968f..0000000000
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypes/definitions/TCAbstractType.java
+++ /dev/null
@@ -1,437 +0,0 @@
-
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2003 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache POI" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache POI", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
-
-
-package org.apache.poi.hwpf.model.hdftypes.definitions;
-
-
-
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.StringUtil;
-import org.apache.poi.util.HexDump;
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.*;
-
-/**
- * Table Cell Descriptor.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
-
- * @author S. Ryan Ackley
- */
-public abstract class TCAbstractType
- implements HDFType
-{
-
- protected short field_1_rgf;
- private static BitField fFirstMerged = new BitField(0x0001);
- private static BitField fMerged = new BitField(0x0002);
- private static BitField fVertical = new BitField(0x0004);
- private static BitField fBackward = new BitField(0x0008);
- private static BitField fRotateFont = new BitField(0x0010);
- private static BitField fVertMerge = new BitField(0x0020);
- private static BitField fVertRestart = new BitField(0x0040);
- private static BitField vertAlign = new BitField(0x0180);
- protected short field_2_unused;
- protected BorderCode field_3_brcTop;
- protected BorderCode field_4_brcLeft;
- protected BorderCode field_5_brcBottom;
- protected BorderCode field_6_brcRight;
-
-
- public TCAbstractType()
- {
-
- }
-
- protected void fillFields(byte [] data, int offset)
- {
- field_1_rgf = LittleEndian.getShort(data, 0x0 + offset);
- field_2_unused = LittleEndian.getShort(data, 0x2 + offset);
- field_3_brcTop = new BorderCode(data, 0x4 + offset);
- field_4_brcLeft = new BorderCode(data, 0x8 + offset);
- field_5_brcBottom = new BorderCode(data, 0xc + offset);
- field_6_brcRight = new BorderCode(data, 0x10 + offset);
-
- }
-
- public void serialize(byte[] data, int offset)
- {
- LittleEndian.putShort(data, 0x0 + offset, (short)field_1_rgf);;
- LittleEndian.putShort(data, 0x2 + offset, (short)field_2_unused);;
- field_3_brcTop.serialize(data, 0x4 + offset);;
- field_4_brcLeft.serialize(data, 0x8 + offset);;
- field_5_brcBottom.serialize(data, 0xc + offset);;
- field_6_brcRight.serialize(data, 0x10 + offset);;
-
- }
-
- public String toString()
- {
- StringBuffer buffer = new StringBuffer();
-
- buffer.append("[TC]\n");
-
- buffer.append(" .rgf = ");
- buffer.append(" (").append(getRgf()).append(" )\n");
- buffer.append(" .fFirstMerged = ").append(isFFirstMerged()).append('\n');
- buffer.append(" .fMerged = ").append(isFMerged()).append('\n');
- buffer.append(" .fVertical = ").append(isFVertical()).append('\n');
- buffer.append(" .fBackward = ").append(isFBackward()).append('\n');
- buffer.append(" .fRotateFont = ").append(isFRotateFont()).append('\n');
- buffer.append(" .fVertMerge = ").append(isFVertMerge()).append('\n');
- buffer.append(" .fVertRestart = ").append(isFVertRestart()).append('\n');
- buffer.append(" .vertAlign = ").append(getVertAlign()).append('\n');
-
- buffer.append(" .unused = ");
- buffer.append(" (").append(getUnused()).append(" )\n");
-
- buffer.append(" .brcTop = ");
- buffer.append(" (").append(getBrcTop()).append(" )\n");
-
- buffer.append(" .brcLeft = ");
- buffer.append(" (").append(getBrcLeft()).append(" )\n");
-
- buffer.append(" .brcBottom = ");
- buffer.append(" (").append(getBrcBottom()).append(" )\n");
-
- buffer.append(" .brcRight = ");
- buffer.append(" (").append(getBrcRight()).append(" )\n");
-
- buffer.append("[/TC]\n");
- return buffer.toString();
- }
-
- /**
- * Size of record (exluding 4 byte header)
- */
- public int getSize()
- {
- return 4 + + 2 + 2 + 4 + 4 + 4 + 4;
- }
-
-
-
- /**
- * Get the rgf field for the TC record.
- */
- public short getRgf()
- {
- return field_1_rgf;
- }
-
- /**
- * Set the rgf field for the TC record.
- */
- public void setRgf(short field_1_rgf)
- {
- this.field_1_rgf = field_1_rgf;
- }
-
- /**
- * Get the unused field for the TC record.
- */
- public short getUnused()
- {
- return field_2_unused;
- }
-
- /**
- * Set the unused field for the TC record.
- */
- public void setUnused(short field_2_unused)
- {
- this.field_2_unused = field_2_unused;
- }
-
- /**
- * Get the brcTop field for the TC record.
- */
- public BorderCode getBrcTop()
- {
- return field_3_brcTop;
- }
-
- /**
- * Set the brcTop field for the TC record.
- */
- public void setBrcTop(BorderCode field_3_brcTop)
- {
- this.field_3_brcTop = field_3_brcTop;
- }
-
- /**
- * Get the brcLeft field for the TC record.
- */
- public BorderCode getBrcLeft()
- {
- return field_4_brcLeft;
- }
-
- /**
- * Set the brcLeft field for the TC record.
- */
- public void setBrcLeft(BorderCode field_4_brcLeft)
- {
- this.field_4_brcLeft = field_4_brcLeft;
- }
-
- /**
- * Get the brcBottom field for the TC record.
- */
- public BorderCode getBrcBottom()
- {
- return field_5_brcBottom;
- }
-
- /**
- * Set the brcBottom field for the TC record.
- */
- public void setBrcBottom(BorderCode field_5_brcBottom)
- {
- this.field_5_brcBottom = field_5_brcBottom;
- }
-
- /**
- * Get the brcRight field for the TC record.
- */
- public BorderCode getBrcRight()
- {
- return field_6_brcRight;
- }
-
- /**
- * Set the brcRight field for the TC record.
- */
- public void setBrcRight(BorderCode field_6_brcRight)
- {
- this.field_6_brcRight = field_6_brcRight;
- }
-
- /**
- * Sets the fFirstMerged field value.
- *
- */
- public void setFFirstMerged(boolean value)
- {
- field_1_rgf = (short)fFirstMerged.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fFirstMerged field value.
- */
- public boolean isFFirstMerged()
- {
- return fFirstMerged.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the fMerged field value.
- *
- */
- public void setFMerged(boolean value)
- {
- field_1_rgf = (short)fMerged.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fMerged field value.
- */
- public boolean isFMerged()
- {
- return fMerged.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the fVertical field value.
- *
- */
- public void setFVertical(boolean value)
- {
- field_1_rgf = (short)fVertical.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fVertical field value.
- */
- public boolean isFVertical()
- {
- return fVertical.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the fBackward field value.
- *
- */
- public void setFBackward(boolean value)
- {
- field_1_rgf = (short)fBackward.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fBackward field value.
- */
- public boolean isFBackward()
- {
- return fBackward.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the fRotateFont field value.
- *
- */
- public void setFRotateFont(boolean value)
- {
- field_1_rgf = (short)fRotateFont.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fRotateFont field value.
- */
- public boolean isFRotateFont()
- {
- return fRotateFont.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the fVertMerge field value.
- *
- */
- public void setFVertMerge(boolean value)
- {
- field_1_rgf = (short)fVertMerge.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fVertMerge field value.
- */
- public boolean isFVertMerge()
- {
- return fVertMerge.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the fVertRestart field value.
- *
- */
- public void setFVertRestart(boolean value)
- {
- field_1_rgf = (short)fVertRestart.setBoolean(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the fVertRestart field value.
- */
- public boolean isFVertRestart()
- {
- return fVertRestart.isSet(field_1_rgf);
-
- }
-
- /**
- * Sets the vertAlign field value.
- *
- */
- public void setVertAlign(byte value)
- {
- field_1_rgf = (short)vertAlign.setValue(field_1_rgf, value);
-
-
- }
-
- /**
- *
- * @return the vertAlign field value.
- */
- public byte getVertAlign()
- {
- return ( byte )vertAlign.getValue(field_1_rgf);
-
- }
-
-
-} // END OF CLASS
-
-
-
-