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

DOPAbstractType.java 90KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310
  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.util.BitField;
  18. import org.apache.poi.util.Internal;
  19. import org.apache.poi.util.LittleEndian;
  20. /**
  21. * Document Properties.
  22. */
  23. @Internal
  24. public abstract class DOPAbstractType {
  25. protected byte field_1_formatFlags;
  26. private static final BitField fFacingPages = new BitField(0x01);
  27. private static final BitField fWidowControl = new BitField(0x02);
  28. private static final BitField fPMHMainDoc = new BitField(0x04);
  29. private static final BitField grfSupression = new BitField(0x18);
  30. private static final BitField fpc = new BitField(0x60);
  31. private static final BitField unused1 = new BitField(0x80);
  32. protected byte field_2_unused2;
  33. protected short field_3_footnoteInfo;
  34. private static final BitField rncFtn = new BitField(0x0003);
  35. private static final BitField nFtn = new BitField(0xfffc);
  36. protected byte field_4_fOutlineDirtySave;
  37. protected byte field_5_docinfo;
  38. private static final BitField fOnlyMacPics = new BitField(0x01);
  39. private static final BitField fOnlyWinPics = new BitField(0x02);
  40. private static final BitField fLabelDoc = new BitField(0x04);
  41. private static final BitField fHyphCapitals = new BitField(0x08);
  42. private static final BitField fAutoHyphen = new BitField(0x10);
  43. private static final BitField fFormNoFields = new BitField(0x20);
  44. private static final BitField fLinkStyles = new BitField(0x40);
  45. private static final BitField fRevMarking = new BitField(0x80);
  46. protected byte field_6_docinfo1;
  47. private static final BitField fBackup = new BitField(0x01);
  48. private static final BitField fExactCWords = new BitField(0x02);
  49. private static final BitField fPagHidden = new BitField(0x04);
  50. private static final BitField fPagResults = new BitField(0x08);
  51. private static final BitField fLockAtn = new BitField(0x10);
  52. private static final BitField fMirrorMargins = new BitField(0x20);
  53. private static final BitField unused3 = new BitField(0x40);
  54. private static final BitField fDfltTrueType = new BitField(0x80);
  55. protected byte field_7_docinfo2;
  56. private static final BitField fPagSupressTopSpacing = new BitField(0x01);
  57. private static final BitField fProtEnabled = new BitField(0x02);
  58. private static final BitField fDispFormFldSel = new BitField(0x04);
  59. private static final BitField fRMView = new BitField(0x08);
  60. private static final BitField fRMPrint = new BitField(0x10);
  61. private static final BitField unused4 = new BitField(0x20);
  62. private static final BitField fLockRev = new BitField(0x40);
  63. private static final BitField fEmbedFonts = new BitField(0x80);
  64. protected short field_8_docinfo3;
  65. private static final BitField oldfNoTabForInd = new BitField(0x0001);
  66. private static final BitField oldfNoSpaceRaiseLower = new BitField(0x0002);
  67. private static final BitField oldfSuppressSpbfAfterPageBreak = new BitField(0x0004);
  68. private static final BitField oldfWrapTrailSpaces = new BitField(0x0008);
  69. private static final BitField oldfMapPrintTextColor = new BitField(0x0010);
  70. private static final BitField oldfNoColumnBalance = new BitField(0x0020);
  71. private static final BitField oldfConvMailMergeEsc = new BitField(0x0040);
  72. private static final BitField oldfSupressTopSpacing = new BitField(0x0080);
  73. private static final BitField oldfOrigWordTableRules = new BitField(0x0100);
  74. private static final BitField oldfTransparentMetafiles = new BitField(0x0200);
  75. private static final BitField oldfShowBreaksInFrames = new BitField(0x0400);
  76. private static final BitField oldfSwapBordersFacingPgs = new BitField(0x0800);
  77. private static final BitField unused5 = new BitField(0xf000);
  78. protected int field_9_dxaTab;
  79. protected int field_10_wSpare;
  80. protected int field_11_dxaHotz;
  81. protected int field_12_cConsexHypLim;
  82. protected int field_13_wSpare2;
  83. protected int field_14_dttmCreated;
  84. protected int field_15_dttmRevised;
  85. protected int field_16_dttmLastPrint;
  86. protected int field_17_nRevision;
  87. protected int field_18_tmEdited;
  88. protected int field_19_cWords;
  89. protected int field_20_cCh;
  90. protected int field_21_cPg;
  91. protected int field_22_cParas;
  92. protected short field_23_Edn;
  93. private static final BitField rncEdn = new BitField(0x0003);
  94. private static final BitField nEdn = new BitField(0xfffc);
  95. protected short field_24_Edn1;
  96. private static final BitField epc = new BitField(0x0003);
  97. private static final BitField nfcFtnRef1 = new BitField(0x003c);
  98. private static final BitField nfcEdnRef1 = new BitField(0x03c0);
  99. private static final BitField fPrintFormData = new BitField(0x0400);
  100. private static final BitField fSaveFormData = new BitField(0x0800);
  101. private static final BitField fShadeFormData = new BitField(0x1000);
  102. private static final BitField fWCFtnEdn = new BitField(0x8000);
  103. protected int field_25_cLines;
  104. protected int field_26_cWordsFtnEnd;
  105. protected int field_27_cChFtnEdn;
  106. protected short field_28_cPgFtnEdn;
  107. protected int field_29_cParasFtnEdn;
  108. protected int field_30_cLinesFtnEdn;
  109. protected int field_31_lKeyProtDoc;
  110. protected short field_32_view;
  111. private static final BitField wvkSaved = new BitField(0x0007);
  112. private static final BitField wScaleSaved = new BitField(0x0ff8);
  113. private static final BitField zkSaved = new BitField(0x3000);
  114. private static final BitField fRotateFontW6 = new BitField(0x4000);
  115. private static final BitField iGutterPos = new BitField(0x8000);
  116. protected int field_33_docinfo4;
  117. private static final BitField fNoTabForInd = new BitField(0x00000001);
  118. private static final BitField fNoSpaceRaiseLower = new BitField(0x00000002);
  119. private static final BitField fSupressSpdfAfterPageBreak = new BitField(0x00000004);
  120. private static final BitField fWrapTrailSpaces = new BitField(0x00000008);
  121. private static final BitField fMapPrintTextColor = new BitField(0x00000010);
  122. private static final BitField fNoColumnBalance = new BitField(0x00000020);
  123. private static final BitField fConvMailMergeEsc = new BitField(0x00000040);
  124. private static final BitField fSupressTopSpacing = new BitField(0x00000080);
  125. private static final BitField fOrigWordTableRules = new BitField(0x00000100);
  126. private static final BitField fTransparentMetafiles = new BitField(0x00000200);
  127. private static final BitField fShowBreaksInFrames = new BitField(0x00000400);
  128. private static final BitField fSwapBordersFacingPgs = new BitField(0x00000800);
  129. private static final BitField fSuppressTopSPacingMac5 = new BitField(0x00010000);
  130. private static final BitField fTruncDxaExpand = new BitField(0x00020000);
  131. private static final BitField fPrintBodyBeforeHdr = new BitField(0x00040000);
  132. private static final BitField fNoLeading = new BitField(0x00080000);
  133. private static final BitField fMWSmallCaps = new BitField(0x00200000);
  134. protected short field_34_adt;
  135. protected byte[] field_35_doptypography;
  136. protected byte[] field_36_dogrid;
  137. protected short field_37_docinfo5;
  138. private static final BitField lvl = new BitField(0x001e);
  139. private static final BitField fGramAllDone = new BitField(0x0020);
  140. private static final BitField fGramAllClean = new BitField(0x0040);
  141. private static final BitField fSubsetFonts = new BitField(0x0080);
  142. private static final BitField fHideLastVersion = new BitField(0x0100);
  143. private static final BitField fHtmlDoc = new BitField(0x0200);
  144. private static final BitField fSnapBorder = new BitField(0x0800);
  145. private static final BitField fIncludeHeader = new BitField(0x1000);
  146. private static final BitField fIncludeFooter = new BitField(0x2000);
  147. private static final BitField fForcePageSizePag = new BitField(0x4000);
  148. private static final BitField fMinFontSizePag = new BitField(0x8000);
  149. protected short field_38_docinfo6;
  150. private static final BitField fHaveVersions = new BitField(0x0001);
  151. private static final BitField fAutoVersions = new BitField(0x0002);
  152. protected byte[] field_39_asumyi;
  153. protected int field_40_cChWS;
  154. protected int field_41_cChWSFtnEdn;
  155. protected int field_42_grfDocEvents;
  156. protected int field_43_virusinfo;
  157. private static final BitField fVirusPrompted = new BitField(0x0001);
  158. private static final BitField fVirusLoadSafe = new BitField(0x0002);
  159. private static final BitField KeyVirusSession30 = new BitField(0xfffffffc);
  160. protected byte[] field_44_Spare;
  161. protected int field_45_reserved1;
  162. protected int field_46_reserved2;
  163. protected int field_47_cDBC;
  164. protected int field_48_cDBCFtnEdn;
  165. protected int field_49_reserved;
  166. protected short field_50_nfcFtnRef;
  167. protected short field_51_nfcEdnRef;
  168. protected short field_52_hpsZoonFontPag;
  169. protected short field_53_dywDispPag;
  170. protected DOPAbstractType()
  171. {
  172. this.field_35_doptypography = new byte[0];
  173. this.field_36_dogrid = new byte[0];
  174. this.field_39_asumyi = new byte[0];
  175. this.field_44_Spare = new byte[0];
  176. }
  177. protected void fillFields( byte[] data, int offset )
  178. {
  179. field_1_formatFlags = data[ 0x0 + offset ];
  180. field_2_unused2 = data[ 0x1 + offset ];
  181. field_3_footnoteInfo = LittleEndian.getShort(data, 0x2 + offset);
  182. field_4_fOutlineDirtySave = data[ 0x4 + offset ];
  183. field_5_docinfo = data[ 0x5 + offset ];
  184. field_6_docinfo1 = data[ 0x6 + offset ];
  185. field_7_docinfo2 = data[ 0x7 + offset ];
  186. field_8_docinfo3 = LittleEndian.getShort(data, 0x8 + offset);
  187. field_9_dxaTab = LittleEndian.getShort(data, 0xa + offset);
  188. field_10_wSpare = LittleEndian.getShort(data, 0xc + offset);
  189. field_11_dxaHotz = LittleEndian.getShort(data, 0xe + offset);
  190. field_12_cConsexHypLim = LittleEndian.getShort(data, 0x10 + offset);
  191. field_13_wSpare2 = LittleEndian.getShort(data, 0x12 + offset);
  192. field_14_dttmCreated = LittleEndian.getInt(data, 0x14 + offset);
  193. field_15_dttmRevised = LittleEndian.getInt(data, 0x18 + offset);
  194. field_16_dttmLastPrint = LittleEndian.getInt(data, 0x1c + offset);
  195. field_17_nRevision = LittleEndian.getShort(data, 0x20 + offset);
  196. field_18_tmEdited = LittleEndian.getInt(data, 0x22 + offset);
  197. field_19_cWords = LittleEndian.getInt(data, 0x26 + offset);
  198. field_20_cCh = LittleEndian.getInt(data, 0x2a + offset);
  199. field_21_cPg = LittleEndian.getShort(data, 0x2e + offset);
  200. field_22_cParas = LittleEndian.getInt(data, 0x30 + offset);
  201. field_23_Edn = LittleEndian.getShort(data, 0x34 + offset);
  202. field_24_Edn1 = LittleEndian.getShort(data, 0x36 + offset);
  203. field_25_cLines = LittleEndian.getInt(data, 0x38 + offset);
  204. field_26_cWordsFtnEnd = LittleEndian.getInt(data, 0x3c + offset);
  205. field_27_cChFtnEdn = LittleEndian.getInt(data, 0x40 + offset);
  206. field_28_cPgFtnEdn = LittleEndian.getShort(data, 0x44 + offset);
  207. field_29_cParasFtnEdn = LittleEndian.getInt(data, 0x46 + offset);
  208. field_30_cLinesFtnEdn = LittleEndian.getInt(data, 0x4a + offset);
  209. field_31_lKeyProtDoc = LittleEndian.getInt(data, 0x4e + offset);
  210. field_32_view = LittleEndian.getShort(data, 0x52 + offset);
  211. field_33_docinfo4 = LittleEndian.getInt(data, 0x54 + offset);
  212. field_34_adt = LittleEndian.getShort(data, 0x58 + offset);
  213. field_35_doptypography = Arrays.copyOfRange(data, 0x5a + offset, 0x5a + offset+ 310);
  214. field_36_dogrid = Arrays.copyOfRange(data, 0x190 + offset,0x190 + offset + 10);
  215. field_37_docinfo5 = LittleEndian.getShort(data, 0x19a + offset);
  216. field_38_docinfo6 = LittleEndian.getShort(data, 0x19c + offset);
  217. field_39_asumyi = Arrays.copyOfRange(data, 0x19e + offset, 0x19e + offset + 12);
  218. field_40_cChWS = LittleEndian.getInt(data, 0x1aa + offset);
  219. field_41_cChWSFtnEdn = LittleEndian.getInt(data, 0x1ae + offset);
  220. field_42_grfDocEvents = LittleEndian.getInt(data, 0x1b2 + offset);
  221. field_43_virusinfo = LittleEndian.getInt(data, 0x1b6 + offset);
  222. field_44_Spare = Arrays.copyOfRange(data, 0x1ba + offset, 0x1ba + offset + 30);
  223. field_45_reserved1 = LittleEndian.getInt(data, 0x1d8 + offset);
  224. field_46_reserved2 = LittleEndian.getInt(data, 0x1dc + offset);
  225. field_47_cDBC = LittleEndian.getInt(data, 0x1e0 + offset);
  226. field_48_cDBCFtnEdn = LittleEndian.getInt(data, 0x1e4 + offset);
  227. field_49_reserved = LittleEndian.getInt(data, 0x1e8 + offset);
  228. field_50_nfcFtnRef = LittleEndian.getShort(data, 0x1ec + offset);
  229. field_51_nfcEdnRef = LittleEndian.getShort(data, 0x1ee + offset);
  230. field_52_hpsZoonFontPag = LittleEndian.getShort(data, 0x1f0 + offset);
  231. field_53_dywDispPag = LittleEndian.getShort(data, 0x1f2 + offset);
  232. }
  233. public void serialize( byte[] data, int offset )
  234. {
  235. data[ 0x0 + offset] = field_1_formatFlags;
  236. data[ 0x1 + offset] = field_2_unused2;
  237. LittleEndian.putShort(data, 0x2 + offset, field_3_footnoteInfo);
  238. data[ 0x4 + offset] = field_4_fOutlineDirtySave;
  239. data[ 0x5 + offset] = field_5_docinfo;
  240. data[ 0x6 + offset] = field_6_docinfo1;
  241. data[ 0x7 + offset] = field_7_docinfo2;
  242. LittleEndian.putShort(data, 0x8 + offset, field_8_docinfo3);
  243. LittleEndian.putShort(data, 0xa + offset, (short)field_9_dxaTab);
  244. LittleEndian.putShort(data, 0xc + offset, (short)field_10_wSpare);
  245. LittleEndian.putShort(data, 0xe + offset, (short)field_11_dxaHotz);
  246. LittleEndian.putShort(data, 0x10 + offset, (short)field_12_cConsexHypLim);
  247. LittleEndian.putShort(data, 0x12 + offset, (short)field_13_wSpare2);
  248. LittleEndian.putInt(data, 0x14 + offset, field_14_dttmCreated);
  249. LittleEndian.putInt(data, 0x18 + offset, field_15_dttmRevised);
  250. LittleEndian.putInt(data, 0x1c + offset, field_16_dttmLastPrint);
  251. LittleEndian.putShort(data, 0x20 + offset, (short)field_17_nRevision);
  252. LittleEndian.putInt(data, 0x22 + offset, field_18_tmEdited);
  253. LittleEndian.putInt(data, 0x26 + offset, field_19_cWords);
  254. LittleEndian.putInt(data, 0x2a + offset, field_20_cCh);
  255. LittleEndian.putShort(data, 0x2e + offset, (short)field_21_cPg);
  256. LittleEndian.putInt(data, 0x30 + offset, field_22_cParas);
  257. LittleEndian.putShort(data, 0x34 + offset, field_23_Edn);
  258. LittleEndian.putShort(data, 0x36 + offset, field_24_Edn1);
  259. LittleEndian.putInt(data, 0x38 + offset, field_25_cLines);
  260. LittleEndian.putInt(data, 0x3c + offset, field_26_cWordsFtnEnd);
  261. LittleEndian.putInt(data, 0x40 + offset, field_27_cChFtnEdn);
  262. LittleEndian.putShort(data, 0x44 + offset, field_28_cPgFtnEdn);
  263. LittleEndian.putInt(data, 0x46 + offset, field_29_cParasFtnEdn);
  264. LittleEndian.putInt(data, 0x4a + offset, field_30_cLinesFtnEdn);
  265. LittleEndian.putInt(data, 0x4e + offset, field_31_lKeyProtDoc);
  266. LittleEndian.putShort(data, 0x52 + offset, field_32_view);
  267. LittleEndian.putInt(data, 0x54 + offset, field_33_docinfo4);
  268. LittleEndian.putShort(data, 0x58 + offset, field_34_adt);
  269. System.arraycopy(field_35_doptypography, 0, data, 0x5a + offset, field_35_doptypography.length);
  270. System.arraycopy(field_36_dogrid, 0, data, 0x190 + offset, field_36_dogrid.length);
  271. LittleEndian.putShort(data, 0x19a + offset, field_37_docinfo5);
  272. LittleEndian.putShort(data, 0x19c + offset, field_38_docinfo6);
  273. System.arraycopy(field_39_asumyi, 0, data, 0x19e + offset, field_39_asumyi.length);
  274. LittleEndian.putInt(data, 0x1aa + offset, field_40_cChWS);
  275. LittleEndian.putInt(data, 0x1ae + offset, field_41_cChWSFtnEdn);
  276. LittleEndian.putInt(data, 0x1b2 + offset, field_42_grfDocEvents);
  277. LittleEndian.putInt(data, 0x1b6 + offset, field_43_virusinfo);
  278. System.arraycopy(field_44_Spare, 0, data, 0x1ba + offset, field_44_Spare.length);
  279. LittleEndian.putInt(data, 0x1d8 + offset, field_45_reserved1);
  280. LittleEndian.putInt(data, 0x1dc + offset, field_46_reserved2);
  281. LittleEndian.putInt(data, 0x1e0 + offset, field_47_cDBC);
  282. LittleEndian.putInt(data, 0x1e4 + offset, field_48_cDBCFtnEdn);
  283. LittleEndian.putInt(data, 0x1e8 + offset, field_49_reserved);
  284. LittleEndian.putShort(data, 0x1ec + offset, field_50_nfcFtnRef);
  285. LittleEndian.putShort(data, 0x1ee + offset, field_51_nfcEdnRef);
  286. LittleEndian.putShort(data, 0x1f0 + offset, field_52_hpsZoonFontPag);
  287. LittleEndian.putShort(data, 0x1f2 + offset, field_53_dywDispPag);
  288. }
  289. /**
  290. * Size of record
  291. */
  292. public static int getSize()
  293. {
  294. return 0 + 1 + 1 + 2 + 1 + 1 + 1 + 1 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 4 + 4 + 4 + 2 + 4 + 2 + 2 + 4 + 4 + 4 + 2 + 4 + 4 + 4 + 2 + 4 + 2 + 310 + 10 + 2 + 2 + 12 + 4 + 4 + 4 + 4 + 30 + 4 + 4 + 4 + 4 + 4 + 2 + 2 + 2 + 2;
  295. }
  296. public String toString()
  297. {
  298. StringBuilder builder = new StringBuilder();
  299. builder.append("[DOP]\n");
  300. builder.append(" .formatFlags = ");
  301. builder.append(" (").append(getFormatFlags()).append(" )\n");
  302. builder.append(" .fFacingPages = ").append(isFFacingPages()).append('\n');
  303. builder.append(" .fWidowControl = ").append(isFWidowControl()).append('\n');
  304. builder.append(" .fPMHMainDoc = ").append(isFPMHMainDoc()).append('\n');
  305. builder.append(" .grfSupression = ").append(getGrfSupression()).append('\n');
  306. builder.append(" .fpc = ").append(getFpc()).append('\n');
  307. builder.append(" .unused1 = ").append(isUnused1()).append('\n');
  308. builder.append(" .unused2 = ");
  309. builder.append(" (").append(getUnused2()).append(" )\n");
  310. builder.append(" .footnoteInfo = ");
  311. builder.append(" (").append(getFootnoteInfo()).append(" )\n");
  312. builder.append(" .rncFtn = ").append(getRncFtn()).append('\n');
  313. builder.append(" .nFtn = ").append(getNFtn()).append('\n');
  314. builder.append(" .fOutlineDirtySave = ");
  315. builder.append(" (").append(getFOutlineDirtySave()).append(" )\n");
  316. builder.append(" .docinfo = ");
  317. builder.append(" (").append(getDocinfo()).append(" )\n");
  318. builder.append(" .fOnlyMacPics = ").append(isFOnlyMacPics()).append('\n');
  319. builder.append(" .fOnlyWinPics = ").append(isFOnlyWinPics()).append('\n');
  320. builder.append(" .fLabelDoc = ").append(isFLabelDoc()).append('\n');
  321. builder.append(" .fHyphCapitals = ").append(isFHyphCapitals()).append('\n');
  322. builder.append(" .fAutoHyphen = ").append(isFAutoHyphen()).append('\n');
  323. builder.append(" .fFormNoFields = ").append(isFFormNoFields()).append('\n');
  324. builder.append(" .fLinkStyles = ").append(isFLinkStyles()).append('\n');
  325. builder.append(" .fRevMarking = ").append(isFRevMarking()).append('\n');
  326. builder.append(" .docinfo1 = ");
  327. builder.append(" (").append(getDocinfo1()).append(" )\n");
  328. builder.append(" .fBackup = ").append(isFBackup()).append('\n');
  329. builder.append(" .fExactCWords = ").append(isFExactCWords()).append('\n');
  330. builder.append(" .fPagHidden = ").append(isFPagHidden()).append('\n');
  331. builder.append(" .fPagResults = ").append(isFPagResults()).append('\n');
  332. builder.append(" .fLockAtn = ").append(isFLockAtn()).append('\n');
  333. builder.append(" .fMirrorMargins = ").append(isFMirrorMargins()).append('\n');
  334. builder.append(" .unused3 = ").append(isUnused3()).append('\n');
  335. builder.append(" .fDfltTrueType = ").append(isFDfltTrueType()).append('\n');
  336. builder.append(" .docinfo2 = ");
  337. builder.append(" (").append(getDocinfo2()).append(" )\n");
  338. builder.append(" .fPagSupressTopSpacing = ").append(isFPagSupressTopSpacing()).append('\n');
  339. builder.append(" .fProtEnabled = ").append(isFProtEnabled()).append('\n');
  340. builder.append(" .fDispFormFldSel = ").append(isFDispFormFldSel()).append('\n');
  341. builder.append(" .fRMView = ").append(isFRMView()).append('\n');
  342. builder.append(" .fRMPrint = ").append(isFRMPrint()).append('\n');
  343. builder.append(" .unused4 = ").append(isUnused4()).append('\n');
  344. builder.append(" .fLockRev = ").append(isFLockRev()).append('\n');
  345. builder.append(" .fEmbedFonts = ").append(isFEmbedFonts()).append('\n');
  346. builder.append(" .docinfo3 = ");
  347. builder.append(" (").append(getDocinfo3()).append(" )\n");
  348. builder.append(" .oldfNoTabForInd = ").append(isOldfNoTabForInd()).append('\n');
  349. builder.append(" .oldfNoSpaceRaiseLower = ").append(isOldfNoSpaceRaiseLower()).append('\n');
  350. builder.append(" .oldfSuppressSpbfAfterPageBreak = ").append(isOldfSuppressSpbfAfterPageBreak()).append('\n');
  351. builder.append(" .oldfWrapTrailSpaces = ").append(isOldfWrapTrailSpaces()).append('\n');
  352. builder.append(" .oldfMapPrintTextColor = ").append(isOldfMapPrintTextColor()).append('\n');
  353. builder.append(" .oldfNoColumnBalance = ").append(isOldfNoColumnBalance()).append('\n');
  354. builder.append(" .oldfConvMailMergeEsc = ").append(isOldfConvMailMergeEsc()).append('\n');
  355. builder.append(" .oldfSupressTopSpacing = ").append(isOldfSupressTopSpacing()).append('\n');
  356. builder.append(" .oldfOrigWordTableRules = ").append(isOldfOrigWordTableRules()).append('\n');
  357. builder.append(" .oldfTransparentMetafiles = ").append(isOldfTransparentMetafiles()).append('\n');
  358. builder.append(" .oldfShowBreaksInFrames = ").append(isOldfShowBreaksInFrames()).append('\n');
  359. builder.append(" .oldfSwapBordersFacingPgs = ").append(isOldfSwapBordersFacingPgs()).append('\n');
  360. builder.append(" .unused5 = ").append(getUnused5()).append('\n');
  361. builder.append(" .dxaTab = ");
  362. builder.append(" (").append(getDxaTab()).append(" )\n");
  363. builder.append(" .wSpare = ");
  364. builder.append(" (").append(getWSpare()).append(" )\n");
  365. builder.append(" .dxaHotz = ");
  366. builder.append(" (").append(getDxaHotz()).append(" )\n");
  367. builder.append(" .cConsexHypLim = ");
  368. builder.append(" (").append(getCConsexHypLim()).append(" )\n");
  369. builder.append(" .wSpare2 = ");
  370. builder.append(" (").append(getWSpare2()).append(" )\n");
  371. builder.append(" .dttmCreated = ");
  372. builder.append(" (").append(getDttmCreated()).append(" )\n");
  373. builder.append(" .dttmRevised = ");
  374. builder.append(" (").append(getDttmRevised()).append(" )\n");
  375. builder.append(" .dttmLastPrint = ");
  376. builder.append(" (").append(getDttmLastPrint()).append(" )\n");
  377. builder.append(" .nRevision = ");
  378. builder.append(" (").append(getNRevision()).append(" )\n");
  379. builder.append(" .tmEdited = ");
  380. builder.append(" (").append(getTmEdited()).append(" )\n");
  381. builder.append(" .cWords = ");
  382. builder.append(" (").append(getCWords()).append(" )\n");
  383. builder.append(" .cCh = ");
  384. builder.append(" (").append(getCCh()).append(" )\n");
  385. builder.append(" .cPg = ");
  386. builder.append(" (").append(getCPg()).append(" )\n");
  387. builder.append(" .cParas = ");
  388. builder.append(" (").append(getCParas()).append(" )\n");
  389. builder.append(" .Edn = ");
  390. builder.append(" (").append(getEdn()).append(" )\n");
  391. builder.append(" .rncEdn = ").append(getRncEdn()).append('\n');
  392. builder.append(" .nEdn = ").append(getNEdn()).append('\n');
  393. builder.append(" .Edn1 = ");
  394. builder.append(" (").append(getEdn1()).append(" )\n");
  395. builder.append(" .epc = ").append(getEpc()).append('\n');
  396. builder.append(" .nfcFtnRef1 = ").append(getNfcFtnRef1()).append('\n');
  397. builder.append(" .nfcEdnRef1 = ").append(getNfcEdnRef1()).append('\n');
  398. builder.append(" .fPrintFormData = ").append(isFPrintFormData()).append('\n');
  399. builder.append(" .fSaveFormData = ").append(isFSaveFormData()).append('\n');
  400. builder.append(" .fShadeFormData = ").append(isFShadeFormData()).append('\n');
  401. builder.append(" .fWCFtnEdn = ").append(isFWCFtnEdn()).append('\n');
  402. builder.append(" .cLines = ");
  403. builder.append(" (").append(getCLines()).append(" )\n");
  404. builder.append(" .cWordsFtnEnd = ");
  405. builder.append(" (").append(getCWordsFtnEnd()).append(" )\n");
  406. builder.append(" .cChFtnEdn = ");
  407. builder.append(" (").append(getCChFtnEdn()).append(" )\n");
  408. builder.append(" .cPgFtnEdn = ");
  409. builder.append(" (").append(getCPgFtnEdn()).append(" )\n");
  410. builder.append(" .cParasFtnEdn = ");
  411. builder.append(" (").append(getCParasFtnEdn()).append(" )\n");
  412. builder.append(" .cLinesFtnEdn = ");
  413. builder.append(" (").append(getCLinesFtnEdn()).append(" )\n");
  414. builder.append(" .lKeyProtDoc = ");
  415. builder.append(" (").append(getLKeyProtDoc()).append(" )\n");
  416. builder.append(" .view = ");
  417. builder.append(" (").append(getView()).append(" )\n");
  418. builder.append(" .wvkSaved = ").append(getWvkSaved()).append('\n');
  419. builder.append(" .wScaleSaved = ").append(getWScaleSaved()).append('\n');
  420. builder.append(" .zkSaved = ").append(getZkSaved()).append('\n');
  421. builder.append(" .fRotateFontW6 = ").append(isFRotateFontW6()).append('\n');
  422. builder.append(" .iGutterPos = ").append(isIGutterPos()).append('\n');
  423. builder.append(" .docinfo4 = ");
  424. builder.append(" (").append(getDocinfo4()).append(" )\n");
  425. builder.append(" .fNoTabForInd = ").append(isFNoTabForInd()).append('\n');
  426. builder.append(" .fNoSpaceRaiseLower = ").append(isFNoSpaceRaiseLower()).append('\n');
  427. builder.append(" .fSupressSpdfAfterPageBreak = ").append(isFSupressSpdfAfterPageBreak()).append('\n');
  428. builder.append(" .fWrapTrailSpaces = ").append(isFWrapTrailSpaces()).append('\n');
  429. builder.append(" .fMapPrintTextColor = ").append(isFMapPrintTextColor()).append('\n');
  430. builder.append(" .fNoColumnBalance = ").append(isFNoColumnBalance()).append('\n');
  431. builder.append(" .fConvMailMergeEsc = ").append(isFConvMailMergeEsc()).append('\n');
  432. builder.append(" .fSupressTopSpacing = ").append(isFSupressTopSpacing()).append('\n');
  433. builder.append(" .fOrigWordTableRules = ").append(isFOrigWordTableRules()).append('\n');
  434. builder.append(" .fTransparentMetafiles = ").append(isFTransparentMetafiles()).append('\n');
  435. builder.append(" .fShowBreaksInFrames = ").append(isFShowBreaksInFrames()).append('\n');
  436. builder.append(" .fSwapBordersFacingPgs = ").append(isFSwapBordersFacingPgs()).append('\n');
  437. builder.append(" .fSuppressTopSPacingMac5 = ").append(isFSuppressTopSPacingMac5()).append('\n');
  438. builder.append(" .fTruncDxaExpand = ").append(isFTruncDxaExpand()).append('\n');
  439. builder.append(" .fPrintBodyBeforeHdr = ").append(isFPrintBodyBeforeHdr()).append('\n');
  440. builder.append(" .fNoLeading = ").append(isFNoLeading()).append('\n');
  441. builder.append(" .fMWSmallCaps = ").append(isFMWSmallCaps()).append('\n');
  442. builder.append(" .adt = ");
  443. builder.append(" (").append(getAdt()).append(" )\n");
  444. builder.append(" .doptypography = ");
  445. builder.append(" (").append(Arrays.toString(getDoptypography())).append(" )\n");
  446. builder.append(" .dogrid = ");
  447. builder.append(" (").append(Arrays.toString(getDogrid())).append(" )\n");
  448. builder.append(" .docinfo5 = ");
  449. builder.append(" (").append(getDocinfo5()).append(" )\n");
  450. builder.append(" .lvl = ").append(getLvl()).append('\n');
  451. builder.append(" .fGramAllDone = ").append(isFGramAllDone()).append('\n');
  452. builder.append(" .fGramAllClean = ").append(isFGramAllClean()).append('\n');
  453. builder.append(" .fSubsetFonts = ").append(isFSubsetFonts()).append('\n');
  454. builder.append(" .fHideLastVersion = ").append(isFHideLastVersion()).append('\n');
  455. builder.append(" .fHtmlDoc = ").append(isFHtmlDoc()).append('\n');
  456. builder.append(" .fSnapBorder = ").append(isFSnapBorder()).append('\n');
  457. builder.append(" .fIncludeHeader = ").append(isFIncludeHeader()).append('\n');
  458. builder.append(" .fIncludeFooter = ").append(isFIncludeFooter()).append('\n');
  459. builder.append(" .fForcePageSizePag = ").append(isFForcePageSizePag()).append('\n');
  460. builder.append(" .fMinFontSizePag = ").append(isFMinFontSizePag()).append('\n');
  461. builder.append(" .docinfo6 = ");
  462. builder.append(" (").append(getDocinfo6()).append(" )\n");
  463. builder.append(" .fHaveVersions = ").append(isFHaveVersions()).append('\n');
  464. builder.append(" .fAutoVersions = ").append(isFAutoVersions()).append('\n');
  465. builder.append(" .asumyi = ");
  466. builder.append(" (").append(Arrays.toString(getAsumyi())).append(" )\n");
  467. builder.append(" .cChWS = ");
  468. builder.append(" (").append(getCChWS()).append(" )\n");
  469. builder.append(" .cChWSFtnEdn = ");
  470. builder.append(" (").append(getCChWSFtnEdn()).append(" )\n");
  471. builder.append(" .grfDocEvents = ");
  472. builder.append(" (").append(getGrfDocEvents()).append(" )\n");
  473. builder.append(" .virusinfo = ");
  474. builder.append(" (").append(getVirusinfo()).append(" )\n");
  475. builder.append(" .fVirusPrompted = ").append(isFVirusPrompted()).append('\n');
  476. builder.append(" .fVirusLoadSafe = ").append(isFVirusLoadSafe()).append('\n');
  477. builder.append(" .KeyVirusSession30 = ").append(getKeyVirusSession30()).append('\n');
  478. builder.append(" .Spare = ");
  479. builder.append(" (").append(Arrays.toString(getSpare())).append(" )\n");
  480. builder.append(" .reserved1 = ");
  481. builder.append(" (").append(getReserved1()).append(" )\n");
  482. builder.append(" .reserved2 = ");
  483. builder.append(" (").append(getReserved2()).append(" )\n");
  484. builder.append(" .cDBC = ");
  485. builder.append(" (").append(getCDBC()).append(" )\n");
  486. builder.append(" .cDBCFtnEdn = ");
  487. builder.append(" (").append(getCDBCFtnEdn()).append(" )\n");
  488. builder.append(" .reserved = ");
  489. builder.append(" (").append(getReserved()).append(" )\n");
  490. builder.append(" .nfcFtnRef = ");
  491. builder.append(" (").append(getNfcFtnRef()).append(" )\n");
  492. builder.append(" .nfcEdnRef = ");
  493. builder.append(" (").append(getNfcEdnRef()).append(" )\n");
  494. builder.append(" .hpsZoonFontPag = ");
  495. builder.append(" (").append(getHpsZoonFontPag()).append(" )\n");
  496. builder.append(" .dywDispPag = ");
  497. builder.append(" (").append(getDywDispPag()).append(" )\n");
  498. builder.append("[/DOP]\n");
  499. return builder.toString();
  500. }
  501. /**
  502. * Get the formatFlags field for the DOP record.
  503. */
  504. @Internal
  505. public byte getFormatFlags()
  506. {
  507. return field_1_formatFlags;
  508. }
  509. /**
  510. * Set the formatFlags field for the DOP record.
  511. */
  512. @Internal
  513. public void setFormatFlags( byte field_1_formatFlags )
  514. {
  515. this.field_1_formatFlags = field_1_formatFlags;
  516. }
  517. /**
  518. * Get the unused2 field for the DOP record.
  519. */
  520. @Internal
  521. public byte getUnused2()
  522. {
  523. return field_2_unused2;
  524. }
  525. /**
  526. * Set the unused2 field for the DOP record.
  527. */
  528. @Internal
  529. public void setUnused2( byte field_2_unused2 )
  530. {
  531. this.field_2_unused2 = field_2_unused2;
  532. }
  533. /**
  534. * Get the footnoteInfo field for the DOP record.
  535. */
  536. @Internal
  537. public short getFootnoteInfo()
  538. {
  539. return field_3_footnoteInfo;
  540. }
  541. /**
  542. * Set the footnoteInfo field for the DOP record.
  543. */
  544. @Internal
  545. public void setFootnoteInfo( short field_3_footnoteInfo )
  546. {
  547. this.field_3_footnoteInfo = field_3_footnoteInfo;
  548. }
  549. /**
  550. * Get the fOutlineDirtySave field for the DOP record.
  551. */
  552. @Internal
  553. public byte getFOutlineDirtySave()
  554. {
  555. return field_4_fOutlineDirtySave;
  556. }
  557. /**
  558. * Set the fOutlineDirtySave field for the DOP record.
  559. */
  560. @Internal
  561. public void setFOutlineDirtySave( byte field_4_fOutlineDirtySave )
  562. {
  563. this.field_4_fOutlineDirtySave = field_4_fOutlineDirtySave;
  564. }
  565. /**
  566. * Get the docinfo field for the DOP record.
  567. */
  568. @Internal
  569. public byte getDocinfo()
  570. {
  571. return field_5_docinfo;
  572. }
  573. /**
  574. * Set the docinfo field for the DOP record.
  575. */
  576. @Internal
  577. public void setDocinfo( byte field_5_docinfo )
  578. {
  579. this.field_5_docinfo = field_5_docinfo;
  580. }
  581. /**
  582. * Get the docinfo1 field for the DOP record.
  583. */
  584. @Internal
  585. public byte getDocinfo1()
  586. {
  587. return field_6_docinfo1;
  588. }
  589. /**
  590. * Set the docinfo1 field for the DOP record.
  591. */
  592. @Internal
  593. public void setDocinfo1( byte field_6_docinfo1 )
  594. {
  595. this.field_6_docinfo1 = field_6_docinfo1;
  596. }
  597. /**
  598. * Get the docinfo2 field for the DOP record.
  599. */
  600. @Internal
  601. public byte getDocinfo2()
  602. {
  603. return field_7_docinfo2;
  604. }
  605. /**
  606. * Set the docinfo2 field for the DOP record.
  607. */
  608. @Internal
  609. public void setDocinfo2( byte field_7_docinfo2 )
  610. {
  611. this.field_7_docinfo2 = field_7_docinfo2;
  612. }
  613. /**
  614. * Get the docinfo3 field for the DOP record.
  615. */
  616. @Internal
  617. public short getDocinfo3()
  618. {
  619. return field_8_docinfo3;
  620. }
  621. /**
  622. * Set the docinfo3 field for the DOP record.
  623. */
  624. @Internal
  625. public void setDocinfo3( short field_8_docinfo3 )
  626. {
  627. this.field_8_docinfo3 = field_8_docinfo3;
  628. }
  629. /**
  630. * Get the dxaTab field for the DOP record.
  631. */
  632. @Internal
  633. public int getDxaTab()
  634. {
  635. return field_9_dxaTab;
  636. }
  637. /**
  638. * Set the dxaTab field for the DOP record.
  639. */
  640. @Internal
  641. public void setDxaTab( int field_9_dxaTab )
  642. {
  643. this.field_9_dxaTab = field_9_dxaTab;
  644. }
  645. /**
  646. * Get the wSpare field for the DOP record.
  647. */
  648. @Internal
  649. public int getWSpare()
  650. {
  651. return field_10_wSpare;
  652. }
  653. /**
  654. * Set the wSpare field for the DOP record.
  655. */
  656. @Internal
  657. public void setWSpare( int field_10_wSpare )
  658. {
  659. this.field_10_wSpare = field_10_wSpare;
  660. }
  661. /**
  662. * Get the dxaHotz field for the DOP record.
  663. */
  664. @Internal
  665. public int getDxaHotz()
  666. {
  667. return field_11_dxaHotz;
  668. }
  669. /**
  670. * Set the dxaHotz field for the DOP record.
  671. */
  672. @Internal
  673. public void setDxaHotz( int field_11_dxaHotz )
  674. {
  675. this.field_11_dxaHotz = field_11_dxaHotz;
  676. }
  677. /**
  678. * Get the cConsexHypLim field for the DOP record.
  679. */
  680. @Internal
  681. public int getCConsexHypLim()
  682. {
  683. return field_12_cConsexHypLim;
  684. }
  685. /**
  686. * Set the cConsexHypLim field for the DOP record.
  687. */
  688. @Internal
  689. public void setCConsexHypLim( int field_12_cConsexHypLim )
  690. {
  691. this.field_12_cConsexHypLim = field_12_cConsexHypLim;
  692. }
  693. /**
  694. * Get the wSpare2 field for the DOP record.
  695. */
  696. @Internal
  697. public int getWSpare2()
  698. {
  699. return field_13_wSpare2;
  700. }
  701. /**
  702. * Set the wSpare2 field for the DOP record.
  703. */
  704. @Internal
  705. public void setWSpare2( int field_13_wSpare2 )
  706. {
  707. this.field_13_wSpare2 = field_13_wSpare2;
  708. }
  709. /**
  710. * Get the dttmCreated field for the DOP record.
  711. */
  712. @Internal
  713. public int getDttmCreated()
  714. {
  715. return field_14_dttmCreated;
  716. }
  717. /**
  718. * Set the dttmCreated field for the DOP record.
  719. */
  720. @Internal
  721. public void setDttmCreated( int field_14_dttmCreated )
  722. {
  723. this.field_14_dttmCreated = field_14_dttmCreated;
  724. }
  725. /**
  726. * Get the dttmRevised field for the DOP record.
  727. */
  728. @Internal
  729. public int getDttmRevised()
  730. {
  731. return field_15_dttmRevised;
  732. }
  733. /**
  734. * Set the dttmRevised field for the DOP record.
  735. */
  736. @Internal
  737. public void setDttmRevised( int field_15_dttmRevised )
  738. {
  739. this.field_15_dttmRevised = field_15_dttmRevised;
  740. }
  741. /**
  742. * Get the dttmLastPrint field for the DOP record.
  743. */
  744. @Internal
  745. public int getDttmLastPrint()
  746. {
  747. return field_16_dttmLastPrint;
  748. }
  749. /**
  750. * Set the dttmLastPrint field for the DOP record.
  751. */
  752. @Internal
  753. public void setDttmLastPrint( int field_16_dttmLastPrint )
  754. {
  755. this.field_16_dttmLastPrint = field_16_dttmLastPrint;
  756. }
  757. /**
  758. * Get the nRevision field for the DOP record.
  759. */
  760. @Internal
  761. public int getNRevision()
  762. {
  763. return field_17_nRevision;
  764. }
  765. /**
  766. * Set the nRevision field for the DOP record.
  767. */
  768. @Internal
  769. public void setNRevision( int field_17_nRevision )
  770. {
  771. this.field_17_nRevision = field_17_nRevision;
  772. }
  773. /**
  774. * Get the tmEdited field for the DOP record.
  775. */
  776. @Internal
  777. public int getTmEdited()
  778. {
  779. return field_18_tmEdited;
  780. }
  781. /**
  782. * Set the tmEdited field for the DOP record.
  783. */
  784. @Internal
  785. public void setTmEdited( int field_18_tmEdited )
  786. {
  787. this.field_18_tmEdited = field_18_tmEdited;
  788. }
  789. /**
  790. * Get the cWords field for the DOP record.
  791. */
  792. @Internal
  793. public int getCWords()
  794. {
  795. return field_19_cWords;
  796. }
  797. /**
  798. * Set the cWords field for the DOP record.
  799. */
  800. @Internal
  801. public void setCWords( int field_19_cWords )
  802. {
  803. this.field_19_cWords = field_19_cWords;
  804. }
  805. /**
  806. * Get the cCh field for the DOP record.
  807. */
  808. @Internal
  809. public int getCCh()
  810. {
  811. return field_20_cCh;
  812. }
  813. /**
  814. * Set the cCh field for the DOP record.
  815. */
  816. @Internal
  817. public void setCCh( int field_20_cCh )
  818. {
  819. this.field_20_cCh = field_20_cCh;
  820. }
  821. /**
  822. * Get the cPg field for the DOP record.
  823. */
  824. @Internal
  825. public int getCPg()
  826. {
  827. return field_21_cPg;
  828. }
  829. /**
  830. * Set the cPg field for the DOP record.
  831. */
  832. @Internal
  833. public void setCPg( int field_21_cPg )
  834. {
  835. this.field_21_cPg = field_21_cPg;
  836. }
  837. /**
  838. * Get the cParas field for the DOP record.
  839. */
  840. @Internal
  841. public int getCParas()
  842. {
  843. return field_22_cParas;
  844. }
  845. /**
  846. * Set the cParas field for the DOP record.
  847. */
  848. @Internal
  849. public void setCParas( int field_22_cParas )
  850. {
  851. this.field_22_cParas = field_22_cParas;
  852. }
  853. /**
  854. * Get the Edn field for the DOP record.
  855. */
  856. @Internal
  857. public short getEdn()
  858. {
  859. return field_23_Edn;
  860. }
  861. /**
  862. * Set the Edn field for the DOP record.
  863. */
  864. @Internal
  865. public void setEdn( short field_23_Edn )
  866. {
  867. this.field_23_Edn = field_23_Edn;
  868. }
  869. /**
  870. * Get the Edn1 field for the DOP record.
  871. */
  872. @Internal
  873. public short getEdn1()
  874. {
  875. return field_24_Edn1;
  876. }
  877. /**
  878. * Set the Edn1 field for the DOP record.
  879. */
  880. @Internal
  881. public void setEdn1( short field_24_Edn1 )
  882. {
  883. this.field_24_Edn1 = field_24_Edn1;
  884. }
  885. /**
  886. * Get the cLines field for the DOP record.
  887. */
  888. @Internal
  889. public int getCLines()
  890. {
  891. return field_25_cLines;
  892. }
  893. /**
  894. * Set the cLines field for the DOP record.
  895. */
  896. @Internal
  897. public void setCLines( int field_25_cLines )
  898. {
  899. this.field_25_cLines = field_25_cLines;
  900. }
  901. /**
  902. * Get the cWordsFtnEnd field for the DOP record.
  903. */
  904. @Internal
  905. public int getCWordsFtnEnd()
  906. {
  907. return field_26_cWordsFtnEnd;
  908. }
  909. /**
  910. * Set the cWordsFtnEnd field for the DOP record.
  911. */
  912. @Internal
  913. public void setCWordsFtnEnd( int field_26_cWordsFtnEnd )
  914. {
  915. this.field_26_cWordsFtnEnd = field_26_cWordsFtnEnd;
  916. }
  917. /**
  918. * Get the cChFtnEdn field for the DOP record.
  919. */
  920. @Internal
  921. public int getCChFtnEdn()
  922. {
  923. return field_27_cChFtnEdn;
  924. }
  925. /**
  926. * Set the cChFtnEdn field for the DOP record.
  927. */
  928. @Internal
  929. public void setCChFtnEdn( int field_27_cChFtnEdn )
  930. {
  931. this.field_27_cChFtnEdn = field_27_cChFtnEdn;
  932. }
  933. /**
  934. * Get the cPgFtnEdn field for the DOP record.
  935. */
  936. @Internal
  937. public short getCPgFtnEdn()
  938. {
  939. return field_28_cPgFtnEdn;
  940. }
  941. /**
  942. * Set the cPgFtnEdn field for the DOP record.
  943. */
  944. @Internal
  945. public void setCPgFtnEdn( short field_28_cPgFtnEdn )
  946. {
  947. this.field_28_cPgFtnEdn = field_28_cPgFtnEdn;
  948. }
  949. /**
  950. * Get the cParasFtnEdn field for the DOP record.
  951. */
  952. @Internal
  953. public int getCParasFtnEdn()
  954. {
  955. return field_29_cParasFtnEdn;
  956. }
  957. /**
  958. * Set the cParasFtnEdn field for the DOP record.
  959. */
  960. @Internal
  961. public void setCParasFtnEdn( int field_29_cParasFtnEdn )
  962. {
  963. this.field_29_cParasFtnEdn = field_29_cParasFtnEdn;
  964. }
  965. /**
  966. * Get the cLinesFtnEdn field for the DOP record.
  967. */
  968. @Internal
  969. public int getCLinesFtnEdn()
  970. {
  971. return field_30_cLinesFtnEdn;
  972. }
  973. /**
  974. * Set the cLinesFtnEdn field for the DOP record.
  975. */
  976. @Internal
  977. public void setCLinesFtnEdn( int field_30_cLinesFtnEdn )
  978. {
  979. this.field_30_cLinesFtnEdn = field_30_cLinesFtnEdn;
  980. }
  981. /**
  982. * Get the lKeyProtDoc field for the DOP record.
  983. */
  984. @Internal
  985. public int getLKeyProtDoc()
  986. {
  987. return field_31_lKeyProtDoc;
  988. }
  989. /**
  990. * Set the lKeyProtDoc field for the DOP record.
  991. */
  992. @Internal
  993. public void setLKeyProtDoc( int field_31_lKeyProtDoc )
  994. {
  995. this.field_31_lKeyProtDoc = field_31_lKeyProtDoc;
  996. }
  997. /**
  998. * Get the view field for the DOP record.
  999. */
  1000. @Internal
  1001. public short getView()
  1002. {
  1003. return field_32_view;
  1004. }
  1005. /**
  1006. * Set the view field for the DOP record.
  1007. */
  1008. @Internal
  1009. public void setView( short field_32_view )
  1010. {
  1011. this.field_32_view = field_32_view;
  1012. }
  1013. /**
  1014. * Get the docinfo4 field for the DOP record.
  1015. */
  1016. @Internal
  1017. public int getDocinfo4()
  1018. {
  1019. return field_33_docinfo4;
  1020. }
  1021. /**
  1022. * Set the docinfo4 field for the DOP record.
  1023. */
  1024. @Internal
  1025. public void setDocinfo4( int field_33_docinfo4 )
  1026. {
  1027. this.field_33_docinfo4 = field_33_docinfo4;
  1028. }
  1029. /**
  1030. * Get the adt field for the DOP record.
  1031. */
  1032. @Internal
  1033. public short getAdt()
  1034. {
  1035. return field_34_adt;
  1036. }
  1037. /**
  1038. * Set the adt field for the DOP record.
  1039. */
  1040. @Internal
  1041. public void setAdt( short field_34_adt )
  1042. {
  1043. this.field_34_adt = field_34_adt;
  1044. }
  1045. /**
  1046. * Get the doptypography field for the DOP record.
  1047. */
  1048. @Internal
  1049. public byte[] getDoptypography()
  1050. {
  1051. return field_35_doptypography;
  1052. }
  1053. /**
  1054. * Set the doptypography field for the DOP record.
  1055. */
  1056. @Internal
  1057. public void setDoptypography( byte[] field_35_doptypography )
  1058. {
  1059. this.field_35_doptypography = field_35_doptypography;
  1060. }
  1061. /**
  1062. * Get the dogrid field for the DOP record.
  1063. */
  1064. @Internal
  1065. public byte[] getDogrid()
  1066. {
  1067. return field_36_dogrid;
  1068. }
  1069. /**
  1070. * Set the dogrid field for the DOP record.
  1071. */
  1072. @Internal
  1073. public void setDogrid( byte[] field_36_dogrid )
  1074. {
  1075. this.field_36_dogrid = field_36_dogrid;
  1076. }
  1077. /**
  1078. * Get the docinfo5 field for the DOP record.
  1079. */
  1080. @Internal
  1081. public short getDocinfo5()
  1082. {
  1083. return field_37_docinfo5;
  1084. }
  1085. /**
  1086. * Set the docinfo5 field for the DOP record.
  1087. */
  1088. @Internal
  1089. public void setDocinfo5( short field_37_docinfo5 )
  1090. {
  1091. this.field_37_docinfo5 = field_37_docinfo5;
  1092. }
  1093. /**
  1094. * Get the docinfo6 field for the DOP record.
  1095. */
  1096. @Internal
  1097. public short getDocinfo6()
  1098. {
  1099. return field_38_docinfo6;
  1100. }
  1101. /**
  1102. * Set the docinfo6 field for the DOP record.
  1103. */
  1104. @Internal
  1105. public void setDocinfo6( short field_38_docinfo6 )
  1106. {
  1107. this.field_38_docinfo6 = field_38_docinfo6;
  1108. }
  1109. /**
  1110. * Get the asumyi field for the DOP record.
  1111. */
  1112. @Internal
  1113. public byte[] getAsumyi()
  1114. {
  1115. return field_39_asumyi;
  1116. }
  1117. /**
  1118. * Set the asumyi field for the DOP record.
  1119. */
  1120. @Internal
  1121. public void setAsumyi( byte[] field_39_asumyi )
  1122. {
  1123. this.field_39_asumyi = field_39_asumyi;
  1124. }
  1125. /**
  1126. * Get the cChWS field for the DOP record.
  1127. */
  1128. @Internal
  1129. public int getCChWS()
  1130. {
  1131. return field_40_cChWS;
  1132. }
  1133. /**
  1134. * Set the cChWS field for the DOP record.
  1135. */
  1136. @Internal
  1137. public void setCChWS( int field_40_cChWS )
  1138. {
  1139. this.field_40_cChWS = field_40_cChWS;
  1140. }
  1141. /**
  1142. * Get the cChWSFtnEdn field for the DOP record.
  1143. */
  1144. @Internal
  1145. public int getCChWSFtnEdn()
  1146. {
  1147. return field_41_cChWSFtnEdn;
  1148. }
  1149. /**
  1150. * Set the cChWSFtnEdn field for the DOP record.
  1151. */
  1152. @Internal
  1153. public void setCChWSFtnEdn( int field_41_cChWSFtnEdn )
  1154. {
  1155. this.field_41_cChWSFtnEdn = field_41_cChWSFtnEdn;
  1156. }
  1157. /**
  1158. * Get the grfDocEvents field for the DOP record.
  1159. */
  1160. @Internal
  1161. public int getGrfDocEvents()
  1162. {
  1163. return field_42_grfDocEvents;
  1164. }
  1165. /**
  1166. * Set the grfDocEvents field for the DOP record.
  1167. */
  1168. @Internal
  1169. public void setGrfDocEvents( int field_42_grfDocEvents )
  1170. {
  1171. this.field_42_grfDocEvents = field_42_grfDocEvents;
  1172. }
  1173. /**
  1174. * Get the virusinfo field for the DOP record.
  1175. */
  1176. @Internal
  1177. public int getVirusinfo()
  1178. {
  1179. return field_43_virusinfo;
  1180. }
  1181. /**
  1182. * Set the virusinfo field for the DOP record.
  1183. */
  1184. @Internal
  1185. public void setVirusinfo( int field_43_virusinfo )
  1186. {
  1187. this.field_43_virusinfo = field_43_virusinfo;
  1188. }
  1189. /**
  1190. * Get the Spare field for the DOP record.
  1191. */
  1192. @Internal
  1193. public byte[] getSpare()
  1194. {
  1195. return field_44_Spare;
  1196. }
  1197. /**
  1198. * Set the Spare field for the DOP record.
  1199. */
  1200. @Internal
  1201. public void setSpare( byte[] field_44_Spare )
  1202. {
  1203. this.field_44_Spare = field_44_Spare;
  1204. }
  1205. /**
  1206. * Get the reserved1 field for the DOP record.
  1207. */
  1208. @Internal
  1209. public int getReserved1()
  1210. {
  1211. return field_45_reserved1;
  1212. }
  1213. /**
  1214. * Set the reserved1 field for the DOP record.
  1215. */
  1216. @Internal
  1217. public void setReserved1( int field_45_reserved1 )
  1218. {
  1219. this.field_45_reserved1 = field_45_reserved1;
  1220. }
  1221. /**
  1222. * Get the reserved2 field for the DOP record.
  1223. */
  1224. @Internal
  1225. public int getReserved2()
  1226. {
  1227. return field_46_reserved2;
  1228. }
  1229. /**
  1230. * Set the reserved2 field for the DOP record.
  1231. */
  1232. @Internal
  1233. public void setReserved2( int field_46_reserved2 )
  1234. {
  1235. this.field_46_reserved2 = field_46_reserved2;
  1236. }
  1237. /**
  1238. * Get the cDBC field for the DOP record.
  1239. */
  1240. @Internal
  1241. public int getCDBC()
  1242. {
  1243. return field_47_cDBC;
  1244. }
  1245. /**
  1246. * Set the cDBC field for the DOP record.
  1247. */
  1248. @Internal
  1249. public void setCDBC( int field_47_cDBC )
  1250. {
  1251. this.field_47_cDBC = field_47_cDBC;
  1252. }
  1253. /**
  1254. * Get the cDBCFtnEdn field for the DOP record.
  1255. */
  1256. @Internal
  1257. public int getCDBCFtnEdn()
  1258. {
  1259. return field_48_cDBCFtnEdn;
  1260. }
  1261. /**
  1262. * Set the cDBCFtnEdn field for the DOP record.
  1263. */
  1264. @Internal
  1265. public void setCDBCFtnEdn( int field_48_cDBCFtnEdn )
  1266. {
  1267. this.field_48_cDBCFtnEdn = field_48_cDBCFtnEdn;
  1268. }
  1269. /**
  1270. * Get the reserved field for the DOP record.
  1271. */
  1272. @Internal
  1273. public int getReserved()
  1274. {
  1275. return field_49_reserved;
  1276. }
  1277. /**
  1278. * Set the reserved field for the DOP record.
  1279. */
  1280. @Internal
  1281. public void setReserved( int field_49_reserved )
  1282. {
  1283. this.field_49_reserved = field_49_reserved;
  1284. }
  1285. /**
  1286. * Get the nfcFtnRef field for the DOP record.
  1287. */
  1288. @Internal
  1289. public short getNfcFtnRef()
  1290. {
  1291. return field_50_nfcFtnRef;
  1292. }
  1293. /**
  1294. * Set the nfcFtnRef field for the DOP record.
  1295. */
  1296. @Internal
  1297. public void setNfcFtnRef( short field_50_nfcFtnRef )
  1298. {
  1299. this.field_50_nfcFtnRef = field_50_nfcFtnRef;
  1300. }
  1301. /**
  1302. * Get the nfcEdnRef field for the DOP record.
  1303. */
  1304. @Internal
  1305. public short getNfcEdnRef()
  1306. {
  1307. return field_51_nfcEdnRef;
  1308. }
  1309. /**
  1310. * Set the nfcEdnRef field for the DOP record.
  1311. */
  1312. @Internal
  1313. public void setNfcEdnRef( short field_51_nfcEdnRef )
  1314. {
  1315. this.field_51_nfcEdnRef = field_51_nfcEdnRef;
  1316. }
  1317. /**
  1318. * Get the hpsZoonFontPag field for the DOP record.
  1319. */
  1320. @Internal
  1321. public short getHpsZoonFontPag()
  1322. {
  1323. return field_52_hpsZoonFontPag;
  1324. }
  1325. /**
  1326. * Set the hpsZoonFontPag field for the DOP record.
  1327. */
  1328. @Internal
  1329. public void setHpsZoonFontPag( short field_52_hpsZoonFontPag )
  1330. {
  1331. this.field_52_hpsZoonFontPag = field_52_hpsZoonFontPag;
  1332. }
  1333. /**
  1334. * Get the dywDispPag field for the DOP record.
  1335. */
  1336. @Internal
  1337. public short getDywDispPag()
  1338. {
  1339. return field_53_dywDispPag;
  1340. }
  1341. /**
  1342. * Set the dywDispPag field for the DOP record.
  1343. */
  1344. @Internal
  1345. public void setDywDispPag( short field_53_dywDispPag )
  1346. {
  1347. this.field_53_dywDispPag = field_53_dywDispPag;
  1348. }
  1349. /**
  1350. * Sets the fFacingPages field value.
  1351. *
  1352. */
  1353. @Internal
  1354. public void setFFacingPages( boolean value )
  1355. {
  1356. field_1_formatFlags = (byte)fFacingPages.setBoolean(field_1_formatFlags, value);
  1357. }
  1358. /**
  1359. *
  1360. * @return the fFacingPages field value.
  1361. */
  1362. @Internal
  1363. public boolean isFFacingPages()
  1364. {
  1365. return fFacingPages.isSet(field_1_formatFlags);
  1366. }
  1367. /**
  1368. * Sets the fWidowControl field value.
  1369. *
  1370. */
  1371. @Internal
  1372. public void setFWidowControl( boolean value )
  1373. {
  1374. field_1_formatFlags = (byte)fWidowControl.setBoolean(field_1_formatFlags, value);
  1375. }
  1376. /**
  1377. *
  1378. * @return the fWidowControl field value.
  1379. */
  1380. @Internal
  1381. public boolean isFWidowControl()
  1382. {
  1383. return fWidowControl.isSet(field_1_formatFlags);
  1384. }
  1385. /**
  1386. * Sets the fPMHMainDoc field value.
  1387. *
  1388. */
  1389. @Internal
  1390. public void setFPMHMainDoc( boolean value )
  1391. {
  1392. field_1_formatFlags = (byte)fPMHMainDoc.setBoolean(field_1_formatFlags, value);
  1393. }
  1394. /**
  1395. *
  1396. * @return the fPMHMainDoc field value.
  1397. */
  1398. @Internal
  1399. public boolean isFPMHMainDoc()
  1400. {
  1401. return fPMHMainDoc.isSet(field_1_formatFlags);
  1402. }
  1403. /**
  1404. * Sets the grfSupression field value.
  1405. *
  1406. */
  1407. @Internal
  1408. public void setGrfSupression( byte value )
  1409. {
  1410. field_1_formatFlags = (byte)grfSupression.setValue(field_1_formatFlags, value);
  1411. }
  1412. /**
  1413. *
  1414. * @return the grfSupression field value.
  1415. */
  1416. @Internal
  1417. public byte getGrfSupression()
  1418. {
  1419. return ( byte )grfSupression.getValue(field_1_formatFlags);
  1420. }
  1421. /**
  1422. * Sets the fpc field value.
  1423. *
  1424. */
  1425. @Internal
  1426. public void setFpc( byte value )
  1427. {
  1428. field_1_formatFlags = (byte)fpc.setValue(field_1_formatFlags, value);
  1429. }
  1430. /**
  1431. *
  1432. * @return the fpc field value.
  1433. */
  1434. @Internal
  1435. public byte getFpc()
  1436. {
  1437. return ( byte )fpc.getValue(field_1_formatFlags);
  1438. }
  1439. /**
  1440. * Sets the unused1 field value.
  1441. *
  1442. */
  1443. @Internal
  1444. public void setUnused1( boolean value )
  1445. {
  1446. field_1_formatFlags = (byte)unused1.setBoolean(field_1_formatFlags, value);
  1447. }
  1448. /**
  1449. *
  1450. * @return the unused1 field value.
  1451. */
  1452. @Internal
  1453. public boolean isUnused1()
  1454. {
  1455. return unused1.isSet(field_1_formatFlags);
  1456. }
  1457. /**
  1458. * Sets the rncFtn field value.
  1459. *
  1460. */
  1461. @Internal
  1462. public void setRncFtn( byte value )
  1463. {
  1464. field_3_footnoteInfo = (short)rncFtn.setValue(field_3_footnoteInfo, value);
  1465. }
  1466. /**
  1467. *
  1468. * @return the rncFtn field value.
  1469. */
  1470. @Internal
  1471. public byte getRncFtn()
  1472. {
  1473. return ( byte )rncFtn.getValue(field_3_footnoteInfo);
  1474. }
  1475. /**
  1476. * Sets the nFtn field value.
  1477. *
  1478. */
  1479. @Internal
  1480. public void setNFtn( short value )
  1481. {
  1482. field_3_footnoteInfo = (short)nFtn.setValue(field_3_footnoteInfo, value);
  1483. }
  1484. /**
  1485. *
  1486. * @return the nFtn field value.
  1487. */
  1488. @Internal
  1489. public short getNFtn()
  1490. {
  1491. return ( short )nFtn.getValue(field_3_footnoteInfo);
  1492. }
  1493. /**
  1494. * Sets the fOnlyMacPics field value.
  1495. *
  1496. */
  1497. @Internal
  1498. public void setFOnlyMacPics( boolean value )
  1499. {
  1500. field_5_docinfo = (byte)fOnlyMacPics.setBoolean(field_5_docinfo, value);
  1501. }
  1502. /**
  1503. *
  1504. * @return the fOnlyMacPics field value.
  1505. */
  1506. @Internal
  1507. public boolean isFOnlyMacPics()
  1508. {
  1509. return fOnlyMacPics.isSet(field_5_docinfo);
  1510. }
  1511. /**
  1512. * Sets the fOnlyWinPics field value.
  1513. *
  1514. */
  1515. @Internal
  1516. public void setFOnlyWinPics( boolean value )
  1517. {
  1518. field_5_docinfo = (byte)fOnlyWinPics.setBoolean(field_5_docinfo, value);
  1519. }
  1520. /**
  1521. *
  1522. * @return the fOnlyWinPics field value.
  1523. */
  1524. @Internal
  1525. public boolean isFOnlyWinPics()
  1526. {
  1527. return fOnlyWinPics.isSet(field_5_docinfo);
  1528. }
  1529. /**
  1530. * Sets the fLabelDoc field value.
  1531. *
  1532. */
  1533. @Internal
  1534. public void setFLabelDoc( boolean value )
  1535. {
  1536. field_5_docinfo = (byte)fLabelDoc.setBoolean(field_5_docinfo, value);
  1537. }
  1538. /**
  1539. *
  1540. * @return the fLabelDoc field value.
  1541. */
  1542. @Internal
  1543. public boolean isFLabelDoc()
  1544. {
  1545. return fLabelDoc.isSet(field_5_docinfo);
  1546. }
  1547. /**
  1548. * Sets the fHyphCapitals field value.
  1549. *
  1550. */
  1551. @Internal
  1552. public void setFHyphCapitals( boolean value )
  1553. {
  1554. field_5_docinfo = (byte)fHyphCapitals.setBoolean(field_5_docinfo, value);
  1555. }
  1556. /**
  1557. *
  1558. * @return the fHyphCapitals field value.
  1559. */
  1560. @Internal
  1561. public boolean isFHyphCapitals()
  1562. {
  1563. return fHyphCapitals.isSet(field_5_docinfo);
  1564. }
  1565. /**
  1566. * Sets the fAutoHyphen field value.
  1567. *
  1568. */
  1569. @Internal
  1570. public void setFAutoHyphen( boolean value )
  1571. {
  1572. field_5_docinfo = (byte)fAutoHyphen.setBoolean(field_5_docinfo, value);
  1573. }
  1574. /**
  1575. *
  1576. * @return the fAutoHyphen field value.
  1577. */
  1578. @Internal
  1579. public boolean isFAutoHyphen()
  1580. {
  1581. return fAutoHyphen.isSet(field_5_docinfo);
  1582. }
  1583. /**
  1584. * Sets the fFormNoFields field value.
  1585. *
  1586. */
  1587. @Internal
  1588. public void setFFormNoFields( boolean value )
  1589. {
  1590. field_5_docinfo = (byte)fFormNoFields.setBoolean(field_5_docinfo, value);
  1591. }
  1592. /**
  1593. *
  1594. * @return the fFormNoFields field value.
  1595. */
  1596. @Internal
  1597. public boolean isFFormNoFields()
  1598. {
  1599. return fFormNoFields.isSet(field_5_docinfo);
  1600. }
  1601. /**
  1602. * Sets the fLinkStyles field value.
  1603. *
  1604. */
  1605. @Internal
  1606. public void setFLinkStyles( boolean value )
  1607. {
  1608. field_5_docinfo = (byte)fLinkStyles.setBoolean(field_5_docinfo, value);
  1609. }
  1610. /**
  1611. *
  1612. * @return the fLinkStyles field value.
  1613. */
  1614. @Internal
  1615. public boolean isFLinkStyles()
  1616. {
  1617. return fLinkStyles.isSet(field_5_docinfo);
  1618. }
  1619. /**
  1620. * Sets the fRevMarking field value.
  1621. *
  1622. */
  1623. @Internal
  1624. public void setFRevMarking( boolean value )
  1625. {
  1626. field_5_docinfo = (byte)fRevMarking.setBoolean(field_5_docinfo, value);
  1627. }
  1628. /**
  1629. *
  1630. * @return the fRevMarking field value.
  1631. */
  1632. @Internal
  1633. public boolean isFRevMarking()
  1634. {
  1635. return fRevMarking.isSet(field_5_docinfo);
  1636. }
  1637. /**
  1638. * Sets the fBackup field value.
  1639. *
  1640. */
  1641. @Internal
  1642. public void setFBackup( boolean value )
  1643. {
  1644. field_6_docinfo1 = (byte)fBackup.setBoolean(field_6_docinfo1, value);
  1645. }
  1646. /**
  1647. *
  1648. * @return the fBackup field value.
  1649. */
  1650. @Internal
  1651. public boolean isFBackup()
  1652. {
  1653. return fBackup.isSet(field_6_docinfo1);
  1654. }
  1655. /**
  1656. * Sets the fExactCWords field value.
  1657. *
  1658. */
  1659. @Internal
  1660. public void setFExactCWords( boolean value )
  1661. {
  1662. field_6_docinfo1 = (byte)fExactCWords.setBoolean(field_6_docinfo1, value);
  1663. }
  1664. /**
  1665. *
  1666. * @return the fExactCWords field value.
  1667. */
  1668. @Internal
  1669. public boolean isFExactCWords()
  1670. {
  1671. return fExactCWords.isSet(field_6_docinfo1);
  1672. }
  1673. /**
  1674. * Sets the fPagHidden field value.
  1675. *
  1676. */
  1677. @Internal
  1678. public void setFPagHidden( boolean value )
  1679. {
  1680. field_6_docinfo1 = (byte)fPagHidden.setBoolean(field_6_docinfo1, value);
  1681. }
  1682. /**
  1683. *
  1684. * @return the fPagHidden field value.
  1685. */
  1686. @Internal
  1687. public boolean isFPagHidden()
  1688. {
  1689. return fPagHidden.isSet(field_6_docinfo1);
  1690. }
  1691. /**
  1692. * Sets the fPagResults field value.
  1693. *
  1694. */
  1695. @Internal
  1696. public void setFPagResults( boolean value )
  1697. {
  1698. field_6_docinfo1 = (byte)fPagResults.setBoolean(field_6_docinfo1, value);
  1699. }
  1700. /**
  1701. *
  1702. * @return the fPagResults field value.
  1703. */
  1704. @Internal
  1705. public boolean isFPagResults()
  1706. {
  1707. return fPagResults.isSet(field_6_docinfo1);
  1708. }
  1709. /**
  1710. * Sets the fLockAtn field value.
  1711. *
  1712. */
  1713. @Internal
  1714. public void setFLockAtn( boolean value )
  1715. {
  1716. field_6_docinfo1 = (byte)fLockAtn.setBoolean(field_6_docinfo1, value);
  1717. }
  1718. /**
  1719. *
  1720. * @return the fLockAtn field value.
  1721. */
  1722. @Internal
  1723. public boolean isFLockAtn()
  1724. {
  1725. return fLockAtn.isSet(field_6_docinfo1);
  1726. }
  1727. /**
  1728. * Sets the fMirrorMargins field value.
  1729. *
  1730. */
  1731. @Internal
  1732. public void setFMirrorMargins( boolean value )
  1733. {
  1734. field_6_docinfo1 = (byte)fMirrorMargins.setBoolean(field_6_docinfo1, value);
  1735. }
  1736. /**
  1737. *
  1738. * @return the fMirrorMargins field value.
  1739. */
  1740. @Internal
  1741. public boolean isFMirrorMargins()
  1742. {
  1743. return fMirrorMargins.isSet(field_6_docinfo1);
  1744. }
  1745. /**
  1746. * Sets the unused3 field value.
  1747. *
  1748. */
  1749. @Internal
  1750. public void setUnused3( boolean value )
  1751. {
  1752. field_6_docinfo1 = (byte)unused3.setBoolean(field_6_docinfo1, value);
  1753. }
  1754. /**
  1755. *
  1756. * @return the unused3 field value.
  1757. */
  1758. @Internal
  1759. public boolean isUnused3()
  1760. {
  1761. return unused3.isSet(field_6_docinfo1);
  1762. }
  1763. /**
  1764. * Sets the fDfltTrueType field value.
  1765. *
  1766. */
  1767. @Internal
  1768. public void setFDfltTrueType( boolean value )
  1769. {
  1770. field_6_docinfo1 = (byte)fDfltTrueType.setBoolean(field_6_docinfo1, value);
  1771. }
  1772. /**
  1773. *
  1774. * @return the fDfltTrueType field value.
  1775. */
  1776. @Internal
  1777. public boolean isFDfltTrueType()
  1778. {
  1779. return fDfltTrueType.isSet(field_6_docinfo1);
  1780. }
  1781. /**
  1782. * Sets the fPagSupressTopSpacing field value.
  1783. *
  1784. */
  1785. @Internal
  1786. public void setFPagSupressTopSpacing( boolean value )
  1787. {
  1788. field_7_docinfo2 = (byte)fPagSupressTopSpacing.setBoolean(field_7_docinfo2, value);
  1789. }
  1790. /**
  1791. *
  1792. * @return the fPagSupressTopSpacing field value.
  1793. */
  1794. @Internal
  1795. public boolean isFPagSupressTopSpacing()
  1796. {
  1797. return fPagSupressTopSpacing.isSet(field_7_docinfo2);
  1798. }
  1799. /**
  1800. * Sets the fProtEnabled field value.
  1801. *
  1802. */
  1803. @Internal
  1804. public void setFProtEnabled( boolean value )
  1805. {
  1806. field_7_docinfo2 = (byte)fProtEnabled.setBoolean(field_7_docinfo2, value);
  1807. }
  1808. /**
  1809. *
  1810. * @return the fProtEnabled field value.
  1811. */
  1812. @Internal
  1813. public boolean isFProtEnabled()
  1814. {
  1815. return fProtEnabled.isSet(field_7_docinfo2);
  1816. }
  1817. /**
  1818. * Sets the fDispFormFldSel field value.
  1819. *
  1820. */
  1821. @Internal
  1822. public void setFDispFormFldSel( boolean value )
  1823. {
  1824. field_7_docinfo2 = (byte)fDispFormFldSel.setBoolean(field_7_docinfo2, value);
  1825. }
  1826. /**
  1827. *
  1828. * @return the fDispFormFldSel field value.
  1829. */
  1830. @Internal
  1831. public boolean isFDispFormFldSel()
  1832. {
  1833. return fDispFormFldSel.isSet(field_7_docinfo2);
  1834. }
  1835. /**
  1836. * Sets the fRMView field value.
  1837. *
  1838. */
  1839. @Internal
  1840. public void setFRMView( boolean value )
  1841. {
  1842. field_7_docinfo2 = (byte)fRMView.setBoolean(field_7_docinfo2, value);
  1843. }
  1844. /**
  1845. *
  1846. * @return the fRMView field value.
  1847. */
  1848. @Internal
  1849. public boolean isFRMView()
  1850. {
  1851. return fRMView.isSet(field_7_docinfo2);
  1852. }
  1853. /**
  1854. * Sets the fRMPrint field value.
  1855. *
  1856. */
  1857. @Internal
  1858. public void setFRMPrint( boolean value )
  1859. {
  1860. field_7_docinfo2 = (byte)fRMPrint.setBoolean(field_7_docinfo2, value);
  1861. }
  1862. /**
  1863. *
  1864. * @return the fRMPrint field value.
  1865. */
  1866. @Internal
  1867. public boolean isFRMPrint()
  1868. {
  1869. return fRMPrint.isSet(field_7_docinfo2);
  1870. }
  1871. /**
  1872. * Sets the unused4 field value.
  1873. *
  1874. */
  1875. @Internal
  1876. public void setUnused4( boolean value )
  1877. {
  1878. field_7_docinfo2 = (byte)unused4.setBoolean(field_7_docinfo2, value);
  1879. }
  1880. /**
  1881. *
  1882. * @return the unused4 field value.
  1883. */
  1884. @Internal
  1885. public boolean isUnused4()
  1886. {
  1887. return unused4.isSet(field_7_docinfo2);
  1888. }
  1889. /**
  1890. * Sets the fLockRev field value.
  1891. *
  1892. */
  1893. @Internal
  1894. public void setFLockRev( boolean value )
  1895. {
  1896. field_7_docinfo2 = (byte)fLockRev.setBoolean(field_7_docinfo2, value);
  1897. }
  1898. /**
  1899. *
  1900. * @return the fLockRev field value.
  1901. */
  1902. @Internal
  1903. public boolean isFLockRev()
  1904. {
  1905. return fLockRev.isSet(field_7_docinfo2);
  1906. }
  1907. /**
  1908. * Sets the fEmbedFonts field value.
  1909. *
  1910. */
  1911. @Internal
  1912. public void setFEmbedFonts( boolean value )
  1913. {
  1914. field_7_docinfo2 = (byte)fEmbedFonts.setBoolean(field_7_docinfo2, value);
  1915. }
  1916. /**
  1917. *
  1918. * @return the fEmbedFonts field value.
  1919. */
  1920. @Internal
  1921. public boolean isFEmbedFonts()
  1922. {
  1923. return fEmbedFonts.isSet(field_7_docinfo2);
  1924. }
  1925. /**
  1926. * Sets the oldfNoTabForInd field value.
  1927. *
  1928. */
  1929. @Internal
  1930. public void setOldfNoTabForInd( boolean value )
  1931. {
  1932. field_8_docinfo3 = (short)oldfNoTabForInd.setBoolean(field_8_docinfo3, value);
  1933. }
  1934. /**
  1935. *
  1936. * @return the oldfNoTabForInd field value.
  1937. */
  1938. @Internal
  1939. public boolean isOldfNoTabForInd()
  1940. {
  1941. return oldfNoTabForInd.isSet(field_8_docinfo3);
  1942. }
  1943. /**
  1944. * Sets the oldfNoSpaceRaiseLower field value.
  1945. *
  1946. */
  1947. @Internal
  1948. public void setOldfNoSpaceRaiseLower( boolean value )
  1949. {
  1950. field_8_docinfo3 = (short)oldfNoSpaceRaiseLower.setBoolean(field_8_docinfo3, value);
  1951. }
  1952. /**
  1953. *
  1954. * @return the oldfNoSpaceRaiseLower field value.
  1955. */
  1956. @Internal
  1957. public boolean isOldfNoSpaceRaiseLower()
  1958. {
  1959. return oldfNoSpaceRaiseLower.isSet(field_8_docinfo3);
  1960. }
  1961. /**
  1962. * Sets the oldfSuppressSpbfAfterPageBreak field value.
  1963. *
  1964. */
  1965. @Internal
  1966. public void setOldfSuppressSpbfAfterPageBreak( boolean value )
  1967. {
  1968. field_8_docinfo3 = (short)oldfSuppressSpbfAfterPageBreak.setBoolean(field_8_docinfo3, value);
  1969. }
  1970. /**
  1971. *
  1972. * @return the oldfSuppressSpbfAfterPageBreak field value.
  1973. */
  1974. @Internal
  1975. public boolean isOldfSuppressSpbfAfterPageBreak()
  1976. {
  1977. return oldfSuppressSpbfAfterPageBreak.isSet(field_8_docinfo3);
  1978. }
  1979. /**
  1980. * Sets the oldfWrapTrailSpaces field value.
  1981. *
  1982. */
  1983. @Internal
  1984. public void setOldfWrapTrailSpaces( boolean value )
  1985. {
  1986. field_8_docinfo3 = (short)oldfWrapTrailSpaces.setBoolean(field_8_docinfo3, value);
  1987. }
  1988. /**
  1989. *
  1990. * @return the oldfWrapTrailSpaces field value.
  1991. */
  1992. @Internal
  1993. public boolean isOldfWrapTrailSpaces()
  1994. {
  1995. return oldfWrapTrailSpaces.isSet(field_8_docinfo3);
  1996. }
  1997. /**
  1998. * Sets the oldfMapPrintTextColor field value.
  1999. *
  2000. */
  2001. @Internal
  2002. public void setOldfMapPrintTextColor( boolean value )
  2003. {
  2004. field_8_docinfo3 = (short)oldfMapPrintTextColor.setBoolean(field_8_docinfo3, value);
  2005. }
  2006. /**
  2007. *
  2008. * @return the oldfMapPrintTextColor field value.
  2009. */
  2010. @Internal
  2011. public boolean isOldfMapPrintTextColor()
  2012. {
  2013. return oldfMapPrintTextColor.isSet(field_8_docinfo3);
  2014. }
  2015. /**
  2016. * Sets the oldfNoColumnBalance field value.
  2017. *
  2018. */
  2019. @Internal
  2020. public void setOldfNoColumnBalance( boolean value )
  2021. {
  2022. field_8_docinfo3 = (short)oldfNoColumnBalance.setBoolean(field_8_docinfo3, value);
  2023. }
  2024. /**
  2025. *
  2026. * @return the oldfNoColumnBalance field value.
  2027. */
  2028. @Internal
  2029. public boolean isOldfNoColumnBalance()
  2030. {
  2031. return oldfNoColumnBalance.isSet(field_8_docinfo3);
  2032. }
  2033. /**
  2034. * Sets the oldfConvMailMergeEsc field value.
  2035. *
  2036. */
  2037. @Internal
  2038. public void setOldfConvMailMergeEsc( boolean value )
  2039. {
  2040. field_8_docinfo3 = (short)oldfConvMailMergeEsc.setBoolean(field_8_docinfo3, value);
  2041. }
  2042. /**
  2043. *
  2044. * @return the oldfConvMailMergeEsc field value.
  2045. */
  2046. @Internal
  2047. public boolean isOldfConvMailMergeEsc()
  2048. {
  2049. return oldfConvMailMergeEsc.isSet(field_8_docinfo3);
  2050. }
  2051. /**
  2052. * Sets the oldfSupressTopSpacing field value.
  2053. *
  2054. */
  2055. @Internal
  2056. public void setOldfSupressTopSpacing( boolean value )
  2057. {
  2058. field_8_docinfo3 = (short)oldfSupressTopSpacing.setBoolean(field_8_docinfo3, value);
  2059. }
  2060. /**
  2061. *
  2062. * @return the oldfSupressTopSpacing field value.
  2063. */
  2064. @Internal
  2065. public boolean isOldfSupressTopSpacing()
  2066. {
  2067. return oldfSupressTopSpacing.isSet(field_8_docinfo3);
  2068. }
  2069. /**
  2070. * Sets the oldfOrigWordTableRules field value.
  2071. *
  2072. */
  2073. @Internal
  2074. public void setOldfOrigWordTableRules( boolean value )
  2075. {
  2076. field_8_docinfo3 = (short)oldfOrigWordTableRules.setBoolean(field_8_docinfo3, value);
  2077. }
  2078. /**
  2079. *
  2080. * @return the oldfOrigWordTableRules field value.
  2081. */
  2082. @Internal
  2083. public boolean isOldfOrigWordTableRules()
  2084. {
  2085. return oldfOrigWordTableRules.isSet(field_8_docinfo3);
  2086. }
  2087. /**
  2088. * Sets the oldfTransparentMetafiles field value.
  2089. *
  2090. */
  2091. @Internal
  2092. public void setOldfTransparentMetafiles( boolean value )
  2093. {
  2094. field_8_docinfo3 = (short)oldfTransparentMetafiles.setBoolean(field_8_docinfo3, value);
  2095. }
  2096. /**
  2097. *
  2098. * @return the oldfTransparentMetafiles field value.
  2099. */
  2100. @Internal
  2101. public boolean isOldfTransparentMetafiles()
  2102. {
  2103. return oldfTransparentMetafiles.isSet(field_8_docinfo3);
  2104. }
  2105. /**
  2106. * Sets the oldfShowBreaksInFrames field value.
  2107. *
  2108. */
  2109. @Internal
  2110. public void setOldfShowBreaksInFrames( boolean value )
  2111. {
  2112. field_8_docinfo3 = (short)oldfShowBreaksInFrames.setBoolean(field_8_docinfo3, value);
  2113. }
  2114. /**
  2115. *
  2116. * @return the oldfShowBreaksInFrames field value.
  2117. */
  2118. @Internal
  2119. public boolean isOldfShowBreaksInFrames()
  2120. {
  2121. return oldfShowBreaksInFrames.isSet(field_8_docinfo3);
  2122. }
  2123. /**
  2124. * Sets the oldfSwapBordersFacingPgs field value.
  2125. *
  2126. */
  2127. @Internal
  2128. public void setOldfSwapBordersFacingPgs( boolean value )
  2129. {
  2130. field_8_docinfo3 = (short)oldfSwapBordersFacingPgs.setBoolean(field_8_docinfo3, value);
  2131. }
  2132. /**
  2133. *
  2134. * @return the oldfSwapBordersFacingPgs field value.
  2135. */
  2136. @Internal
  2137. public boolean isOldfSwapBordersFacingPgs()
  2138. {
  2139. return oldfSwapBordersFacingPgs.isSet(field_8_docinfo3);
  2140. }
  2141. /**
  2142. * Sets the unused5 field value.
  2143. *
  2144. */
  2145. @Internal
  2146. public void setUnused5( byte value )
  2147. {
  2148. field_8_docinfo3 = (short)unused5.setValue(field_8_docinfo3, value);
  2149. }
  2150. /**
  2151. *
  2152. * @return the unused5 field value.
  2153. */
  2154. @Internal
  2155. public byte getUnused5()
  2156. {
  2157. return ( byte )unused5.getValue(field_8_docinfo3);
  2158. }
  2159. /**
  2160. * Sets the rncEdn field value.
  2161. *
  2162. */
  2163. @Internal
  2164. public void setRncEdn( byte value )
  2165. {
  2166. field_23_Edn = (short)rncEdn.setValue(field_23_Edn, value);
  2167. }
  2168. /**
  2169. *
  2170. * @return the rncEdn field value.
  2171. */
  2172. @Internal
  2173. public byte getRncEdn()
  2174. {
  2175. return ( byte )rncEdn.getValue(field_23_Edn);
  2176. }
  2177. /**
  2178. * Sets the nEdn field value.
  2179. *
  2180. */
  2181. @Internal
  2182. public void setNEdn( short value )
  2183. {
  2184. field_23_Edn = (short)nEdn.setValue(field_23_Edn, value);
  2185. }
  2186. /**
  2187. *
  2188. * @return the nEdn field value.
  2189. */
  2190. @Internal
  2191. public short getNEdn()
  2192. {
  2193. return ( short )nEdn.getValue(field_23_Edn);
  2194. }
  2195. /**
  2196. * Sets the epc field value.
  2197. *
  2198. */
  2199. @Internal
  2200. public void setEpc( byte value )
  2201. {
  2202. field_24_Edn1 = (short)epc.setValue(field_24_Edn1, value);
  2203. }
  2204. /**
  2205. *
  2206. * @return the epc field value.
  2207. */
  2208. @Internal
  2209. public byte getEpc()
  2210. {
  2211. return ( byte )epc.getValue(field_24_Edn1);
  2212. }
  2213. /**
  2214. * Sets the nfcFtnRef1 field value.
  2215. *
  2216. */
  2217. @Internal
  2218. public void setNfcFtnRef1( byte value )
  2219. {
  2220. field_24_Edn1 = (short)nfcFtnRef1.setValue(field_24_Edn1, value);
  2221. }
  2222. /**
  2223. *
  2224. * @return the nfcFtnRef1 field value.
  2225. */
  2226. @Internal
  2227. public byte getNfcFtnRef1()
  2228. {
  2229. return ( byte )nfcFtnRef1.getValue(field_24_Edn1);
  2230. }
  2231. /**
  2232. * Sets the nfcEdnRef1 field value.
  2233. *
  2234. */
  2235. @Internal
  2236. public void setNfcEdnRef1( byte value )
  2237. {
  2238. field_24_Edn1 = (short)nfcEdnRef1.setValue(field_24_Edn1, value);
  2239. }
  2240. /**
  2241. *
  2242. * @return the nfcEdnRef1 field value.
  2243. */
  2244. @Internal
  2245. public byte getNfcEdnRef1()
  2246. {
  2247. return ( byte )nfcEdnRef1.getValue(field_24_Edn1);
  2248. }
  2249. /**
  2250. * Sets the fPrintFormData field value.
  2251. *
  2252. */
  2253. @Internal
  2254. public void setFPrintFormData( boolean value )
  2255. {
  2256. field_24_Edn1 = (short)fPrintFormData.setBoolean(field_24_Edn1, value);
  2257. }
  2258. /**
  2259. *
  2260. * @return the fPrintFormData field value.
  2261. */
  2262. @Internal
  2263. public boolean isFPrintFormData()
  2264. {
  2265. return fPrintFormData.isSet(field_24_Edn1);
  2266. }
  2267. /**
  2268. * Sets the fSaveFormData field value.
  2269. *
  2270. */
  2271. @Internal
  2272. public void setFSaveFormData( boolean value )
  2273. {
  2274. field_24_Edn1 = (short)fSaveFormData.setBoolean(field_24_Edn1, value);
  2275. }
  2276. /**
  2277. *
  2278. * @return the fSaveFormData field value.
  2279. */
  2280. @Internal
  2281. public boolean isFSaveFormData()
  2282. {
  2283. return fSaveFormData.isSet(field_24_Edn1);
  2284. }
  2285. /**
  2286. * Sets the fShadeFormData field value.
  2287. *
  2288. */
  2289. @Internal
  2290. public void setFShadeFormData( boolean value )
  2291. {
  2292. field_24_Edn1 = (short)fShadeFormData.setBoolean(field_24_Edn1, value);
  2293. }
  2294. /**
  2295. *
  2296. * @return the fShadeFormData field value.
  2297. */
  2298. @Internal
  2299. public boolean isFShadeFormData()
  2300. {
  2301. return fShadeFormData.isSet(field_24_Edn1);
  2302. }
  2303. /**
  2304. * Sets the fWCFtnEdn field value.
  2305. *
  2306. */
  2307. @Internal
  2308. public void setFWCFtnEdn( boolean value )
  2309. {
  2310. field_24_Edn1 = (short)fWCFtnEdn.setBoolean(field_24_Edn1, value);
  2311. }
  2312. /**
  2313. *
  2314. * @return the fWCFtnEdn field value.
  2315. */
  2316. @Internal
  2317. public boolean isFWCFtnEdn()
  2318. {
  2319. return fWCFtnEdn.isSet(field_24_Edn1);
  2320. }
  2321. /**
  2322. * Sets the wvkSaved field value.
  2323. *
  2324. */
  2325. @Internal
  2326. public void setWvkSaved( byte value )
  2327. {
  2328. field_32_view = (short)wvkSaved.setValue(field_32_view, value);
  2329. }
  2330. /**
  2331. *
  2332. * @return the wvkSaved field value.
  2333. */
  2334. @Internal
  2335. public byte getWvkSaved()
  2336. {
  2337. return ( byte )wvkSaved.getValue(field_32_view);
  2338. }
  2339. /**
  2340. * Sets the wScaleSaved field value.
  2341. *
  2342. */
  2343. @Internal
  2344. public void setWScaleSaved( short value )
  2345. {
  2346. field_32_view = (short)wScaleSaved.setValue(field_32_view, value);
  2347. }
  2348. /**
  2349. *
  2350. * @return the wScaleSaved field value.
  2351. */
  2352. @Internal
  2353. public short getWScaleSaved()
  2354. {
  2355. return ( short )wScaleSaved.getValue(field_32_view);
  2356. }
  2357. /**
  2358. * Sets the zkSaved field value.
  2359. *
  2360. */
  2361. @Internal
  2362. public void setZkSaved( byte value )
  2363. {
  2364. field_32_view = (short)zkSaved.setValue(field_32_view, value);
  2365. }
  2366. /**
  2367. *
  2368. * @return the zkSaved field value.
  2369. */
  2370. @Internal
  2371. public byte getZkSaved()
  2372. {
  2373. return ( byte )zkSaved.getValue(field_32_view);
  2374. }
  2375. /**
  2376. * Sets the fRotateFontW6 field value.
  2377. *
  2378. */
  2379. @Internal
  2380. public void setFRotateFontW6( boolean value )
  2381. {
  2382. field_32_view = (short)fRotateFontW6.setBoolean(field_32_view, value);
  2383. }
  2384. /**
  2385. *
  2386. * @return the fRotateFontW6 field value.
  2387. */
  2388. @Internal
  2389. public boolean isFRotateFontW6()
  2390. {
  2391. return fRotateFontW6.isSet(field_32_view);
  2392. }
  2393. /**
  2394. * Sets the iGutterPos field value.
  2395. *
  2396. */
  2397. @Internal
  2398. public void setIGutterPos( boolean value )
  2399. {
  2400. field_32_view = (short)iGutterPos.setBoolean(field_32_view, value);
  2401. }
  2402. /**
  2403. *
  2404. * @return the iGutterPos field value.
  2405. */
  2406. @Internal
  2407. public boolean isIGutterPos()
  2408. {
  2409. return iGutterPos.isSet(field_32_view);
  2410. }
  2411. /**
  2412. * Sets the fNoTabForInd field value.
  2413. *
  2414. */
  2415. @Internal
  2416. public void setFNoTabForInd( boolean value )
  2417. {
  2418. field_33_docinfo4 = fNoTabForInd.setBoolean(field_33_docinfo4, value);
  2419. }
  2420. /**
  2421. *
  2422. * @return the fNoTabForInd field value.
  2423. */
  2424. @Internal
  2425. public boolean isFNoTabForInd()
  2426. {
  2427. return fNoTabForInd.isSet(field_33_docinfo4);
  2428. }
  2429. /**
  2430. * Sets the fNoSpaceRaiseLower field value.
  2431. *
  2432. */
  2433. @Internal
  2434. public void setFNoSpaceRaiseLower( boolean value )
  2435. {
  2436. field_33_docinfo4 = fNoSpaceRaiseLower.setBoolean(field_33_docinfo4, value);
  2437. }
  2438. /**
  2439. *
  2440. * @return the fNoSpaceRaiseLower field value.
  2441. */
  2442. @Internal
  2443. public boolean isFNoSpaceRaiseLower()
  2444. {
  2445. return fNoSpaceRaiseLower.isSet(field_33_docinfo4);
  2446. }
  2447. /**
  2448. * Sets the fSupressSpdfAfterPageBreak field value.
  2449. *
  2450. */
  2451. @Internal
  2452. public void setFSupressSpdfAfterPageBreak( boolean value )
  2453. {
  2454. field_33_docinfo4 = fSupressSpdfAfterPageBreak.setBoolean(field_33_docinfo4, value);
  2455. }
  2456. /**
  2457. *
  2458. * @return the fSupressSpdfAfterPageBreak field value.
  2459. */
  2460. @Internal
  2461. public boolean isFSupressSpdfAfterPageBreak()
  2462. {
  2463. return fSupressSpdfAfterPageBreak.isSet(field_33_docinfo4);
  2464. }
  2465. /**
  2466. * Sets the fWrapTrailSpaces field value.
  2467. *
  2468. */
  2469. @Internal
  2470. public void setFWrapTrailSpaces( boolean value )
  2471. {
  2472. field_33_docinfo4 = fWrapTrailSpaces.setBoolean(field_33_docinfo4, value);
  2473. }
  2474. /**
  2475. *
  2476. * @return the fWrapTrailSpaces field value.
  2477. */
  2478. @Internal
  2479. public boolean isFWrapTrailSpaces()
  2480. {
  2481. return fWrapTrailSpaces.isSet(field_33_docinfo4);
  2482. }
  2483. /**
  2484. * Sets the fMapPrintTextColor field value.
  2485. *
  2486. */
  2487. @Internal
  2488. public void setFMapPrintTextColor( boolean value )
  2489. {
  2490. field_33_docinfo4 = fMapPrintTextColor.setBoolean(field_33_docinfo4, value);
  2491. }
  2492. /**
  2493. *
  2494. * @return the fMapPrintTextColor field value.
  2495. */
  2496. @Internal
  2497. public boolean isFMapPrintTextColor()
  2498. {
  2499. return fMapPrintTextColor.isSet(field_33_docinfo4);
  2500. }
  2501. /**
  2502. * Sets the fNoColumnBalance field value.
  2503. *
  2504. */
  2505. @Internal
  2506. public void setFNoColumnBalance( boolean value )
  2507. {
  2508. field_33_docinfo4 = fNoColumnBalance.setBoolean(field_33_docinfo4, value);
  2509. }
  2510. /**
  2511. *
  2512. * @return the fNoColumnBalance field value.
  2513. */
  2514. @Internal
  2515. public boolean isFNoColumnBalance()
  2516. {
  2517. return fNoColumnBalance.isSet(field_33_docinfo4);
  2518. }
  2519. /**
  2520. * Sets the fConvMailMergeEsc field value.
  2521. *
  2522. */
  2523. @Internal
  2524. public void setFConvMailMergeEsc( boolean value )
  2525. {
  2526. field_33_docinfo4 = fConvMailMergeEsc.setBoolean(field_33_docinfo4, value);
  2527. }
  2528. /**
  2529. *
  2530. * @return the fConvMailMergeEsc field value.
  2531. */
  2532. @Internal
  2533. public boolean isFConvMailMergeEsc()
  2534. {
  2535. return fConvMailMergeEsc.isSet(field_33_docinfo4);
  2536. }
  2537. /**
  2538. * Sets the fSupressTopSpacing field value.
  2539. *
  2540. */
  2541. @Internal
  2542. public void setFSupressTopSpacing( boolean value )
  2543. {
  2544. field_33_docinfo4 = fSupressTopSpacing.setBoolean(field_33_docinfo4, value);
  2545. }
  2546. /**
  2547. *
  2548. * @return the fSupressTopSpacing field value.
  2549. */
  2550. @Internal
  2551. public boolean isFSupressTopSpacing()
  2552. {
  2553. return fSupressTopSpacing.isSet(field_33_docinfo4);
  2554. }
  2555. /**
  2556. * Sets the fOrigWordTableRules field value.
  2557. *
  2558. */
  2559. @Internal
  2560. public void setFOrigWordTableRules( boolean value )
  2561. {
  2562. field_33_docinfo4 = fOrigWordTableRules.setBoolean(field_33_docinfo4, value);
  2563. }
  2564. /**
  2565. *
  2566. * @return the fOrigWordTableRules field value.
  2567. */
  2568. @Internal
  2569. public boolean isFOrigWordTableRules()
  2570. {
  2571. return fOrigWordTableRules.isSet(field_33_docinfo4);
  2572. }
  2573. /**
  2574. * Sets the fTransparentMetafiles field value.
  2575. *
  2576. */
  2577. @Internal
  2578. public void setFTransparentMetafiles( boolean value )
  2579. {
  2580. field_33_docinfo4 = fTransparentMetafiles.setBoolean(field_33_docinfo4, value);
  2581. }
  2582. /**
  2583. *
  2584. * @return the fTransparentMetafiles field value.
  2585. */
  2586. @Internal
  2587. public boolean isFTransparentMetafiles()
  2588. {
  2589. return fTransparentMetafiles.isSet(field_33_docinfo4);
  2590. }
  2591. /**
  2592. * Sets the fShowBreaksInFrames field value.
  2593. *
  2594. */
  2595. @Internal
  2596. public void setFShowBreaksInFrames( boolean value )
  2597. {
  2598. field_33_docinfo4 = fShowBreaksInFrames.setBoolean(field_33_docinfo4, value);
  2599. }
  2600. /**
  2601. *
  2602. * @return the fShowBreaksInFrames field value.
  2603. */
  2604. @Internal
  2605. public boolean isFShowBreaksInFrames()
  2606. {
  2607. return fShowBreaksInFrames.isSet(field_33_docinfo4);
  2608. }
  2609. /**
  2610. * Sets the fSwapBordersFacingPgs field value.
  2611. *
  2612. */
  2613. @Internal
  2614. public void setFSwapBordersFacingPgs( boolean value )
  2615. {
  2616. field_33_docinfo4 = fSwapBordersFacingPgs.setBoolean(field_33_docinfo4, value);
  2617. }
  2618. /**
  2619. *
  2620. * @return the fSwapBordersFacingPgs field value.
  2621. */
  2622. @Internal
  2623. public boolean isFSwapBordersFacingPgs()
  2624. {
  2625. return fSwapBordersFacingPgs.isSet(field_33_docinfo4);
  2626. }
  2627. /**
  2628. * Sets the fSuppressTopSPacingMac5 field value.
  2629. *
  2630. */
  2631. @Internal
  2632. public void setFSuppressTopSPacingMac5( boolean value )
  2633. {
  2634. field_33_docinfo4 = fSuppressTopSPacingMac5.setBoolean(field_33_docinfo4, value);
  2635. }
  2636. /**
  2637. *
  2638. * @return the fSuppressTopSPacingMac5 field value.
  2639. */
  2640. @Internal
  2641. public boolean isFSuppressTopSPacingMac5()
  2642. {
  2643. return fSuppressTopSPacingMac5.isSet(field_33_docinfo4);
  2644. }
  2645. /**
  2646. * Sets the fTruncDxaExpand field value.
  2647. *
  2648. */
  2649. @Internal
  2650. public void setFTruncDxaExpand( boolean value )
  2651. {
  2652. field_33_docinfo4 = fTruncDxaExpand.setBoolean(field_33_docinfo4, value);
  2653. }
  2654. /**
  2655. *
  2656. * @return the fTruncDxaExpand field value.
  2657. */
  2658. @Internal
  2659. public boolean isFTruncDxaExpand()
  2660. {
  2661. return fTruncDxaExpand.isSet(field_33_docinfo4);
  2662. }
  2663. /**
  2664. * Sets the fPrintBodyBeforeHdr field value.
  2665. *
  2666. */
  2667. @Internal
  2668. public void setFPrintBodyBeforeHdr( boolean value )
  2669. {
  2670. field_33_docinfo4 = fPrintBodyBeforeHdr.setBoolean(field_33_docinfo4, value);
  2671. }
  2672. /**
  2673. *
  2674. * @return the fPrintBodyBeforeHdr field value.
  2675. */
  2676. @Internal
  2677. public boolean isFPrintBodyBeforeHdr()
  2678. {
  2679. return fPrintBodyBeforeHdr.isSet(field_33_docinfo4);
  2680. }
  2681. /**
  2682. * Sets the fNoLeading field value.
  2683. *
  2684. */
  2685. @Internal
  2686. public void setFNoLeading( boolean value )
  2687. {
  2688. field_33_docinfo4 = fNoLeading.setBoolean(field_33_docinfo4, value);
  2689. }
  2690. /**
  2691. *
  2692. * @return the fNoLeading field value.
  2693. */
  2694. @Internal
  2695. public boolean isFNoLeading()
  2696. {
  2697. return fNoLeading.isSet(field_33_docinfo4);
  2698. }
  2699. /**
  2700. * Sets the fMWSmallCaps field value.
  2701. *
  2702. */
  2703. @Internal
  2704. public void setFMWSmallCaps( boolean value )
  2705. {
  2706. field_33_docinfo4 = fMWSmallCaps.setBoolean(field_33_docinfo4, value);
  2707. }
  2708. /**
  2709. *
  2710. * @return the fMWSmallCaps field value.
  2711. */
  2712. @Internal
  2713. public boolean isFMWSmallCaps()
  2714. {
  2715. return fMWSmallCaps.isSet(field_33_docinfo4);
  2716. }
  2717. /**
  2718. * Sets the lvl field value.
  2719. *
  2720. */
  2721. @Internal
  2722. public void setLvl( byte value )
  2723. {
  2724. field_37_docinfo5 = (short)lvl.setValue(field_37_docinfo5, value);
  2725. }
  2726. /**
  2727. *
  2728. * @return the lvl field value.
  2729. */
  2730. @Internal
  2731. public byte getLvl()
  2732. {
  2733. return ( byte )lvl.getValue(field_37_docinfo5);
  2734. }
  2735. /**
  2736. * Sets the fGramAllDone field value.
  2737. *
  2738. */
  2739. @Internal
  2740. public void setFGramAllDone( boolean value )
  2741. {
  2742. field_37_docinfo5 = (short)fGramAllDone.setBoolean(field_37_docinfo5, value);
  2743. }
  2744. /**
  2745. *
  2746. * @return the fGramAllDone field value.
  2747. */
  2748. @Internal
  2749. public boolean isFGramAllDone()
  2750. {
  2751. return fGramAllDone.isSet(field_37_docinfo5);
  2752. }
  2753. /**
  2754. * Sets the fGramAllClean field value.
  2755. *
  2756. */
  2757. @Internal
  2758. public void setFGramAllClean( boolean value )
  2759. {
  2760. field_37_docinfo5 = (short)fGramAllClean.setBoolean(field_37_docinfo5, value);
  2761. }
  2762. /**
  2763. *
  2764. * @return the fGramAllClean field value.
  2765. */
  2766. @Internal
  2767. public boolean isFGramAllClean()
  2768. {
  2769. return fGramAllClean.isSet(field_37_docinfo5);
  2770. }
  2771. /**
  2772. * Sets the fSubsetFonts field value.
  2773. *
  2774. */
  2775. @Internal
  2776. public void setFSubsetFonts( boolean value )
  2777. {
  2778. field_37_docinfo5 = (short)fSubsetFonts.setBoolean(field_37_docinfo5, value);
  2779. }
  2780. /**
  2781. *
  2782. * @return the fSubsetFonts field value.
  2783. */
  2784. @Internal
  2785. public boolean isFSubsetFonts()
  2786. {
  2787. return fSubsetFonts.isSet(field_37_docinfo5);
  2788. }
  2789. /**
  2790. * Sets the fHideLastVersion field value.
  2791. *
  2792. */
  2793. @Internal
  2794. public void setFHideLastVersion( boolean value )
  2795. {
  2796. field_37_docinfo5 = (short)fHideLastVersion.setBoolean(field_37_docinfo5, value);
  2797. }
  2798. /**
  2799. *
  2800. * @return the fHideLastVersion field value.
  2801. */
  2802. @Internal
  2803. public boolean isFHideLastVersion()
  2804. {
  2805. return fHideLastVersion.isSet(field_37_docinfo5);
  2806. }
  2807. /**
  2808. * Sets the fHtmlDoc field value.
  2809. *
  2810. */
  2811. @Internal
  2812. public void setFHtmlDoc( boolean value )
  2813. {
  2814. field_37_docinfo5 = (short)fHtmlDoc.setBoolean(field_37_docinfo5, value);
  2815. }
  2816. /**
  2817. *
  2818. * @return the fHtmlDoc field value.
  2819. */
  2820. @Internal
  2821. public boolean isFHtmlDoc()
  2822. {
  2823. return fHtmlDoc.isSet(field_37_docinfo5);
  2824. }
  2825. /**
  2826. * Sets the fSnapBorder field value.
  2827. *
  2828. */
  2829. @Internal
  2830. public void setFSnapBorder( boolean value )
  2831. {
  2832. field_37_docinfo5 = (short)fSnapBorder.setBoolean(field_37_docinfo5, value);
  2833. }
  2834. /**
  2835. *
  2836. * @return the fSnapBorder field value.
  2837. */
  2838. @Internal
  2839. public boolean isFSnapBorder()
  2840. {
  2841. return fSnapBorder.isSet(field_37_docinfo5);
  2842. }
  2843. /**
  2844. * Sets the fIncludeHeader field value.
  2845. *
  2846. */
  2847. @Internal
  2848. public void setFIncludeHeader( boolean value )
  2849. {
  2850. field_37_docinfo5 = (short)fIncludeHeader.setBoolean(field_37_docinfo5, value);
  2851. }
  2852. /**
  2853. *
  2854. * @return the fIncludeHeader field value.
  2855. */
  2856. @Internal
  2857. public boolean isFIncludeHeader()
  2858. {
  2859. return fIncludeHeader.isSet(field_37_docinfo5);
  2860. }
  2861. /**
  2862. * Sets the fIncludeFooter field value.
  2863. *
  2864. */
  2865. @Internal
  2866. public void setFIncludeFooter( boolean value )
  2867. {
  2868. field_37_docinfo5 = (short)fIncludeFooter.setBoolean(field_37_docinfo5, value);
  2869. }
  2870. /**
  2871. *
  2872. * @return the fIncludeFooter field value.
  2873. */
  2874. @Internal
  2875. public boolean isFIncludeFooter()
  2876. {
  2877. return fIncludeFooter.isSet(field_37_docinfo5);
  2878. }
  2879. /**
  2880. * Sets the fForcePageSizePag field value.
  2881. *
  2882. */
  2883. @Internal
  2884. public void setFForcePageSizePag( boolean value )
  2885. {
  2886. field_37_docinfo5 = (short)fForcePageSizePag.setBoolean(field_37_docinfo5, value);
  2887. }
  2888. /**
  2889. *
  2890. * @return the fForcePageSizePag field value.
  2891. */
  2892. @Internal
  2893. public boolean isFForcePageSizePag()
  2894. {
  2895. return fForcePageSizePag.isSet(field_37_docinfo5);
  2896. }
  2897. /**
  2898. * Sets the fMinFontSizePag field value.
  2899. *
  2900. */
  2901. @Internal
  2902. public void setFMinFontSizePag( boolean value )
  2903. {
  2904. field_37_docinfo5 = (short)fMinFontSizePag.setBoolean(field_37_docinfo5, value);
  2905. }
  2906. /**
  2907. *
  2908. * @return the fMinFontSizePag field value.
  2909. */
  2910. @Internal
  2911. public boolean isFMinFontSizePag()
  2912. {
  2913. return fMinFontSizePag.isSet(field_37_docinfo5);
  2914. }
  2915. /**
  2916. * Sets the fHaveVersions field value.
  2917. *
  2918. */
  2919. @Internal
  2920. public void setFHaveVersions( boolean value )
  2921. {
  2922. field_38_docinfo6 = (short)fHaveVersions.setBoolean(field_38_docinfo6, value);
  2923. }
  2924. /**
  2925. *
  2926. * @return the fHaveVersions field value.
  2927. */
  2928. @Internal
  2929. public boolean isFHaveVersions()
  2930. {
  2931. return fHaveVersions.isSet(field_38_docinfo6);
  2932. }
  2933. /**
  2934. * Sets the fAutoVersions field value.
  2935. *
  2936. */
  2937. @Internal
  2938. public void setFAutoVersions( boolean value )
  2939. {
  2940. field_38_docinfo6 = (short)fAutoVersions.setBoolean(field_38_docinfo6, value);
  2941. }
  2942. /**
  2943. *
  2944. * @return the fAutoVersions field value.
  2945. */
  2946. @Internal
  2947. public boolean isFAutoVersions()
  2948. {
  2949. return fAutoVersions.isSet(field_38_docinfo6);
  2950. }
  2951. /**
  2952. * Sets the fVirusPrompted field value.
  2953. *
  2954. */
  2955. @Internal
  2956. public void setFVirusPrompted( boolean value )
  2957. {
  2958. field_43_virusinfo = fVirusPrompted.setBoolean(field_43_virusinfo, value);
  2959. }
  2960. /**
  2961. *
  2962. * @return the fVirusPrompted field value.
  2963. */
  2964. @Internal
  2965. public boolean isFVirusPrompted()
  2966. {
  2967. return fVirusPrompted.isSet(field_43_virusinfo);
  2968. }
  2969. /**
  2970. * Sets the fVirusLoadSafe field value.
  2971. *
  2972. */
  2973. @Internal
  2974. public void setFVirusLoadSafe( boolean value )
  2975. {
  2976. field_43_virusinfo = fVirusLoadSafe.setBoolean(field_43_virusinfo, value);
  2977. }
  2978. /**
  2979. *
  2980. * @return the fVirusLoadSafe field value.
  2981. */
  2982. @Internal
  2983. public boolean isFVirusLoadSafe()
  2984. {
  2985. return fVirusLoadSafe.isSet(field_43_virusinfo);
  2986. }
  2987. /**
  2988. * Sets the KeyVirusSession30 field value.
  2989. *
  2990. */
  2991. @Internal
  2992. public void setKeyVirusSession30( int value )
  2993. {
  2994. field_43_virusinfo = KeyVirusSession30.setValue(field_43_virusinfo, value);
  2995. }
  2996. /**
  2997. *
  2998. * @return the KeyVirusSession30 field value.
  2999. */
  3000. @Internal
  3001. public int getKeyVirusSession30()
  3002. {
  3003. return KeyVirusSession30.getValue(field_43_virusinfo);
  3004. }
  3005. } // END OF CLASS