PageRenderTime 111ms CodeModel.GetById 35ms RepoModel.GetById 0ms app.codeStats 0ms

/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

Large files files are truncated, but you can click here to view the full file

  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. publ

Large files files are truncated, but you can click here to view the full file