You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHPAbstractType.java 90KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962
  1. /* ====================================================================
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. ==================================================================== */
  15. package org.apache.poi.hwpf.model.types;
  16. import java.util.Arrays;
  17. import org.apache.poi.hwpf.model.Colorref;
  18. import org.apache.poi.hwpf.model.Hyphenation;
  19. import org.apache.poi.hwpf.usermodel.BorderCode;
  20. import org.apache.poi.hwpf.usermodel.DateAndTime;
  21. import org.apache.poi.hwpf.usermodel.ShadingDescriptor;
  22. import org.apache.poi.util.BitField;
  23. import org.apache.poi.util.Internal;
  24. /**
  25. * Character Properties.
  26. */
  27. @SuppressWarnings("unused")
  28. @Internal
  29. public abstract class CHPAbstractType {
  30. private static final BitField fBold = new BitField(0x00000001);
  31. private static final BitField fItalic = new BitField(0x00000002);
  32. private static final BitField fRMarkDel = new BitField(0x00000004);
  33. private static final BitField fOutline = new BitField(0x00000008);
  34. private static final BitField fFldVanish = new BitField(0x00000010);
  35. private static final BitField fSmallCaps = new BitField(0x00000020);
  36. private static final BitField fCaps = new BitField(0x00000040);
  37. private static final BitField fVanish = new BitField(0x00000080);
  38. private static final BitField fRMark = new BitField(0x00000100);
  39. private static final BitField fSpec = new BitField(0x00000200);
  40. private static final BitField fStrike = new BitField(0x00000400);
  41. private static final BitField fObj = new BitField(0x00000800);
  42. private static final BitField fShadow = new BitField(0x00001000);
  43. private static final BitField fLowerCase = new BitField(0x00002000);
  44. private static final BitField fData = new BitField(0x00004000);
  45. private static final BitField fOle2 = new BitField(0x00008000);
  46. private static final BitField fEmboss = new BitField(0x00010000);
  47. private static final BitField fImprint = new BitField(0x00020000);
  48. private static final BitField fDStrike = new BitField(0x00040000);
  49. private static final BitField fUsePgsuSettings = new BitField(0x00080000);
  50. private static final BitField fBoldBi = new BitField(0x00100000);
  51. private static final BitField fComplexScripts = new BitField(0x00100000);
  52. private static final BitField fItalicBi = new BitField(0x00200000);
  53. private static final BitField fBiDi = new BitField(0x00400000);
  54. private static final BitField fIcoBi = new BitField(0x00800000);
  55. private static final BitField fNonGlyph = new BitField(0x01000000);
  56. private static final BitField fBoldOther = new BitField(0x02000000);
  57. private static final BitField fItalicOther = new BitField(0x04000000);
  58. private static final BitField fNoProof = new BitField(0x08000000);
  59. private static final BitField fWebHidden = new BitField(0x10000000);
  60. private static final BitField fFitText = new BitField(0x20000000);
  61. private static final BitField fCalc = new BitField(0x40000000);
  62. private static final BitField fFmtLineProp = new BitField(0x80000000);
  63. protected static final byte SFXTTEXT_NO = 0;
  64. protected static final byte SFXTTEXT_LAS_VEGAS_LIGHTS = 1;
  65. protected static final byte SFXTTEXT_BACKGROUND_BLINK = 2;
  66. protected static final byte SFXTTEXT_SPARKLE_TEXT = 3;
  67. protected static final byte SFXTTEXT_MARCHING_ANTS = 4;
  68. protected static final byte SFXTTEXT_MARCHING_RED_ANTS = 5;
  69. protected static final byte SFXTTEXT_SHIMMER = 6;
  70. protected static final byte KCD_NON = 0;
  71. protected static final byte KCD_DOT = 1;
  72. protected static final byte KCD_COMMA = 2;
  73. protected static final byte KCD_CIRCLE = 3;
  74. protected static final byte KCD_UNDER_DOT = 4;
  75. protected static final byte KUL_NONE = 0;
  76. protected static final byte KUL_SINGLE = 1;
  77. protected static final byte KUL_BY_WORD = 2;
  78. protected static final byte KUL_DOUBLE = 3;
  79. protected static final byte KUL_DOTTED = 4;
  80. protected static final byte KUL_HIDDEN = 5;
  81. protected static final byte KUL_THICK = 6;
  82. protected static final byte KUL_DASH = 7;
  83. protected static final byte KUL_DOT = 8;
  84. protected static final byte KUL_DOT_DASH = 9;
  85. protected static final byte KUL_DOT_DOT_DASH = 10;
  86. protected static final byte KUL_WAVE = 11;
  87. protected static final byte KUL_DOTTED_HEAVY = 20;
  88. protected static final byte KUL_DASHED_HEAVY = 23;
  89. protected static final byte KUL_DOT_DASH_HEAVY = 25;
  90. protected static final byte KUL_DOT_DOT_DASH_HEAVY = 26;
  91. protected static final byte KUL_WAVE_HEAVY = 27;
  92. protected static final byte KUL_DASH_LONG = 39;
  93. protected static final byte KUL_WAVE_DOUBLE = 43;
  94. protected static final byte KUL_DASH_LONG_HEAVY = 55;
  95. protected static final byte ISS_NONE = 0;
  96. protected static final byte ISS_SUPERSCRIPTED = 1;
  97. protected static final byte ISS_SUBSCRIPTED = 2;
  98. private static final BitField itypFELayout = new BitField(0x00ff);
  99. private static final BitField fTNY = new BitField(0x0100);
  100. private static final BitField fWarichu = new BitField(0x0200);
  101. private static final BitField fKumimoji = new BitField(0x0400);
  102. private static final BitField fRuby = new BitField(0x0800);
  103. private static final BitField fLSFitText = new BitField(0x1000);
  104. private static final BitField spare = new BitField(0xe000);
  105. private static final BitField iWarichuBracket = new BitField(0x07);
  106. private static final BitField fWarichuNoOpenBracket = new BitField(0x08);
  107. private static final BitField fTNYCompress = new BitField(0x10);
  108. private static final BitField fTNYFetchTxm = new BitField(0x20);
  109. private static final BitField fCellFitText = new BitField(0x40);
  110. private static final BitField unused = new BitField(0x80);
  111. private static final BitField icoHighlight = new BitField(0x001f);
  112. private static final BitField fHighlight = new BitField(0x0020);
  113. private static final BitField fChsDiff = new BitField(0x0001);
  114. private static final BitField fMacChs = new BitField(0x0020);
  115. protected static final byte LBRCRJ_NONE = 0;
  116. protected static final byte LBRCRJ_LEFT = 1;
  117. protected static final byte LBRCRJ_RIGHT = 2;
  118. protected static final byte LBRCRJ_BOTH = 3;
  119. protected int field_1_grpfChp;
  120. protected int field_2_hps;
  121. protected int field_3_ftcAscii;
  122. protected int field_4_ftcFE;
  123. protected int field_5_ftcOther;
  124. protected int field_6_ftcBi;
  125. protected int field_7_dxaSpace;
  126. protected Colorref field_8_cv;
  127. protected byte field_9_ico;
  128. protected int field_10_pctCharWidth;
  129. protected int field_11_lidDefault;
  130. protected int field_12_lidFE;
  131. protected byte field_13_kcd;
  132. protected boolean field_14_fUndetermine;
  133. protected byte field_15_iss;
  134. protected boolean field_16_fSpecSymbol;
  135. protected byte field_17_idct;
  136. protected byte field_18_idctHint;
  137. protected byte field_19_kul;
  138. protected Hyphenation field_20_hresi;
  139. protected int field_21_hpsKern;
  140. protected short field_22_hpsPos;
  141. protected ShadingDescriptor field_23_shd;
  142. protected BorderCode field_24_brc;
  143. protected int field_25_ibstRMark;
  144. protected byte field_26_sfxtText;
  145. protected boolean field_27_fDblBdr;
  146. protected boolean field_28_fBorderWS;
  147. protected short field_29_ufel;
  148. protected byte field_30_copt;
  149. protected int field_31_hpsAsci;
  150. protected int field_32_hpsFE;
  151. protected int field_33_hpsBi;
  152. protected int field_34_ftcSym;
  153. protected int field_35_xchSym;
  154. protected int field_36_fcPic;
  155. protected int field_37_fcObj;
  156. protected int field_38_lTagObj;
  157. protected int field_39_fcData;
  158. protected Hyphenation field_40_hresiOld;
  159. protected int field_41_ibstRMarkDel;
  160. protected DateAndTime field_42_dttmRMark;
  161. protected DateAndTime field_43_dttmRMarkDel;
  162. protected int field_44_istd;
  163. protected int field_45_idslRMReason;
  164. protected int field_46_idslReasonDel;
  165. protected int field_47_cpg;
  166. protected short field_48_Highlight;
  167. protected short field_49_CharsetFlags;
  168. protected short field_50_chse;
  169. protected boolean field_51_fPropRMark;
  170. protected int field_52_ibstPropRMark;
  171. protected DateAndTime field_53_dttmPropRMark;
  172. protected boolean field_54_fConflictOrig;
  173. protected boolean field_55_fConflictOtherDel;
  174. protected int field_56_wConflict;
  175. protected int field_57_IbstConflict;
  176. protected DateAndTime field_58_dttmConflict;
  177. protected boolean field_59_fDispFldRMark;
  178. protected int field_60_ibstDispFldRMark;
  179. protected DateAndTime field_61_dttmDispFldRMark;
  180. protected byte[] field_62_xstDispFldRMark;
  181. protected int field_63_fcObjp;
  182. protected byte field_64_lbrCRJ;
  183. protected boolean field_65_fSpecVanish;
  184. protected boolean field_66_fHasOldProps;
  185. protected boolean field_67_fSdtVanish;
  186. protected int field_68_wCharScale;
  187. protected CHPAbstractType() {
  188. field_2_hps = 20;
  189. field_8_cv = new Colorref();
  190. field_11_lidDefault = 0x0400;
  191. field_12_lidFE = 0x0400;
  192. field_20_hresi = new Hyphenation();
  193. field_23_shd = new ShadingDescriptor();
  194. field_24_brc = new BorderCode();
  195. field_36_fcPic = -1;
  196. field_40_hresiOld = new Hyphenation();
  197. field_42_dttmRMark = new DateAndTime();
  198. field_43_dttmRMarkDel = new DateAndTime();
  199. field_44_istd = 10;
  200. field_53_dttmPropRMark = new DateAndTime();
  201. field_58_dttmConflict = new DateAndTime();
  202. field_61_dttmDispFldRMark = new DateAndTime();
  203. field_62_xstDispFldRMark = new byte[32];
  204. field_68_wCharScale = 100;
  205. }
  206. protected CHPAbstractType(CHPAbstractType other) {
  207. field_1_grpfChp = other.field_1_grpfChp;
  208. field_2_hps = other.field_2_hps;
  209. field_3_ftcAscii = other.field_3_ftcAscii;
  210. field_4_ftcFE = other.field_4_ftcFE;
  211. field_5_ftcOther = other.field_5_ftcOther;
  212. field_6_ftcBi = other.field_6_ftcBi;
  213. field_7_dxaSpace = other.field_7_dxaSpace;
  214. field_8_cv = (other.field_8_cv == null) ? null : other.field_8_cv.copy();
  215. field_9_ico = other.field_9_ico;
  216. field_10_pctCharWidth = other.field_10_pctCharWidth;
  217. field_11_lidDefault = other.field_11_lidDefault;
  218. field_12_lidFE = other.field_12_lidFE;
  219. field_13_kcd = other.field_13_kcd;
  220. field_14_fUndetermine = other.field_14_fUndetermine;
  221. field_15_iss = other.field_15_iss;
  222. field_16_fSpecSymbol = other.field_16_fSpecSymbol;
  223. field_17_idct = other.field_17_idct;
  224. field_18_idctHint = other.field_18_idctHint;
  225. field_19_kul = other.field_19_kul;
  226. field_20_hresi = (other.field_20_hresi == null) ? null : other.field_20_hresi.copy();
  227. field_21_hpsKern = other.field_21_hpsKern;
  228. field_22_hpsPos = other.field_22_hpsPos;
  229. field_23_shd = (other.field_23_shd == null) ? null : other.field_23_shd.copy();
  230. field_24_brc = (other.field_24_brc == null) ? null : other.field_24_brc.copy();
  231. field_25_ibstRMark = other.field_25_ibstRMark;
  232. field_26_sfxtText = other.field_26_sfxtText;
  233. field_27_fDblBdr = other.field_27_fDblBdr;
  234. field_28_fBorderWS = other.field_28_fBorderWS;
  235. field_29_ufel = other.field_29_ufel;
  236. field_30_copt = other.field_30_copt;
  237. field_31_hpsAsci = other.field_31_hpsAsci;
  238. field_32_hpsFE = other.field_32_hpsFE;
  239. field_33_hpsBi = other.field_33_hpsBi;
  240. field_34_ftcSym = other.field_34_ftcSym;
  241. field_35_xchSym = other.field_35_xchSym;
  242. field_36_fcPic = other.field_36_fcPic;
  243. field_37_fcObj = other.field_37_fcObj;
  244. field_38_lTagObj = other.field_38_lTagObj;
  245. field_39_fcData = other.field_39_fcData;
  246. field_40_hresiOld = (other.field_40_hresiOld == null) ? null : other.field_40_hresiOld.copy();
  247. field_41_ibstRMarkDel = other.field_41_ibstRMarkDel;
  248. field_42_dttmRMark = (other.field_42_dttmRMark == null) ? null : other.field_42_dttmRMark.copy();
  249. field_43_dttmRMarkDel = (other.field_43_dttmRMarkDel == null) ? null : other.field_43_dttmRMarkDel.copy();
  250. field_44_istd = other.field_44_istd;
  251. field_45_idslRMReason = other.field_45_idslRMReason;
  252. field_46_idslReasonDel = other.field_46_idslReasonDel;
  253. field_47_cpg = other.field_47_cpg;
  254. field_48_Highlight = other.field_48_Highlight;
  255. field_49_CharsetFlags = other.field_49_CharsetFlags;
  256. field_50_chse = other.field_50_chse;
  257. field_51_fPropRMark = other.field_51_fPropRMark;
  258. field_52_ibstPropRMark = other.field_52_ibstPropRMark;
  259. field_53_dttmPropRMark = (other.field_53_dttmPropRMark == null) ? null : other.field_53_dttmPropRMark.copy();
  260. field_54_fConflictOrig = other.field_54_fConflictOrig;
  261. field_55_fConflictOtherDel = other.field_55_fConflictOtherDel;
  262. field_56_wConflict = other.field_56_wConflict;
  263. field_57_IbstConflict = other.field_57_IbstConflict;
  264. field_58_dttmConflict = (other.field_58_dttmConflict == null) ? null : other.field_58_dttmConflict.copy();
  265. field_59_fDispFldRMark = other.field_59_fDispFldRMark;
  266. field_60_ibstDispFldRMark = other.field_60_ibstDispFldRMark;
  267. field_61_dttmDispFldRMark = (other.field_61_dttmDispFldRMark == null) ? null : other.field_61_dttmDispFldRMark.copy();
  268. field_62_xstDispFldRMark = (other.field_62_xstDispFldRMark == null) ? null : other.field_62_xstDispFldRMark.clone();
  269. field_63_fcObjp = other.field_63_fcObjp;
  270. field_64_lbrCRJ = other.field_64_lbrCRJ;
  271. field_65_fSpecVanish = other.field_65_fSpecVanish;
  272. field_66_fHasOldProps = other.field_66_fHasOldProps;
  273. field_67_fSdtVanish = other.field_67_fSdtVanish;
  274. field_68_wCharScale = other.field_68_wCharScale;
  275. }
  276. @Override
  277. public boolean equals( Object obj )
  278. {
  279. if ( this == obj )
  280. return true;
  281. if ( obj == null )
  282. return false;
  283. if ( getClass() != obj.getClass() )
  284. return false;
  285. CHPAbstractType other = (CHPAbstractType) obj;
  286. if ( field_1_grpfChp != other.field_1_grpfChp )
  287. return false;
  288. if ( field_2_hps != other.field_2_hps )
  289. return false;
  290. if ( field_3_ftcAscii != other.field_3_ftcAscii )
  291. return false;
  292. if ( field_4_ftcFE != other.field_4_ftcFE )
  293. return false;
  294. if ( field_5_ftcOther != other.field_5_ftcOther )
  295. return false;
  296. if ( field_6_ftcBi != other.field_6_ftcBi )
  297. return false;
  298. if ( field_7_dxaSpace != other.field_7_dxaSpace )
  299. return false;
  300. if ( field_8_cv == null )
  301. {
  302. if ( other.field_8_cv != null )
  303. return false;
  304. }
  305. else if ( !field_8_cv.equals( other.field_8_cv ) )
  306. return false;
  307. if ( field_9_ico != other.field_9_ico )
  308. return false;
  309. if ( field_10_pctCharWidth != other.field_10_pctCharWidth )
  310. return false;
  311. if ( field_11_lidDefault != other.field_11_lidDefault )
  312. return false;
  313. if ( field_12_lidFE != other.field_12_lidFE )
  314. return false;
  315. if ( field_13_kcd != other.field_13_kcd )
  316. return false;
  317. if ( field_14_fUndetermine != other.field_14_fUndetermine )
  318. return false;
  319. if ( field_15_iss != other.field_15_iss )
  320. return false;
  321. if ( field_16_fSpecSymbol != other.field_16_fSpecSymbol )
  322. return false;
  323. if ( field_17_idct != other.field_17_idct )
  324. return false;
  325. if ( field_18_idctHint != other.field_18_idctHint )
  326. return false;
  327. if ( field_19_kul != other.field_19_kul )
  328. return false;
  329. if ( field_20_hresi == null )
  330. {
  331. if ( other.field_20_hresi != null )
  332. return false;
  333. }
  334. else if ( !field_20_hresi.equals( other.field_20_hresi ) )
  335. return false;
  336. if ( field_21_hpsKern != other.field_21_hpsKern )
  337. return false;
  338. if ( field_22_hpsPos != other.field_22_hpsPos )
  339. return false;
  340. if ( field_23_shd == null )
  341. {
  342. if ( other.field_23_shd != null )
  343. return false;
  344. }
  345. else if ( !field_23_shd.equals( other.field_23_shd ) )
  346. return false;
  347. if ( field_24_brc == null )
  348. {
  349. if ( other.field_24_brc != null )
  350. return false;
  351. }
  352. else if ( !field_24_brc.equals( other.field_24_brc ) )
  353. return false;
  354. if ( field_25_ibstRMark != other.field_25_ibstRMark )
  355. return false;
  356. if ( field_26_sfxtText != other.field_26_sfxtText )
  357. return false;
  358. if ( field_27_fDblBdr != other.field_27_fDblBdr )
  359. return false;
  360. if ( field_28_fBorderWS != other.field_28_fBorderWS )
  361. return false;
  362. if ( field_29_ufel != other.field_29_ufel )
  363. return false;
  364. if ( field_30_copt != other.field_30_copt )
  365. return false;
  366. if ( field_31_hpsAsci != other.field_31_hpsAsci )
  367. return false;
  368. if ( field_32_hpsFE != other.field_32_hpsFE )
  369. return false;
  370. if ( field_33_hpsBi != other.field_33_hpsBi )
  371. return false;
  372. if ( field_34_ftcSym != other.field_34_ftcSym )
  373. return false;
  374. if ( field_35_xchSym != other.field_35_xchSym )
  375. return false;
  376. if ( field_36_fcPic != other.field_36_fcPic )
  377. return false;
  378. if ( field_37_fcObj != other.field_37_fcObj )
  379. return false;
  380. if ( field_38_lTagObj != other.field_38_lTagObj )
  381. return false;
  382. if ( field_39_fcData != other.field_39_fcData )
  383. return false;
  384. if ( field_40_hresiOld == null )
  385. {
  386. if ( other.field_40_hresiOld != null )
  387. return false;
  388. }
  389. else if ( !field_40_hresiOld.equals( other.field_40_hresiOld ) )
  390. return false;
  391. if ( field_41_ibstRMarkDel != other.field_41_ibstRMarkDel )
  392. return false;
  393. if ( field_42_dttmRMark == null )
  394. {
  395. if ( other.field_42_dttmRMark != null )
  396. return false;
  397. }
  398. else if ( !field_42_dttmRMark.equals( other.field_42_dttmRMark ) )
  399. return false;
  400. if ( field_43_dttmRMarkDel == null )
  401. {
  402. if ( other.field_43_dttmRMarkDel != null )
  403. return false;
  404. }
  405. else if ( !field_43_dttmRMarkDel.equals( other.field_43_dttmRMarkDel ) )
  406. return false;
  407. if ( field_44_istd != other.field_44_istd )
  408. return false;
  409. if ( field_45_idslRMReason != other.field_45_idslRMReason )
  410. return false;
  411. if ( field_46_idslReasonDel != other.field_46_idslReasonDel )
  412. return false;
  413. if ( field_47_cpg != other.field_47_cpg )
  414. return false;
  415. if ( field_48_Highlight != other.field_48_Highlight )
  416. return false;
  417. if ( field_49_CharsetFlags != other.field_49_CharsetFlags )
  418. return false;
  419. if ( field_50_chse != other.field_50_chse )
  420. return false;
  421. if ( field_51_fPropRMark != other.field_51_fPropRMark )
  422. return false;
  423. if ( field_52_ibstPropRMark != other.field_52_ibstPropRMark )
  424. return false;
  425. if ( field_53_dttmPropRMark == null )
  426. {
  427. if ( other.field_53_dttmPropRMark != null )
  428. return false;
  429. }
  430. else if ( !field_53_dttmPropRMark.equals( other.field_53_dttmPropRMark ) )
  431. return false;
  432. if ( field_54_fConflictOrig != other.field_54_fConflictOrig )
  433. return false;
  434. if ( field_55_fConflictOtherDel != other.field_55_fConflictOtherDel )
  435. return false;
  436. if ( field_56_wConflict != other.field_56_wConflict )
  437. return false;
  438. if ( field_57_IbstConflict != other.field_57_IbstConflict )
  439. return false;
  440. if ( field_58_dttmConflict == null )
  441. {
  442. if ( other.field_58_dttmConflict != null )
  443. return false;
  444. }
  445. else if ( !field_58_dttmConflict.equals( other.field_58_dttmConflict ) )
  446. return false;
  447. if ( field_59_fDispFldRMark != other.field_59_fDispFldRMark )
  448. return false;
  449. if ( field_60_ibstDispFldRMark != other.field_60_ibstDispFldRMark )
  450. return false;
  451. if ( field_61_dttmDispFldRMark == null )
  452. {
  453. if ( other.field_61_dttmDispFldRMark != null )
  454. return false;
  455. }
  456. else if ( !field_61_dttmDispFldRMark.equals( other.field_61_dttmDispFldRMark ) )
  457. return false;
  458. if ( !Arrays.equals( field_62_xstDispFldRMark, other.field_62_xstDispFldRMark ) )
  459. return false;
  460. if ( field_63_fcObjp != other.field_63_fcObjp )
  461. return false;
  462. if ( field_64_lbrCRJ != other.field_64_lbrCRJ )
  463. return false;
  464. if ( field_65_fSpecVanish != other.field_65_fSpecVanish )
  465. return false;
  466. if ( field_66_fHasOldProps != other.field_66_fHasOldProps )
  467. return false;
  468. if ( field_67_fSdtVanish != other.field_67_fSdtVanish )
  469. return false;
  470. if ( field_68_wCharScale != other.field_68_wCharScale )
  471. return false;
  472. return true;
  473. }
  474. @Override
  475. public int hashCode() {
  476. return Arrays.deepHashCode(new Object[]{field_1_grpfChp, field_2_hps, field_3_ftcAscii, field_4_ftcFE, field_5_ftcOther,
  477. field_6_ftcBi, field_7_dxaSpace, field_8_cv, field_9_ico, field_10_pctCharWidth, field_11_lidDefault,
  478. field_12_lidFE, field_13_kcd, field_14_fUndetermine, field_15_iss, field_16_fSpecSymbol, field_17_idct,
  479. field_18_idctHint, field_19_kul, field_20_hresi, field_21_hpsKern, field_22_hpsPos, field_23_shd,
  480. field_24_brc, field_25_ibstRMark, field_26_sfxtText, field_27_fDblBdr, field_28_fBorderWS, field_29_ufel,
  481. field_30_copt, field_31_hpsAsci, field_32_hpsFE, field_33_hpsBi, field_34_ftcSym, field_35_xchSym,
  482. field_36_fcPic, field_37_fcObj, field_38_lTagObj, field_39_fcData, field_40_hresiOld, field_41_ibstRMarkDel,
  483. field_42_dttmRMark, field_43_dttmRMarkDel, field_44_istd, field_45_idslRMReason, field_46_idslReasonDel,
  484. field_47_cpg, field_48_Highlight, field_49_CharsetFlags, field_50_chse, field_51_fPropRMark,
  485. field_52_ibstPropRMark, field_53_dttmPropRMark, field_54_fConflictOrig, field_55_fConflictOtherDel,
  486. field_56_wConflict, field_57_IbstConflict, field_58_dttmConflict, field_59_fDispFldRMark,
  487. field_60_ibstDispFldRMark, field_61_dttmDispFldRMark, field_62_xstDispFldRMark, field_63_fcObjp,
  488. field_64_lbrCRJ, field_65_fSpecVanish, field_66_fHasOldProps, field_67_fSdtVanish, field_68_wCharScale});
  489. }
  490. public String toString()
  491. {
  492. StringBuilder builder = new StringBuilder();
  493. builder.append("[CHP]\n");
  494. builder.append(" .grpfChp = ");
  495. builder.append(" (").append(getGrpfChp()).append(" )\n");
  496. builder.append(" .fBold = ").append(isFBold()).append('\n');
  497. builder.append(" .fItalic = ").append(isFItalic()).append('\n');
  498. builder.append(" .fRMarkDel = ").append(isFRMarkDel()).append('\n');
  499. builder.append(" .fOutline = ").append(isFOutline()).append('\n');
  500. builder.append(" .fFldVanish = ").append(isFFldVanish()).append('\n');
  501. builder.append(" .fSmallCaps = ").append(isFSmallCaps()).append('\n');
  502. builder.append(" .fCaps = ").append(isFCaps()).append('\n');
  503. builder.append(" .fVanish = ").append(isFVanish()).append('\n');
  504. builder.append(" .fRMark = ").append(isFRMark()).append('\n');
  505. builder.append(" .fSpec = ").append(isFSpec()).append('\n');
  506. builder.append(" .fStrike = ").append(isFStrike()).append('\n');
  507. builder.append(" .fObj = ").append(isFObj()).append('\n');
  508. builder.append(" .fShadow = ").append(isFShadow()).append('\n');
  509. builder.append(" .fLowerCase = ").append(isFLowerCase()).append('\n');
  510. builder.append(" .fData = ").append(isFData()).append('\n');
  511. builder.append(" .fOle2 = ").append(isFOle2()).append('\n');
  512. builder.append(" .fEmboss = ").append(isFEmboss()).append('\n');
  513. builder.append(" .fImprint = ").append(isFImprint()).append('\n');
  514. builder.append(" .fDStrike = ").append(isFDStrike()).append('\n');
  515. builder.append(" .fUsePgsuSettings = ").append(isFUsePgsuSettings()).append('\n');
  516. builder.append(" .fBoldBi = ").append(isFBoldBi()).append('\n');
  517. builder.append(" .fComplexScripts = ").append(isFComplexScripts()).append('\n');
  518. builder.append(" .fItalicBi = ").append(isFItalicBi()).append('\n');
  519. builder.append(" .fBiDi = ").append(isFBiDi()).append('\n');
  520. builder.append(" .fIcoBi = ").append(isFIcoBi()).append('\n');
  521. builder.append(" .fNonGlyph = ").append(isFNonGlyph()).append('\n');
  522. builder.append(" .fBoldOther = ").append(isFBoldOther()).append('\n');
  523. builder.append(" .fItalicOther = ").append(isFItalicOther()).append('\n');
  524. builder.append(" .fNoProof = ").append(isFNoProof()).append('\n');
  525. builder.append(" .fWebHidden = ").append(isFWebHidden()).append('\n');
  526. builder.append(" .fFitText = ").append(isFFitText()).append('\n');
  527. builder.append(" .fCalc = ").append(isFCalc()).append('\n');
  528. builder.append(" .fFmtLineProp = ").append(isFFmtLineProp()).append('\n');
  529. builder.append(" .hps = ");
  530. builder.append(" (").append(getHps()).append(" )\n");
  531. builder.append(" .ftcAscii = ");
  532. builder.append(" (").append(getFtcAscii()).append(" )\n");
  533. builder.append(" .ftcFE = ");
  534. builder.append(" (").append(getFtcFE()).append(" )\n");
  535. builder.append(" .ftcOther = ");
  536. builder.append(" (").append(getFtcOther()).append(" )\n");
  537. builder.append(" .ftcBi = ");
  538. builder.append(" (").append(getFtcBi()).append(" )\n");
  539. builder.append(" .dxaSpace = ");
  540. builder.append(" (").append(getDxaSpace()).append(" )\n");
  541. builder.append(" .cv = ");
  542. builder.append(" (").append(getCv()).append(" )\n");
  543. builder.append(" .ico = ");
  544. builder.append(" (").append(getIco()).append(" )\n");
  545. builder.append(" .pctCharWidth = ");
  546. builder.append(" (").append(getPctCharWidth()).append(" )\n");
  547. builder.append(" .lidDefault = ");
  548. builder.append(" (").append(getLidDefault()).append(" )\n");
  549. builder.append(" .lidFE = ");
  550. builder.append(" (").append(getLidFE()).append(" )\n");
  551. builder.append(" .kcd = ");
  552. builder.append(" (").append(getKcd()).append(" )\n");
  553. builder.append(" .fUndetermine = ");
  554. builder.append(" (").append(getFUndetermine()).append(" )\n");
  555. builder.append(" .iss = ");
  556. builder.append(" (").append(getIss()).append(" )\n");
  557. builder.append(" .fSpecSymbol = ");
  558. builder.append(" (").append(getFSpecSymbol()).append(" )\n");
  559. builder.append(" .idct = ");
  560. builder.append(" (").append(getIdct()).append(" )\n");
  561. builder.append(" .idctHint = ");
  562. builder.append(" (").append(getIdctHint()).append(" )\n");
  563. builder.append(" .kul = ");
  564. builder.append(" (").append(getKul()).append(" )\n");
  565. builder.append(" .hresi = ");
  566. builder.append(" (").append(getHresi()).append(" )\n");
  567. builder.append(" .hpsKern = ");
  568. builder.append(" (").append(getHpsKern()).append(" )\n");
  569. builder.append(" .hpsPos = ");
  570. builder.append(" (").append(getHpsPos()).append(" )\n");
  571. builder.append(" .shd = ");
  572. builder.append(" (").append(getShd()).append(" )\n");
  573. builder.append(" .brc = ");
  574. builder.append(" (").append(getBrc()).append(" )\n");
  575. builder.append(" .ibstRMark = ");
  576. builder.append(" (").append(getIbstRMark()).append(" )\n");
  577. builder.append(" .sfxtText = ");
  578. builder.append(" (").append(getSfxtText()).append(" )\n");
  579. builder.append(" .fDblBdr = ");
  580. builder.append(" (").append(getFDblBdr()).append(" )\n");
  581. builder.append(" .fBorderWS = ");
  582. builder.append(" (").append(getFBorderWS()).append(" )\n");
  583. builder.append(" .ufel = ");
  584. builder.append(" (").append(getUfel()).append(" )\n");
  585. builder.append(" .itypFELayout = ").append(getItypFELayout()).append('\n');
  586. builder.append(" .fTNY = ").append(isFTNY()).append('\n');
  587. builder.append(" .fWarichu = ").append(isFWarichu()).append('\n');
  588. builder.append(" .fKumimoji = ").append(isFKumimoji()).append('\n');
  589. builder.append(" .fRuby = ").append(isFRuby()).append('\n');
  590. builder.append(" .fLSFitText = ").append(isFLSFitText()).append('\n');
  591. builder.append(" .spare = ").append(getSpare()).append('\n');
  592. builder.append(" .copt = ");
  593. builder.append(" (").append(getCopt()).append(" )\n");
  594. builder.append(" .iWarichuBracket = ").append(getIWarichuBracket()).append('\n');
  595. builder.append(" .fWarichuNoOpenBracket = ").append(isFWarichuNoOpenBracket()).append('\n');
  596. builder.append(" .fTNYCompress = ").append(isFTNYCompress()).append('\n');
  597. builder.append(" .fTNYFetchTxm = ").append(isFTNYFetchTxm()).append('\n');
  598. builder.append(" .fCellFitText = ").append(isFCellFitText()).append('\n');
  599. builder.append(" .unused = ").append(isUnused()).append('\n');
  600. builder.append(" .hpsAsci = ");
  601. builder.append(" (").append(getHpsAsci()).append(" )\n");
  602. builder.append(" .hpsFE = ");
  603. builder.append(" (").append(getHpsFE()).append(" )\n");
  604. builder.append(" .hpsBi = ");
  605. builder.append(" (").append(getHpsBi()).append(" )\n");
  606. builder.append(" .ftcSym = ");
  607. builder.append(" (").append(getFtcSym()).append(" )\n");
  608. builder.append(" .xchSym = ");
  609. builder.append(" (").append(getXchSym()).append(" )\n");
  610. builder.append(" .fcPic = ");
  611. builder.append(" (").append(getFcPic()).append(" )\n");
  612. builder.append(" .fcObj = ");
  613. builder.append(" (").append(getFcObj()).append(" )\n");
  614. builder.append(" .lTagObj = ");
  615. builder.append(" (").append(getLTagObj()).append(" )\n");
  616. builder.append(" .fcData = ");
  617. builder.append(" (").append(getFcData()).append(" )\n");
  618. builder.append(" .hresiOld = ");
  619. builder.append(" (").append(getHresiOld()).append(" )\n");
  620. builder.append(" .ibstRMarkDel = ");
  621. builder.append(" (").append(getIbstRMarkDel()).append(" )\n");
  622. builder.append(" .dttmRMark = ");
  623. builder.append(" (").append(getDttmRMark()).append(" )\n");
  624. builder.append(" .dttmRMarkDel = ");
  625. builder.append(" (").append(getDttmRMarkDel()).append(" )\n");
  626. builder.append(" .istd = ");
  627. builder.append(" (").append(getIstd()).append(" )\n");
  628. builder.append(" .idslRMReason = ");
  629. builder.append(" (").append(getIdslRMReason()).append(" )\n");
  630. builder.append(" .idslReasonDel = ");
  631. builder.append(" (").append(getIdslReasonDel()).append(" )\n");
  632. builder.append(" .cpg = ");
  633. builder.append(" (").append(getCpg()).append(" )\n");
  634. builder.append(" .Highlight = ");
  635. builder.append(" (").append(getHighlight()).append(" )\n");
  636. builder.append(" .icoHighlight = ").append(getIcoHighlight()).append('\n');
  637. builder.append(" .fHighlight = ").append(isFHighlight()).append('\n');
  638. builder.append(" .CharsetFlags = ");
  639. builder.append(" (").append(getCharsetFlags()).append(" )\n");
  640. builder.append(" .fChsDiff = ").append(isFChsDiff()).append('\n');
  641. builder.append(" .fMacChs = ").append(isFMacChs()).append('\n');
  642. builder.append(" .chse = ");
  643. builder.append(" (").append(getChse()).append(" )\n");
  644. builder.append(" .fPropRMark = ");
  645. builder.append(" (").append(getFPropRMark()).append(" )\n");
  646. builder.append(" .ibstPropRMark = ");
  647. builder.append(" (").append(getIbstPropRMark()).append(" )\n");
  648. builder.append(" .dttmPropRMark = ");
  649. builder.append(" (").append(getDttmPropRMark()).append(" )\n");
  650. builder.append(" .fConflictOrig = ");
  651. builder.append(" (").append(getFConflictOrig()).append(" )\n");
  652. builder.append(" .fConflictOtherDel = ");
  653. builder.append(" (").append(getFConflictOtherDel()).append(" )\n");
  654. builder.append(" .wConflict = ");
  655. builder.append(" (").append(getWConflict()).append(" )\n");
  656. builder.append(" .IbstConflict = ");
  657. builder.append(" (").append(getIbstConflict()).append(" )\n");
  658. builder.append(" .dttmConflict = ");
  659. builder.append(" (").append(getDttmConflict()).append(" )\n");
  660. builder.append(" .fDispFldRMark = ");
  661. builder.append(" (").append(getFDispFldRMark()).append(" )\n");
  662. builder.append(" .ibstDispFldRMark = ");
  663. builder.append(" (").append(getIbstDispFldRMark()).append(" )\n");
  664. builder.append(" .dttmDispFldRMark = ");
  665. builder.append(" (").append(getDttmDispFldRMark()).append(" )\n");
  666. builder.append(" .xstDispFldRMark = ");
  667. builder.append(" (").append(Arrays.toString(getXstDispFldRMark())).append(" )\n");
  668. builder.append(" .fcObjp = ");
  669. builder.append(" (").append(getFcObjp()).append(" )\n");
  670. builder.append(" .lbrCRJ = ");
  671. builder.append(" (").append(getLbrCRJ()).append(" )\n");
  672. builder.append(" .fSpecVanish = ");
  673. builder.append(" (").append(getFSpecVanish()).append(" )\n");
  674. builder.append(" .fHasOldProps = ");
  675. builder.append(" (").append(getFHasOldProps()).append(" )\n");
  676. builder.append(" .fSdtVanish = ");
  677. builder.append(" (").append(getFSdtVanish()).append(" )\n");
  678. builder.append(" .wCharScale = ");
  679. builder.append(" (").append(getWCharScale()).append(" )\n");
  680. builder.append("[/CHP]\n");
  681. return builder.toString();
  682. }
  683. /**
  684. * Collection of the 32 flags.
  685. */
  686. @Internal
  687. public int getGrpfChp()
  688. {
  689. return field_1_grpfChp;
  690. }
  691. /**
  692. * Collection of the 32 flags.
  693. */
  694. @Internal
  695. public void setGrpfChp( int field_1_grpfChp )
  696. {
  697. this.field_1_grpfChp = field_1_grpfChp;
  698. }
  699. /**
  700. * Font size in half points.
  701. */
  702. @Internal
  703. public int getHps()
  704. {
  705. return field_2_hps;
  706. }
  707. /**
  708. * Font size in half points.
  709. */
  710. @Internal
  711. public void setHps( int field_2_hps )
  712. {
  713. this.field_2_hps = field_2_hps;
  714. }
  715. /**
  716. * Font for ASCII text.
  717. */
  718. @Internal
  719. public int getFtcAscii()
  720. {
  721. return field_3_ftcAscii;
  722. }
  723. /**
  724. * Font for ASCII text.
  725. */
  726. @Internal
  727. public void setFtcAscii( int field_3_ftcAscii )
  728. {
  729. this.field_3_ftcAscii = field_3_ftcAscii;
  730. }
  731. /**
  732. * Font for East Asian text.
  733. */
  734. @Internal
  735. public int getFtcFE()
  736. {
  737. return field_4_ftcFE;
  738. }
  739. /**
  740. * Font for East Asian text.
  741. */
  742. @Internal
  743. public void setFtcFE( int field_4_ftcFE )
  744. {
  745. this.field_4_ftcFE = field_4_ftcFE;
  746. }
  747. /**
  748. * Font for non-East Asian text.
  749. */
  750. @Internal
  751. public int getFtcOther()
  752. {
  753. return field_5_ftcOther;
  754. }
  755. /**
  756. * Font for non-East Asian text.
  757. */
  758. @Internal
  759. public void setFtcOther( int field_5_ftcOther )
  760. {
  761. this.field_5_ftcOther = field_5_ftcOther;
  762. }
  763. /**
  764. * Font for Complex Scripts text.
  765. */
  766. @Internal
  767. public int getFtcBi()
  768. {
  769. return field_6_ftcBi;
  770. }
  771. /**
  772. * Font for Complex Scripts text.
  773. */
  774. @Internal
  775. public void setFtcBi( int field_6_ftcBi )
  776. {
  777. this.field_6_ftcBi = field_6_ftcBi;
  778. }
  779. /**
  780. * Space following each character in the run expressed in twip units..
  781. */
  782. @Internal
  783. public int getDxaSpace()
  784. {
  785. return field_7_dxaSpace;
  786. }
  787. /**
  788. * Space following each character in the run expressed in twip units..
  789. */
  790. @Internal
  791. public void setDxaSpace( int field_7_dxaSpace )
  792. {
  793. this.field_7_dxaSpace = field_7_dxaSpace;
  794. }
  795. /**
  796. * 24-bit color.
  797. */
  798. @Internal
  799. public Colorref getCv()
  800. {
  801. return field_8_cv;
  802. }
  803. /**
  804. * 24-bit color.
  805. */
  806. @Internal
  807. public void setCv( Colorref field_8_cv )
  808. {
  809. this.field_8_cv = field_8_cv;
  810. }
  811. /**
  812. * Color of text for Word 97.
  813. */
  814. @Internal
  815. public byte getIco()
  816. {
  817. return field_9_ico;
  818. }
  819. /**
  820. * Color of text for Word 97.
  821. */
  822. @Internal
  823. public void setIco( byte field_9_ico )
  824. {
  825. this.field_9_ico = field_9_ico;
  826. }
  827. /**
  828. * Character scale.
  829. */
  830. @Internal
  831. public int getPctCharWidth()
  832. {
  833. return field_10_pctCharWidth;
  834. }
  835. /**
  836. * Character scale.
  837. */
  838. @Internal
  839. public void setPctCharWidth( int field_10_pctCharWidth )
  840. {
  841. this.field_10_pctCharWidth = field_10_pctCharWidth;
  842. }
  843. /**
  844. * Get the lidDefault field for the CHP record.
  845. */
  846. @Internal
  847. public int getLidDefault()
  848. {
  849. return field_11_lidDefault;
  850. }
  851. /**
  852. * Set the lidDefault field for the CHP record.
  853. */
  854. @Internal
  855. public void setLidDefault( int field_11_lidDefault )
  856. {
  857. this.field_11_lidDefault = field_11_lidDefault;
  858. }
  859. /**
  860. * Get the lidFE field for the CHP record.
  861. */
  862. @Internal
  863. public int getLidFE()
  864. {
  865. return field_12_lidFE;
  866. }
  867. /**
  868. * Set the lidFE field for the CHP record.
  869. */
  870. @Internal
  871. public void setLidFE( int field_12_lidFE )
  872. {
  873. this.field_12_lidFE = field_12_lidFE;
  874. }
  875. /**
  876. * Emphasis mark.
  877. *
  878. * @return One of {@link #KCD_NON},{@link #KCD_DOT},{@link #KCD_COMMA},{@link #KCD_CIRCLE},{@link #KCD_UNDER_DOT}
  879. */
  880. @Internal
  881. public byte getKcd()
  882. {
  883. return field_13_kcd;
  884. }
  885. /**
  886. * Emphasis mark.
  887. *
  888. * @param field_13_kcd One of {@link #KCD_NON}, {@link #KCD_DOT}, {@link #KCD_COMMA}, {@link #KCD_CIRCLE}, {@link #KCD_UNDER_DOT}
  889. */
  890. @Internal
  891. public void setKcd( byte field_13_kcd )
  892. {
  893. this.field_13_kcd = field_13_kcd;
  894. }
  895. /**
  896. * Character is undetermined.
  897. */
  898. @Internal
  899. public boolean getFUndetermine()
  900. {
  901. return field_14_fUndetermine;
  902. }
  903. /**
  904. * Character is undetermined.
  905. */
  906. @Internal
  907. public void setFUndetermine( boolean field_14_fUndetermine )
  908. {
  909. this.field_14_fUndetermine = field_14_fUndetermine;
  910. }
  911. /**
  912. * Superscript/subscript indices.
  913. *
  914. * @return One of {@link #ISS_NONE},{@link #ISS_SUPERSCRIPTED},{@link #ISS_SUBSCRIPTED}
  915. */
  916. @Internal
  917. public byte getIss()
  918. {
  919. return field_15_iss;
  920. }
  921. /**
  922. * Superscript/subscript indices.
  923. *
  924. * @param field_15_iss One of {@link #ISS_NONE},{@link #ISS_SUPERSCRIPTED},{@link #ISS_SUBSCRIPTED}
  925. */
  926. @Internal
  927. public void setIss( byte field_15_iss )
  928. {
  929. this.field_15_iss = field_15_iss;
  930. }
  931. /**
  932. * Used by Word internally.
  933. */
  934. @Internal
  935. public boolean getFSpecSymbol()
  936. {
  937. return field_16_fSpecSymbol;
  938. }
  939. /**
  940. * Used by Word internally.
  941. */
  942. @Internal
  943. public void setFSpecSymbol( boolean field_16_fSpecSymbol )
  944. {
  945. this.field_16_fSpecSymbol = field_16_fSpecSymbol;
  946. }
  947. /**
  948. * Not stored in file.
  949. */
  950. @Internal
  951. public byte getIdct()
  952. {
  953. return field_17_idct;
  954. }
  955. /**
  956. * Not stored in file.
  957. */
  958. @Internal
  959. public void setIdct( byte field_17_idct )
  960. {
  961. this.field_17_idct = field_17_idct;
  962. }
  963. /**
  964. * Identifier of Character type.
  965. */
  966. @Internal
  967. public byte getIdctHint()
  968. {
  969. return field_18_idctHint;
  970. }
  971. /**
  972. * Identifier of Character type.
  973. */
  974. @Internal
  975. public void setIdctHint( byte field_18_idctHint )
  976. {
  977. this.field_18_idctHint = field_18_idctHint;
  978. }
  979. /**
  980. * Underline code.
  981. *
  982. * @return One of {@link #KUL_NONE},{@link #KUL_SINGLE},{@link #KUL_BY_WORD},{@link #KUL_DOUBLE},
  983. * {@link #KUL_DOTTED},{@link #KUL_HIDDEN},{@link #KUL_THICK},{@link #KUL_DASH},{@link #KUL_DOT},
  984. * {@link #KUL_DOT_DASH},{@link #KUL_DOT_DOT_DASH},{@link #KUL_WAVE},{@link #KUL_DOTTED_HEAVY},
  985. * {@link #KUL_DASHED_HEAVY},{@link #KUL_DOT_DASH_HEAVY},{@link #KUL_DOT_DOT_DASH_HEAVY},
  986. * {@link #KUL_WAVE_HEAVY},{@link #KUL_DASH_LONG},{@link #KUL_WAVE_DOUBLE},{@link #KUL_DASH_LONG_HEAVY}
  987. */
  988. @Internal
  989. public byte getKul()
  990. {
  991. return field_19_kul;
  992. }
  993. /**
  994. * Underline code.
  995. *
  996. * @param field_19_kul One of,{@link #KUL_NONE},{@link #KUL_SINGLE},{@link #KUL_BY_WORD},{@link #KUL_DOUBLE},
  997. * {@link #KUL_DOTTED},{@link #KUL_HIDDEN},{@link #KUL_THICK},{@link #KUL_DASH},{@link #KUL_DOT},
  998. * {@link #KUL_DOT_DASH},{@link #KUL_DOT_DOT_DASH},{@link #KUL_WAVE},{@link #KUL_DOTTED_HEAVY},
  999. * {@link #KUL_DASHED_HEAVY},{@link #KUL_DOT_DASH_HEAVY},{@link #KUL_DOT_DOT_DASH_HEAVY},
  1000. * {@link #KUL_WAVE_HEAVY},{@link #KUL_DASH_LONG},{@link #KUL_WAVE_DOUBLE},{@link #KUL_DASH_LONG_HEAVY}
  1001. */
  1002. @Internal
  1003. public void setKul( byte field_19_kul )
  1004. {
  1005. this.field_19_kul = field_19_kul;
  1006. }
  1007. /**
  1008. * Get the hresi field for the CHP record.
  1009. */
  1010. @Internal
  1011. public Hyphenation getHresi()
  1012. {
  1013. return field_20_hresi;
  1014. }
  1015. /**
  1016. * Set the hresi field for the CHP record.
  1017. */
  1018. @Internal
  1019. public void setHresi( Hyphenation field_20_hresi )
  1020. {
  1021. this.field_20_hresi = field_20_hresi;
  1022. }
  1023. /**
  1024. * Kerning distance for characters in run recorded in half points.
  1025. */
  1026. @Internal
  1027. public int getHpsKern()
  1028. {
  1029. return field_21_hpsKern;
  1030. }
  1031. /**
  1032. * Kerning distance for characters in run recorded in half points.
  1033. */
  1034. @Internal
  1035. public void setHpsKern( int field_21_hpsKern )
  1036. {
  1037. this.field_21_hpsKern = field_21_hpsKern;
  1038. }
  1039. /**
  1040. * Reserved (actually used as vertical offset(?) value).
  1041. */
  1042. @Internal
  1043. public short getHpsPos()
  1044. {
  1045. return field_22_hpsPos;
  1046. }
  1047. /**
  1048. * Reserved (actually used as vertical offset(?) value).
  1049. */
  1050. @Internal
  1051. public void setHpsPos( short field_22_hpsPos )
  1052. {
  1053. this.field_22_hpsPos = field_22_hpsPos;
  1054. }
  1055. /**
  1056. * Shading.
  1057. */
  1058. @Internal
  1059. public ShadingDescriptor getShd()
  1060. {
  1061. return field_23_shd;
  1062. }
  1063. /**
  1064. * Shading.
  1065. */
  1066. @Internal
  1067. public void setShd( ShadingDescriptor field_23_shd )
  1068. {
  1069. this.field_23_shd = field_23_shd;
  1070. }
  1071. /**
  1072. * Border.
  1073. */
  1074. @Internal
  1075. public BorderCode getBrc()
  1076. {
  1077. return field_24_brc;
  1078. }
  1079. /**
  1080. * Border.
  1081. */
  1082. @Internal
  1083. public void setBrc( BorderCode field_24_brc )
  1084. {
  1085. this.field_24_brc = field_24_brc;
  1086. }
  1087. /**
  1088. * Index to author IDs stored in hsttbfRMark. Used when text in run was newly typed when revision marking was enabled.
  1089. */
  1090. @Internal
  1091. public int getIbstRMark()
  1092. {
  1093. return field_25_ibstRMark;
  1094. }
  1095. /**
  1096. * Index to author IDs stored in hsttbfRMark. Used when text in run was newly typed when revision marking was enabled.
  1097. */
  1098. @Internal
  1099. public void setIbstRMark( int field_25_ibstRMark )
  1100. {
  1101. this.field_25_ibstRMark = field_25_ibstRMark;
  1102. }
  1103. /**
  1104. * Text animation.
  1105. *
  1106. * @return One of {@link #SFXTTEXT_NO},{@link #SFXTTEXT_LAS_VEGAS_LIGHTS},{@link #SFXTTEXT_BACKGROUND_BLINK},
  1107. * {@link #SFXTTEXT_SPARKLE_TEXT},{@link #SFXTTEXT_MARCHING_ANTS},{@link #SFXTTEXT_MARCHING_RED_ANTS},
  1108. * {@link #SFXTTEXT_SHIMMER}
  1109. */
  1110. @Internal
  1111. public byte getSfxtText()
  1112. {
  1113. return field_26_sfxtText;
  1114. }
  1115. /**
  1116. * Text animation.
  1117. *
  1118. * @param field_26_sfxtText One of {@link #SFXTTEXT_NO},{@link #SFXTTEXT_LAS_VEGAS_LIGHTS},{@link #SFXTTEXT_BACKGROUND_BLINK},{@link #SFXTTEXT_SPARKLE_TEXT},{@link #SFXTTEXT_MARCHING_ANTS},{@link #SFXTTEXT_MARCHING_RED_ANTS},{@link #SFXTTEXT_SHIMMER}
  1119. */
  1120. @Internal
  1121. public void setSfxtText( byte field_26_sfxtText )
  1122. {
  1123. this.field_26_sfxtText = field_26_sfxtText;
  1124. }
  1125. /**
  1126. * Used internally by Word.
  1127. */
  1128. @Internal
  1129. public boolean getFDblBdr()
  1130. {
  1131. return field_27_fDblBdr;
  1132. }
  1133. /**
  1134. * Used internally by Word.
  1135. */
  1136. @Internal
  1137. public void setFDblBdr( boolean field_27_fDblBdr )
  1138. {
  1139. this.field_27_fDblBdr = field_27_fDblBdr;
  1140. }
  1141. /**
  1142. * Used internally by Word.
  1143. */
  1144. @Internal
  1145. public boolean getFBorderWS()
  1146. {
  1147. return field_28_fBorderWS;
  1148. }
  1149. /**
  1150. * Used internally by Word.
  1151. */
  1152. @Internal
  1153. public void setFBorderWS( boolean field_28_fBorderWS )
  1154. {
  1155. this.field_28_fBorderWS = field_28_fBorderWS;
  1156. }
  1157. /**
  1158. * Collection properties represented by itypFELayout and copt (East Asian layout properties).
  1159. */
  1160. @Internal
  1161. public short getUfel()
  1162. {
  1163. return field_29_ufel;
  1164. }
  1165. /**
  1166. * Collection properties represented by itypFELayout and copt (East Asian layout properties).
  1167. */
  1168. @Internal
  1169. public void setUfel( short field_29_ufel )
  1170. {
  1171. this.field_29_ufel = field_29_ufel;
  1172. }
  1173. /**
  1174. * Collection of the 5 flags.
  1175. */
  1176. @Internal
  1177. public byte getCopt()
  1178. {
  1179. return field_30_copt;
  1180. }
  1181. /**
  1182. * Collection of the 5 flags.
  1183. */
  1184. @Internal
  1185. public void setCopt( byte field_30_copt )
  1186. {
  1187. this.field_30_copt = field_30_copt;
  1188. }
  1189. /**
  1190. * Font size for ASCII font.
  1191. */
  1192. @Internal
  1193. public int getHpsAsci()
  1194. {
  1195. return field_31_hpsAsci;
  1196. }
  1197. /**
  1198. * Font size for ASCII font.
  1199. */
  1200. @Internal
  1201. public void setHpsAsci( int field_31_hpsAsci )
  1202. {
  1203. this.field_31_hpsAsci = field_31_hpsAsci;
  1204. }
  1205. /**
  1206. * Font size for East Asian text.
  1207. */
  1208. @Internal
  1209. public int getHpsFE()
  1210. {
  1211. return field_32_hpsFE;
  1212. }
  1213. /**
  1214. * Font size for East Asian text.
  1215. */
  1216. @Internal
  1217. public void setHpsFE( int field_32_hpsFE )
  1218. {
  1219. this.field_32_hpsFE = field_32_hpsFE;
  1220. }
  1221. /**
  1222. * Font size for Complex Scripts text.
  1223. */
  1224. @Internal
  1225. public int getHpsBi()
  1226. {
  1227. return field_33_hpsBi;
  1228. }
  1229. /**
  1230. * Font size for Complex Scripts text.
  1231. */
  1232. @Internal
  1233. public void setHpsBi( int field_33_hpsBi )
  1234. {
  1235. this.field_33_hpsBi = field_33_hpsBi;
  1236. }
  1237. /**
  1238. * an index into the rgffn structure. When chp.fSpec is 1 and the character recorded for the run in the document stream is chSymbol (0x28), chp.ftcSym identifies the font code of the symbol font that will be used to display the symbol character recorded in chp.xchSym..
  1239. */
  1240. @Internal
  1241. public int getFtcSym()
  1242. {
  1243. return field_34_ftcSym;
  1244. }
  1245. /**
  1246. * an index into the rgffn structure. When chp.fSpec is 1 and the character recorded for the run in the document stream is chSymbol (0x28), chp.ftcSym identifies the font code of the symbol font that will be used to display the symbol character recorded in chp.xchSym..
  1247. */
  1248. @Internal
  1249. public void setFtcSym( int field_34_ftcSym )
  1250. {
  1251. this.field_34_ftcSym = field_34_ftcSym;
  1252. }
  1253. /**
  1254. * When chp.fSpec==1 and the character recorded for the run in the document stream is chSymbol (0x28), the character stored chp.xchSym will be displayed using the font specified in chp.ftcSym..
  1255. */
  1256. @Internal
  1257. public int getXchSym()
  1258. {
  1259. return field_35_xchSym;
  1260. }
  1261. /**
  1262. * When chp.fSpec==1 and the character recorded for the run in the document stream is chSymbol (0x28), the character stored chp.xchSym will be displayed using the font specified in chp.ftcSym..
  1263. */
  1264. @Internal
  1265. public void setXchSym( int field_35_xchSym )
  1266. {
  1267. this.field_35_xchSym = field_35_xchSym;
  1268. }
  1269. /**
  1270. * Offset in data stream pointing to beginning of a picture when character is a picture character (character is 0x01 and chp.fSpec is 1)..
  1271. */
  1272. @Internal
  1273. public int getFcPic()
  1274. {
  1275. return field_36_fcPic;
  1276. }
  1277. /**
  1278. * Offset in data stream pointing to beginning of a picture when character is a picture character (character is 0x01 and chp.fSpec is 1)..
  1279. */
  1280. @Internal
  1281. public void setFcPic( int field_36_fcPic )
  1282. {
  1283. this.field_36_fcPic = field_36_fcPic;
  1284. }
  1285. /**
  1286. * Offset in data stream pointing to beginning of a picture when character is an OLE1 object character (character is 0x20 and chp.fSpec is 1, chp.fOle2 is 0)..
  1287. */
  1288. @Internal
  1289. public int getFcObj()
  1290. {
  1291. return field_37_fcObj;
  1292. }
  1293. /**
  1294. * Offset in data stream pointing to beginning of a picture when character is an OLE1 object character (character is 0x20 and chp.fSpec is 1, chp.fOle2 is 0)..
  1295. */
  1296. @Internal
  1297. public void setFcObj( int field_37_fcObj )
  1298. {
  1299. this.field_37_fcObj = field_37_fcObj;
  1300. }
  1301. /**
  1302. * An object ID for an OLE object, only set if chp.fSpec and chp.fOle2 are both true, and chp.fObj..
  1303. */
  1304. @Internal
  1305. public int getLTagObj()
  1306. {
  1307. return field_38_lTagObj;
  1308. }
  1309. /**
  1310. * An object ID for an OLE object, only set if chp.fSpec and chp.fOle2 are both true, and chp.fObj..
  1311. */
  1312. @Internal
  1313. public void setLTagObj( int field_38_lTagObj )
  1314. {
  1315. this.field_38_lTagObj = field_38_lTagObj;
  1316. }
  1317. /**
  1318. * Points to location of picture data, only if chp.fSpec is true..
  1319. */
  1320. @Internal
  1321. public int getFcData()
  1322. {
  1323. return field_39_fcData;
  1324. }
  1325. /**
  1326. * Points to location of picture data, only if chp.fSpec is true..
  1327. */
  1328. @Internal
  1329. public void setFcData( int field_39_fcData )
  1330. {
  1331. this.field_39_fcData = field_39_fcData;
  1332. }
  1333. /**
  1334. * Get the hresiOld field for the CHP record.
  1335. */
  1336. @Internal
  1337. public Hyphenation getHresiOld()
  1338. {
  1339. return field_40_hresiOld;
  1340. }
  1341. /**
  1342. * Set the hresiOld field for the CHP record.
  1343. */
  1344. @Internal
  1345. public void setHresiOld( Hyphenation field_40_hresiOld )
  1346. {
  1347. this.field_40_hresiOld = field_40_hresiOld;
  1348. }
  1349. /**
  1350. * Index to author IDs stored in hsttbfRMark. Used when text in run was deleted when revision marking was enabled..
  1351. */
  1352. @Internal
  1353. public int getIbstRMarkDel()
  1354. {
  1355. return field_41_ibstRMarkDel;
  1356. }
  1357. /**
  1358. * Index to author IDs stored in hsttbfRMark. Used when text in run was deleted when revision marking was enabled..
  1359. */
  1360. @Internal
  1361. public void setIbstRMarkDel( int field_41_ibstRMarkDel )
  1362. {
  1363. this.field_41_ibstRMarkDel = field_41_ibstRMarkDel;
  1364. }
  1365. /**
  1366. * Date/time at which this run of text was entered/modified by the author (Only recorded when revision marking is on.).
  1367. */
  1368. @Internal
  1369. public DateAndTime getDttmRMark()
  1370. {
  1371. return field_42_dttmRMark;
  1372. }
  1373. /**
  1374. * Date/time at which this run of text was entered/modified by the author (Only recorded when revision marking is on.).
  1375. */
  1376. @Internal
  1377. public void setDttmRMark( DateAndTime field_42_dttmRMark )
  1378. {
  1379. this.field_42_dttmRMark = field_42_dttmRMark;
  1380. }
  1381. /**
  1382. * Date/time at which this run of text was deleted by the author (Only recorded when revision marking is on.).
  1383. */
  1384. @Internal
  1385. public DateAndTime getDttmRMarkDel()
  1386. {
  1387. return field_43_dttmRMarkDel;
  1388. }
  1389. /**
  1390. * Date/time at which this run of text was deleted by the author (Only recorded when revision marking is on.).
  1391. */
  1392. @Internal
  1393. public void setDttmRMarkDel( DateAndTime field_43_dttmRMarkDel )
  1394. {
  1395. this.field_43_dttmRMarkDel = field_43_dttmRMarkDel;
  1396. }
  1397. /**
  1398. * Index to character style descriptor in the stylesheet that tags this run of text. When istd is istdNormalChar (10 decimal), characters in run are not affected by a character style. If chp.istd contains any other value, chpx of the specified character style are applied to CHP for this run before any other exceptional properties are applied..
  1399. */
  1400. @Internal
  1401. public int getIstd()
  1402. {
  1403. return field_44_istd;
  1404. }
  1405. /**
  1406. * Index to character style descriptor in the stylesheet that tags this run of text. When istd is istdNormalChar (10 decimal), characters in run are not affected by a character style. If chp.istd contains any other value, chpx of the specified character style are applied to CHP for this run before any other exceptional properties are applied..
  1407. */
  1408. @Internal
  1409. public void setIstd( int field_44_istd )
  1410. {
  1411. this.field_44_istd = field_44_istd;
  1412. }
  1413. /**
  1414. * An index to strings displayed as reasons for actions taken by Word's AutoFormat code.
  1415. */
  1416. @Internal
  1417. public int getIdslRMReason()
  1418. {
  1419. return field_45_idslRMReason;
  1420. }
  1421. /**
  1422. * An index to strings displayed as reasons for actions taken by Word's AutoFormat code.
  1423. */
  1424. @Internal
  1425. public void setIdslRMReason( int field_45_idslRMReason )
  1426. {
  1427. this.field_45_idslRMReason = field_45_idslRMReason;
  1428. }
  1429. /**
  1430. * An index to strings displayed as reasons for actions taken by Word's AutoFormat code.
  1431. */
  1432. @Internal
  1433. public int getIdslReasonDel()
  1434. {
  1435. return field_46_idslReasonDel;
  1436. }
  1437. /**
  1438. * An index to strings displayed as reasons for actions taken by Word's AutoFormat code.
  1439. */
  1440. @Internal
  1441. public void setIdslReasonDel( int field_46_idslReasonDel )
  1442. {
  1443. this.field_46_idslReasonDel = field_46_idslReasonDel;
  1444. }
  1445. /**
  1446. * Code page of run in pre-Unicode files.
  1447. */
  1448. @Internal
  1449. public int getCpg()
  1450. {
  1451. return field_47_cpg;
  1452. }
  1453. /**
  1454. * Code page of run in pre-Unicode files.
  1455. */
  1456. @Internal
  1457. public void setCpg( int field_47_cpg )
  1458. {
  1459. this.field_47_cpg = field_47_cpg;
  1460. }
  1461. /**
  1462. * Get the Highlight field for the CHP record.
  1463. */
  1464. @Internal
  1465. public short getHighlight()
  1466. {
  1467. return field_48_Highlight;
  1468. }
  1469. /**
  1470. * Set the Highlight field for the CHP record.
  1471. */
  1472. @Internal
  1473. public void setHighlight( short field_48_Highlight )
  1474. {
  1475. this.field_48_Highlight = field_48_Highlight;
  1476. }
  1477. /**
  1478. * Get the CharsetFlags field for the CHP record.
  1479. */
  1480. @Internal
  1481. public short getCharsetFlags()
  1482. {
  1483. return field_49_CharsetFlags;
  1484. }
  1485. /**
  1486. * Set the CharsetFlags field for the CHP record.
  1487. */
  1488. @Internal
  1489. public void setCharsetFlags( short field_49_CharsetFlags )
  1490. {
  1491. this.field_49_CharsetFlags = field_49_CharsetFlags;
  1492. }
  1493. /**
  1494. * Get the chse field for the CHP record.
  1495. */
  1496. @Internal
  1497. public short getChse()
  1498. {
  1499. return field_50_chse;
  1500. }
  1501. /**
  1502. * Set the chse field for the CHP record.
  1503. */
  1504. @Internal
  1505. public void setChse( short field_50_chse )
  1506. {
  1507. this.field_50_chse = field_50_chse;
  1508. }
  1509. /**
  1510. * properties have been changed with revision marking on.
  1511. */
  1512. @Internal
  1513. public boolean getFPropRMark()
  1514. {
  1515. return field_51_fPropRMark;
  1516. }
  1517. /**
  1518. * properties have been changed with revision marking on.
  1519. */
  1520. @Internal
  1521. public void setFPropRMark( boolean field_51_fPropRMark )
  1522. {
  1523. this.field_51_fPropRMark = field_51_fPropRMark;
  1524. }
  1525. /**
  1526. * Index to author IDs stored in hsttbfRMark. Used when properties have been changed when revision marking was enabled..
  1527. */
  1528. @Internal
  1529. public int getIbstPropRMark()
  1530. {
  1531. return field_52_ibstPropRMark;
  1532. }
  1533. /**
  1534. * Index to author IDs stored in hsttbfRMark. Used when properties have been changed when revision marking was enabled..
  1535. */
  1536. @Internal
  1537. public void setIbstPropRMark( int field_52_ibstPropRMark )
  1538. {
  1539. this.field_52_ibstPropRMark = field_52_ibstPropRMark;
  1540. }
  1541. /**
  1542. * Date/time at which properties of this were changed for this run of text by the author. (Only recorded when revision marking is on.).
  1543. */
  1544. @Internal
  1545. public DateAndTime getDttmPropRMark()
  1546. {
  1547. return field_53_dttmPropRMark;
  1548. }
  1549. /**
  1550. * Date/time at which properties of this were changed for this run of text by the author. (Only recorded when revision marking is on.).
  1551. */
  1552. @Internal
  1553. public void setDttmPropRMark( DateAndTime field_53_dttmPropRMark )
  1554. {
  1555. this.field_53_dttmPropRMark = field_53_dttmPropRMark;
  1556. }
  1557. /**
  1558. * When chp.wConflict!=0, this is TRUE when text is part of the original version of text. When FALSE, text is alternative introduced by reconciliation operation..
  1559. */
  1560. @Internal
  1561. public boolean getFConflictOrig()
  1562. {
  1563. return field_54_fConflictOrig;
  1564. }
  1565. /**
  1566. * When chp.wConflict!=0, this is TRUE when text is part of the original version of text. When FALSE, text is alternative introduced by reconciliation operation..
  1567. */
  1568. @Internal
  1569. public void setFConflictOrig( boolean field_54_fConflictOrig )
  1570. {
  1571. this.field_54_fConflictOrig = field_54_fConflictOrig;
  1572. }
  1573. /**
  1574. * When fConflictOtherDel==fTrue, the other side of a reconciliation conflict causes this text to be deleted.
  1575. */
  1576. @Internal
  1577. public boolean getFConflictOtherDel()
  1578. {
  1579. return field_55_fConflictOtherDel;
  1580. }
  1581. /**
  1582. * When fConflictOtherDel==fTrue, the other side of a reconciliation conflict causes this text to be deleted.
  1583. */
  1584. @Internal
  1585. public void setFConflictOtherDel( boolean field_55_fConflictOtherDel )
  1586. {
  1587. this.field_55_fConflictOtherDel = field_55_fConflictOtherDel;
  1588. }
  1589. /**
  1590. * When != 0, index number that identifies all text participating in a particular conflict incident.
  1591. */
  1592. @Internal
  1593. public int getWConflict()
  1594. {
  1595. return field_56_wConflict;
  1596. }
  1597. /**
  1598. * When != 0, index number that identifies all text participating in a particular conflict incident.
  1599. */
  1600. @Internal
  1601. public void setWConflict( int field_56_wConflict )
  1602. {
  1603. this.field_56_wConflict = field_56_wConflict;
  1604. }
  1605. /**
  1606. * Who made this change for this side of the conflict..
  1607. */
  1608. @Internal
  1609. public int getIbstConflict()
  1610. {
  1611. return field_57_IbstConflict;
  1612. }
  1613. /**
  1614. * Who made this change for this side of the conflict..
  1615. */
  1616. @Internal
  1617. public void setIbstConflict( int field_57_IbstConflict )
  1618. {
  1619. this.field_57_IbstConflict = field_57_IbstConflict;
  1620. }
  1621. /**
  1622. * When the change was made.
  1623. */
  1624. @Internal
  1625. public DateAndTime getDttmConflict()
  1626. {
  1627. return field_58_dttmConflict;
  1628. }
  1629. /**
  1630. * When the change was made.
  1631. */
  1632. @Internal
  1633. public void setDttmConflict( DateAndTime field_58_dttmConflict )
  1634. {
  1635. this.field_58_dttmConflict = field_58_dttmConflict;
  1636. }
  1637. /**
  1638. * the number for a ListNum field is being tracked in xstDispFldRMark. If that number is different from the current value, the number has changed. Only valid for ListNum fields..
  1639. */
  1640. @Internal
  1641. public boolean getFDispFldRMark()
  1642. {
  1643. return field_59_fDispFldRMark;
  1644. }
  1645. /**
  1646. * the number for a ListNum field is being tracked in xstDispFldRMark. If that number is different from the current value, the number has changed. Only valid for ListNum fields..
  1647. */
  1648. @Internal
  1649. public void setFDispFldRMark( boolean field_59_fDispFldRMark )
  1650. {
  1651. this.field_59_fDispFldRMark = field_59_fDispFldRMark;
  1652. }
  1653. /**
  1654. * Index to author IDs stored in hsttbfRMark. Used when ListNum field numbering has been changed when revision marking was enabled..
  1655. */
  1656. @Internal
  1657. public int getIbstDispFldRMark()
  1658. {
  1659. return field_60_ibstDispFldRMark;
  1660. }
  1661. /**
  1662. * Index to author IDs stored in hsttbfRMark. Used when ListNum field numbering has been changed when revision marking was enabled..
  1663. */
  1664. @Internal
  1665. public void setIbstDispFldRMark( int field_60_ibstDispFldRMark )
  1666. {
  1667. this.field_60_ibstDispFldRMark = field_60_ibstDispFldRMark;
  1668. }
  1669. /**
  1670. * The date for the ListNum field number change.
  1671. */
  1672. @Internal
  1673. public DateAndTime getDttmDispFldRMark()
  1674. {
  1675. return field_61_dttmDispFldRMark;
  1676. }
  1677. /**
  1678. * The date for the ListNum field number change.
  1679. */
  1680. @Internal
  1681. public void setDttmDispFldRMark( DateAndTime field_61_dttmDispFldRMark )
  1682. {
  1683. this.field_61_dttmDispFldRMark = field_61_dttmDispFldRMark;
  1684. }
  1685. /**
  1686. * The string value of the ListNum field when revision mark tracking began.
  1687. */
  1688. @Internal
  1689. public byte[] getXstDispFldRMark()
  1690. {
  1691. return field_62_xstDispFldRMark;
  1692. }
  1693. /**
  1694. * The string value of the ListNum field when revision mark tracking began.
  1695. */
  1696. @Internal
  1697. public void setXstDispFldRMark( byte[] field_62_xstDispFldRMark )
  1698. {
  1699. this.field_62_xstDispFldRMark = field_62_xstDispFldRMark;
  1700. }
  1701. /**
  1702. * Offset in the data stream indicating the location of OLE object data.
  1703. */
  1704. @Internal
  1705. public int getFcObjp()
  1706. {
  1707. return field_63_fcObjp;
  1708. }
  1709. /**
  1710. * Offset in the data stream indicating the location of OLE object data.
  1711. */
  1712. @Internal
  1713. public void setFcObjp( int field_63_fcObjp )
  1714. {
  1715. this.field_63_fcObjp = field_63_fcObjp;
  1716. }
  1717. /**
  1718. * Line BReak code for xchCRJ.
  1719. *
  1720. * @return One of {@link #LBRCRJ_NONE},{@link #LBRCRJ_LEFT},{@link #LBRCRJ_RIGHT},{@link #LBRCRJ_BOTH}
  1721. */
  1722. @Internal
  1723. public byte getLbrCRJ()
  1724. {
  1725. return field_64_lbrCRJ;
  1726. }
  1727. /**
  1728. * Line BReak code for xchCRJ.
  1729. *
  1730. * @param field_64_lbrCRJ One of {@link #LBRCRJ_NONE},{@link #LBRCRJ_LEFT},{@link #LBRCRJ_RIGHT},{@link #LBRCRJ_BOTH}
  1731. */
  1732. @Internal
  1733. public void setLbrCRJ( byte field_64_lbrCRJ )
  1734. {
  1735. this.field_64_lbrCRJ = field_64_lbrCRJ;
  1736. }
  1737. /**
  1738. * Special hidden for leading emphasis (always hidden).
  1739. */
  1740. @Internal
  1741. public boolean getFSpecVanish()
  1742. {
  1743. return field_65_fSpecVanish;
  1744. }
  1745. /**
  1746. * Special hidden for leading emphasis (always hidden).
  1747. */
  1748. @Internal
  1749. public void setFSpecVanish( boolean field_65_fSpecVanish )
  1750. {
  1751. this.field_65_fSpecVanish = field_65_fSpecVanish;
  1752. }
  1753. /**
  1754. * Used for character property revision marking. The chp at the time fHasOldProps is set to 1, the is the old chp..
  1755. */
  1756. @Internal
  1757. public boolean getFHasOldProps()
  1758. {
  1759. return field_66_fHasOldProps;
  1760. }
  1761. /**
  1762. * Used for character property revision marking. The chp at the time fHasOldProps is set to 1, the is the old chp..
  1763. */
  1764. @Internal
  1765. public void setFHasOldProps( boolean field_66_fHasOldProps )
  1766. {
  1767. this.field_66_fHasOldProps = field_66_fHasOldProps;
  1768. }
  1769. /**
  1770. * Mark the character as hidden..
  1771. */
  1772. @Internal
  1773. public boolean getFSdtVanish()
  1774. {
  1775. return field_67_fSdtVanish;
  1776. }
  1777. /**
  1778. * Mark the character as hidden..
  1779. */
  1780. @Internal
  1781. public void setFSdtVanish( boolean field_67_fSdtVanish )
  1782. {
  1783. this.field_67_fSdtVanish = field_67_fSdtVanish;
  1784. }
  1785. /**
  1786. * Get the wCharScale field for the CHP record.
  1787. */
  1788. @Internal
  1789. public int getWCharScale()
  1790. {
  1791. return field_68_wCharScale;
  1792. }
  1793. /**
  1794. * Set the wCharScale field for the CHP record.
  1795. */
  1796. @Internal
  1797. public void setWCharScale( int field_68_wCharScale )
  1798. {
  1799. this.field_68_wCharScale = field_68_wCharScale;
  1800. }
  1801. /**
  1802. * Sets the fBold field value.
  1803. * Text is bold
  1804. */
  1805. @Internal
  1806. public void setFBold( boolean value )
  1807. {
  1808. field_1_grpfChp = fBold.setBoolean(field_1_grpfChp, value);
  1809. }
  1810. /**
  1811. * Text is bold
  1812. * @return the fBold field value.
  1813. */
  1814. @Internal
  1815. public boolean isFBold()
  1816. {
  1817. return fBold.isSet(field_1_grpfChp);
  1818. }
  1819. /**
  1820. * Sets the fItalic field value.
  1821. * Italic
  1822. */
  1823. @Internal
  1824. public void setFItalic( boolean value )
  1825. {
  1826. field_1_grpfChp = fItalic.setBoolean(field_1_grpfChp, value);
  1827. }
  1828. /**
  1829. * Italic
  1830. * @return the fItalic field value.
  1831. */
  1832. @Internal
  1833. public boolean isFItalic()
  1834. {
  1835. return fItalic.isSet(field_1_grpfChp);
  1836. }
  1837. /**
  1838. * Sets the fRMarkDel field value.
  1839. * has been deleted and will be displayed with strikethrough when revision marked text is to be displayed
  1840. */
  1841. @Internal
  1842. public void setFRMarkDel( boolean value )
  1843. {
  1844. field_1_grpfChp = fRMarkDel.setBoolean(field_1_grpfChp, value);
  1845. }
  1846. /**
  1847. * has been deleted and will be displayed with strikethrough when revision marked text is to be displayed
  1848. * @return the fRMarkDel field value.
  1849. */
  1850. @Internal
  1851. public boolean isFRMarkDel()
  1852. {
  1853. return fRMarkDel.isSet(field_1_grpfChp);
  1854. }
  1855. /**
  1856. * Sets the fOutline field value.
  1857. * Outlined
  1858. */
  1859. @Internal
  1860. public void setFOutline( boolean value )
  1861. {
  1862. field_1_grpfChp = fOutline.setBoolean(field_1_grpfChp, value);
  1863. }
  1864. /**
  1865. * Outlined
  1866. * @return the fOutline field value.
  1867. */
  1868. @Internal
  1869. public boolean isFOutline()
  1870. {
  1871. return fOutline.isSet(field_1_grpfChp);
  1872. }
  1873. /**
  1874. * Sets the fFldVanish field value.
  1875. * Used internally by Word
  1876. */
  1877. @Internal
  1878. public void setFFldVanish( boolean value )
  1879. {
  1880. field_1_grpfChp = fFldVanish.setBoolean(field_1_grpfChp, value);
  1881. }
  1882. /**
  1883. * Used internally by Word
  1884. * @return the fFldVanish field value.
  1885. */
  1886. @Internal
  1887. public boolean isFFldVanish()
  1888. {
  1889. return fFldVanish.isSet(field_1_grpfChp);
  1890. }
  1891. /**
  1892. * Sets the fSmallCaps field value.
  1893. * Displayed with small caps
  1894. */
  1895. @Internal
  1896. public void setFSmallCaps( boolean value )
  1897. {
  1898. field_1_grpfChp = fSmallCaps.setBoolean(field_1_grpfChp, value);
  1899. }
  1900. /**
  1901. * Displayed with small caps
  1902. * @return the fSmallCaps field value.
  1903. */
  1904. @Internal
  1905. public boolean isFSmallCaps()
  1906. {
  1907. return fSmallCaps.isSet(field_1_grpfChp);
  1908. }
  1909. /**
  1910. * Sets the fCaps field value.
  1911. * Displayed with caps
  1912. */
  1913. @Internal
  1914. public void setFCaps( boolean value )
  1915. {
  1916. field_1_grpfChp = fCaps.setBoolean(field_1_grpfChp, value);
  1917. }
  1918. /**
  1919. * Displayed with caps
  1920. * @return the fCaps field value.
  1921. */
  1922. @Internal
  1923. public boolean isFCaps()
  1924. {
  1925. return fCaps.isSet(field_1_grpfChp);
  1926. }
  1927. /**
  1928. * Sets the fVanish field value.
  1929. * text has hidden format, and is not displayed unless fPagHidden is set in the DOP
  1930. */
  1931. @Internal
  1932. public void setFVanish( boolean value )
  1933. {
  1934. field_1_grpfChp = fVanish.setBoolean(field_1_grpfChp, value);
  1935. }
  1936. /**
  1937. * text has hidden format, and is not displayed unless fPagHidden is set in the DOP
  1938. * @return the fVanish field value.
  1939. */
  1940. @Internal
  1941. public boolean isFVanish()
  1942. {
  1943. return fVanish.isSet(field_1_grpfChp);
  1944. }
  1945. /**
  1946. * Sets the fRMark field value.
  1947. * text is newly typed since the last time revision marks have been accepted and will be displayed with an underline when revision marked text is to be displayed
  1948. */
  1949. @Internal
  1950. public void setFRMark( boolean value )
  1951. {
  1952. field_1_grpfChp = fRMark.setBoolean(field_1_grpfChp, value);
  1953. }
  1954. /**
  1955. * text is newly typed since the last time revision marks have been accepted and will be displayed with an underline when revision marked text is to be displayed
  1956. * @return the fRMark field value.
  1957. */
  1958. @Internal
  1959. public boolean isFRMark()
  1960. {
  1961. return fRMark.isSet(field_1_grpfChp);
  1962. }
  1963. /**
  1964. * Sets the fSpec field value.
  1965. * Character is a Word special character
  1966. */
  1967. @Internal
  1968. public void setFSpec( boolean value )
  1969. {
  1970. field_1_grpfChp = fSpec.setBoolean(field_1_grpfChp, value);
  1971. }
  1972. /**
  1973. * Character is a Word special character
  1974. * @return the fSpec field value.
  1975. */
  1976. @Internal
  1977. public boolean isFSpec()
  1978. {
  1979. return fSpec.isSet(field_1_grpfChp);
  1980. }
  1981. /**
  1982. * Sets the fStrike field value.
  1983. * Displayed with strikethrough
  1984. */
  1985. @Internal
  1986. public void setFStrike( boolean value )
  1987. {
  1988. field_1_grpfChp = fStrike.setBoolean(field_1_grpfChp, value);
  1989. }
  1990. /**
  1991. * Displayed with strikethrough
  1992. * @return the fStrike field value.
  1993. */
  1994. @Internal
  1995. public boolean isFStrike()
  1996. {
  1997. return fStrike.isSet(field_1_grpfChp);
  1998. }
  1999. /**
  2000. * Sets the fObj field value.
  2001. * Embedded objec
  2002. */
  2003. @Internal
  2004. public void setFObj( boolean value )
  2005. {
  2006. field_1_grpfChp = fObj.setBoolean(field_1_grpfChp, value);
  2007. }
  2008. /**
  2009. * Embedded objec
  2010. * @return the fObj field value.
  2011. */
  2012. @Internal
  2013. public boolean isFObj()
  2014. {
  2015. return fObj.isSet(field_1_grpfChp);
  2016. }
  2017. /**
  2018. * Sets the fShadow field value.
  2019. * Character is drawn with a shadow
  2020. */
  2021. @Internal
  2022. public void setFShadow( boolean value )
  2023. {
  2024. field_1_grpfChp = fShadow.setBoolean(field_1_grpfChp, value);
  2025. }
  2026. /**
  2027. * Character is drawn with a shadow
  2028. * @return the fShadow field value.
  2029. */
  2030. @Internal
  2031. public boolean isFShadow()
  2032. {
  2033. return fShadow.isSet(field_1_grpfChp);
  2034. }
  2035. /**
  2036. * Sets the fLowerCase field value.
  2037. * Character is displayed in lower case. This field may be set to 1 only when chp.fSmallCaps is 1.
  2038. */
  2039. @Internal
  2040. public void setFLowerCase( boolean value )
  2041. {
  2042. field_1_grpfChp = fLowerCase.setBoolean(field_1_grpfChp, value);
  2043. }
  2044. /**
  2045. * Character is displayed in lower case. This field may be set to 1 only when chp.fSmallCaps is 1.
  2046. * @return the fLowerCase field value.
  2047. */
  2048. @Internal
  2049. public boolean isFLowerCase()
  2050. {
  2051. return fLowerCase.isSet(field_1_grpfChp);
  2052. }
  2053. /**
  2054. * Sets the fData field value.
  2055. * chp.fcPic points to an FFDATA, the data structure binary data used by Word to describe a form field. The bit chp.fData may only be 1 when chp.fSpec is also 1 and the special character in the document stream that has this property is a chPicture (0x01)
  2056. */
  2057. @Internal
  2058. public void setFData( boolean value )
  2059. {
  2060. field_1_grpfChp = fData.setBoolean(field_1_grpfChp, value);
  2061. }
  2062. /**
  2063. * chp.fcPic points to an FFDATA, the data structure binary data used by Word to describe a form field. The bit chp.fData may only be 1 when chp.fSpec is also 1 and the special character in the document stream that has this property is a chPicture (0x01)
  2064. * @return the fData field value.
  2065. */
  2066. @Internal
  2067. public boolean isFData()
  2068. {
  2069. return fData.isSet(field_1_grpfChp);
  2070. }
  2071. /**
  2072. * Sets the fOle2 field value.
  2073. * chp.lTagObj specifies a particular object in the object stream that specifies the particular OLE object in the stream that should be displayed when the chPicture fSpec character that is tagged with the fOle2 is encountered. The bit chp.fOle2 may only be 1 when chp.fSpec is also 1 and the special character in the document stream that has this property is a chPicture (0x01).
  2074. */
  2075. @Internal
  2076. public void setFOle2( boolean value )
  2077. {
  2078. field_1_grpfChp = fOle2.setBoolean(field_1_grpfChp, value);
  2079. }
  2080. /**
  2081. * chp.lTagObj specifies a particular object in the object stream that specifies the particular OLE object in the stream that should be displayed when the chPicture fSpec character that is tagged with the fOle2 is encountered. The bit chp.fOle2 may only be 1 when chp.fSpec is also 1 and the special character in the document stream that has this property is a chPicture (0x01).
  2082. * @return the fOle2 field value.
  2083. */
  2084. @Internal
  2085. public boolean isFOle2()
  2086. {
  2087. return fOle2.isSet(field_1_grpfChp);
  2088. }
  2089. /**
  2090. * Sets the fEmboss field value.
  2091. * Text is embossed
  2092. */
  2093. @Internal
  2094. public void setFEmboss( boolean value )
  2095. {
  2096. field_1_grpfChp = fEmboss.setBoolean(field_1_grpfChp, value);
  2097. }
  2098. /**
  2099. * Text is embossed
  2100. * @return the fEmboss field value.
  2101. */
  2102. @Internal
  2103. public boolean isFEmboss()
  2104. {
  2105. return fEmboss.isSet(field_1_grpfChp);
  2106. }
  2107. /**
  2108. * Sets the fImprint field value.
  2109. * Text is engraved
  2110. */
  2111. @Internal
  2112. public void setFImprint( boolean value )
  2113. {
  2114. field_1_grpfChp = fImprint.setBoolean(field_1_grpfChp, value);
  2115. }
  2116. /**
  2117. * Text is engraved
  2118. * @return the fImprint field value.
  2119. */
  2120. @Internal
  2121. public boolean isFImprint()
  2122. {
  2123. return fImprint.isSet(field_1_grpfChp);
  2124. }
  2125. /**
  2126. * Sets the fDStrike field value.
  2127. * Displayed with double strikethrough
  2128. */
  2129. @Internal
  2130. public void setFDStrike( boolean value )
  2131. {
  2132. field_1_grpfChp = fDStrike.setBoolean(field_1_grpfChp, value);
  2133. }
  2134. /**
  2135. * Displayed with double strikethrough
  2136. * @return the fDStrike field value.
  2137. */
  2138. @Internal
  2139. public boolean isFDStrike()
  2140. {
  2141. return fDStrike.isSet(field_1_grpfChp);
  2142. }
  2143. /**
  2144. * Sets the fUsePgsuSettings field value.
  2145. * Used internally by Word
  2146. */
  2147. @Internal
  2148. public void setFUsePgsuSettings( boolean value )
  2149. {
  2150. field_1_grpfChp = fUsePgsuSettings.setBoolean(field_1_grpfChp, value);
  2151. }
  2152. /**
  2153. * Used internally by Word
  2154. * @return the fUsePgsuSettings field value.
  2155. */
  2156. @Internal
  2157. public boolean isFUsePgsuSettings()
  2158. {
  2159. return fUsePgsuSettings.isSet(field_1_grpfChp);
  2160. }
  2161. /**
  2162. * Sets the fBoldBi field value.
  2163. * Complex Scripts text is bold
  2164. */
  2165. @Internal
  2166. public void setFBoldBi( boolean value )
  2167. {
  2168. field_1_grpfChp = fBoldBi.setBoolean(field_1_grpfChp, value);
  2169. }
  2170. /**
  2171. * Complex Scripts text is bold
  2172. * @return the fBoldBi field value.
  2173. */
  2174. @Internal
  2175. public boolean isFBoldBi()
  2176. {
  2177. return fBoldBi.isSet(field_1_grpfChp);
  2178. }
  2179. /**
  2180. * Sets the fComplexScripts field value.
  2181. * Complex Scripts text that requires special processing to display and process
  2182. */
  2183. @Internal
  2184. public void setFComplexScripts( boolean value )
  2185. {
  2186. field_1_grpfChp = fComplexScripts.setBoolean(field_1_grpfChp, value);
  2187. }
  2188. /**
  2189. * Complex Scripts text that requires special processing to display and process
  2190. * @return the fComplexScripts field value.
  2191. */
  2192. @Internal
  2193. public boolean isFComplexScripts()
  2194. {
  2195. return fComplexScripts.isSet(field_1_grpfChp);
  2196. }
  2197. /**
  2198. * Sets the fItalicBi field value.
  2199. * Complex Scripts text is italics
  2200. */
  2201. @Internal
  2202. public void setFItalicBi( boolean value )
  2203. {
  2204. field_1_grpfChp = fItalicBi.setBoolean(field_1_grpfChp, value);
  2205. }
  2206. /**
  2207. * Complex Scripts text is italics
  2208. * @return the fItalicBi field value.
  2209. */
  2210. @Internal
  2211. public boolean isFItalicBi()
  2212. {
  2213. return fItalicBi.isSet(field_1_grpfChp);
  2214. }
  2215. /**
  2216. * Sets the fBiDi field value.
  2217. * Complex Scripts right-to-left text that requires special processing to display and process (character reordering; contextual shaping; display of combining characters and diacritics; specialized justification rules; cursor positioning)
  2218. */
  2219. @Internal
  2220. public void setFBiDi( boolean value )
  2221. {
  2222. field_1_grpfChp = fBiDi.setBoolean(field_1_grpfChp, value);
  2223. }
  2224. /**
  2225. * Complex Scripts right-to-left text that requires special processing to display and process (character reordering; contextual shaping; display of combining characters and diacritics; specialized justification rules; cursor positioning)
  2226. * @return the fBiDi field value.
  2227. */
  2228. @Internal
  2229. public boolean isFBiDi()
  2230. {
  2231. return fBiDi.isSet(field_1_grpfChp);
  2232. }
  2233. /**
  2234. * Sets the fIcoBi field value.
  2235. * Used internally by Word
  2236. */
  2237. @Internal
  2238. public void setFIcoBi( boolean value )
  2239. {
  2240. field_1_grpfChp = fIcoBi.setBoolean(field_1_grpfChp, value);
  2241. }
  2242. /**
  2243. * Used internally by Word
  2244. * @return the fIcoBi field value.
  2245. */
  2246. @Internal
  2247. public boolean isFIcoBi()
  2248. {
  2249. return fIcoBi.isSet(field_1_grpfChp);
  2250. }
  2251. /**
  2252. * Sets the fNonGlyph field value.
  2253. * Used internally by Word
  2254. */
  2255. @Internal
  2256. public void setFNonGlyph( boolean value )
  2257. {
  2258. field_1_grpfChp = fNonGlyph.setBoolean(field_1_grpfChp, value);
  2259. }
  2260. /**
  2261. * Used internally by Word
  2262. * @return the fNonGlyph field value.
  2263. */
  2264. @Internal
  2265. public boolean isFNonGlyph()
  2266. {
  2267. return fNonGlyph.isSet(field_1_grpfChp);
  2268. }
  2269. /**
  2270. * Sets the fBoldOther field value.
  2271. * Used internally by Word 97 and earlier versions
  2272. */
  2273. @Internal
  2274. public void setFBoldOther( boolean value )
  2275. {
  2276. field_1_grpfChp = fBoldOther.setBoolean(field_1_grpfChp, value);
  2277. }
  2278. /**
  2279. * Used internally by Word 97 and earlier versions
  2280. * @return the fBoldOther field value.
  2281. */
  2282. @Internal
  2283. public boolean isFBoldOther()
  2284. {
  2285. return fBoldOther.isSet(field_1_grpfChp);
  2286. }
  2287. /**
  2288. * Sets the fItalicOther field value.
  2289. * Used internally by Word 97 and earlier versions
  2290. */
  2291. @Internal
  2292. public void setFItalicOther( boolean value )
  2293. {
  2294. field_1_grpfChp = fItalicOther.setBoolean(field_1_grpfChp, value);
  2295. }
  2296. /**
  2297. * Used internally by Word 97 and earlier versions
  2298. * @return the fItalicOther field value.
  2299. */
  2300. @Internal
  2301. public boolean isFItalicOther()
  2302. {
  2303. return fItalicOther.isSet(field_1_grpfChp);
  2304. }
  2305. /**
  2306. * Sets the fNoProof field value.
  2307. * When set to 1, do not check spelling or grammar
  2308. */
  2309. @Internal
  2310. public void setFNoProof( boolean value )
  2311. {
  2312. field_1_grpfChp = fNoProof.setBoolean(field_1_grpfChp, value);
  2313. }
  2314. /**
  2315. * When set to 1, do not check spelling or grammar
  2316. * @return the fNoProof field value.
  2317. */
  2318. @Internal
  2319. public boolean isFNoProof()
  2320. {
  2321. return fNoProof.isSet(field_1_grpfChp);
  2322. }
  2323. /**
  2324. * Sets the fWebHidden field value.
  2325. * Text should be hidden in Web View when set to 1
  2326. */
  2327. @Internal
  2328. public void setFWebHidden( boolean value )
  2329. {
  2330. field_1_grpfChp = fWebHidden.setBoolean(field_1_grpfChp, value);
  2331. }
  2332. /**
  2333. * Text should be hidden in Web View when set to 1
  2334. * @return the fWebHidden field value.
  2335. */
  2336. @Internal
  2337. public boolean isFWebHidden()
  2338. {
  2339. return fWebHidden.isSet(field_1_grpfChp);
  2340. }
  2341. /**
  2342. * Sets the fFitText field value.
  2343. * Fit text when set to 1
  2344. */
  2345. @Internal
  2346. public void setFFitText( boolean value )
  2347. {
  2348. field_1_grpfChp = fFitText.setBoolean(field_1_grpfChp, value);
  2349. }
  2350. /**
  2351. * Fit text when set to 1
  2352. * @return the fFitText field value.
  2353. */
  2354. @Internal
  2355. public boolean isFFitText()
  2356. {
  2357. return fFitText.isSet(field_1_grpfChp);
  2358. }
  2359. /**
  2360. * Sets the fCalc field value.
  2361. * Used internally by Word
  2362. */
  2363. @Internal
  2364. public void setFCalc( boolean value )
  2365. {
  2366. field_1_grpfChp = fCalc.setBoolean(field_1_grpfChp, value);
  2367. }
  2368. /**
  2369. * Used internally by Word
  2370. * @return the fCalc field value.
  2371. */
  2372. @Internal
  2373. public boolean isFCalc()
  2374. {
  2375. return fCalc.isSet(field_1_grpfChp);
  2376. }
  2377. /**
  2378. * Sets the fFmtLineProp field value.
  2379. * Used internally by Word
  2380. */
  2381. @Internal
  2382. public void setFFmtLineProp( boolean value )
  2383. {
  2384. field_1_grpfChp = fFmtLineProp.setBoolean(field_1_grpfChp, value);
  2385. }
  2386. /**
  2387. * Used internally by Word
  2388. * @return the fFmtLineProp field value.
  2389. */
  2390. @Internal
  2391. public boolean isFFmtLineProp()
  2392. {
  2393. return fFmtLineProp.isSet(field_1_grpfChp);
  2394. }
  2395. /**
  2396. * Sets the itypFELayout field value.
  2397. *
  2398. */
  2399. @Internal
  2400. public void setItypFELayout( short value )
  2401. {
  2402. field_29_ufel = (short)itypFELayout.setValue(field_29_ufel, value);
  2403. }
  2404. /**
  2405. *
  2406. * @return the itypFELayout field value.
  2407. */
  2408. @Internal
  2409. public short getItypFELayout()
  2410. {
  2411. return ( short )itypFELayout.getValue(field_29_ufel);
  2412. }
  2413. /**
  2414. * Sets the fTNY field value.
  2415. * Tatenakayoko: Horizontal-in-vertical (range of text in a direction perpendicular to the text flow) is used
  2416. */
  2417. @Internal
  2418. public void setFTNY( boolean value )
  2419. {
  2420. field_29_ufel = (short)fTNY.setBoolean(field_29_ufel, value);
  2421. }
  2422. /**
  2423. * Tatenakayoko: Horizontal-in-vertical (range of text in a direction perpendicular to the text flow) is used
  2424. * @return the fTNY field value.
  2425. */
  2426. @Internal
  2427. public boolean isFTNY()
  2428. {
  2429. return fTNY.isSet(field_29_ufel);
  2430. }
  2431. /**
  2432. * Sets the fWarichu field value.
  2433. * Two lines in one (text in the group is displayed as two half-height lines within a line)
  2434. */
  2435. @Internal
  2436. public void setFWarichu( boolean value )
  2437. {
  2438. field_29_ufel = (short)fWarichu.setBoolean(field_29_ufel, value);
  2439. }
  2440. /**
  2441. * Two lines in one (text in the group is displayed as two half-height lines within a line)
  2442. * @return the fWarichu field value.
  2443. */
  2444. @Internal
  2445. public boolean isFWarichu()
  2446. {
  2447. return fWarichu.isSet(field_29_ufel);
  2448. }
  2449. /**
  2450. * Sets the fKumimoji field value.
  2451. * combine characters
  2452. */
  2453. @Internal
  2454. public void setFKumimoji( boolean value )
  2455. {
  2456. field_29_ufel = (short)fKumimoji.setBoolean(field_29_ufel, value);
  2457. }
  2458. /**
  2459. * combine characters
  2460. * @return the fKumimoji field value.
  2461. */
  2462. @Internal
  2463. public boolean isFKumimoji()
  2464. {
  2465. return fKumimoji.isSet(field_29_ufel);
  2466. }
  2467. /**
  2468. * Sets the fRuby field value.
  2469. * Phonetic guide
  2470. */
  2471. @Internal
  2472. public void setFRuby( boolean value )
  2473. {
  2474. field_29_ufel = (short)fRuby.setBoolean(field_29_ufel, value);
  2475. }
  2476. /**
  2477. * Phonetic guide
  2478. * @return the fRuby field value.
  2479. */
  2480. @Internal
  2481. public boolean isFRuby()
  2482. {
  2483. return fRuby.isSet(field_29_ufel);
  2484. }
  2485. /**
  2486. * Sets the fLSFitText field value.
  2487. * fit text
  2488. */
  2489. @Internal
  2490. public void setFLSFitText( boolean value )
  2491. {
  2492. field_29_ufel = (short)fLSFitText.setBoolean(field_29_ufel, value);
  2493. }
  2494. /**
  2495. * fit text
  2496. * @return the fLSFitText field value.
  2497. */
  2498. @Internal
  2499. public boolean isFLSFitText()
  2500. {
  2501. return fLSFitText.isSet(field_29_ufel);
  2502. }
  2503. /**
  2504. * Sets the spare field value.
  2505. * Unused
  2506. */
  2507. @Internal
  2508. public void setSpare( byte value )
  2509. {
  2510. field_29_ufel = (short)spare.setValue(field_29_ufel, value);
  2511. }
  2512. /**
  2513. * Unused
  2514. * @return the spare field value.
  2515. */
  2516. @Internal
  2517. public byte getSpare()
  2518. {
  2519. return ( byte )spare.getValue(field_29_ufel);
  2520. }
  2521. /**
  2522. * Sets the iWarichuBracket field value.
  2523. * Bracket character for two-lines-in-one
  2524. */
  2525. @Internal
  2526. public void setIWarichuBracket( byte value )
  2527. {
  2528. field_30_copt = (byte)iWarichuBracket.setValue(field_30_copt, value);
  2529. }
  2530. /**
  2531. * Bracket character for two-lines-in-one
  2532. * @return the iWarichuBracket field value.
  2533. */
  2534. @Internal
  2535. public byte getIWarichuBracket()
  2536. {
  2537. return ( byte )iWarichuBracket.getValue(field_30_copt);
  2538. }
  2539. /**
  2540. * Sets the fWarichuNoOpenBracket field value.
  2541. * Two-lines-in-one uses no open
  2542. */
  2543. @Internal
  2544. public void setFWarichuNoOpenBracket( boolean value )
  2545. {
  2546. field_30_copt = (byte)fWarichuNoOpenBracket.setBoolean(field_30_copt, value);
  2547. }
  2548. /**
  2549. * Two-lines-in-one uses no open
  2550. * @return the fWarichuNoOpenBracket field value.
  2551. */
  2552. @Internal
  2553. public boolean isFWarichuNoOpenBracket()
  2554. {
  2555. return fWarichuNoOpenBracket.isSet(field_30_copt);
  2556. }
  2557. /**
  2558. * Sets the fTNYCompress field value.
  2559. * fit text in line
  2560. */
  2561. @Internal
  2562. public void setFTNYCompress( boolean value )
  2563. {
  2564. field_30_copt = (byte)fTNYCompress.setBoolean(field_30_copt, value);
  2565. }
  2566. /**
  2567. * fit text in line
  2568. * @return the fTNYCompress field value.
  2569. */
  2570. @Internal
  2571. public boolean isFTNYCompress()
  2572. {
  2573. return fTNYCompress.isSet(field_30_copt);
  2574. }
  2575. /**
  2576. * Sets the fTNYFetchTxm field value.
  2577. * fetch text metrics
  2578. */
  2579. @Internal
  2580. public void setFTNYFetchTxm( boolean value )
  2581. {
  2582. field_30_copt = (byte)fTNYFetchTxm.setBoolean(field_30_copt, value);
  2583. }
  2584. /**
  2585. * fetch text metrics
  2586. * @return the fTNYFetchTxm field value.
  2587. */
  2588. @Internal
  2589. public boolean isFTNYFetchTxm()
  2590. {
  2591. return fTNYFetchTxm.isSet(field_30_copt);
  2592. }
  2593. /**
  2594. * Sets the fCellFitText field value.
  2595. * Fit text in cell
  2596. */
  2597. @Internal
  2598. public void setFCellFitText( boolean value )
  2599. {
  2600. field_30_copt = (byte)fCellFitText.setBoolean(field_30_copt, value);
  2601. }
  2602. /**
  2603. * Fit text in cell
  2604. * @return the fCellFitText field value.
  2605. */
  2606. @Internal
  2607. public boolean isFCellFitText()
  2608. {
  2609. return fCellFitText.isSet(field_30_copt);
  2610. }
  2611. /**
  2612. * Sets the unused field value.
  2613. * Not used
  2614. */
  2615. @Internal
  2616. public void setUnused( boolean value )
  2617. {
  2618. field_30_copt = (byte)unused.setBoolean(field_30_copt, value);
  2619. }
  2620. /**
  2621. * Not used
  2622. * @return the unused field value.
  2623. */
  2624. @Internal
  2625. public boolean isUnused()
  2626. {
  2627. return unused.isSet(field_30_copt);
  2628. }
  2629. /**
  2630. * Sets the icoHighlight field value.
  2631. * Highlight color (see chp.ico)
  2632. */
  2633. @Internal
  2634. public void setIcoHighlight( byte value )
  2635. {
  2636. field_48_Highlight = (short)icoHighlight.setValue(field_48_Highlight, value);
  2637. }
  2638. /**
  2639. * Highlight color (see chp.ico)
  2640. * @return the icoHighlight field value.
  2641. */
  2642. @Internal
  2643. public byte getIcoHighlight()
  2644. {
  2645. return ( byte )icoHighlight.getValue(field_48_Highlight);
  2646. }
  2647. /**
  2648. * Sets the fHighlight field value.
  2649. * When 1, characters are highlighted with color specified by chp.icoHighlight
  2650. */
  2651. @Internal
  2652. public void setFHighlight( boolean value )
  2653. {
  2654. field_48_Highlight = (short)fHighlight.setBoolean(field_48_Highlight, value);
  2655. }
  2656. /**
  2657. * When 1, characters are highlighted with color specified by chp.icoHighlight
  2658. * @return the fHighlight field value.
  2659. */
  2660. @Internal
  2661. public boolean isFHighlight()
  2662. {
  2663. return fHighlight.isSet(field_48_Highlight);
  2664. }
  2665. /**
  2666. * Sets the fChsDiff field value.
  2667. * Pre-Unicode files, char's char set different from FIB char set
  2668. */
  2669. @Internal
  2670. public void setFChsDiff( boolean value )
  2671. {
  2672. field_49_CharsetFlags = (short)fChsDiff.setBoolean(field_49_CharsetFlags, value);
  2673. }
  2674. /**
  2675. * Pre-Unicode files, char's char set different from FIB char set
  2676. * @return the fChsDiff field value.
  2677. */
  2678. @Internal
  2679. public boolean isFChsDiff()
  2680. {
  2681. return fChsDiff.isSet(field_49_CharsetFlags);
  2682. }
  2683. /**
  2684. * Sets the fMacChs field value.
  2685. * fTrue if char's are Macintosh char set
  2686. */
  2687. @Internal
  2688. public void setFMacChs( boolean value )
  2689. {
  2690. field_49_CharsetFlags = (short)fMacChs.setBoolean(field_49_CharsetFlags, value);
  2691. }
  2692. /**
  2693. * fTrue if char's are Macintosh char set
  2694. * @return the fMacChs field value.
  2695. */
  2696. @Internal
  2697. public boolean isFMacChs()
  2698. {
  2699. return fMacChs.isSet(field_49_CharsetFlags);
  2700. }
  2701. } // END OF CLASS