/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java
Java | 3033 lines | 1846 code | 249 blank | 938 comment | 191 complexity | 66690de8458c959f0474d940a33c9f49 MD5 | raw file
Possible License(s): Apache-2.0
Large files files are truncated, but you can click here to view the full file
- /* ====================================================================
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ==================================================================== */
- package org.apache.poi.hwpf.model.types;
- import java.util.Arrays;
- import org.apache.poi.hwpf.model.Colorref;
- import org.apache.poi.hwpf.model.Hyphenation;
- import org.apache.poi.hwpf.usermodel.BorderCode;
- import org.apache.poi.hwpf.usermodel.DateAndTime;
- import org.apache.poi.hwpf.usermodel.ShadingDescriptor;
- import org.apache.poi.util.BitField;
- import org.apache.poi.util.Internal;
- /**
- * Character Properties.
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
- * @author S. Ryan Ackley
- */
- @Internal
- public abstract class CHPAbstractType
- {
- protected int field_1_grpfChp;
- /**/private static final BitField fBold = new BitField(0x00000001);
- /**/private static final BitField fItalic = new BitField(0x00000002);
- /**/private static final BitField fRMarkDel = new BitField(0x00000004);
- /**/private static final BitField fOutline = new BitField(0x00000008);
- /**/private static final BitField fFldVanish = new BitField(0x00000010);
- /**/private static final BitField fSmallCaps = new BitField(0x00000020);
- /**/private static final BitField fCaps = new BitField(0x00000040);
- /**/private static final BitField fVanish = new BitField(0x00000080);
- /**/private static final BitField fRMark = new BitField(0x00000100);
- /**/private static final BitField fSpec = new BitField(0x00000200);
- /**/private static final BitField fStrike = new BitField(0x00000400);
- /**/private static final BitField fObj = new BitField(0x00000800);
- /**/private static final BitField fShadow = new BitField(0x00001000);
- /**/private static final BitField fLowerCase = new BitField(0x00002000);
- /**/private static final BitField fData = new BitField(0x00004000);
- /**/private static final BitField fOle2 = new BitField(0x00008000);
- /**/private static final BitField fEmboss = new BitField(0x00010000);
- /**/private static final BitField fImprint = new BitField(0x00020000);
- /**/private static final BitField fDStrike = new BitField(0x00040000);
- /**/private static final BitField fUsePgsuSettings = new BitField(0x00080000);
- /**/private static final BitField fBoldBi = new BitField(0x00100000);
- /**/private static final BitField fComplexScripts = new BitField(0x00100000);
- /**/private static final BitField fItalicBi = new BitField(0x00200000);
- /**/private static final BitField fBiDi = new BitField(0x00400000);
- /**/private static final BitField fIcoBi = new BitField(0x00800000);
- /**/private static final BitField fNonGlyph = new BitField(0x01000000);
- /**/private static final BitField fBoldOther = new BitField(0x02000000);
- /**/private static final BitField fItalicOther = new BitField(0x04000000);
- /**/private static final BitField fNoProof = new BitField(0x08000000);
- /**/private static final BitField fWebHidden = new BitField(0x10000000);
- /**/private static final BitField fFitText = new BitField(0x20000000);
- /**/private static final BitField fCalc = new BitField(0x40000000);
- /**/private static final BitField fFmtLineProp = new BitField(0x80000000);
- protected int field_2_hps;
- protected int field_3_ftcAscii;
- protected int field_4_ftcFE;
- protected int field_5_ftcOther;
- protected int field_6_ftcBi;
- protected int field_7_dxaSpace;
- protected Colorref field_8_cv;
- protected byte field_9_ico;
- protected int field_10_pctCharWidth;
- protected int field_11_lidDefault;
- protected int field_12_lidFE;
- protected byte field_13_kcd;
- /**/protected final static byte KCD_NON = 0;
- /**/protected final static byte KCD_DOT = 1;
- /**/protected final static byte KCD_COMMA = 2;
- /**/protected final static byte KCD_CIRCLE = 3;
- /**/protected final static byte KCD_UNDER_DOT = 4;
- protected boolean field_14_fUndetermine;
- protected byte field_15_iss;
- /**/protected final static byte ISS_NONE = 0;
- /**/protected final static byte ISS_SUPERSCRIPTED = 1;
- /**/protected final static byte ISS_SUBSCRIPTED = 2;
- protected boolean field_16_fSpecSymbol;
- protected byte field_17_idct;
- protected byte field_18_idctHint;
- protected byte field_19_kul;
- /**/protected final static byte KUL_NONE = 0;
- /**/protected final static byte KUL_SINGLE = 1;
- /**/protected final static byte KUL_BY_WORD = 2;
- /**/protected final static byte KUL_DOUBLE = 3;
- /**/protected final static byte KUL_DOTTED = 4;
- /**/protected final static byte KUL_HIDDEN = 5;
- /**/protected final static byte KUL_THICK = 6;
- /**/protected final static byte KUL_DASH = 7;
- /**/protected final static byte KUL_DOT = 8;
- /**/protected final static byte KUL_DOT_DASH = 9;
- /**/protected final static byte KUL_DOT_DOT_DASH = 10;
- /**/protected final static byte KUL_WAVE = 11;
- /**/protected final static byte KUL_DOTTED_HEAVY = 20;
- /**/protected final static byte KUL_DASHED_HEAVY = 23;
- /**/protected final static byte KUL_DOT_DASH_HEAVY = 25;
- /**/protected final static byte KUL_DOT_DOT_DASH_HEAVY = 26;
- /**/protected final static byte KUL_WAVE_HEAVY = 27;
- /**/protected final static byte KUL_DASH_LONG = 39;
- /**/protected final static byte KUL_WAVE_DOUBLE = 43;
- /**/protected final static byte KUL_DASH_LONG_HEAVY = 55;
- protected Hyphenation field_20_hresi;
- protected int field_21_hpsKern;
- protected short field_22_hpsPos;
- protected ShadingDescriptor field_23_shd;
- protected BorderCode field_24_brc;
- protected int field_25_ibstRMark;
- protected byte field_26_sfxtText;
- /**/protected final static byte SFXTTEXT_NO = 0;
- /**/protected final static byte SFXTTEXT_LAS_VEGAS_LIGHTS = 1;
- /**/protected final static byte SFXTTEXT_BACKGROUND_BLINK = 2;
- /**/protected final static byte SFXTTEXT_SPARKLE_TEXT = 3;
- /**/protected final static byte SFXTTEXT_MARCHING_ANTS = 4;
- /**/protected final static byte SFXTTEXT_MARCHING_RED_ANTS = 5;
- /**/protected final static byte SFXTTEXT_SHIMMER = 6;
- protected boolean field_27_fDblBdr;
- protected boolean field_28_fBorderWS;
- protected short field_29_ufel;
- /**/private static final BitField itypFELayout = new BitField(0x00ff);
- /**/private static final BitField fTNY = new BitField(0x0100);
- /**/private static final BitField fWarichu = new BitField(0x0200);
- /**/private static final BitField fKumimoji = new BitField(0x0400);
- /**/private static final BitField fRuby = new BitField(0x0800);
- /**/private static final BitField fLSFitText = new BitField(0x1000);
- /**/private static final BitField spare = new BitField(0xe000);
- protected byte field_30_copt;
- /**/private static final BitField iWarichuBracket = new BitField(0x07);
- /**/private static final BitField fWarichuNoOpenBracket = new BitField(0x08);
- /**/private static final BitField fTNYCompress = new BitField(0x10);
- /**/private static final BitField fTNYFetchTxm = new BitField(0x20);
- /**/private static final BitField fCellFitText = new BitField(0x40);
- /**/private static final BitField unused = new BitField(0x80);
- protected int field_31_hpsAsci;
- protected int field_32_hpsFE;
- protected int field_33_hpsBi;
- protected int field_34_ftcSym;
- protected int field_35_xchSym;
- protected int field_36_fcPic;
- protected int field_37_fcObj;
- protected int field_38_lTagObj;
- protected int field_39_fcData;
- protected Hyphenation field_40_hresiOld;
- protected int field_41_ibstRMarkDel;
- protected DateAndTime field_42_dttmRMark;
- protected DateAndTime field_43_dttmRMarkDel;
- protected int field_44_istd;
- protected int field_45_idslRMReason;
- protected int field_46_idslReasonDel;
- protected int field_47_cpg;
- protected short field_48_Highlight;
- /**/private static final BitField icoHighlight = new BitField(0x001f);
- /**/private static final BitField fHighlight = new BitField(0x0020);
- protected short field_49_CharsetFlags;
- /**/private static final BitField fChsDiff = new BitField(0x0001);
- /**/private static final BitField fMacChs = new BitField(0x0020);
- protected short field_50_chse;
- protected boolean field_51_fPropRMark;
- protected int field_52_ibstPropRMark;
- protected DateAndTime field_53_dttmPropRMark;
- protected boolean field_54_fConflictOrig;
- protected boolean field_55_fConflictOtherDel;
- protected int field_56_wConflict;
- protected int field_57_IbstConflict;
- protected DateAndTime field_58_dttmConflict;
- protected boolean field_59_fDispFldRMark;
- protected int field_60_ibstDispFldRMark;
- protected DateAndTime field_61_dttmDispFldRMark;
- protected byte[] field_62_xstDispFldRMark;
- protected int field_63_fcObjp;
- protected byte field_64_lbrCRJ;
- /**/protected final static byte LBRCRJ_NONE = 0;
- /**/protected final static byte LBRCRJ_LEFT = 1;
- /**/protected final static byte LBRCRJ_RIGHT = 2;
- /**/protected final static byte LBRCRJ_BOTH = 3;
- protected boolean field_65_fSpecVanish;
- protected boolean field_66_fHasOldProps;
- protected boolean field_67_fSdtVanish;
- protected int field_68_wCharScale;
- protected CHPAbstractType()
- {
- this.field_2_hps = 20;
- this.field_8_cv = new Colorref();
- this.field_11_lidDefault = 0x0400;
- this.field_12_lidFE = 0x0400;
- this.field_20_hresi = new Hyphenation();
- this.field_23_shd = new ShadingDescriptor();
- this.field_24_brc = new BorderCode();
- this.field_36_fcPic = -1;
- this.field_40_hresiOld = new Hyphenation();
- this.field_42_dttmRMark = new DateAndTime();
- this.field_43_dttmRMarkDel = new DateAndTime();
- this.field_44_istd = 10;
- this.field_53_dttmPropRMark = new DateAndTime();
- this.field_58_dttmConflict = new DateAndTime();
- this.field_61_dttmDispFldRMark = new DateAndTime();
- this.field_62_xstDispFldRMark = new byte[32];
- this.field_68_wCharScale = 100;
- }
- @Override
- public boolean equals( Object obj )
- {
- if ( this == obj )
- return true;
- if ( obj == null )
- return false;
- if ( getClass() != obj.getClass() )
- return false;
- CHPAbstractType other = (CHPAbstractType) obj;
- if ( field_1_grpfChp != other.field_1_grpfChp )
- return false;
- if ( field_2_hps != other.field_2_hps )
- return false;
- if ( field_3_ftcAscii != other.field_3_ftcAscii )
- return false;
- if ( field_4_ftcFE != other.field_4_ftcFE )
- return false;
- if ( field_5_ftcOther != other.field_5_ftcOther )
- return false;
- if ( field_6_ftcBi != other.field_6_ftcBi )
- return false;
- if ( field_7_dxaSpace != other.field_7_dxaSpace )
- return false;
- if ( field_8_cv == null )
- {
- if ( other.field_8_cv != null )
- return false;
- }
- else if ( !field_8_cv.equals( other.field_8_cv ) )
- return false;
- if ( field_9_ico != other.field_9_ico )
- return false;
- if ( field_10_pctCharWidth != other.field_10_pctCharWidth )
- return false;
- if ( field_11_lidDefault != other.field_11_lidDefault )
- return false;
- if ( field_12_lidFE != other.field_12_lidFE )
- return false;
- if ( field_13_kcd != other.field_13_kcd )
- return false;
- if ( field_14_fUndetermine != other.field_14_fUndetermine )
- return false;
- if ( field_15_iss != other.field_15_iss )
- return false;
- if ( field_16_fSpecSymbol != other.field_16_fSpecSymbol )
- return false;
- if ( field_17_idct != other.field_17_idct )
- return false;
- if ( field_18_idctHint != other.field_18_idctHint )
- return false;
- if ( field_19_kul != other.field_19_kul )
- return false;
- if ( field_20_hresi == null )
- {
- if ( other.field_20_hresi != null )
- return false;
- }
- else if ( !field_20_hresi.equals( other.field_20_hresi ) )
- return false;
- if ( field_21_hpsKern != other.field_21_hpsKern )
- return false;
- if ( field_22_hpsPos != other.field_22_hpsPos )
- return false;
- if ( field_23_shd == null )
- {
- if ( other.field_23_shd != null )
- return false;
- }
- else if ( !field_23_shd.equals( other.field_23_shd ) )
- return false;
- if ( field_24_brc == null )
- {
- if ( other.field_24_brc != null )
- return false;
- }
- else if ( !field_24_brc.equals( other.field_24_brc ) )
- return false;
- if ( field_25_ibstRMark != other.field_25_ibstRMark )
- return false;
- if ( field_26_sfxtText != other.field_26_sfxtText )
- return false;
- if ( field_27_fDblBdr != other.field_27_fDblBdr )
- return false;
- if ( field_28_fBorderWS != other.field_28_fBorderWS )
- return false;
- if ( field_29_ufel != other.field_29_ufel )
- return false;
- if ( field_30_copt != other.field_30_copt )
- return false;
- if ( field_31_hpsAsci != other.field_31_hpsAsci )
- return false;
- if ( field_32_hpsFE != other.field_32_hpsFE )
- return false;
- if ( field_33_hpsBi != other.field_33_hpsBi )
- return false;
- if ( field_34_ftcSym != other.field_34_ftcSym )
- return false;
- if ( field_35_xchSym != other.field_35_xchSym )
- return false;
- if ( field_36_fcPic != other.field_36_fcPic )
- return false;
- if ( field_37_fcObj != other.field_37_fcObj )
- return false;
- if ( field_38_lTagObj != other.field_38_lTagObj )
- return false;
- if ( field_39_fcData != other.field_39_fcData )
- return false;
- if ( field_40_hresiOld == null )
- {
- if ( other.field_40_hresiOld != null )
- return false;
- }
- else if ( !field_40_hresiOld.equals( other.field_40_hresiOld ) )
- return false;
- if ( field_41_ibstRMarkDel != other.field_41_ibstRMarkDel )
- return false;
- if ( field_42_dttmRMark == null )
- {
- if ( other.field_42_dttmRMark != null )
- return false;
- }
- else if ( !field_42_dttmRMark.equals( other.field_42_dttmRMark ) )
- return false;
- if ( field_43_dttmRMarkDel == null )
- {
- if ( other.field_43_dttmRMarkDel != null )
- return false;
- }
- else if ( !field_43_dttmRMarkDel.equals( other.field_43_dttmRMarkDel ) )
- return false;
- if ( field_44_istd != other.field_44_istd )
- return false;
- if ( field_45_idslRMReason != other.field_45_idslRMReason )
- return false;
- if ( field_46_idslReasonDel != other.field_46_idslReasonDel )
- return false;
- if ( field_47_cpg != other.field_47_cpg )
- return false;
- if ( field_48_Highlight != other.field_48_Highlight )
- return false;
- if ( field_49_CharsetFlags != other.field_49_CharsetFlags )
- return false;
- if ( field_50_chse != other.field_50_chse )
- return false;
- if ( field_51_fPropRMark != other.field_51_fPropRMark )
- return false;
- if ( field_52_ibstPropRMark != other.field_52_ibstPropRMark )
- return false;
- if ( field_53_dttmPropRMark == null )
- {
- if ( other.field_53_dttmPropRMark != null )
- return false;
- }
- else if ( !field_53_dttmPropRMark.equals( other.field_53_dttmPropRMark ) )
- return false;
- if ( field_54_fConflictOrig != other.field_54_fConflictOrig )
- return false;
- if ( field_55_fConflictOtherDel != other.field_55_fConflictOtherDel )
- return false;
- if ( field_56_wConflict != other.field_56_wConflict )
- return false;
- if ( field_57_IbstConflict != other.field_57_IbstConflict )
- return false;
- if ( field_58_dttmConflict == null )
- {
- if ( other.field_58_dttmConflict != null )
- return false;
- }
- else if ( !field_58_dttmConflict.equals( other.field_58_dttmConflict ) )
- return false;
- if ( field_59_fDispFldRMark != other.field_59_fDispFldRMark )
- return false;
- if ( field_60_ibstDispFldRMark != other.field_60_ibstDispFldRMark )
- return false;
- if ( field_61_dttmDispFldRMark == null )
- {
- if ( other.field_61_dttmDispFldRMark != null )
- return false;
- }
- else if ( !field_61_dttmDispFldRMark.equals( other.field_61_dttmDispFldRMark ) )
- return false;
- if ( !Arrays.equals( field_62_xstDispFldRMark, other.field_62_xstDispFldRMark ) )
- return false;
- if ( field_63_fcObjp != other.field_63_fcObjp )
- return false;
- if ( field_64_lbrCRJ != other.field_64_lbrCRJ )
- return false;
- if ( field_65_fSpecVanish != other.field_65_fSpecVanish )
- return false;
- if ( field_66_fHasOldProps != other.field_66_fHasOldProps )
- return false;
- if ( field_67_fSdtVanish != other.field_67_fSdtVanish )
- return false;
- if ( field_68_wCharScale != other.field_68_wCharScale )
- return false;
- return true;
- }
- @Override
- public int hashCode()
- {
- final int prime = 31;
- int result = 1;
- result = prime * result + field_1_grpfChp;
- result = prime * result + field_2_hps;
- result = prime * result + field_3_ftcAscii;
- result = prime * result + field_4_ftcFE;
- result = prime * result + field_5_ftcOther;
- result = prime * result + field_6_ftcBi;
- result = prime * result + field_7_dxaSpace;
- result = prime * result
- + ((field_8_cv == null) ? 0 : field_8_cv.hashCode());
- result = prime * result + field_9_ico;
- result = prime * result + field_10_pctCharWidth;
- result = prime * result + field_11_lidDefault;
- result = prime * result + field_12_lidFE;
- result = prime * result + field_13_kcd;
- result = prime * result + ( field_14_fUndetermine? 1231 : 1237 );
- result = prime * result + field_15_iss;
- result = prime * result + ( field_16_fSpecSymbol? 1231 : 1237 );
- result = prime * result + field_17_idct;
- result = prime * result + field_18_idctHint;
- result = prime * result + field_19_kul;
- result = prime * result
- + ((field_20_hresi == null) ? 0 : field_20_hresi.hashCode());
- result = prime * result + field_21_hpsKern;
- result = prime * result + field_22_hpsPos;
- result = prime * result
- + ((field_23_shd == null) ? 0 : field_23_shd.hashCode());
- result = prime * result
- + ((field_24_brc == null) ? 0 : field_24_brc.hashCode());
- result = prime * result + field_25_ibstRMark;
- result = prime * result + field_26_sfxtText;
- result = prime * result + ( field_27_fDblBdr? 1231 : 1237 );
- result = prime * result + ( field_28_fBorderWS? 1231 : 1237 );
- result = prime * result + field_29_ufel;
- result = prime * result + field_30_copt;
- result = prime * result + field_31_hpsAsci;
- result = prime * result + field_32_hpsFE;
- result = prime * result + field_33_hpsBi;
- result = prime * result + field_34_ftcSym;
- result = prime * result + field_35_xchSym;
- result = prime * result + field_36_fcPic;
- result = prime * result + field_37_fcObj;
- result = prime * result + field_38_lTagObj;
- result = prime * result + field_39_fcData;
- result = prime * result
- + ((field_40_hresiOld == null) ? 0 : field_40_hresiOld.hashCode());
- result = prime * result + field_41_ibstRMarkDel;
- result = prime * result
- + ((field_42_dttmRMark == null) ? 0 : field_42_dttmRMark.hashCode());
- result = prime * result
- + ((field_43_dttmRMarkDel == null) ? 0 : field_43_dttmRMarkDel.hashCode());
- result = prime * result + field_44_istd;
- result = prime * result + field_45_idslRMReason;
- result = prime * result + field_46_idslReasonDel;
- result = prime * result + field_47_cpg;
- result = prime * result + field_48_Highlight;
- result = prime * result + field_49_CharsetFlags;
- result = prime * result + field_50_chse;
- result = prime * result + ( field_51_fPropRMark? 1231 : 1237 );
- result = prime * result + field_52_ibstPropRMark;
- result = prime * result
- + ((field_53_dttmPropRMark == null) ? 0 : field_53_dttmPropRMark.hashCode());
- result = prime * result + ( field_54_fConflictOrig? 1231 : 1237 );
- result = prime * result + ( field_55_fConflictOtherDel? 1231 : 1237 );
- result = prime * result + field_56_wConflict;
- result = prime * result + field_57_IbstConflict;
- result = prime * result
- + ((field_58_dttmConflict == null) ? 0 : field_58_dttmConflict.hashCode());
- result = prime * result + ( field_59_fDispFldRMark? 1231 : 1237 );
- result = prime * result + field_60_ibstDispFldRMark;
- result = prime * result
- + ((field_61_dttmDispFldRMark == null) ? 0 : field_61_dttmDispFldRMark.hashCode());
- result = prime * result + Arrays.hashCode( field_62_xstDispFldRMark );
- result = prime * result + field_63_fcObjp;
- result = prime * result + field_64_lbrCRJ;
- result = prime * result + ( field_65_fSpecVanish? 1231 : 1237 );
- result = prime * result + ( field_66_fHasOldProps? 1231 : 1237 );
- result = prime * result + ( field_67_fSdtVanish? 1231 : 1237 );
- result = prime * result + field_68_wCharScale;
- return result;
- }
- public String toString()
- {
- StringBuilder builder = new StringBuilder();
- builder.append("[CHP]\n");
- builder.append(" .grpfChp = ");
- builder.append(" (").append(getGrpfChp()).append(" )\n");
- builder.append(" .fBold = ").append(isFBold()).append('\n');
- builder.append(" .fItalic = ").append(isFItalic()).append('\n');
- builder.append(" .fRMarkDel = ").append(isFRMarkDel()).append('\n');
- builder.append(" .fOutline = ").append(isFOutline()).append('\n');
- builder.append(" .fFldVanish = ").append(isFFldVanish()).append('\n');
- builder.append(" .fSmallCaps = ").append(isFSmallCaps()).append('\n');
- builder.append(" .fCaps = ").append(isFCaps()).append('\n');
- builder.append(" .fVanish = ").append(isFVanish()).append('\n');
- builder.append(" .fRMark = ").append(isFRMark()).append('\n');
- builder.append(" .fSpec = ").append(isFSpec()).append('\n');
- builder.append(" .fStrike = ").append(isFStrike()).append('\n');
- builder.append(" .fObj = ").append(isFObj()).append('\n');
- builder.append(" .fShadow = ").append(isFShadow()).append('\n');
- builder.append(" .fLowerCase = ").append(isFLowerCase()).append('\n');
- builder.append(" .fData = ").append(isFData()).append('\n');
- builder.append(" .fOle2 = ").append(isFOle2()).append('\n');
- builder.append(" .fEmboss = ").append(isFEmboss()).append('\n');
- builder.append(" .fImprint = ").append(isFImprint()).append('\n');
- builder.append(" .fDStrike = ").append(isFDStrike()).append('\n');
- builder.append(" .fUsePgsuSettings = ").append(isFUsePgsuSettings()).append('\n');
- builder.append(" .fBoldBi = ").append(isFBoldBi()).append('\n');
- builder.append(" .fComplexScripts = ").append(isFComplexScripts()).append('\n');
- builder.append(" .fItalicBi = ").append(isFItalicBi()).append('\n');
- builder.append(" .fBiDi = ").append(isFBiDi()).append('\n');
- builder.append(" .fIcoBi = ").append(isFIcoBi()).append('\n');
- builder.append(" .fNonGlyph = ").append(isFNonGlyph()).append('\n');
- builder.append(" .fBoldOther = ").append(isFBoldOther()).append('\n');
- builder.append(" .fItalicOther = ").append(isFItalicOther()).append('\n');
- builder.append(" .fNoProof = ").append(isFNoProof()).append('\n');
- builder.append(" .fWebHidden = ").append(isFWebHidden()).append('\n');
- builder.append(" .fFitText = ").append(isFFitText()).append('\n');
- builder.append(" .fCalc = ").append(isFCalc()).append('\n');
- builder.append(" .fFmtLineProp = ").append(isFFmtLineProp()).append('\n');
- builder.append(" .hps = ");
- builder.append(" (").append(getHps()).append(" )\n");
- builder.append(" .ftcAscii = ");
- builder.append(" (").append(getFtcAscii()).append(" )\n");
- builder.append(" .ftcFE = ");
- builder.append(" (").append(getFtcFE()).append(" )\n");
- builder.append(" .ftcOther = ");
- builder.append(" (").append(getFtcOther()).append(" )\n");
- builder.append(" .ftcBi = ");
- builder.append(" (").append(getFtcBi()).append(" )\n");
- builder.append(" .dxaSpace = ");
- builder.append(" (").append(getDxaSpace()).append(" )\n");
- builder.append(" .cv = ");
- builder.append(" (").append(getCv()).append(" )\n");
- builder.append(" .ico = ");
- builder.append(" (").append(getIco()).append(" )\n");
- builder.append(" .pctCharWidth = ");
- builder.append(" (").append(getPctCharWidth()).append(" )\n");
- builder.append(" .lidDefault = ");
- builder.append(" (").append(getLidDefault()).append(" )\n");
- builder.append(" .lidFE = ");
- builder.append(" (").append(getLidFE()).append(" )\n");
- builder.append(" .kcd = ");
- builder.append(" (").append(getKcd()).append(" )\n");
- builder.append(" .fUndetermine = ");
- builder.append(" (").append(getFUndetermine()).append(" )\n");
- builder.append(" .iss = ");
- builder.append(" (").append(getIss()).append(" )\n");
- builder.append(" .fSpecSymbol = ");
- builder.append(" (").append(getFSpecSymbol()).append(" )\n");
- builder.append(" .idct = ");
- builder.append(" (").append(getIdct()).append(" )\n");
- builder.append(" .idctHint = ");
- builder.append(" (").append(getIdctHint()).append(" )\n");
- builder.append(" .kul = ");
- builder.append(" (").append(getKul()).append(" )\n");
- builder.append(" .hresi = ");
- builder.append(" (").append(getHresi()).append(" )\n");
- builder.append(" .hpsKern = ");
- builder.append(" (").append(getHpsKern()).append(" )\n");
- builder.append(" .hpsPos = ");
- builder.append(" (").append(getHpsPos()).append(" )\n");
- builder.append(" .shd = ");
- builder.append(" (").append(getShd()).append(" )\n");
- builder.append(" .brc = ");
- builder.append(" (").append(getBrc()).append(" )\n");
- builder.append(" .ibstRMark = ");
- builder.append(" (").append(getIbstRMark()).append(" )\n");
- builder.append(" .sfxtText = ");
- builder.append(" (").append(getSfxtText()).append(" )\n");
- builder.append(" .fDblBdr = ");
- builder.append(" (").append(getFDblBdr()).append(" )\n");
- builder.append(" .fBorderWS = ");
- builder.append(" (").append(getFBorderWS()).append(" )\n");
- builder.append(" .ufel = ");
- builder.append(" (").append(getUfel()).append(" )\n");
- builder.append(" .itypFELayout = ").append(getItypFELayout()).append('\n');
- builder.append(" .fTNY = ").append(isFTNY()).append('\n');
- builder.append(" .fWarichu = ").append(isFWarichu()).append('\n');
- builder.append(" .fKumimoji = ").append(isFKumimoji()).append('\n');
- builder.append(" .fRuby = ").append(isFRuby()).append('\n');
- builder.append(" .fLSFitText = ").append(isFLSFitText()).append('\n');
- builder.append(" .spare = ").append(getSpare()).append('\n');
- builder.append(" .copt = ");
- builder.append(" (").append(getCopt()).append(" )\n");
- builder.append(" .iWarichuBracket = ").append(getIWarichuBracket()).append('\n');
- builder.append(" .fWarichuNoOpenBracket = ").append(isFWarichuNoOpenBracket()).append('\n');
- builder.append(" .fTNYCompress = ").append(isFTNYCompress()).append('\n');
- builder.append(" .fTNYFetchTxm = ").append(isFTNYFetchTxm()).append('\n');
- builder.append(" .fCellFitText = ").append(isFCellFitText()).append('\n');
- builder.append(" .unused = ").append(isUnused()).append('\n');
- builder.append(" .hpsAsci = ");
- builder.append(" (").append(getHpsAsci()).append(" )\n");
- builder.append(" .hpsFE = ");
- builder.append(" (").append(getHpsFE()).append(" )\n");
- builder.append(" .hpsBi = ");
- builder.append(" (").append(getHpsBi()).append(" )\n");
- builder.append(" .ftcSym = ");
- builder.append(" (").append(getFtcSym()).append(" )\n");
- builder.append(" .xchSym = ");
- builder.append(" (").append(getXchSym()).append(" )\n");
- builder.append(" .fcPic = ");
- builder.append(" (").append(getFcPic()).append(" )\n");
- builder.append(" .fcObj = ");
- builder.append(" (").append(getFcObj()).append(" )\n");
- builder.append(" .lTagObj = ");
- builder.append(" (").append(getLTagObj()).append(" )\n");
- builder.append(" .fcData = ");
- builder.append(" (").append(getFcData()).append(" )\n");
- builder.append(" .hresiOld = ");
- builder.append(" (").append(getHresiOld()).append(" )\n");
- builder.append(" .ibstRMarkDel = ");
- builder.append(" (").append(getIbstRMarkDel()).append(" )\n");
- builder.append(" .dttmRMark = ");
- builder.append(" (").append(getDttmRMark()).append(" )\n");
- builder.append(" .dttmRMarkDel = ");
- builder.append(" (").append(getDttmRMarkDel()).append(" )\n");
- builder.append(" .istd = ");
- builder.append(" (").append(getIstd()).append(" )\n");
- builder.append(" .idslRMReason = ");
- builder.append(" (").append(getIdslRMReason()).append(" )\n");
- builder.append(" .idslReasonDel = ");
- builder.append(" (").append(getIdslReasonDel()).append(" )\n");
- builder.append(" .cpg = ");
- builder.append(" (").append(getCpg()).append(" )\n");
- builder.append(" .Highlight = ");
- builder.append(" (").append(getHighlight()).append(" )\n");
- builder.append(" .icoHighlight = ").append(getIcoHighlight()).append('\n');
- builder.append(" .fHighlight = ").append(isFHighlight()).append('\n');
- builder.append(" .CharsetFlags = ");
- builder.append(" (").append(getCharsetFlags()).append(" )\n");
- builder.append(" .fChsDiff = ").append(isFChsDiff()).append('\n');
- builder.append(" .fMacChs = ").append(isFMacChs()).append('\n');
- builder.append(" .chse = ");
- builder.append(" (").append(getChse()).append(" )\n");
- builder.append(" .fPropRMark = ");
- builder.append(" (").append(getFPropRMark()).append(" )\n");
- builder.append(" .ibstPropRMark = ");
- builder.append(" (").append(getIbstPropRMark()).append(" )\n");
- builder.append(" .dttmPropRMark = ");
- builder.append(" (").append(getDttmPropRMark()).append(" )\n");
- builder.append(" .fConflictOrig = ");
- builder.append(" (").append(getFConflictOrig()).append(" )\n");
- builder.append(" .fConflictOtherDel = ");
- builder.append(" (").append(getFConflictOtherDel()).append(" )\n");
- builder.append(" .wConflict = ");
- builder.append(" (").append(getWConflict()).append(" )\n");
- builder.append(" .IbstConflict = ");
- builder.append(" (").append(getIbstConflict()).append(" )\n");
- builder.append(" .dttmConflict = ");
- builder.append(" (").append(getDttmConflict()).append(" )\n");
- builder.append(" .fDispFldRMark = ");
- builder.append(" (").append(getFDispFldRMark()).append(" )\n");
- builder.append(" .ibstDispFldRMark = ");
- builder.append(" (").append(getIbstDispFldRMark()).append(" )\n");
- builder.append(" .dttmDispFldRMark = ");
- builder.append(" (").append(getDttmDispFldRMark()).append(" )\n");
- builder.append(" .xstDispFldRMark = ");
- builder.append(" (").append(getXstDispFldRMark()).append(" )\n");
- builder.append(" .fcObjp = ");
- builder.append(" (").append(getFcObjp()).append(" )\n");
- builder.append(" .lbrCRJ = ");
- builder.append(" (").append(getLbrCRJ()).append(" )\n");
- builder.append(" .fSpecVanish = ");
- builder.append(" (").append(getFSpecVanish()).append(" )\n");
- builder.append(" .fHasOldProps = ");
- builder.append(" (").append(getFHasOldProps()).append(" )\n");
- builder.append(" .fSdtVanish = ");
- builder.append(" (").append(getFSdtVanish()).append(" )\n");
- builder.append(" .wCharScale = ");
- builder.append(" (").append(getWCharScale()).append(" )\n");
- builder.append("[/CHP]\n");
- return builder.toString();
- }
- /**
- * Collection of the 32 flags.
- */
- @Internal
- public int getGrpfChp()
- {
- return field_1_grpfChp;
- }
- /**
- * Collection of the 32 flags.
- */
- @Internal
- public void setGrpfChp( int field_1_grpfChp )
- {
- this.field_1_grpfChp = field_1_grpfChp;
- }
- /**
- * Font size in half points.
- */
- @Internal
- public int getHps()
- {
- return field_2_hps;
- }
- /**
- * Font size in half points.
- */
- @Internal
- public void setHps( int field_2_hps )
- {
- this.field_2_hps = field_2_hps;
- }
- /**
- * Font for ASCII text.
- */
- @Internal
- public int getFtcAscii()
- {
- return field_3_ftcAscii;
- }
- /**
- * Font for ASCII text.
- */
- @Internal
- public void setFtcAscii( int field_3_ftcAscii )
- {
- this.field_3_ftcAscii = field_3_ftcAscii;
- }
- /**
- * Font for East Asian text.
- */
- @Internal
- public int getFtcFE()
- {
- return field_4_ftcFE;
- }
- /**
- * Font for East Asian text.
- */
- @Internal
- public void setFtcFE( int field_4_ftcFE )
- {
- this.field_4_ftcFE = field_4_ftcFE;
- }
- /**
- * Font for non-East Asian text.
- */
- @Internal
- public int getFtcOther()
- {
- return field_5_ftcOther;
- }
- /**
- * Font for non-East Asian text.
- */
- @Internal
- public void setFtcOther( int field_5_ftcOther )
- {
- this.field_5_ftcOther = field_5_ftcOther;
- }
- /**
- * Font for Complex Scripts text.
- */
- @Internal
- public int getFtcBi()
- {
- return field_6_ftcBi;
- }
- /**
- * Font for Complex Scripts text.
- */
- @Internal
- public void setFtcBi( int field_6_ftcBi )
- {
- this.field_6_ftcBi = field_6_ftcBi;
- }
- /**
- * Space following each character in the run expressed in twip units..
- */
- @Internal
- public int getDxaSpace()
- {
- return field_7_dxaSpace;
- }
- /**
- * Space following each character in the run expressed in twip units..
- */
- @Internal
- public void setDxaSpace( int field_7_dxaSpace )
- {
- this.field_7_dxaSpace = field_7_dxaSpace;
- }
- /**
- * 24-bit color.
- */
- @Internal
- public Colorref getCv()
- {
- return field_8_cv;
- }
- /**
- * 24-bit color.
- */
- @Internal
- public void setCv( Colorref field_8_cv )
- {
- this.field_8_cv = field_8_cv;
- }
- /**
- * Color of text for Word 97.
- */
- @Internal
- public byte getIco()
- {
- return field_9_ico;
- }
- /**
- * Color of text for Word 97.
- */
- @Internal
- public void setIco( byte field_9_ico )
- {
- this.field_9_ico = field_9_ico;
- }
- /**
- * Character scale.
- */
- @Internal
- public int getPctCharWidth()
- {
- return field_10_pctCharWidth;
- }
- /**
- * Character scale.
- */
- @Internal
- public void setPctCharWidth( int field_10_pctCharWidth )
- {
- this.field_10_pctCharWidth = field_10_pctCharWidth;
- }
- /**
- * Get the lidDefault field for the CHP record.
- */
- @Internal
- public int getLidDefault()
- {
- return field_11_lidDefault;
- }
- /**
- * Set the lidDefault field for the CHP record.
- */
- @Internal
- public void setLidDefault( int field_11_lidDefault )
- {
- this.field_11_lidDefault = field_11_lidDefault;
- }
- /**
- * Get the lidFE field for the CHP record.
- */
- @Internal
- public int getLidFE()
- {
- return field_12_lidFE;
- }
- /**
- * Set the lidFE field for the CHP record.
- */
- @Internal
- public void setLidFE( int field_12_lidFE )
- {
- this.field_12_lidFE = field_12_lidFE;
- }
- /**
- * Emphasis mark.
- *
- * @return One of
- * <li>{@link #KCD_NON}
- * <li>{@link #KCD_DOT}
- * <li>{@link #KCD_COMMA}
- * <li>{@link #KCD_CIRCLE}
- * <li>{@link #KCD_UNDER_DOT}
- */
- @Internal
- public byte getKcd()
- {
- return field_13_kcd;
- }
- /**
- * Emphasis mark.
- *
- * @param field_13_kcd
- * One of
- * <li>{@link #KCD_NON}
- * <li>{@link #KCD_DOT}
- * <li>{@link #KCD_COMMA}
- * <li>{@link #KCD_CIRCLE}
- * <li>{@link #KCD_UNDER_DOT}
- */
- @Internal
- public void setKcd( byte field_13_kcd )
- {
- this.field_13_kcd = field_13_kcd;
- }
- /**
- * Character is undetermined.
- */
- @Internal
- public boolean getFUndetermine()
- {
- return field_14_fUndetermine;
- }
- /**
- * Character is undetermined.
- */
- @Internal
- public void setFUndetermine( boolean field_14_fUndetermine )
- {
- this.field_14_fUndetermine = field_14_fUndetermine;
- }
- /**
- * Superscript/subscript indices.
- *
- * @return One of
- * <li>{@link #ISS_NONE}
- * <li>{@link #ISS_SUPERSCRIPTED}
- * <li>{@link #ISS_SUBSCRIPTED}
- */
- @Internal
- public byte getIss()
- {
- return field_15_iss;
- }
- /**
- * Superscript/subscript indices.
- *
- * @param field_15_iss
- * One of
- * <li>{@link #ISS_NONE}
- * <li>{@link #ISS_SUPERSCRIPTED}
- * <li>{@link #ISS_SUBSCRIPTED}
- */
- @Internal
- public void setIss( byte field_15_iss )
- {
- this.field_15_iss = field_15_iss;
- }
- /**
- * Used by Word internally.
- */
- @Internal
- public boolean getFSpecSymbol()
- {
- return field_16_fSpecSymbol;
- }
- /**
- * Used by Word internally.
- */
- @Internal
- public void setFSpecSymbol( boolean field_16_fSpecSymbol )
- {
- this.field_16_fSpecSymbol = field_16_fSpecSymbol;
- }
- /**
- * Not stored in file.
- */
- @Internal
- public byte getIdct()
- {
- return field_17_idct;
- }
- /**
- * Not stored in file.
- */
- @Internal
- public void setIdct( byte field_17_idct )
- {
- this.field_17_idct = field_17_idct;
- }
- /**
- * Identifier of Character type.
- */
- @Internal
- public byte getIdctHint()
- {
- return field_18_idctHint;
- }
- /**
- * Identifier of Character type.
- */
- @Internal
- public void setIdctHint( byte field_18_idctHint )
- {
- this.field_18_idctHint = field_18_idctHint;
- }
- /**
- * Underline code.
- *
- * @return One of
- * <li>{@link #KUL_NONE}
- * <li>{@link #KUL_SINGLE}
- * <li>{@link #KUL_BY_WORD}
- * <li>{@link #KUL_DOUBLE}
- * <li>{@link #KUL_DOTTED}
- * <li>{@link #KUL_HIDDEN}
- * <li>{@link #KUL_THICK}
- * <li>{@link #KUL_DASH}
- * <li>{@link #KUL_DOT}
- * <li>{@link #KUL_DOT_DASH}
- * <li>{@link #KUL_DOT_DOT_DASH}
- * <li>{@link #KUL_WAVE}
- * <li>{@link #KUL_DOTTED_HEAVY}
- * <li>{@link #KUL_DASHED_HEAVY}
- * <li>{@link #KUL_DOT_DASH_HEAVY}
- * <li>{@link #KUL_DOT_DOT_DASH_HEAVY}
- * <li>{@link #KUL_WAVE_HEAVY}
- * <li>{@link #KUL_DASH_LONG}
- * <li>{@link #KUL_WAVE_DOUBLE}
- * <li>{@link #KUL_DASH_LONG_HEAVY}
- */
- @Internal
- public byte getKul()
- {
- return field_19_kul;
- }
- /**
- * Underline code.
- *
- * @param field_19_kul
- * One of
- * <li>{@link #KUL_NONE}
- * <li>{@link #KUL_SINGLE}
- * <li>{@link #KUL_BY_WORD}
- * <li>{@link #KUL_DOUBLE}
- * <li>{@link #KUL_DOTTED}
- * <li>{@link #KUL_HIDDEN}
- * <li>{@link #KUL_THICK}
- * <li>{@link #KUL_DASH}
- * <li>{@link #KUL_DOT}
- * <li>{@link #KUL_DOT_DASH}
- * <li>{@link #KUL_DOT_DOT_DASH}
- * <li>{@link #KUL_WAVE}
- * <li>{@link #KUL_DOTTED_HEAVY}
- * <li>{@link #KUL_DASHED_HEAVY}
- * <li>{@link #KUL_DOT_DASH_HEAVY}
- * <li>{@link #KUL_DOT_DOT_DASH_HEAVY}
- * <li>{@link #KUL_WAVE_HEAVY}
- * <li>{@link #KUL_DASH_LONG}
- * <li>{@link #KUL_WAVE_DOUBLE}
- * <li>{@link #KUL_DASH_LONG_HEAVY}
- */
- @Internal
- public void setKul( byte field_19_kul )
- {
- this.field_19_kul = field_19_kul;
- }
- /**
- * Get the hresi field for the CHP record.
- */
- @Internal
- public Hyphenation getHresi()
- {
- return field_20_hresi;
- }
- /**
- * Set the hresi field for the CHP record.
- */
- @Internal
- public void setHresi( Hyphenation field_20_hresi )
- {
- this.field_20_hresi = field_20_hresi;
- }
- /**
- * Kerning distance for characters in run recorded in half points.
- */
- @Internal
- public int getHpsKern()
- {
- return field_21_hpsKern;
- }
- /**
- * Kerning distance for characters in run recorded in half points.
- */
- @Internal
- public void setHpsKern( int field_21_hpsKern )
- {
- this.field_21_hpsKern = field_21_hpsKern;
- }
- /**
- * Reserved (actually used as vertical offset(?) value).
- */
- @Internal
- public short getHpsPos()
- {
- return field_22_hpsPos;
- }
- /**
- * Reserved (actually used as vertical offset(?) value).
- */
- @Internal
- public void setHpsPos( short field_22_hpsPos )
- {
- this.field_22_hpsPos = field_22_hpsPos;
- }
- /**
- * Shading.
- */
- @Internal
- public ShadingDescriptor getShd()
- {
- return field_23_shd;
- }
- /**
- * Shading.
- */
- @Internal
- public void setShd( ShadingDescriptor field_23_shd )
- {
- this.field_23_shd = field_23_shd;
- }
- /**
- * Border.
- */
- @Internal
- public BorderCode getBrc()
- {
- return field_24_brc;
- }
- /**
- * Border.
- */
- @Internal
- public void setBrc( BorderCode field_24_brc )
- {
- this.field_24_brc = field_24_brc;
- }
- /**
- * Index to author IDs stored in hsttbfRMark. Used when text in run was newly typed when revision marking was enabled.
- */
- @Internal
- public int getIbstRMark()
- {
- return field_25_ibstRMark;
- }
- /**
- * Index to author IDs stored in hsttbfRMark. Used when text in run was newly typed when revision marking was enabled.
- */
- @Internal
- public void setIbstRMark( int field_25_ibstRMark )
- {
- this.field_25_ibstRMark = field_25_ibstRMark;
- }
- /**
- * Text animation.
- *
- * @return One of
- * <li>{@link #SFXTTEXT_NO}
- * <li>{@link #SFXTTEXT_LAS_VEGAS_LIGHTS}
- * <li>{@link #SFXTTEXT_BACKGROUND_BLINK}
- * <li>{@link #SFXTTEXT_SPARKLE_TEXT}
- * <li>{@link #SFXTTEXT_MARCHING_ANTS}
- * <li>{@link #SFXTTEXT_MARCHING_RED_ANTS}
- * <li>{@link #SFXTTEXT_SHIMMER}
- */
- @Internal
- public byte getSfxtText()
- {
- return field_26_sfxtText;
- }
- /**
- * Text animation.
- *
- * @param field_26_sfxtText
- * One of
- * <li>{@link #SFXTTEXT_NO}
- * <li>{@link #SFXTTEXT_LAS_VEGAS_LIGHTS}
- * <li>{@link #SFXTTEXT_BACKGROUND_BLINK}
- * <li>{@link #SFXTTEXT_SPARKLE_TEXT}
- * <li>{@link #SFXTTEXT_MARCHING_ANTS}
- * <li>{@link #SFXTTEXT_MARCHING_RED_ANTS}
- * <li>{@link #SFXTTEXT_SHIMMER}
- */
- @Internal
- public void setSfxtText( byte field_26_sfxtText )
- {
- this.field_26_sfxtText = field_26_sfxtText;
- }
- /**
- * Used internally by Word.
- */
- @Internal
- public boolean getFDblBdr()
- {
- return field_27_fDblBdr;
- }
- /**
- * Used internally by Word.
- */
- @Internal
- public void setFDblBdr( boolean field_27_fDblBdr )
- {
- this.field_27_fDblBdr = field_27_fDblBdr;
- }
- /**
- * Used internally by Word.
- */
- @Internal
- public boolean getFBorderWS()
- {
- return field_28_fBorderWS;
- }
- /**
- * Used internally by Word.
- */
- @Internal
- public void setFBorderWS( boolean field_28_fBorderWS )
- {
- this.field_28_fBorderWS = field_28_fBorderWS;
- }
- /**
- * Collection properties represented by itypFELayout and copt (East Asian layout properties).
- */
- @Internal
- public short getUfel()
- {
- return field_29_ufel;
- }
- /**
- * Collection properties represented by itypFELayout and copt (East Asian layout properties).
- */
- @Internal
- public void setUfel( short field_29_ufel )
- {
- this.field_29_ufel = field_29_ufel;
- }
- /**
- * Collection of the 5 flags.
- */
- @Internal
- public byte getCopt()
- {
- return field_30_copt;
- }
- /**
- * Collection of the 5 flags.
- */
- @Internal
- public void setCopt( byte field_30_copt )
- {
- this.field_30_copt = field_30_copt;
- }
- /**
- * Font size for ASCII font.
- */
- @Internal
- public int getHpsAsci()
- {
- return field_31_hpsAsci;
- }
- /**
- * Font size for ASCII font.
- */
- @Internal
- public void setHpsAsci( int field_31_hpsAsci )
- {
- this.field_31_hpsAsci = field_31_hpsAsci;
- }
- /**
- * Font size for East Asian text.
- */
- @Internal
- publ…
Large files files are truncated, but you can click here to view the full file