Source Code Cross Referenced for EscherProperties.java in  » Collaboration » poi-3.0.2-beta2 » org » apache » poi » ddf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Collaboration » poi 3.0.2 beta2 » org.apache.poi.ddf 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* ====================================================================
002:         Licensed to the Apache Software Foundation (ASF) under one or more
003:         contributor license agreements.  See the NOTICE file distributed with
004:         this work for additional information regarding copyright ownership.
005:         The ASF licenses this file to You under the Apache License, Version 2.0
006:         (the "License"); you may not use this file except in compliance with
007:         the License.  You may obtain a copy of the License at
008:
009:         http://www.apache.org/licenses/LICENSE-2.0
010:
011:         Unless required by applicable law or agreed to in writing, software
012:         distributed under the License is distributed on an "AS IS" BASIS,
013:         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         See the License for the specific language governing permissions and
015:         limitations under the License.
016:         ==================================================================== */
017:
018:        package org.apache.poi.ddf;
019:
020:        import java.util.HashMap;
021:        import java.util.Map;
022:
023:        /**
024:         * Provides a list of all known escher properties including the description and
025:         * type.
026:         *
027:         * @author Glen Stampoultzis (glens at apache.org)
028:         */
029:        public class EscherProperties {
030:
031:            // Property constants
032:            public static final short TRANSFORM__ROTATION = 4;
033:            public static final short PROTECTION__LOCKROTATION = 119;
034:            public static final short PROTECTION__LOCKASPECTRATIO = 120;
035:            public static final short PROTECTION__LOCKPOSITION = 121;
036:            public static final short PROTECTION__LOCKAGAINSTSELECT = 122;
037:            public static final short PROTECTION__LOCKCROPPING = 123;
038:            public static final short PROTECTION__LOCKVERTICES = 124;
039:            public static final short PROTECTION__LOCKTEXT = 125;
040:            public static final short PROTECTION__LOCKADJUSTHANDLES = 126;
041:            public static final short PROTECTION__LOCKAGAINSTGROUPING = 127;
042:            public static final short TEXT__TEXTID = 128;
043:            public static final short TEXT__TEXTLEFT = 129;
044:            public static final short TEXT__TEXTTOP = 130;
045:            public static final short TEXT__TEXTRIGHT = 131;
046:            public static final short TEXT__TEXTBOTTOM = 132;
047:            public static final short TEXT__WRAPTEXT = 133;
048:            public static final short TEXT__SCALETEXT = 134;
049:            public static final short TEXT__ANCHORTEXT = 135;
050:            public static final short TEXT__TEXTFLOW = 136;
051:            public static final short TEXT__FONTROTATION = 137;
052:            public static final short TEXT__IDOFNEXTSHAPE = 138;
053:            public static final short TEXT__BIDIR = 139;
054:            public static final short TEXT__SINGLECLICKSELECTS = 187;
055:            public static final short TEXT__USEHOSTMARGINS = 188;
056:            public static final short TEXT__ROTATETEXTWITHSHAPE = 189;
057:            public static final short TEXT__SIZESHAPETOFITTEXT = 190;
058:            public static final short TEXT__SIZE_TEXT_TO_FIT_SHAPE = 191;
059:            public static final short GEOTEXT__UNICODE = 192;
060:            public static final short GEOTEXT__RTFTEXT = 193;
061:            public static final short GEOTEXT__ALIGNMENTONCURVE = 194;
062:            public static final short GEOTEXT__DEFAULTPOINTSIZE = 195;
063:            public static final short GEOTEXT__TEXTSPACING = 196;
064:            public static final short GEOTEXT__FONTFAMILYNAME = 197;
065:            public static final short GEOTEXT__REVERSEROWORDER = 240;
066:            public static final short GEOTEXT__HASTEXTEFFECT = 241;
067:            public static final short GEOTEXT__ROTATECHARACTERS = 242;
068:            public static final short GEOTEXT__KERNCHARACTERS = 243;
069:            public static final short GEOTEXT__TIGHTORTRACK = 244;
070:            public static final short GEOTEXT__STRETCHTOFITSHAPE = 245;
071:            public static final short GEOTEXT__CHARBOUNDINGBOX = 246;
072:            public static final short GEOTEXT__SCALETEXTONPATH = 247;
073:            public static final short GEOTEXT__STRETCHCHARHEIGHT = 248;
074:            public static final short GEOTEXT__NOMEASUREALONGPATH = 249;
075:            public static final short GEOTEXT__BOLDFONT = 250;
076:            public static final short GEOTEXT__ITALICFONT = 251;
077:            public static final short GEOTEXT__UNDERLINEFONT = 252;
078:            public static final short GEOTEXT__SHADOWFONT = 253;
079:            public static final short GEOTEXT__SMALLCAPSFONT = 254;
080:            public static final short GEOTEXT__STRIKETHROUGHFONT = 255;
081:            public static final short BLIP__CROPFROMTOP = 256;
082:            public static final short BLIP__CROPFROMBOTTOM = 257;
083:            public static final short BLIP__CROPFROMLEFT = 258;
084:            public static final short BLIP__CROPFROMRIGHT = 259;
085:            public static final short BLIP__BLIPTODISPLAY = 260;
086:            public static final short BLIP__BLIPFILENAME = 261;
087:            public static final short BLIP__BLIPFLAGS = 262;
088:            public static final short BLIP__TRANSPARENTCOLOR = 263;
089:            public static final short BLIP__CONTRASTSETTING = 264;
090:            public static final short BLIP__BRIGHTNESSSETTING = 265;
091:            public static final short BLIP__GAMMA = 266;
092:            public static final short BLIP__PICTUREID = 267;
093:            public static final short BLIP__DOUBLEMOD = 268;
094:            public static final short BLIP__PICTUREFILLMOD = 269;
095:            public static final short BLIP__PICTURELINE = 270;
096:            public static final short BLIP__PRINTBLIP = 271;
097:            public static final short BLIP__PRINTBLIPFILENAME = 272;
098:            public static final short BLIP__PRINTFLAGS = 273;
099:            public static final short BLIP__NOHITTESTPICTURE = 316;
100:            public static final short BLIP__PICTUREGRAY = 317;
101:            public static final short BLIP__PICTUREBILEVEL = 318;
102:            public static final short BLIP__PICTUREACTIVE = 319;
103:            public static final short GEOMETRY__LEFT = 320;
104:            public static final short GEOMETRY__TOP = 321;
105:            public static final short GEOMETRY__RIGHT = 322;
106:            public static final short GEOMETRY__BOTTOM = 323;
107:            public static final short GEOMETRY__SHAPEPATH = 324;
108:            public static final short GEOMETRY__VERTICES = 325;
109:            public static final short GEOMETRY__SEGMENTINFO = 326;
110:            public static final short GEOMETRY__ADJUSTVALUE = 327;
111:            public static final short GEOMETRY__ADJUST2VALUE = 328;
112:            public static final short GEOMETRY__ADJUST3VALUE = 329;
113:            public static final short GEOMETRY__ADJUST4VALUE = 330;
114:            public static final short GEOMETRY__ADJUST5VALUE = 331;
115:            public static final short GEOMETRY__ADJUST6VALUE = 332;
116:            public static final short GEOMETRY__ADJUST7VALUE = 333;
117:            public static final short GEOMETRY__ADJUST8VALUE = 334;
118:            public static final short GEOMETRY__ADJUST9VALUE = 335;
119:            public static final short GEOMETRY__ADJUST10VALUE = 336;
120:            public static final short GEOMETRY__SHADOWok = 378;
121:            public static final short GEOMETRY__3DOK = 379;
122:            public static final short GEOMETRY__LINEOK = 380;
123:            public static final short GEOMETRY__GEOTEXTOK = 381;
124:            public static final short GEOMETRY__FILLSHADESHAPEOK = 382;
125:            public static final short GEOMETRY__FILLOK = 383;
126:            public static final short FILL__FILLTYPE = 384;
127:            public static final short FILL__FILLCOLOR = 385;
128:            public static final short FILL__FILLOPACITY = 386;
129:            public static final short FILL__FILLBACKCOLOR = 387;
130:            public static final short FILL__BACKOPACITY = 388;
131:            public static final short FILL__CRMOD = 389;
132:            public static final short FILL__PATTERNTEXTURE = 390;
133:            public static final short FILL__BLIPFILENAME = 391;
134:            public static final short FILL__BLIPFLAGS = 392;
135:            public static final short FILL__WIDTH = 393;
136:            public static final short FILL__HEIGHT = 394;
137:            public static final short FILL__ANGLE = 395;
138:            public static final short FILL__FOCUS = 396;
139:            public static final short FILL__TOLEFT = 397;
140:            public static final short FILL__TOTOP = 398;
141:            public static final short FILL__TORIGHT = 399;
142:            public static final short FILL__TOBOTTOM = 400;
143:            public static final short FILL__RECTLEFT = 401;
144:            public static final short FILL__RECTTOP = 402;
145:            public static final short FILL__RECTRIGHT = 403;
146:            public static final short FILL__RECTBOTTOM = 404;
147:            public static final short FILL__DZTYPE = 405;
148:            public static final short FILL__SHADEPRESET = 406;
149:            public static final short FILL__SHADECOLORS = 407;
150:            public static final short FILL__ORIGINX = 408;
151:            public static final short FILL__ORIGINY = 409;
152:            public static final short FILL__SHAPEORIGINX = 410;
153:            public static final short FILL__SHAPEORIGINY = 411;
154:            public static final short FILL__SHADETYPE = 412;
155:            public static final short FILL__FILLED = 443;
156:            public static final short FILL__HITTESTFILL = 444;
157:            public static final short FILL__SHAPE = 445;
158:            public static final short FILL__USERECT = 446;
159:            public static final short FILL__NOFILLHITTEST = 447;
160:            public static final short LINESTYLE__COLOR = 448;
161:            public static final short LINESTYLE__OPACITY = 449;
162:            public static final short LINESTYLE__BACKCOLOR = 450;
163:            public static final short LINESTYLE__CRMOD = 451;
164:            public static final short LINESTYLE__LINETYPE = 452;
165:            public static final short LINESTYLE__FILLBLIP = 453;
166:            public static final short LINESTYLE__FILLBLIPNAME = 454;
167:            public static final short LINESTYLE__FILLBLIPFLAGS = 455;
168:            public static final short LINESTYLE__FILLWIDTH = 456;
169:            public static final short LINESTYLE__FILLHEIGHT = 457;
170:            public static final short LINESTYLE__FILLDZTYPE = 458;
171:            public static final short LINESTYLE__LINEWIDTH = 459;
172:            public static final short LINESTYLE__LINEMITERLIMIT = 460;
173:            public static final short LINESTYLE__LINESTYLE = 461;
174:            public static final short LINESTYLE__LINEDASHING = 462;
175:            public static final short LINESTYLE__LINEDASHSTYLE = 463;
176:            public static final short LINESTYLE__LINESTARTARROWHEAD = 464;
177:            public static final short LINESTYLE__LINEENDARROWHEAD = 465;
178:            public static final short LINESTYLE__LINESTARTARROWWIDTH = 466;
179:            public static final short LINESTYLE__LINEESTARTARROWLENGTH = 467;
180:            public static final short LINESTYLE__LINEENDARROWWIDTH = 468;
181:            public static final short LINESTYLE__LINEENDARROWLENGTH = 469;
182:            public static final short LINESTYLE__LINEJOINSTYLE = 470;
183:            public static final short LINESTYLE__LINEENDCAPSTYLE = 471;
184:            public static final short LINESTYLE__ARROWHEADSOK = 507;
185:            public static final short LINESTYLE__ANYLINE = 508;
186:            public static final short LINESTYLE__HITLINETEST = 509;
187:            public static final short LINESTYLE__LINEFILLSHAPE = 510;
188:            public static final short LINESTYLE__NOLINEDRAWDASH = 511;
189:            public static final short SHADOWSTYLE__TYPE = 512;
190:            public static final short SHADOWSTYLE__COLOR = 513;
191:            public static final short SHADOWSTYLE__HIGHLIGHT = 514;
192:            public static final short SHADOWSTYLE__CRMOD = 515;
193:            public static final short SHADOWSTYLE__OPACITY = 516;
194:            public static final short SHADOWSTYLE__OFFSETX = 517;
195:            public static final short SHADOWSTYLE__OFFSETY = 518;
196:            public static final short SHADOWSTYLE__SECONDOFFSETX = 519;
197:            public static final short SHADOWSTYLE__SECONDOFFSETY = 520;
198:            public static final short SHADOWSTYLE__SCALEXTOX = 521;
199:            public static final short SHADOWSTYLE__SCALEYTOX = 522;
200:            public static final short SHADOWSTYLE__SCALEXTOY = 523;
201:            public static final short SHADOWSTYLE__SCALEYTOY = 524;
202:            public static final short SHADOWSTYLE__PERSPECTIVEX = 525;
203:            public static final short SHADOWSTYLE__PERSPECTIVEY = 526;
204:            public static final short SHADOWSTYLE__WEIGHT = 527;
205:            public static final short SHADOWSTYLE__ORIGINX = 528;
206:            public static final short SHADOWSTYLE__ORIGINY = 529;
207:            public static final short SHADOWSTYLE__SHADOW = 574;
208:            public static final short SHADOWSTYLE__SHADOWOBSURED = 575;
209:            public static final short PERSPECTIVE__TYPE = 576;
210:            public static final short PERSPECTIVE__OFFSETX = 577;
211:            public static final short PERSPECTIVE__OFFSETY = 578;
212:            public static final short PERSPECTIVE__SCALEXTOX = 579;
213:            public static final short PERSPECTIVE__SCALEYTOX = 580;
214:            public static final short PERSPECTIVE__SCALEXTOY = 581;
215:            public static final short PERSPECTIVE__SCALEYTOY = 582;
216:            public static final short PERSPECTIVE__PERSPECTIVEX = 583;
217:            public static final short PERSPECTIVE__PERSPECTIVEY = 584;
218:            public static final short PERSPECTIVE__WEIGHT = 585;
219:            public static final short PERSPECTIVE__ORIGINX = 586;
220:            public static final short PERSPECTIVE__ORIGINY = 587;
221:            public static final short PERSPECTIVE__PERSPECTIVEON = 639;
222:            public static final short THREED__SPECULARAMOUNT = 640;
223:            public static final short THREED__DIFFUSEAMOUNT = 661;
224:            public static final short THREED__SHININESS = 662;
225:            public static final short THREED__EDGETHICKNESS = 663;
226:            public static final short THREED__EXTRUDEFORWARD = 664;
227:            public static final short THREED__EXTRUDEBACKWARD = 665;
228:            public static final short THREED__EXTRUDEPLANE = 666;
229:            public static final short THREED__EXTRUSIONCOLOR = 667;
230:            public static final short THREED__CRMOD = 648;
231:            public static final short THREED__3DEFFECT = 700;
232:            public static final short THREED__METALLIC = 701;
233:            public static final short THREED__USEEXTRUSIONCOLOR = 702;
234:            public static final short THREED__LIGHTFACE = 703;
235:            public static final short THREEDSTYLE__YROTATIONANGLE = 704;
236:            public static final short THREEDSTYLE__XROTATIONANGLE = 705;
237:            public static final short THREEDSTYLE__ROTATIONAXISX = 706;
238:            public static final short THREEDSTYLE__ROTATIONAXISY = 707;
239:            public static final short THREEDSTYLE__ROTATIONAXISZ = 708;
240:            public static final short THREEDSTYLE__ROTATIONANGLE = 709;
241:            public static final short THREEDSTYLE__ROTATIONCENTERX = 710;
242:            public static final short THREEDSTYLE__ROTATIONCENTERY = 711;
243:            public static final short THREEDSTYLE__ROTATIONCENTERZ = 712;
244:            public static final short THREEDSTYLE__RENDERMODE = 713;
245:            public static final short THREEDSTYLE__TOLERANCE = 714;
246:            public static final short THREEDSTYLE__XVIEWPOINT = 715;
247:            public static final short THREEDSTYLE__YVIEWPOINT = 716;
248:            public static final short THREEDSTYLE__ZVIEWPOINT = 717;
249:            public static final short THREEDSTYLE__ORIGINX = 718;
250:            public static final short THREEDSTYLE__ORIGINY = 719;
251:            public static final short THREEDSTYLE__SKEWANGLE = 720;
252:            public static final short THREEDSTYLE__SKEWAMOUNT = 721;
253:            public static final short THREEDSTYLE__AMBIENTINTENSITY = 722;
254:            public static final short THREEDSTYLE__KEYX = 723;
255:            public static final short THREEDSTYLE__KEYY = 724;
256:            public static final short THREEDSTYLE__KEYZ = 725;
257:            public static final short THREEDSTYLE__KEYINTENSITY = 726;
258:            public static final short THREEDSTYLE__FILLX = 727;
259:            public static final short THREEDSTYLE__FILLY = 728;
260:            public static final short THREEDSTYLE__FILLZ = 729;
261:            public static final short THREEDSTYLE__FILLINTENSITY = 730;
262:            public static final short THREEDSTYLE__CONSTRAINROTATION = 763;
263:            public static final short THREEDSTYLE__ROTATIONCENTERAUTO = 764;
264:            public static final short THREEDSTYLE__PARALLEL = 765;
265:            public static final short THREEDSTYLE__KEYHARSH = 766;
266:            public static final short THREEDSTYLE__FILLHARSH = 767;
267:            public static final short SHAPE__MASTER = 769;
268:            public static final short SHAPE__CONNECTORSTYLE = 771;
269:            public static final short SHAPE__BLACKANDWHITESETTINGS = 772;
270:            public static final short SHAPE__WMODEPUREBW = 773;
271:            public static final short SHAPE__WMODEBW = 774;
272:            public static final short SHAPE__OLEICON = 826;
273:            public static final short SHAPE__PREFERRELATIVERESIZE = 827;
274:            public static final short SHAPE__LOCKSHAPETYPE = 828;
275:            public static final short SHAPE__DELETEATTACHEDOBJECT = 830;
276:            public static final short SHAPE__BACKGROUNDSHAPE = 831;
277:            public static final short CALLOUT__CALLOUTTYPE = 832;
278:            public static final short CALLOUT__XYCALLOUTGAP = 833;
279:            public static final short CALLOUT__CALLOUTANGLE = 834;
280:            public static final short CALLOUT__CALLOUTDROPTYPE = 835;
281:            public static final short CALLOUT__CALLOUTDROPSPECIFIED = 836;
282:            public static final short CALLOUT__CALLOUTLENGTHSPECIFIED = 837;
283:            public static final short CALLOUT__ISCALLOUT = 889;
284:            public static final short CALLOUT__CALLOUTACCENTBAR = 890;
285:            public static final short CALLOUT__CALLOUTTEXTBORDER = 891;
286:            public static final short CALLOUT__CALLOUTMINUSX = 892;
287:            public static final short CALLOUT__CALLOUTMINUSY = 893;
288:            public static final short CALLOUT__DROPAUTO = 894;
289:            public static final short CALLOUT__LENGTHSPECIFIED = 895;
290:            public static final short GROUPSHAPE__SHAPENAME = 896;
291:            public static final short GROUPSHAPE__DESCRIPTION = 897;
292:            public static final short GROUPSHAPE__HYPERLINK = 898;
293:            public static final short GROUPSHAPE__WRAPPOLYGONVERTICES = 899;
294:            public static final short GROUPSHAPE__WRAPDISTLEFT = 900;
295:            public static final short GROUPSHAPE__WRAPDISTTOP = 901;
296:            public static final short GROUPSHAPE__WRAPDISTRIGHT = 902;
297:            public static final short GROUPSHAPE__WRAPDISTBOTTOM = 903;
298:            public static final short GROUPSHAPE__REGROUPID = 904;
299:            public static final short GROUPSHAPE__EDITEDWRAP = 953;
300:            public static final short GROUPSHAPE__BEHINDDOCUMENT = 954;
301:            public static final short GROUPSHAPE__ONDBLCLICKNOTIFY = 955;
302:            public static final short GROUPSHAPE__ISBUTTON = 956;
303:            public static final short GROUPSHAPE__1DADJUSTMENT = 957;
304:            public static final short GROUPSHAPE__HIDDEN = 958;
305:            public static final short GROUPSHAPE__PRINT = 959;
306:
307:            private static Map properties;
308:
309:            private static void initProps() {
310:                if (properties == null) {
311:                    properties = new HashMap();
312:                    addProp(TRANSFORM__ROTATION, data("transform.rotation"));
313:                    addProp(PROTECTION__LOCKROTATION,
314:                            data("protection.lockrotation"));
315:                    addProp(PROTECTION__LOCKASPECTRATIO,
316:                            data("protection.lockaspectratio"));
317:                    addProp(PROTECTION__LOCKPOSITION,
318:                            data("protection.lockposition"));
319:                    addProp(PROTECTION__LOCKAGAINSTSELECT,
320:                            data("protection.lockagainstselect"));
321:                    addProp(PROTECTION__LOCKCROPPING,
322:                            data("protection.lockcropping"));
323:                    addProp(PROTECTION__LOCKVERTICES,
324:                            data("protection.lockvertices"));
325:                    addProp(PROTECTION__LOCKTEXT, data("protection.locktext"));
326:                    addProp(PROTECTION__LOCKADJUSTHANDLES,
327:                            data("protection.lockadjusthandles"));
328:                    addProp(PROTECTION__LOCKAGAINSTGROUPING, data(
329:                            "protection.lockagainstgrouping",
330:                            EscherPropertyMetaData.TYPE_BOOLEAN));
331:                    addProp(TEXT__TEXTID, data("text.textid"));
332:                    addProp(TEXT__TEXTLEFT, data("text.textleft"));
333:                    addProp(TEXT__TEXTTOP, data("text.texttop"));
334:                    addProp(TEXT__TEXTRIGHT, data("text.textright"));
335:                    addProp(TEXT__TEXTBOTTOM, data("text.textbottom"));
336:                    addProp(TEXT__WRAPTEXT, data("text.wraptext"));
337:                    addProp(TEXT__SCALETEXT, data("text.scaletext"));
338:                    addProp(TEXT__ANCHORTEXT, data("text.anchortext"));
339:                    addProp(TEXT__TEXTFLOW, data("text.textflow"));
340:                    addProp(TEXT__FONTROTATION, data("text.fontrotation"));
341:                    addProp(TEXT__IDOFNEXTSHAPE, data("text.idofnextshape"));
342:                    addProp(TEXT__BIDIR, data("text.bidir"));
343:                    addProp(TEXT__SINGLECLICKSELECTS,
344:                            data("text.singleclickselects"));
345:                    addProp(TEXT__USEHOSTMARGINS, data("text.usehostmargins"));
346:                    addProp(TEXT__ROTATETEXTWITHSHAPE,
347:                            data("text.rotatetextwithshape"));
348:                    addProp(TEXT__SIZESHAPETOFITTEXT,
349:                            data("text.sizeshapetofittext"));
350:                    addProp(TEXT__SIZE_TEXT_TO_FIT_SHAPE, data(
351:                            "text.sizetexttofitshape",
352:                            EscherPropertyMetaData.TYPE_BOOLEAN));
353:                    addProp(GEOTEXT__UNICODE, data("geotext.unicode"));
354:                    addProp(GEOTEXT__RTFTEXT, data("geotext.rtftext"));
355:                    addProp(GEOTEXT__ALIGNMENTONCURVE,
356:                            data("geotext.alignmentoncurve"));
357:                    addProp(GEOTEXT__DEFAULTPOINTSIZE,
358:                            data("geotext.defaultpointsize"));
359:                    addProp(GEOTEXT__TEXTSPACING, data("geotext.textspacing"));
360:                    addProp(GEOTEXT__FONTFAMILYNAME,
361:                            data("geotext.fontfamilyname"));
362:                    addProp(GEOTEXT__REVERSEROWORDER,
363:                            data("geotext.reverseroworder"));
364:                    addProp(GEOTEXT__HASTEXTEFFECT,
365:                            data("geotext.hastexteffect"));
366:                    addProp(GEOTEXT__ROTATECHARACTERS,
367:                            data("geotext.rotatecharacters"));
368:                    addProp(GEOTEXT__KERNCHARACTERS,
369:                            data("geotext.kerncharacters"));
370:                    addProp(GEOTEXT__TIGHTORTRACK, data("geotext.tightortrack"));
371:                    addProp(GEOTEXT__STRETCHTOFITSHAPE,
372:                            data("geotext.stretchtofitshape"));
373:                    addProp(GEOTEXT__CHARBOUNDINGBOX,
374:                            data("geotext.charboundingbox"));
375:                    addProp(GEOTEXT__SCALETEXTONPATH,
376:                            data("geotext.scaletextonpath"));
377:                    addProp(GEOTEXT__STRETCHCHARHEIGHT,
378:                            data("geotext.stretchcharheight"));
379:                    addProp(GEOTEXT__NOMEASUREALONGPATH,
380:                            data("geotext.nomeasurealongpath"));
381:                    addProp(GEOTEXT__BOLDFONT, data("geotext.boldfont"));
382:                    addProp(GEOTEXT__ITALICFONT, data("geotext.italicfont"));
383:                    addProp(GEOTEXT__UNDERLINEFONT,
384:                            data("geotext.underlinefont"));
385:                    addProp(GEOTEXT__SHADOWFONT, data("geotext.shadowfont"));
386:                    addProp(GEOTEXT__SMALLCAPSFONT,
387:                            data("geotext.smallcapsfont"));
388:                    addProp(GEOTEXT__STRIKETHROUGHFONT,
389:                            data("geotext.strikethroughfont"));
390:                    addProp(BLIP__CROPFROMTOP, data("blip.cropfromtop"));
391:                    addProp(BLIP__CROPFROMBOTTOM, data("blip.cropfrombottom"));
392:                    addProp(BLIP__CROPFROMLEFT, data("blip.cropfromleft"));
393:                    addProp(BLIP__CROPFROMRIGHT, data("blip.cropfromright"));
394:                    addProp(BLIP__BLIPTODISPLAY, data("blip.bliptodisplay"));
395:                    addProp(BLIP__BLIPFILENAME, data("blip.blipfilename"));
396:                    addProp(BLIP__BLIPFLAGS, data("blip.blipflags"));
397:                    addProp(BLIP__TRANSPARENTCOLOR,
398:                            data("blip.transparentcolor"));
399:                    addProp(BLIP__CONTRASTSETTING, data("blip.contrastsetting"));
400:                    addProp(BLIP__BRIGHTNESSSETTING,
401:                            data("blip.brightnesssetting"));
402:                    addProp(BLIP__GAMMA, data("blip.gamma"));
403:                    addProp(BLIP__PICTUREID, data("blip.pictureid"));
404:                    addProp(BLIP__DOUBLEMOD, data("blip.doublemod"));
405:                    addProp(BLIP__PICTUREFILLMOD, data("blip.picturefillmod"));
406:                    addProp(BLIP__PICTURELINE, data("blip.pictureline"));
407:                    addProp(BLIP__PRINTBLIP, data("blip.printblip"));
408:                    addProp(BLIP__PRINTBLIPFILENAME,
409:                            data("blip.printblipfilename"));
410:                    addProp(BLIP__PRINTFLAGS, data("blip.printflags"));
411:                    addProp(BLIP__NOHITTESTPICTURE,
412:                            data("blip.nohittestpicture"));
413:                    addProp(BLIP__PICTUREGRAY, data("blip.picturegray"));
414:                    addProp(BLIP__PICTUREBILEVEL, data("blip.picturebilevel"));
415:                    addProp(BLIP__PICTUREACTIVE, data("blip.pictureactive"));
416:                    addProp(GEOMETRY__LEFT, data("geometry.left"));
417:                    addProp(GEOMETRY__TOP, data("geometry.top"));
418:                    addProp(GEOMETRY__RIGHT, data("geometry.right"));
419:                    addProp(GEOMETRY__BOTTOM, data("geometry.bottom"));
420:                    addProp(GEOMETRY__SHAPEPATH, data("geometry.shapepath",
421:                            EscherPropertyMetaData.TYPE_SHAPEPATH));
422:                    addProp(GEOMETRY__VERTICES, data("geometry.vertices",
423:                            EscherPropertyMetaData.TYPE_ARRAY));
424:                    addProp(GEOMETRY__SEGMENTINFO, data("geometry.segmentinfo",
425:                            EscherPropertyMetaData.TYPE_ARRAY));
426:                    addProp(GEOMETRY__ADJUSTVALUE, data("geometry.adjustvalue"));
427:                    addProp(GEOMETRY__ADJUST2VALUE,
428:                            data("geometry.adjust2value"));
429:                    addProp(GEOMETRY__ADJUST3VALUE,
430:                            data("geometry.adjust3value"));
431:                    addProp(GEOMETRY__ADJUST4VALUE,
432:                            data("geometry.adjust4value"));
433:                    addProp(GEOMETRY__ADJUST5VALUE,
434:                            data("geometry.adjust5value"));
435:                    addProp(GEOMETRY__ADJUST6VALUE,
436:                            data("geometry.adjust6value"));
437:                    addProp(GEOMETRY__ADJUST7VALUE,
438:                            data("geometry.adjust7value"));
439:                    addProp(GEOMETRY__ADJUST8VALUE,
440:                            data("geometry.adjust8value"));
441:                    addProp(GEOMETRY__ADJUST9VALUE,
442:                            data("geometry.adjust9value"));
443:                    addProp(GEOMETRY__ADJUST10VALUE,
444:                            data("geometry.adjust10value"));
445:                    addProp(GEOMETRY__SHADOWok, data("geometry.shadowOK"));
446:                    addProp(GEOMETRY__3DOK, data("geometry.3dok"));
447:                    addProp(GEOMETRY__LINEOK, data("geometry.lineok"));
448:                    addProp(GEOMETRY__GEOTEXTOK, data("geometry.geotextok"));
449:                    addProp(GEOMETRY__FILLSHADESHAPEOK,
450:                            data("geometry.fillshadeshapeok"));
451:                    addProp(GEOMETRY__FILLOK, data("geometry.fillok",
452:                            EscherPropertyMetaData.TYPE_BOOLEAN));
453:                    addProp(FILL__FILLTYPE, data("fill.filltype"));
454:                    addProp(FILL__FILLCOLOR, data("fill.fillcolor",
455:                            EscherPropertyMetaData.TYPE_RGB));
456:                    addProp(FILL__FILLOPACITY, data("fill.fillopacity"));
457:                    addProp(FILL__FILLBACKCOLOR, data("fill.fillbackcolor",
458:                            EscherPropertyMetaData.TYPE_RGB));
459:                    addProp(FILL__BACKOPACITY, data("fill.backopacity"));
460:                    addProp(FILL__CRMOD, data("fill.crmod"));
461:                    addProp(FILL__PATTERNTEXTURE, data("fill.patterntexture"));
462:                    addProp(FILL__BLIPFILENAME, data("fill.blipfilename"));
463:                    addProp(FILL__BLIPFLAGS, data("fill.blipflags"));
464:                    addProp(FILL__WIDTH, data("fill.width"));
465:                    addProp(FILL__HEIGHT, data("fill.height"));
466:                    addProp(FILL__ANGLE, data("fill.angle"));
467:                    addProp(FILL__FOCUS, data("fill.focus"));
468:                    addProp(FILL__TOLEFT, data("fill.toleft"));
469:                    addProp(FILL__TOTOP, data("fill.totop"));
470:                    addProp(FILL__TORIGHT, data("fill.toright"));
471:                    addProp(FILL__TOBOTTOM, data("fill.tobottom"));
472:                    addProp(FILL__RECTLEFT, data("fill.rectleft"));
473:                    addProp(FILL__RECTTOP, data("fill.recttop"));
474:                    addProp(FILL__RECTRIGHT, data("fill.rectright"));
475:                    addProp(FILL__RECTBOTTOM, data("fill.rectbottom"));
476:                    addProp(FILL__DZTYPE, data("fill.dztype"));
477:                    addProp(FILL__SHADEPRESET, data("fill.shadepreset"));
478:                    addProp(FILL__SHADECOLORS, data("fill.shadecolors",
479:                            EscherPropertyMetaData.TYPE_ARRAY));
480:                    addProp(FILL__ORIGINX, data("fill.originx"));
481:                    addProp(FILL__ORIGINY, data("fill.originy"));
482:                    addProp(FILL__SHAPEORIGINX, data("fill.shapeoriginx"));
483:                    addProp(FILL__SHAPEORIGINY, data("fill.shapeoriginy"));
484:                    addProp(FILL__SHADETYPE, data("fill.shadetype"));
485:                    addProp(FILL__FILLED, data("fill.filled"));
486:                    addProp(FILL__HITTESTFILL, data("fill.hittestfill"));
487:                    addProp(FILL__SHAPE, data("fill.shape"));
488:                    addProp(FILL__USERECT, data("fill.userect"));
489:                    addProp(FILL__NOFILLHITTEST, data("fill.nofillhittest",
490:                            EscherPropertyMetaData.TYPE_BOOLEAN));
491:                    addProp(LINESTYLE__COLOR, data("linestyle.color",
492:                            EscherPropertyMetaData.TYPE_RGB));
493:                    addProp(LINESTYLE__OPACITY, data("linestyle.opacity"));
494:                    addProp(LINESTYLE__BACKCOLOR, data("linestyle.backcolor",
495:                            EscherPropertyMetaData.TYPE_RGB));
496:                    addProp(LINESTYLE__CRMOD, data("linestyle.crmod"));
497:                    addProp(LINESTYLE__LINETYPE, data("linestyle.linetype"));
498:                    addProp(LINESTYLE__FILLBLIP, data("linestyle.fillblip"));
499:                    addProp(LINESTYLE__FILLBLIPNAME,
500:                            data("linestyle.fillblipname"));
501:                    addProp(LINESTYLE__FILLBLIPFLAGS,
502:                            data("linestyle.fillblipflags"));
503:                    addProp(LINESTYLE__FILLWIDTH, data("linestyle.fillwidth"));
504:                    addProp(LINESTYLE__FILLHEIGHT, data("linestyle.fillheight"));
505:                    addProp(LINESTYLE__FILLDZTYPE, data("linestyle.filldztype"));
506:                    addProp(LINESTYLE__LINEWIDTH, data("linestyle.linewidth"));
507:                    addProp(LINESTYLE__LINEMITERLIMIT,
508:                            data("linestyle.linemiterlimit"));
509:                    addProp(LINESTYLE__LINESTYLE, data("linestyle.linestyle"));
510:                    addProp(LINESTYLE__LINEDASHING,
511:                            data("linestyle.linedashing"));
512:                    addProp(LINESTYLE__LINEDASHSTYLE, data(
513:                            "linestyle.linedashstyle",
514:                            EscherPropertyMetaData.TYPE_ARRAY));
515:                    addProp(LINESTYLE__LINESTARTARROWHEAD,
516:                            data("linestyle.linestartarrowhead"));
517:                    addProp(LINESTYLE__LINEENDARROWHEAD,
518:                            data("linestyle.lineendarrowhead"));
519:                    addProp(LINESTYLE__LINESTARTARROWWIDTH,
520:                            data("linestyle.linestartarrowwidth"));
521:                    addProp(LINESTYLE__LINEESTARTARROWLENGTH,
522:                            data("linestyle.lineestartarrowlength"));
523:                    addProp(LINESTYLE__LINEENDARROWWIDTH,
524:                            data("linestyle.lineendarrowwidth"));
525:                    addProp(LINESTYLE__LINEENDARROWLENGTH,
526:                            data("linestyle.lineendarrowlength"));
527:                    addProp(LINESTYLE__LINEJOINSTYLE,
528:                            data("linestyle.linejoinstyle"));
529:                    addProp(LINESTYLE__LINEENDCAPSTYLE,
530:                            data("linestyle.lineendcapstyle"));
531:                    addProp(LINESTYLE__ARROWHEADSOK,
532:                            data("linestyle.arrowheadsok"));
533:                    addProp(LINESTYLE__ANYLINE, data("linestyle.anyline"));
534:                    addProp(LINESTYLE__HITLINETEST,
535:                            data("linestyle.hitlinetest"));
536:                    addProp(LINESTYLE__LINEFILLSHAPE,
537:                            data("linestyle.linefillshape"));
538:                    addProp(LINESTYLE__NOLINEDRAWDASH, data(
539:                            "linestyle.nolinedrawdash",
540:                            EscherPropertyMetaData.TYPE_BOOLEAN));
541:                    addProp(SHADOWSTYLE__TYPE, data("shadowstyle.type"));
542:                    addProp(SHADOWSTYLE__COLOR, data("shadowstyle.color",
543:                            EscherPropertyMetaData.TYPE_RGB));
544:                    addProp(SHADOWSTYLE__HIGHLIGHT,
545:                            data("shadowstyle.highlight"));
546:                    addProp(SHADOWSTYLE__CRMOD, data("shadowstyle.crmod"));
547:                    addProp(SHADOWSTYLE__OPACITY, data("shadowstyle.opacity"));
548:                    addProp(SHADOWSTYLE__OFFSETX, data("shadowstyle.offsetx"));
549:                    addProp(SHADOWSTYLE__OFFSETY, data("shadowstyle.offsety"));
550:                    addProp(SHADOWSTYLE__SECONDOFFSETX,
551:                            data("shadowstyle.secondoffsetx"));
552:                    addProp(SHADOWSTYLE__SECONDOFFSETY,
553:                            data("shadowstyle.secondoffsety"));
554:                    addProp(SHADOWSTYLE__SCALEXTOX,
555:                            data("shadowstyle.scalextox"));
556:                    addProp(SHADOWSTYLE__SCALEYTOX,
557:                            data("shadowstyle.scaleytox"));
558:                    addProp(SHADOWSTYLE__SCALEXTOY,
559:                            data("shadowstyle.scalextoy"));
560:                    addProp(SHADOWSTYLE__SCALEYTOY,
561:                            data("shadowstyle.scaleytoy"));
562:                    addProp(SHADOWSTYLE__PERSPECTIVEX,
563:                            data("shadowstyle.perspectivex"));
564:                    addProp(SHADOWSTYLE__PERSPECTIVEY,
565:                            data("shadowstyle.perspectivey"));
566:                    addProp(SHADOWSTYLE__WEIGHT, data("shadowstyle.weight"));
567:                    addProp(SHADOWSTYLE__ORIGINX, data("shadowstyle.originx"));
568:                    addProp(SHADOWSTYLE__ORIGINY, data("shadowstyle.originy"));
569:                    addProp(SHADOWSTYLE__SHADOW, data("shadowstyle.shadow"));
570:                    addProp(SHADOWSTYLE__SHADOWOBSURED,
571:                            data("shadowstyle.shadowobsured"));
572:                    addProp(PERSPECTIVE__TYPE, data("perspective.type"));
573:                    addProp(PERSPECTIVE__OFFSETX, data("perspective.offsetx"));
574:                    addProp(PERSPECTIVE__OFFSETY, data("perspective.offsety"));
575:                    addProp(PERSPECTIVE__SCALEXTOX,
576:                            data("perspective.scalextox"));
577:                    addProp(PERSPECTIVE__SCALEYTOX,
578:                            data("perspective.scaleytox"));
579:                    addProp(PERSPECTIVE__SCALEXTOY,
580:                            data("perspective.scalextoy"));
581:                    addProp(PERSPECTIVE__SCALEYTOY,
582:                            data("perspective.scaleytoy"));
583:                    addProp(PERSPECTIVE__PERSPECTIVEX,
584:                            data("perspective.perspectivex"));
585:                    addProp(PERSPECTIVE__PERSPECTIVEY,
586:                            data("perspective.perspectivey"));
587:                    addProp(PERSPECTIVE__WEIGHT, data("perspective.weight"));
588:                    addProp(PERSPECTIVE__ORIGINX, data("perspective.originx"));
589:                    addProp(PERSPECTIVE__ORIGINY, data("perspective.originy"));
590:                    addProp(PERSPECTIVE__PERSPECTIVEON,
591:                            data("perspective.perspectiveon"));
592:                    addProp(THREED__SPECULARAMOUNT, data("3d.specularamount"));
593:                    addProp(THREED__DIFFUSEAMOUNT, data("3d.diffuseamount"));
594:                    addProp(THREED__SHININESS, data("3d.shininess"));
595:                    addProp(THREED__EDGETHICKNESS, data("3d.edgethickness"));
596:                    addProp(THREED__EXTRUDEFORWARD, data("3d.extrudeforward"));
597:                    addProp(THREED__EXTRUDEBACKWARD, data("3d.extrudebackward"));
598:                    addProp(THREED__EXTRUDEPLANE, data("3d.extrudeplane"));
599:                    addProp(THREED__EXTRUSIONCOLOR, data("3d.extrusioncolor",
600:                            EscherPropertyMetaData.TYPE_RGB));
601:                    addProp(THREED__CRMOD, data("3d.crmod"));
602:                    addProp(THREED__3DEFFECT, data("3d.3deffect"));
603:                    addProp(THREED__METALLIC, data("3d.metallic"));
604:                    addProp(THREED__USEEXTRUSIONCOLOR, data(
605:                            "3d.useextrusioncolor",
606:                            EscherPropertyMetaData.TYPE_RGB));
607:                    addProp(THREED__LIGHTFACE, data("3d.lightface"));
608:                    addProp(THREEDSTYLE__YROTATIONANGLE,
609:                            data("3dstyle.yrotationangle"));
610:                    addProp(THREEDSTYLE__XROTATIONANGLE,
611:                            data("3dstyle.xrotationangle"));
612:                    addProp(THREEDSTYLE__ROTATIONAXISX,
613:                            data("3dstyle.rotationaxisx"));
614:                    addProp(THREEDSTYLE__ROTATIONAXISY,
615:                            data("3dstyle.rotationaxisy"));
616:                    addProp(THREEDSTYLE__ROTATIONAXISZ,
617:                            data("3dstyle.rotationaxisz"));
618:                    addProp(THREEDSTYLE__ROTATIONANGLE,
619:                            data("3dstyle.rotationangle"));
620:                    addProp(THREEDSTYLE__ROTATIONCENTERX,
621:                            data("3dstyle.rotationcenterx"));
622:                    addProp(THREEDSTYLE__ROTATIONCENTERY,
623:                            data("3dstyle.rotationcentery"));
624:                    addProp(THREEDSTYLE__ROTATIONCENTERZ,
625:                            data("3dstyle.rotationcenterz"));
626:                    addProp(THREEDSTYLE__RENDERMODE, data("3dstyle.rendermode"));
627:                    addProp(THREEDSTYLE__TOLERANCE, data("3dstyle.tolerance"));
628:                    addProp(THREEDSTYLE__XVIEWPOINT, data("3dstyle.xviewpoint"));
629:                    addProp(THREEDSTYLE__YVIEWPOINT, data("3dstyle.yviewpoint"));
630:                    addProp(THREEDSTYLE__ZVIEWPOINT, data("3dstyle.zviewpoint"));
631:                    addProp(THREEDSTYLE__ORIGINX, data("3dstyle.originx"));
632:                    addProp(THREEDSTYLE__ORIGINY, data("3dstyle.originy"));
633:                    addProp(THREEDSTYLE__SKEWANGLE, data("3dstyle.skewangle"));
634:                    addProp(THREEDSTYLE__SKEWAMOUNT, data("3dstyle.skewamount"));
635:                    addProp(THREEDSTYLE__AMBIENTINTENSITY,
636:                            data("3dstyle.ambientintensity"));
637:                    addProp(THREEDSTYLE__KEYX, data("3dstyle.keyx"));
638:                    addProp(THREEDSTYLE__KEYY, data("3dstyle.keyy"));
639:                    addProp(THREEDSTYLE__KEYZ, data("3dstyle.keyz"));
640:                    addProp(THREEDSTYLE__KEYINTENSITY,
641:                            data("3dstyle.keyintensity"));
642:                    addProp(THREEDSTYLE__FILLX, data("3dstyle.fillx"));
643:                    addProp(THREEDSTYLE__FILLY, data("3dstyle.filly"));
644:                    addProp(THREEDSTYLE__FILLZ, data("3dstyle.fillz"));
645:                    addProp(THREEDSTYLE__FILLINTENSITY,
646:                            data("3dstyle.fillintensity"));
647:                    addProp(THREEDSTYLE__CONSTRAINROTATION,
648:                            data("3dstyle.constrainrotation"));
649:                    addProp(THREEDSTYLE__ROTATIONCENTERAUTO,
650:                            data("3dstyle.rotationcenterauto"));
651:                    addProp(THREEDSTYLE__PARALLEL, data("3dstyle.parallel"));
652:                    addProp(THREEDSTYLE__KEYHARSH, data("3dstyle.keyharsh"));
653:                    addProp(THREEDSTYLE__FILLHARSH, data("3dstyle.fillharsh"));
654:                    addProp(SHAPE__MASTER, data("shape.master"));
655:                    addProp(SHAPE__CONNECTORSTYLE, data("shape.connectorstyle"));
656:                    addProp(SHAPE__BLACKANDWHITESETTINGS,
657:                            data("shape.blackandwhitesettings"));
658:                    addProp(SHAPE__WMODEPUREBW, data("shape.wmodepurebw"));
659:                    addProp(SHAPE__WMODEBW, data("shape.wmodebw"));
660:                    addProp(SHAPE__OLEICON, data("shape.oleicon"));
661:                    addProp(SHAPE__PREFERRELATIVERESIZE,
662:                            data("shape.preferrelativeresize"));
663:                    addProp(SHAPE__LOCKSHAPETYPE, data("shape.lockshapetype"));
664:                    addProp(SHAPE__DELETEATTACHEDOBJECT,
665:                            data("shape.deleteattachedobject"));
666:                    addProp(SHAPE__BACKGROUNDSHAPE,
667:                            data("shape.backgroundshape"));
668:                    addProp(CALLOUT__CALLOUTTYPE, data("callout.callouttype"));
669:                    addProp(CALLOUT__XYCALLOUTGAP, data("callout.xycalloutgap"));
670:                    addProp(CALLOUT__CALLOUTANGLE, data("callout.calloutangle"));
671:                    addProp(CALLOUT__CALLOUTDROPTYPE,
672:                            data("callout.calloutdroptype"));
673:                    addProp(CALLOUT__CALLOUTDROPSPECIFIED,
674:                            data("callout.calloutdropspecified"));
675:                    addProp(CALLOUT__CALLOUTLENGTHSPECIFIED,
676:                            data("callout.calloutlengthspecified"));
677:                    addProp(CALLOUT__ISCALLOUT, data("callout.iscallout"));
678:                    addProp(CALLOUT__CALLOUTACCENTBAR,
679:                            data("callout.calloutaccentbar"));
680:                    addProp(CALLOUT__CALLOUTTEXTBORDER,
681:                            data("callout.callouttextborder"));
682:                    addProp(CALLOUT__CALLOUTMINUSX,
683:                            data("callout.calloutminusx"));
684:                    addProp(CALLOUT__CALLOUTMINUSY,
685:                            data("callout.calloutminusy"));
686:                    addProp(CALLOUT__DROPAUTO, data("callout.dropauto"));
687:                    addProp(CALLOUT__LENGTHSPECIFIED,
688:                            data("callout.lengthspecified"));
689:                    addProp(GROUPSHAPE__SHAPENAME, data("groupshape.shapename"));
690:                    addProp(GROUPSHAPE__DESCRIPTION,
691:                            data("groupshape.description"));
692:                    addProp(GROUPSHAPE__HYPERLINK, data("groupshape.hyperlink"));
693:                    addProp(GROUPSHAPE__WRAPPOLYGONVERTICES, data(
694:                            "groupshape.wrappolygonvertices",
695:                            EscherPropertyMetaData.TYPE_ARRAY));
696:                    addProp(GROUPSHAPE__WRAPDISTLEFT,
697:                            data("groupshape.wrapdistleft"));
698:                    addProp(GROUPSHAPE__WRAPDISTTOP,
699:                            data("groupshape.wrapdisttop"));
700:                    addProp(GROUPSHAPE__WRAPDISTRIGHT,
701:                            data("groupshape.wrapdistright"));
702:                    addProp(GROUPSHAPE__WRAPDISTBOTTOM,
703:                            data("groupshape.wrapdistbottom"));
704:                    addProp(GROUPSHAPE__REGROUPID, data("groupshape.regroupid"));
705:                    addProp(GROUPSHAPE__EDITEDWRAP,
706:                            data("groupshape.editedwrap"));
707:                    addProp(GROUPSHAPE__BEHINDDOCUMENT,
708:                            data("groupshape.behinddocument"));
709:                    addProp(GROUPSHAPE__ONDBLCLICKNOTIFY,
710:                            data("groupshape.ondblclicknotify"));
711:                    addProp(GROUPSHAPE__ISBUTTON, data("groupshape.isbutton"));
712:                    addProp(GROUPSHAPE__1DADJUSTMENT,
713:                            data("groupshape.1dadjustment"));
714:                    addProp(GROUPSHAPE__HIDDEN, data("groupshape.hidden"));
715:                    addProp(GROUPSHAPE__PRINT, data("groupshape.print",
716:                            EscherPropertyMetaData.TYPE_BOOLEAN));
717:                }
718:            }
719:
720:            private static void addProp(int s, EscherPropertyMetaData data) {
721:                properties.put(new Short((short) s), data);
722:            }
723:
724:            private static EscherPropertyMetaData data(String propName,
725:                    byte type) {
726:                return new EscherPropertyMetaData(propName, type);
727:            }
728:
729:            private static EscherPropertyMetaData data(String propName) {
730:                return new EscherPropertyMetaData(propName);
731:            }
732:
733:            public static String getPropertyName(short propertyId) {
734:                initProps();
735:                EscherPropertyMetaData o = (EscherPropertyMetaData) properties
736:                        .get(new Short(propertyId));
737:                return o == null ? "unknown" : o.getDescription();
738:            }
739:
740:            public static byte getPropertyType(short propertyId) {
741:                initProps();
742:                EscherPropertyMetaData escherPropertyMetaData = (EscherPropertyMetaData) properties
743:                        .get(new Short(propertyId));
744:                return escherPropertyMetaData == null ? 0
745:                        : escherPropertyMetaData.getType();
746:            }
747:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.