Mobile API Reference  MicroStrategy 2019
PropertyPackage.h
Go to the documentation of this file.
1 /*
2  * PropertyPackage.h
3  * IPhoneChart
4  *
5  * Created by dong shi on 1/11/11.
6  * Copyright 2011 __MyCompanyName__. All rights reserved.
7  *
8  */
9 
10 #ifndef MSICHART_PROPERTYPACKAGE_H
11 #define MSICHART_PROPERTYPACKAGE_H
12 
13 #include "../Common.h"
14 #ifndef _VE_CE
15 #include "DSSIPhoneEnums.h"
16 #endif
17 #include "map"
18 #include "vector"
19 class CComVariant;
20 
21 namespace MsiChart
22 {
23  typedef enum
24  {
25  //for grid.
79 
80  //other: non-grid & renamed begin
81  _unDefined = _gridEnd, //to save one slot.
85 
86 
136 
195 
201 
206 
218 
258 
259  //Newly Added To make the collection complete for Properties.mm
296 
297  //Newly added for IVE
305  //newly added
314  _resetToFirstPanelWhenTargeted, // TQMS 578048. By yzhi.
315  _copyMode,//newly added for copy mode
319  //ending
321 
322  //renamed
327 
330  }_GridProperty;
331 
333  {
334  public:
335  PropertyPackage(bool iIsForGridOnly);
337 
340 
341  bool IsPropertyUseDefault(CComVariant* ipVariant);
342  bool Find(_GridProperty iPropertyId);
343 
345  static size_t InitialMemeryUsage();
346  private:
347  //std::map<_GridProperty, CComVariant> msDefaultMap;
348  std::vector<CComVariant> msDefaultMap;
349  std::map<CComVariant*, bool> msDefaultAddressPool;
350  };
351 
352  //some one already named
353  //Attention: all the named ones should be put at the heading part
354  //Caller should adjust the starting index of the second section, make sure it exceeds all the named ones.
355  /*_unDefined = -10000,
356  _backgroundAlpha = DssGraphAreaAlpha,
357  _backgroundColor = DssGraphAreaColor,
358  _borderStyleBottom = DssGridBorderStyleBottom,
359  _borderStyleLeft = DssGridBorderStyleLeft,
360  _borderStyleRight = DssGridBorderStyleRight,
361  _borderStyleTop = DssGridBorderStyleTop,
362  _fontFamily = DssGraphFontName,
363  _fontWeight = DssGridFontStyleBold,
364  _fontSize = DssGraphFontSize,
365  _numberFormat = - 616,
366  _textAlign = DssGraphFontAlign,
367  */
368 
369 }
370 
371 #endif
Definition: PropertyPackage.h:60
Definition: PropertyPackage.h:200
Definition: PropertyPackage.h:318
Definition: PropertyPackage.h:127
Definition: PropertyPackage.h:129
Definition: PropertyPackage.h:291
Definition: PropertyPackage.h:207
Definition: PropertyPackage.h:165
Definition: PropertyPackage.h:72
Definition: PropertyPackage.h:248
Definition: PropertyPackage.h:270
Definition: PropertyPackage.h:143
Definition: PropertyPackage.h:114
Definition: PropertyPackage.h:39
Definition: PropertyPackage.h:30
Definition: PropertyPackage.h:64
Definition: PropertyPackage.h:88
Definition: PropertyPackage.h:116
Definition: PropertyPackage.h:279
Definition: PropertyPackage.h:241
Definition: PropertyPackage.h:263
Definition: PropertyPackage.h:118
Definition: PropertyPackage.h:51
Definition: PropertyPackage.h:153
Definition: PropertyPackage.h:67
Definition: PropertyPackage.h:70
Definition: PropertyPackage.h:120
Definition: PropertyPackage.h:101
Definition: PropertyPackage.h:168
Definition: PropertyPackage.h:269
Definition: PropertyPackage.h:83
Definition: PropertyPackage.h:247
Definition: PropertyPackage.h:285
Definition: PropertyPackage.h:272
Definition: PropertyPackage.h:76
Definition: PropertyPackage.h:155
Definition: PropertyPackage.h:28
Definition: PropertyPackage.h:313
Definition: PropertyPackage.h:133
Definition: PropertyPackage.h:91
Definition: PropertyPackage.h:162
Definition: PropertyPackage.h:180
Definition: PropertyPackage.h:266
Definition: PropertyPackage.h:84
Definition: PropertyPackage.h:302
Definition: PropertyPackage.h:90
Definition: PropertyPackage.h:228
Definition: PropertyPackage.h:166
Definition: PropertyPackage.h:115
Definition: PropertyPackage.h:58
Definition: PropertyPackage.h:130
Definition: PropertyPackage.h:312
Definition: PropertyPackage.h:286
Definition: PropertyPackage.h:185
Definition: PropertyPackage.h:309
Definition: PropertyPackage.h:211
Definition: PropertyPackage.h:251
Definition: PropertyPackage.h:71
Definition: PropertyPackage.h:154
bool mIsGridOnly
Definition: PropertyPackage.h:344
Definition: PropertyPackage.h:78
Definition: PropertyPackage.h:274
Definition: PropertyPackage.h:265
Definition: PropertyPackage.h:87
Definition: PropertyPackage.h:256
Definition: PropertyPackage.h:220
Definition: PropertyPackage.h:233
Definition: PropertyPackage.h:44
Definition: PropertyPackage.h:151
Definition: PropertyPackage.h:142
Definition: PropertyPackage.h:43
Definition: PropertyPackage.h:329
Definition: PropertyPackage.h:29
Definition: PropertyPackage.h:237
Definition: PropertyPackage.h:94
Definition: PropertyPackage.h:283
Definition: PropertyPackage.h:102
Definition: PropertyPackage.h:234
Definition: PropertyPackage.h:170
Definition: PropertyPackage.h:77
Definition: PropertyPackage.h:150
Definition: PropertyPackage.h:209
Definition: PropertyPackage.h:176
Definition: PropertyPackage.h:160
Definition: PropertyPackage.h:231
Definition: PropertyPackage.h:38
Definition: PropertyPackage.h:293
Definition: PropertyPackage.h:74
Definition: PropertyPackage.h:123
Definition: PropertyPackage.h:89
Definition: PropertyPackage.h:99
Definition: PropertyPackage.h:132
Definition: PropertyPackage.h:49
Definition: PropertyPackage.h:167
Definition: PropertyPackage.h:33
Definition: PropertyPackage.h:145
Definition: PropertyPackage.h:157
Definition: PropertyPackage.h:232
Definition: PropertyPackage.h:198
Definition: PropertyPackage.h:314
Definition: PropertyPackage.h:254
Definition: PropertyPackage.h:210
Definition: PropertyPackage.h:36
Definition: PropertyPackage.h:105
Definition: PropertyPackage.h:306
Definition: PropertyPackage.h:255
Definition: PropertyPackage.h:140
Definition: PropertyPackage.h:294
Definition: PropertyPackage.h:175
Definition: PropertyPackage.h:213
Definition: PropertyPackage.h:109
Definition: PropertyPackage.h:56
Definition: PropertyPackage.h:122
Definition: PropertyPackage.h:332
Definition: PropertyPackage.h:315
Definition: PropertyPackage.h:45
Definition: PropertyPackage.h:243
Definition: PropertyPackage.h:216
Definition: PropertyPackage.h:92
Definition: PropertyPackage.h:26
Definition: PropertyPackage.h:280
Definition: PropertyPackage.h:202
Definition: PropertyPackage.h:287
Definition: PropertyPackage.h:208
#define Int32
Definition: BasicTypes.h:20
Definition: PropertyPackage.h:308
Definition: PropertyPackage.h:135
Definition: PropertyPackage.h:54
Definition: PropertyPackage.h:236
Definition: PropertyPackage.h:199
Definition: PropertyPackage.h:196
Definition: PropertyPackage.h:275
Definition: PropertyPackage.h:125
bool Find(_GridProperty iPropertyId)
Definition: PropertyPackage.h:186
Definition: PropertyPackage.h:181
Definition: PropertyPackage.h:69
Definition: PropertyPackage.h:229
PropertyPackage(bool iIsForGridOnly)
Definition: PropertyPackage.h:126
Definition: PropertyPackage.h:246
Definition: PropertyPackage.h:179
Definition: PropertyPackage.h:197
Definition: PropertyPackage.h:111
Definition: PropertyPackage.h:95
Definition: PropertyPackage.h:52
Definition: PropertyPackage.h:53
Definition: PropertyPackage.h:277
Definition: PropertyPackage.h:100
Definition: PropertyPackage.h:113
Definition: PropertyPackage.h:311
Definition: PropertyPackage.h:204
Definition: PropertyPackage.h:73
Definition: PropertyPackage.h:50
Definition: PropertyPackage.h:282
Definition: PropertyPackage.h:238
Definition: PropertyPackage.h:137
Definition: PropertyPackage.h:57
Definition: PropertyPackage.h:182
Definition: PropertyPackage.h:117
Definition: PropertyPackage.h:55
Definition: PropertyPackage.h:219
Definition: PropertyPackage.h:189
Definition: PropertyPackage.h:37
Definition: PropertyPackage.h:244
Definition: PropertyPackage.h:106
Definition: PropertyPackage.h:108
Definition: PropertyPackage.h:82
Definition: PropertyPackage.h:62
Definition: PropertyPackage.h:27
Definition: PropertyPackage.h:214
Definition: PropertyPackage.h:40
Definition: PropertyPackage.h:121
Definition: PropertyPackage.h:68
Definition: PropertyPackage.h:163
Definition: PropertyPackage.h:261
Definition: PropertyPackage.h:187
Definition: PropertyPackage.h:317
Definition: PropertyPackage.h:205
Definition: PropertyPackage.h:190
Definition: PropertyPackage.h:169
Definition: PropertyPackage.h:161
Definition: PropertyPackage.h:271
Definition: PropertyPackage.h:235
Definition: PropertyPackage.h:225
Definition: PropertyPackage.h:148
Definition: PropertyPackage.h:47
Definition: PropertyPackage.h:267
Definition: PropertyPackage.h:159
Definition: PropertyPackage.h:328
Definition: PropertyPackage.h:289
Definition: PropertyPackage.h:31
Definition: ABLPlot.h:21
Definition: PropertyPackage.h:173
Definition: PropertyPackage.h:124
Definition: PropertyPackage.h:292
Definition: PropertyPackage.h:138
Definition: PropertyPackage.h:96
Definition: PropertyPackage.h:41
Definition: PropertyPackage.h:250
Definition: PropertyPackage.h:98
Definition: PropertyPackage.h:184
Definition: PropertyPackage.h:300
Definition: PropertyPackage.h:310
Definition: PropertyPackage.h:178
Definition: PropertyPackage.h:304
Definition: PropertyPackage.h:188
static size_t InitialMemeryUsage()
Definition: PropertyPackage.h:194
Definition: PropertyPackage.h:107
Definition: PropertyPackage.h:158
Definition: PropertyPackage.h:290
Definition: PropertyPackage.h:191
Definition: PropertyPackage.h:141
Definition: PropertyPackage.h:63
Definition: PropertyPackage.h:174
Definition: PropertyPackage.h:172
CComVariant * GetDefaultPropertyValue(Int32 iPropertyId)
Definition: PropertyPackage.h:324
Definition: PropertyPackage.h:252
Definition: PropertyPackage.h:240
Definition: PropertyPackage.h:273
Definition: PropertyPackage.h:59
Definition: PropertyPackage.h:230
Definition: PropertyPackage.h:249
_GridProperty
Definition: PropertyPackage.h:23
Definition: PropertyPackage.h:110
Definition: PropertyPackage.h:66
Definition: Msi_ccomvariant.h:24
Definition: PropertyPackage.h:147
Definition: PropertyPackage.h:119
Definition: PropertyPackage.h:325
Definition: PropertyPackage.h:164
Definition: PropertyPackage.h:131
Definition: PropertyPackage.h:222
Definition: PropertyPackage.h:171
Definition: PropertyPackage.h:303
Definition: PropertyPackage.h:35
Definition: PropertyPackage.h:48
Definition: PropertyPackage.h:227
Definition: PropertyPackage.h:281
Definition: PropertyPackage.h:34
Definition: PropertyPackage.h:239
Definition: PropertyPackage.h:134
Definition: PropertyPackage.h:46
Definition: PropertyPackage.h:268
Definition: PropertyPackage.h:32
Definition: PropertyPackage.h:253
Definition: PropertyPackage.h:112
Definition: PropertyPackage.h:144
Definition: PropertyPackage.h:295
Definition: PropertyPackage.h:212
Definition: PropertyPackage.h:215
Definition: PropertyPackage.h:42
Definition: PropertyPackage.h:260
Definition: PropertyPackage.h:81
Definition: PropertyPackage.h:221
Definition: PropertyPackage.h:93
Definition: PropertyPackage.h:152
Definition: PropertyPackage.h:224
Definition: PropertyPackage.h:156
Definition: PropertyPackage.h:276
Definition: PropertyPackage.h:323
Definition: PropertyPackage.h:65
Definition: PropertyPackage.h:226
Definition: PropertyPackage.h:320
Definition: PropertyPackage.h:97
Definition: PropertyPackage.h:75
Definition: PropertyPackage.h:183
Definition: PropertyPackage.h:128
Definition: PropertyPackage.h:316
Definition: PropertyPackage.h:298
Definition: PropertyPackage.h:278
Definition: PropertyPackage.h:245
Definition: PropertyPackage.h:264
Definition: PropertyPackage.h:223
Definition: PropertyPackage.h:203
Definition: PropertyPackage.h:61
Definition: PropertyPackage.h:242
bool IsPropertyUseDefault(CComVariant *ipVariant)
Definition: PropertyPackage.h:326
Definition: PropertyPackage.h:146
Definition: PropertyPackage.h:193
Definition: PropertyPackage.h:307
Definition: PropertyPackage.h:299
Definition: PropertyPackage.h:288
Definition: PropertyPackage.h:262
Definition: PropertyPackage.h:177
Definition: PropertyPackage.h:139
Definition: PropertyPackage.h:149
Definition: PropertyPackage.h:192
Definition: PropertyPackage.h:301
Definition: PropertyPackage.h:284
Definition: PropertyPackage.h:104
Definition: PropertyPackage.h:257
Definition: PropertyPackage.h:103
Definition: PropertyPackage.h:217