1 #   include <appUtilConfig.h>
2 
3 #   include <utilJenkinsHash.h>
4 
5 #   include "docRtfTagHash.h"
6 
7 #   define ub4 UtilUint32
8 #   define ub2 UtilUint16
9 #   define ub1 unsigned char
10 
11 #   define CHECKSTATE 8
12 
13 /* smax= 512, blen= 256 */
14 
15 /* small adjustments to _a_ to make values distinct */
16 static const ub2 tab[] = {
17 28,0,243,0,258,65,468,0,481,468,162,243,0,112,65,36,
18 243,404,0,0,230,0,258,65,154,481,324,28,65,0,154,324,
19 0,0,484,0,468,468,0,28,0,345,404,154,258,469,404,399,
20 258,471,337,258,258,28,319,404,36,404,230,0,6,154,469,258,
21 468,162,0,243,28,258,258,258,154,154,0,23,154,0,481,0,
22 0,468,0,481,258,0,0,243,258,0,0,65,258,0,258,0,
23 112,285,6,0,6,404,0,264,243,0,264,154,469,468,162,324,
24 319,462,395,243,258,404,469,0,157,28,258,28,468,462,0,28,
25 26,258,211,328,65,0,345,258,162,324,0,162,471,0,319,65,
26 230,0,324,211,258,481,328,154,319,258,65,162,468,0,0,469,
27 328,419,204,0,419,162,0,319,256,6,154,65,201,258,337,154,
28 154,337,395,65,162,404,258,243,378,174,28,379,468,131,146,0,
29 131,258,481,243,324,258,26,146,328,0,0,484,0,157,243,0,
30 258,319,256,0,0,258,157,157,338,345,258,180,162,0,324,243,
31 7,243,327,6,0,136,146,238,258,101,328,0,230,234,419,184,
32 258,337,0,0,419,154,468,238,292,359,154,39,234,0,0,183,
33 };
34 
35 /* map back array */
36 
37 static short mapBack[]=
38     {
39      350L,	/*     0: "lineColumnBackColorExtK" */
40      265L,	/*     1: "pictureFillCrMod" */
41        7L,	/*     2: "pibName" */
42      457L,	/*     3: "lineTopType" */
43       34L,	/*     4: "fHidden" */
44      269L,	/*     5: "shapePath" */
45      263L,	/*     6: "pictureBrightness" */
46      414L,	/*     7: "lineRightDashing" */
47      389L,	/*     8: "lineLeftEndArrowhead" */
48      287L,	/*     9: "c3DExtrudePlane" */
49      477L,	/*    10: "pctHoriz" */
50      456L,	/*    11: "lineTopStyle" */
51      131L,	/*    12: "fillToLeft" */
52      104L,	/*    13: "lineBottomFillShape" */
53      317L,	/*    14: "lineBottomBackColorExtCMY" */
54      291L,	/*    15: "c3DOriginY" */
55       82L,	/*    16: "lineJoinStyle" */
56       13L,	/*    17: "posrelh" */
57      197L,	/*    18: "fshadowObscured" */
58      309L,	/*    19: "fillColorExtK" */
59      374L,	/*    20: "lineColumnWidth" */
60       17L,	/*    21: "fChangePage" */
61      339L,	/*    22: "lineBottomStartArrowhead" */
62       88L,	/*    23: "fColumnLineOK" */
63       86L,	/*    24: "fLineOK" */
64      134L,	/*    25: "fillToBottom" */
65       70L,	/*    26: "lineFillHeight" */
66       51L,	/*    27: "fPseudoInline" */
67      461L,	/*    28: "shadowColorExtK" */
68      448L,	/*    29: "lineTopFillDztype" */
69      258L,	/*    30: "fCalloutDropAuto" */
70      173L,	/*    31: "lidRegroup" */
71      390L,	/*    32: "lineLeftEndCapStyle" */
72      446L,	/*    33: "lineTopEndCapStyle" */
73      459L,	/*    34: "shadowColorExt" */
74       10L,	/*    35: "posv" */
75      177L,	/*    36: "groupBottom" */
76      431L,	/*    37: "lineTopBackColor" */
77       52L,	/*    38: "dxTextLeft" */
78      200L,	/*    39: "shadowColor" */
79      419L,	/*    40: "lineRightFillBlipFlags" */
80      111L,	/*    41: "lineBackColor" */
81      171L,	/*    42: "relBottom" */
82      241L,	/*    43: "c3DFillX" */
83      321L,	/*    44: "lineBottomColorExt" */
84      353L,	/*    45: "lineColumnColorExt" */
85      371L,	/*    46: "lineColumnStartArrowhead" */
86      363L,	/*    47: "lineColumnFillBlipFlags" */
87       67L,	/*    48: "lineType" */
88      253L,	/*    49: "dxyCalloutDropSpecified" */
89      207L,	/*    50: "gtextFKern" */
90      356L,	/*    51: "lineColumnColorExtMod" */
91      292L,	/*    52: "c3DRenderMode" */
92      410L,	/*    53: "lineRightColorExtCMY" */
93      324L,	/*    54: "lineBottomColorExtMod" */
94      304L,	/*    55: "c3DExtrusionColorExtCMY" */
95       25L,	/*    56: "hspMaster" */
96       68L,	/*    57: "lineFillBlipFlags" */
97      328L,	/*    58: "lineBottomEndArrowWidth" */
98      311L,	/*    59: "lineBackColorExt" */
99      225L,	/*    60: "c3DExtrudeBackward" */
100      439L,	/*    61: "lineTopColorExtK" */
101      392L,	/*    62: "lineLeftFillDztype" */
102      331L,	/*    63: "lineBottomFillBlipFlags" */
103      393L,	/*    64: "lineLeftFillHeight" */
104      340L,	/*    65: "lineBottomStyle" */
105        1L,	/*    66: "pWrapPolygonVertices" */
106      102L,	/*    67: "lineTopFillShape" */
107       53L,	/*    68: "dyTextTop" */
108      420L,	/*    69: "lineRightFillDztype" */
109       73L,	/*    70: "lineDashing" */
110      206L,	/*    71: "gtextFVertical" */
111      351L,	/*    72: "lineColumnBackColorExtMod" */
112      377L,	/*    73: "lineLeftBackColorExtCMY" */
113      293L,	/*    74: "c3DRotationAngle" */
114      262L,	/*    75: "pictureContrast" */
115      191L,	/*    76: "shadowPerspectiveX" */
116      300L,	/*    77: "c3DTolerance" */
117       95L,	/*    78: "fLeftHitTestLine" */
118      166L,	/*    79: "adjust9Value" */
119      209L,	/*    80: "gtextFStretch" */
120      375L,	/*    81: "lineLeftBackColor" */
121      223L,	/*    82: "c3DEdgeThickness" */
122      326L,	/*    83: "lineBottomDashing" */
123       78L,	/*    84: "lineEndArrowWidth" */
124      412L,	/*    85: "lineRightColorExtMod" */
125      462L,	/*    86: "shadowColorExtMod" */
126      254L,	/*    87: "dxyCalloutLengthSpecified" */
127      267L,	/*    88: "fCalloutMinusX" */
128      281L,	/*    89: "dzColMargin" */
129        9L,	/*    90: "pib" */
130      450L,	/*    91: "lineTopFillWidth" */
131      230L,	/*    92: "c3DRotationAxisX" */
132      237L,	/*    93: "c3DZViewpoint" */
133      268L,	/*    94: "fCalloutMinusY" */
134       57L,	/*    95: "lTxid" */
135       87L,	/*    96: "fLineUseShapeAnchor" */
136      249L,	/*    97: "spcot" */
137       94L,	/*    98: "fColumnHitTestLine" */
138      347L,	/*    99: "lineColumnBackColor" */
139      147L,	/*   100: "fillShape" */
140      201L,	/*   101: "shadowHighlight" */
141      346L,	/*   102: "lineColorExtMod" */
142      322L,	/*   103: "lineBottomColorExtCMY" */
143       63L,	/*   104: "fRotateText" */
144      397L,	/*   105: "lineLeftStartArrowLength" */
145      211L,	/*   106: "gtextFBestFit" */
146       43L,	/*   107: "fNoFillHitTest" */
147      312L,	/*   108: "lineBackColorExtCMY" */
148      470L,	/*   109: "fStandardHR" */
149      180L,	/*   110: "fRelFlipV" */
150      128L,	/*   111: "fillHeight" */
151      435L,	/*   112: "lineTopBackColorExtMod" */
152      376L,	/*   113: "lineLeftBackColorExt" */
153      443L,	/*   114: "lineTopEndArrowLength" */
154      332L,	/*   115: "lineBottomFillDztype" */
155      344L,	/*   116: "lineColorExtCMY" */
156      117L,	/*   117: "fLockVerticies" */
157      156L,	/*   118: "geoRight" */
158      169L,	/*   119: "relTop" */
159      354L,	/*   120: "lineColumnColorExtCMY" */
160      261L,	/*   121: "pictureActive" */
161      357L,	/*   122: "lineColumnCrMod" */
162       41L,	/*   123: "fHitTestLine" */
163       55L,	/*   124: "dyTextBottom" */
164       93L,	/*   125: "fBottomLine" */
165      472L,	/*   126: "fHorizRule" */
166      295L,	/*   127: "c3DRotationCenterY" */
167      394L,	/*   128: "lineLeftFillWidth" */
168      301L,	/*   129: "c3DXRotationAngle" */
169      224L,	/*   130: "c3DExtrudeForward" */
170      421L,	/*   131: "lineRightFillHeight" */
171      476L,	/*   132: "sizerelv" */
172      320L,	/*   133: "lineBottomColor" */
173       97L,	/*   134: "fRightHitTestLine" */
174      176L,	/*   135: "groupRight" */
175      257L,	/*   136: "fCalloutTextBorder" */
176       60L,	/*   137: "txflTextFlow" */
177      110L,	/*   138: "lineColor" */
178      428L,	/*   139: "lineRightStyle" */
179      204L,	/*   140: "gtextAlign" */
180      184L,	/*   141: "shadowOffsetY" */
181       76L,	/*   142: "lineStartArrowWidth" */
182      252L,	/*   143: "spcod" */
183      182L,	/*   144: "shadowOpacity" */
184      164L,	/*   145: "adjust7Value" */
185      189L,	/*   146: "shadowScaleXToY" */
186      154L,	/*   147: "geoLeft" */
187       36L,	/*   148: "fArrowheadsOK" */
188       77L,	/*   149: "lineStartArrowLength" */
189      380L,	/*   150: "lineLeftColor" */
190      288L,	/*   151: "c3DFillIntensity" */
191       16L,	/*   152: "fAllowOverlap" */
192      316L,	/*   153: "lineBottomBackColorExt" */
193      277L,	/*   154: "fPreferRelativeResize" */
194      463L,	/*   155: "shadowHighlightExt" */
195      323L,	/*   156: "lineBottomColorExtK" */
196      240L,	/*   157: "c3DKeyZ" */
197      445L,	/*   158: "lineTopEndArrowhead" */
198      133L,	/*   159: "fillToRight" */
199      108L,	/*   160: "fRightInsetPen" */
200      121L,	/*   161: "fLockShapeType" */
201      417L,	/*   162: "lineRightEndArrowhead" */
202      174L,	/*   163: "groupLeft" */
203      256L,	/*   164: "fCalloutAccentBar" */
204      405L,	/*   165: "lineRightBackColorExtCMY" */
205      158L,	/*   166: "adjustValue" */
206      167L,	/*   167: "adjust10Value" */
207       98L,	/*   168: "fBottomHitTestLine" */
208      438L,	/*   169: "lineTopColorExtCMY" */
209      187L,	/*   170: "shadowScaleXToX" */
210      345L,	/*   171: "lineColorExtK" */
211      233L,	/*   172: "fC3DRotationCenterAut" */
212       39L,	/*   173: "fEditedWrap" */
213      116L,	/*   174: "fLockCropping" */
214      314L,	/*   175: "lineBackColorExtMod" */
215      408L,	/*   176: "lineRightColor" */
216      336L,	/*   177: "lineBottomOpacity" */
217       35L,	/*   178: "fReallyHidden" */
218        3L,	/*   179: "wzName" */
219      319L,	/*   180: "lineBottomBackColorExtMod" */
220      153L,	/*   181: "fillCrMod" */
221       72L,	/*   182: "lineStyle" */
222      471L,	/*   183: "fNoshadeHR" */
223      120L,	/*   184: "fLockAgainstGrouping" */
224      188L,	/*   185: "shadowScaleYToX" */
225      294L,	/*   186: "c3DRotationCenterX" */
226      367L,	/*   187: "lineColumnMiterLimit" */
227      391L,	/*   188: "lineLeftFillBlipFlags" */
228       32L,	/*   189: "fBehindDocument" */
229      348L,	/*   190: "lineColumnBackColorExt" */
230      205L,	/*   191: "fGtext" */
231       37L,	/*   192: "fBackground" */
232       54L,	/*   193: "dxTextRight" */
233      175L,	/*   194: "groupTop" */
234       50L,	/*   195: "fPrint" */
235      122L,	/*   196: "fLockPosition" */
236       92L,	/*   197: "fRightLine" */
237      441L,	/*   198: "lineTopCrMod" */
238      144L,	/*   199: "fillShadePreset" */
239      145L,	/*   200: "fillShadeType" */
240      449L,	/*   201: "lineTopFillHeight" */
241      242L,	/*   202: "c3DFillY" */
242      106L,	/*   203: "fLeftInsetPen" */
243      114L,	/*   204: "fLockAspectRatio" */
244      250L,	/*   205: "dxyCalloutGap" */
245      358L,	/*   206: "lineColumnDashing" */
246       89L,	/*   207: "fColumnLine" */
247      129L,	/*   208: "fillAngle" */
248      369L,	/*   209: "lineColumnStartArrowLength" */
249      162L,	/*   210: "adjust5Value" */
250      418L,	/*   211: "lineRightEndCapStyle" */
251      343L,	/*   212: "lineColorExt" */
252      235L,	/*   213: "c3DXViewpoint" */
253      274L,	/*   214: "cropFromBottom" */
254      458L,	/*   215: "lineTopWidth" */
255      264L,	/*   216: "pictureDblCrMod" */
256      139L,	/*   217: "fillDztype" */
257      327L,	/*   218: "lineBottomEndArrowLength" */
258      222L,	/*   219: "pictureBiLevel" */
259      212L,	/*   220: "gtextFNormalize" */
260      337L,	/*   221: "lineBottomStartArrowLength" */
261       64L,	/*   222: "fSelectText" */
262      453L,	/*   223: "lineTopStartArrowLength" */
263      140L,	/*   224: "fillRectLeft" */
264       14L,	/*   225: "fUseShapeAnchor" */
265      123L,	/*   226: "fillType" */
266      232L,	/*   227: "c3DRotationAxisZ" */
267      469L,	/*   228: "c3DCrMod" */
268      218L,	/*   229: "gtextFSmallcaps" */
269      228L,	/*   230: "fc3DUseExtrusionColor" */
270      271L,	/*   231: "cropFromLeft" */
271      259L,	/*   232: "fCalloutLengthSpecified" */
272      355L,	/*   233: "lineColumnColorExtK" */
273       85L,	/*   234: "fline" */
274      465L,	/*   235: "shadowHighlightExtK" */
275      289L,	/*   236: "c3DKeyIntensity" */
276       44L,	/*   237: "fNoHitTestPicture" */
277      143L,	/*   238: "fillRectBottom" */
278      163L,	/*   239: "adjust6Value" */
279      151L,	/*   240: "fillColor" */
280      447L,	/*   241: "lineTopFillBlipFlags" */
281      474L,	/*   242: "dhgt" */
282      303L,	/*   243: "c3DExtrusionColorExt" */
283       24L,	/*   244: "dyWrapDistBottom" */
284      455L,	/*   245: "lineTopStartArrowhead" */
285       59L,	/*   246: "anchorText" */
286      279L,	/*   247: "dgmt" */
287      385L,	/*   248: "lineLeftCrMod" */
288      181L,	/*   249: "shadowType" */
289      192L,	/*   250: "shadowPerspectiveY" */
290      272L,	/*   251: "cropFromRight" */
291      138L,	/*   252: "fillShapeOriginY" */
292       15L,	/*   253: "fLayoutInCell" */
293      135L,	/*   254: "fillOriginX" */
294      399L,	/*   255: "lineLeftStartArrowhead" */
295      406L,	/*   256: "lineRightBackColorExtK" */
296      416L,	/*   257: "lineRightEndArrowWidth" */
297      149L,	/*   258: "fFillOK" */
298      124L,	/*   259: "fillOpacity" */
299      239L,	/*   260: "c3DKeyY" */
300      248L,	/*   261: "fc3DRotationCenterAuto" */
301      183L,	/*   262: "shadowOffsetX" */
302       21L,	/*   263: "dxWrapDistLeft" */
303      329L,	/*   264: "lineBottomEndArrowhead" */
304      366L,	/*   265: "lineColumnFillWidth" */
305      381L,	/*   266: "lineLeftColorExt" */
306      244L,	/*   267: "fc3DParallel" */
307      226L,	/*   268: "f3D" */
308      415L,	/*   269: "lineRightEndArrowLength" */
309      334L,	/*   270: "lineBottomFillWidth" */
310       96L,	/*   271: "fTopHitTestLine" */
311       28L,	/*   272: "yLimo" */
312      409L,	/*   273: "lineRightColorExt" */
313      196L,	/*   274: "fShadow" */
314      473L,	/*   275: "fUserDrawn" */
315       61L,	/*   276: "cdirFont" */
316      378L,	/*   277: "lineLeftBackColorExtK" */
317      160L,	/*   278: "adjust3Value" */
318       83L,	/*   279: "lineMiterLimit" */
319      452L,	/*   280: "lineTopOpacity" */
320      109L,	/*   281: "fBottomInsetPen" */
321       66L,	/*   282: "fFitTextToShape" */
322      208L,	/*   283: "gtextFTight" */
323      382L,	/*   284: "lineLeftColorExtCMY" */
324      199L,	/*   285: "shadowCrMod" */
325      302L,	/*   286: "c3DYRotationAngle" */
326      400L,	/*   287: "lineLeftStyle" */
327      286L,	/*   288: "c3DDiffuseAmt" */
328      165L,	/*   289: "adjust8Value" */
329      186L,	/*   290: "shadowSecondOffsetY" */
330      266L,	/*   291: "pictureLineCrMod" */
331       31L,	/*   292: "fFlipH" */
332      468L,	/*   293: "c3DExtrusionColor" */
333      365L,	/*   294: "lineColumnFillHeight" */
334      310L,	/*   295: "fillColorExtMod" */
335      464L,	/*   296: "shadowHighlightExtCMY" */
336      260L,	/*   297: "pictureId" */
337      388L,	/*   298: "lineLeftEndArrowWidth" */
338      404L,	/*   299: "lineRightBackColorExt" */
339      148L,	/*   300: "fillUseRect" */
340      401L,	/*   301: "lineLeftType" */
341      125L,	/*   302: "fillBackOpacity" */
342      221L,	/*   303: "pictureGray" */
343      243L,	/*   304: "c3DFillZ" */
344       38L,	/*   305: "fDeleteAttachedObject" */
345      100L,	/*   306: "lineColumnFillShape" */
346       62L,	/*   307: "fAutoTextMargin" */
347      362L,	/*   308: "lineColumnEndCapStyle" */
348       75L,	/*   309: "lineEndArrowhead" */
349       84L,	/*   310: "fLine" */
350      407L,	/*   311: "lineRightBackColorExtMod" */
351      219L,	/*   312: "gtextFStrikethrough" */
352      115L,	/*   313: "fLockAgainstSelect" */
353      193L,	/*   314: "shadowWeight" */
354      136L,	/*   315: "fillOriginY" */
355      460L,	/*   316: "shadowColorExtCMY" */
356      290L,	/*   317: "c3DOriginX" */
357      384L,	/*   318: "lineLeftColorExtMod" */
358       65L,	/*   319: "fFitShapeToText" */
359       71L,	/*   320: "lineWidth" */
360      246L,	/*   321: "fc3DFillHarsh" */
361      190L,	/*   322: "shadowScaleYToY" */
362      126L,	/*   323: "fillblipflags" */
363      220L,	/*   324: "pibFlags" */
364       42L,	/*   325: "fInitiator" */
365      195L,	/*   326: "shadowOriginY" */
366      442L,	/*   327: "lineTopDashing" */
367      255L,	/*   328: "fCallout" */
368      432L,	/*   329: "lineTopBackColorExt" */
369       58L,	/*   330: "WrapText" */
370      137L,	/*   331: "fillShapeOriginX" */
371      341L,	/*   332: "lineBottomType" */
372      275L,	/*   333: "bWMode" */
373       91L,	/*   334: "fTopLine" */
374       33L,	/*   335: "fIsButton" */
375      335L,	/*   336: "lineBottomMiterLimit" */
376      103L,	/*   337: "lineRightFillShape" */
377      440L,	/*   338: "lineTopColorExtMod" */
378      119L,	/*   339: "fLockAdjustHandles" */
379      127L,	/*   340: "fillWidth" */
380      284L,	/*   341: "fCameFromImgDummy" */
381      423L,	/*   342: "lineRightMiterLimit" */
382        8L,	/*   343: "fillBlipName" */
383       29L,	/*   344: "fIsBullet" */
384      338L,	/*   345: "lineBottomStartArrowWidth" */
385       30L,	/*   346: "fFlipV" */
386      210L,	/*   347: "gtextFShrinkFit" */
387      118L,	/*   348: "fLockText" */
388      276L,	/*   349: "f3DOK" */
389      107L,	/*   350: "fTopInsetPen" */
390      433L,	/*   351: "lineTopBackColorExtCMY" */
391       46L,	/*   352: "fOleIcon" */
392      278L,	/*   353: "fRecolorFillAsPicture" */
393      466L,	/*   354: "shadowHighlightExtMod" */
394      141L,	/*   355: "fillRectTop" */
395      467L,	/*   356: "pictureTransparent" */
396      179L,	/*   357: "fRelFlipH" */
397       18L,	/*   358: "shapeType" */
398      178L,	/*   359: "fRelChangePage" */
399      236L,	/*   360: "c3DYViewpoint" */
400        6L,	/*   361: "gtextFont" */
401      426L,	/*   362: "lineRightStartArrowWidth" */
402      157L,	/*   363: "geoBottom" */
403      387L,	/*   364: "lineLeftEndArrowLength" */
404      215L,	/*   365: "gtextFItalic" */
405      113L,	/*   366: "fLockRotation" */
406       74L,	/*   367: "lineStartArrowhead" */
407      342L,	/*   368: "lineBottomWidth" */
408       20L,	/*   369: "rotation" */
409      172L,	/*   370: "relRotation" */
410      155L,	/*   371: "geoTop" */
411      307L,	/*   372: "fillColorExt" */
412      142L,	/*   373: "fillRectRight" */
413       12L,	/*   374: "posrelv" */
414      373L,	/*   375: "lineColumnType" */
415      270L,	/*   376: "lineOpacity" */
416      273L,	/*   377: "cropFromTop" */
417      315L,	/*   378: "lineBottomBackColor" */
418      217L,	/*   379: "gtextFShadow" */
419      422L,	/*   380: "lineRightFillWidth" */
420      282L,	/*   381: "fScriptAnchor" */
421       56L,	/*   382: "scaleText" */
422      429L,	/*   383: "lineRightType" */
423      395L,	/*   384: "lineLeftMiterLimit" */
424       45L,	/*   385: "fNoLineDrawDash" */
425      247L,	/*   386: "fc3DConstrainRotation" */
426      202L,	/*   387: "cxk" */
427      146L,	/*   388: "fFilled" */
428      203L,	/*   389: "cxstyle" */
429       48L,	/*   390: "fOneD" */
430      161L,	/*   391: "adjust4Value" */
431        0L,	/*   392: "pVerticies" */
432      451L,	/*   393: "lineTopMiterLimit" */
433      383L,	/*   394: "lineLeftColorExtK" */
434      349L,	/*   395: "lineColumnBackColorExtCMY" */
435      159L,	/*   396: "adjust2Value" */
436      130L,	/*   397: "fillFocus" */
437       26L,	/*   398: "hspNext" */
438      283L,	/*   399: "fFakeMaster" */
439      396L,	/*   400: "lineLeftOpacity" */
440        5L,	/*   401: "gtextUNICODE" */
441       22L,	/*   402: "dyWrapDistTop" */
442      296L,	/*   403: "c3DShininess" */
443      245L,	/*   404: "fc3DKeyHarsh" */
444      168L,	/*   405: "relLeft" */
445      216L,	/*   406: "gtextFUnderline" */
446       27L,	/*   407: "xLimo" */
447       79L,	/*   408: "lineEndArrowLength" */
448      234L,	/*   409: "c3DRotationCenterZ" */
449      368L,	/*   410: "lineColumnOpacity" */
450       81L,	/*   411: "lineFillDztype" */
451      306L,	/*   412: "c3DExtrusionColorExtMod" */
452      213L,	/*   413: "gtextFDxMeasure" */
453      198L,	/*   414: "fShadowOK" */
454       40L,	/*   415: "fHitTestFill" */
455       47L,	/*   416: "fOnDblClickNotify" */
456      386L,	/*   417: "lineLeftDashing" */
457      379L,	/*   418: "lineLeftBackColorExtMod" */
458      425L,	/*   419: "lineRightStartArrowLength" */
459       90L,	/*   420: "fLeftLine" */
460      305L,	/*   421: "c3DExtrusionColorExtK" */
461      411L,	/*   422: "lineRightColorExtK" */
462      330L,	/*   423: "lineBottomEndCapStyle" */
463      227L,	/*   424: "fc3DMetallic" */
464      364L,	/*   425: "lineColumnFillDztype" */
465      427L,	/*   426: "lineRightStartArrowhead" */
466      436L,	/*   427: "lineTopColor" */
467      238L,	/*   428: "c3DKeyX" */
468      361L,	/*   429: "lineColumnEndArrowhead" */
469      194L,	/*   430: "shadowOriginX" */
470      214L,	/*   431: "gtextFBold" */
471      454L,	/*   432: "lineTopStartArrowWidth" */
472      105L,	/*   433: "fInsetPen" */
473      101L,	/*   434: "lineLeftFillShape" */
474       49L,	/*   435: "fPreferRelativeSize" */
475       23L,	/*   436: "dxWrapDistRight" */
476      251L,	/*   437: "spcoa" */
477        2L,	/*   438: "pSegmentInfo" */
478      430L,	/*   439: "lineRightWidth" */
479      285L,	/*   440: "c3DAmbientIntensity" */
480      398L,	/*   441: "lineLeftStartArrowWidth" */
481      132L,	/*   442: "fillToTop" */
482       19L,	/*   443: "ShapeType" */
483      444L,	/*   444: "lineTopEndArrowWidth" */
484      359L,	/*   445: "lineColumnEndArrowLength" */
485       11L,	/*   446: "posh" */
486      112L,	/*   447: "lineCrMod" */
487      280L,	/*   448: "ccol" */
488      150L,	/*   449: "fFillShadeShapeOK" */
489      299L,	/*   450: "c3DSpecularAmt" */
490        4L,	/*   451: "wzDescription" */
491      402L,	/*   452: "lineLeftWidth" */
492      318L,	/*   453: "lineBottomBackColorExtK" */
493      185L,	/*   454: "shadowSecondOffsetX" */
494      313L,	/*   455: "lineBackColorExtK" */
495      170L,	/*   456: "relRight" */
496      360L,	/*   457: "lineColumnEndArrowWidth" */
497      297L,	/*   458: "c3DSkewAmount" */
498      434L,	/*   459: "lineTopBackColorExtK" */
499      231L,	/*   460: "c3DRotationAxisY" */
500      370L,	/*   461: "lineColumnStartArrowWidth" */
501      308L,	/*   462: "fillColorExtCMY" */
502      298L,	/*   463: "c3DSkewAngle" */
503      424L,	/*   464: "lineRightOpacity" */
504       69L,	/*   465: "lineFillWidth" */
505      229L,	/*   466: "fc3DLightFace" */
506      437L,	/*   467: "lineTopColorExt" */
507       99L,	/*   468: "lineFillShape" */
508      413L,	/*   469: "lineRightCrMod" */
509      475L,	/*   470: "sizerelh" */
510       80L,	/*   471: "lineEndCapStyle" */
511      372L,	/*   472: "lineColumnStyle" */
512      152L,	/*   473: "fillBackColor" */
513      403L,	/*   474: "lineRightBackColor" */
514      325L,	/*   475: "lineBottomCrMod" */
515      333L,	/*   476: "lineBottomFillHeight" */
516      352L,	/*   477: "lineColumnColor" */
517     };
518 
519 /* The hash function */
520 
docRtfShapePropHash(const unsigned char * key,int len)521 unsigned long docRtfShapePropHash(const unsigned char * key, int len )
522 {
523     const ub4 initlev= 0x7b82e09b;
524     ub4 rsl= 0;
525     ub4 val = utilJenkinsHash( key, len, initlev );
526     rsl = ((val>>25)^tab[val&0xff]);
527     return rsl;
528 }
529 
docRtfShapePropIndex(const unsigned char * key,int len)530 int docRtfShapePropIndex( const unsigned char * key, int len )
531 {
532     ub4 rsl= docRtfShapePropHash( key, len );
533 
534     if  ( rsl >= sizeof(mapBack)/sizeof(short) )
535 	{ return -1;	}
536 
537     return mapBack[rsl];
538 }
539 
540