PageRenderTime 284ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 1ms

/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java

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