Methods Summary |
---|
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);
|
public byte | getCQuickSaves()
return ( byte )cQuickSaves.getValue(field_6_options);
|
public int | getChs()Get the chs field for the FIB record.
return field_11_chs;
|
public int | getChsTables()Get the chsTables field for the FIB record.
return field_12_chsTables;
|
public int | getEnvr()Get the envr field for the FIB record.
return field_9_envr;
|
public byte | getFSpare0()
return ( byte )fSpare0.getValue(field_10_history);
|
public int | getFcMac()Get the fcMac field for the FIB record.
return field_14_fcMac;
|
public int | getFcMin()Get the fcMin field for the FIB record.
return field_13_fcMin;
|
public short | getHistory()Get the history field for the FIB record.
return field_10_history;
|
public int | getLKey()Get the lKey field for the FIB record.
return field_8_lKey;
|
public int | getLid()Get the lid field for the FIB record.
return field_4_lid;
|
public int | getNFib()Get the nFib field for the FIB record.
return field_2_nFib;
|
public int | getNFibBack()Get the nFibBack field for the FIB record.
return field_7_nFibBack;
|
public int | getNProduct()Get the nProduct field for the FIB record.
return field_3_nProduct;
|
public short | getOptions()Get the options field for the FIB record.
return field_6_options;
|
public int | getPnNext()Get the pnNext field for the FIB record.
return field_5_pnNext;
|
public int | getSize()Size of record (exluding 4 byte header)
return 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4;
|
public int | getWIdent()Get the wIdent field for the FIB record.
return field_1_wIdent;
|
public boolean | isFComplex()
return fComplex.isSet(field_6_options);
|
public boolean | isFCrypto()
return fCrypto.isSet(field_6_options);
|
public boolean | isFDot()
return fDot.isSet(field_6_options);
|
public boolean | isFEmptySpecial()
return fEmptySpecial.isSet(field_10_history);
|
public boolean | isFEncrypted()
return fEncrypted.isSet(field_6_options);
|
public boolean | isFExtChar()
return fExtChar.isSet(field_6_options);
|
public boolean | isFFarEast()
return fFarEast.isSet(field_6_options);
|
public boolean | isFFutureSavedUndo()
return fFutureSavedUndo.isSet(field_10_history);
|
public boolean | isFGlsy()
return fGlsy.isSet(field_6_options);
|
public boolean | isFHasPic()
return fHasPic.isSet(field_6_options);
|
public boolean | isFLoadOverride()
return fLoadOverride.isSet(field_6_options);
|
public boolean | isFLoadOverridePage()
return fLoadOverridePage.isSet(field_10_history);
|
public boolean | isFMac()
return fMac.isSet(field_10_history);
|
public boolean | isFReadOnlyRecommended()
return fReadOnlyRecommended.isSet(field_6_options);
|
public boolean | isFWhichTblStm()
return fWhichTblStm.isSet(field_6_options);
|
public boolean | isFWord97Saved()
return fWord97Saved.isSet(field_10_history);
|
public boolean | isFWriteReservation()
return fWriteReservation.isSet(field_6_options);
|
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);;
|
public void | setCQuickSaves(byte value)Sets the cQuickSaves field value.
field_6_options = (short)cQuickSaves.setValue(field_6_options, value);
|
public void | setChs(int field_11_chs)Set the chs field for the FIB record.
this.field_11_chs = field_11_chs;
|
public void | setChsTables(int field_12_chsTables)Set the chsTables field for the FIB record.
this.field_12_chsTables = field_12_chsTables;
|
public void | setEnvr(int field_9_envr)Set the envr field for the FIB record.
this.field_9_envr = field_9_envr;
|
public void | setFComplex(boolean value)Sets the fComplex field value.
field_6_options = (short)fComplex.setBoolean(field_6_options, value);
|
public void | setFCrypto(boolean value)Sets the fCrypto field value.
field_6_options = (short)fCrypto.setBoolean(field_6_options, value);
|
public void | setFDot(boolean value)Sets the fDot field value.
field_6_options = (short)fDot.setBoolean(field_6_options, value);
|
public void | setFEmptySpecial(boolean value)Sets the fEmptySpecial field value.
field_10_history = (short)fEmptySpecial.setBoolean(field_10_history, value);
|
public void | setFEncrypted(boolean value)Sets the fEncrypted field value.
field_6_options = (short)fEncrypted.setBoolean(field_6_options, value);
|
public void | setFExtChar(boolean value)Sets the fExtChar field value.
field_6_options = (short)fExtChar.setBoolean(field_6_options, value);
|
public void | setFFarEast(boolean value)Sets the fFarEast field value.
field_6_options = (short)fFarEast.setBoolean(field_6_options, value);
|
public void | setFFutureSavedUndo(boolean value)Sets the fFutureSavedUndo field value.
field_10_history = (short)fFutureSavedUndo.setBoolean(field_10_history, value);
|
public void | setFGlsy(boolean value)Sets the fGlsy field value.
field_6_options = (short)fGlsy.setBoolean(field_6_options, value);
|
public void | setFHasPic(boolean value)Sets the fHasPic field value.
field_6_options = (short)fHasPic.setBoolean(field_6_options, value);
|
public void | setFLoadOverride(boolean value)Sets the fLoadOverride field value.
field_6_options = (short)fLoadOverride.setBoolean(field_6_options, value);
|
public void | setFLoadOverridePage(boolean value)Sets the fLoadOverridePage field value.
field_10_history = (short)fLoadOverridePage.setBoolean(field_10_history, value);
|
public void | setFMac(boolean value)Sets the fMac field value.
field_10_history = (short)fMac.setBoolean(field_10_history, value);
|
public void | setFReadOnlyRecommended(boolean value)Sets the fReadOnlyRecommended field value.
field_6_options = (short)fReadOnlyRecommended.setBoolean(field_6_options, value);
|
public void | setFSpare0(byte value)Sets the fSpare0 field value.
field_10_history = (short)fSpare0.setValue(field_10_history, value);
|
public void | setFWhichTblStm(boolean value)Sets the fWhichTblStm field value.
field_6_options = (short)fWhichTblStm.setBoolean(field_6_options, value);
|
public void | setFWord97Saved(boolean value)Sets the fWord97Saved field value.
field_10_history = (short)fWord97Saved.setBoolean(field_10_history, value);
|
public void | setFWriteReservation(boolean value)Sets the fWriteReservation field value.
field_6_options = (short)fWriteReservation.setBoolean(field_6_options, value);
|
public void | setFcMac(int field_14_fcMac)Set the fcMac field for the FIB record.
this.field_14_fcMac = field_14_fcMac;
|
public void | setFcMin(int field_13_fcMin)Set the fcMin field for the FIB record.
this.field_13_fcMin = field_13_fcMin;
|
public void | setHistory(short field_10_history)Set the history field for the FIB record.
this.field_10_history = field_10_history;
|
public void | setLKey(int field_8_lKey)Set the lKey field for the FIB record.
this.field_8_lKey = field_8_lKey;
|
public void | setLid(int field_4_lid)Set the lid field for the FIB record.
this.field_4_lid = field_4_lid;
|
public void | setNFib(int field_2_nFib)Set the nFib field for the FIB record.
this.field_2_nFib = field_2_nFib;
|
public void | setNFibBack(int field_7_nFibBack)Set the nFibBack field for the FIB record.
this.field_7_nFibBack = field_7_nFibBack;
|
public void | setNProduct(int field_3_nProduct)Set the nProduct field for the FIB record.
this.field_3_nProduct = field_3_nProduct;
|
public void | setOptions(short field_6_options)Set the options field for the FIB record.
this.field_6_options = field_6_options;
|
public void | setPnNext(int field_5_pnNext)Set the pnNext field for the FIB record.
this.field_5_pnNext = field_5_pnNext;
|
public void | setWIdent(int field_1_wIdent)Set the wIdent field for the FIB record.
this.field_1_wIdent = field_1_wIdent;
|
public java.lang.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("[/FIB]\n");
return buffer.toString();
|