Mobile API Reference  MicroStrategy 2019
MSIHeaderValue.h
Go to the documentation of this file.
1 //
2 // HeaderValue.h
3 // IPadMain
4 //
5 // Created by Liang Chen on 8/12/10.
6 // Copyright 2010 MicroStrategy Inc. All rights reserved.
7 //
8 
10 
11 @interface MSIHeaderValue : NSObject {
12  MSIHeader* __weak owner;
13  NSString* headerValue;
14  NSInteger semantics;
15  NSString* rawValue;
16  NSString* htmlValue;
17 
18  //is this in the hexCode format or webcolor format, find out ???
19  //is this being assigned anywhere??? TODO CLEANUP
20  NSString* cellColor;
21  id <MSIDataProviderProtocol> __weak data;
23  NSInteger row;
24  NSInteger col;
25 
26  NSInteger color; // when formatting values, we might have the color as well.
27 
28  NSString* fontName;
32  int fontColor;
33  int dataType;
34  unsigned char dssDataFlag;
35  //int backgroundColor;
36 }
37 
41 @property (weak, nonatomic, readonly) NSString* headerValue;
46 @property (readonly) NSInteger semantics;
47 @property int dataType;
48 @property unsigned char dssDataFlag;
52 @property (nonatomic, strong, readonly) NSString* rawValue;
53 @property (nonatomic, strong, readonly) NSString* htmlValue;
54 @property (nonatomic, copy) NSString* cellColor;
55 @property (nonatomic, readonly) NSInteger row;
56 @property (nonatomic, readonly) NSInteger col;
57 @property (nonatomic, strong, readonly, getter=getFormat) MSIPropertyGroup* format;
58 @property (nonatomic) NSInteger color;
59 @property (nonatomic, strong) NSString* fontName;
60 
61 @property (nonatomic, readonly) BOOL isBold;
62 @property (nonatomic, readonly) BOOL isItalic;
63 @property (nonatomic, readonly) BOOL isUnderLine;
64 @property (nonatomic, readonly) int fontColor;
65 //@property (nonatomic, readonly) int backgroundColor;
66 
67 
68 - (void) setRowIndex:(NSInteger) rowIndex columnIndex:(NSInteger) colIndex;
69 
70 -(MSIPropertyGroup*) getFormat;
71 
72 - (NSInteger)type;
73 
77 - (MSIHeader*)header;
78 
83 - (NSString*) colorCode;
84 
89 - (NSString*) hexColorCode;
90 
91 -(UIFont*)collectFormatAndGetFormattedFont;
92 
93 + (NSString*) getHTMLLinkString:(NSString*)xmlStr;
94 
95 @end
BOOL isItalic
Definition: MSIHeaderValue.h:30
Definition: MSIHeaderValue.h:11
signed char BOOL
Definition: PDCwtypes.h:101
int dataType
Definition: MSIHeaderValue.h:33
Definition: Header.h:12
NSString * fontName
Definition: MSIHeaderValue.h:28
NSInteger semantics
Definition: MSIHeaderValue.h:14
NSInteger row
Definition: MSIHeaderValue.h:23
unsigned char dssDataFlag
Definition: MSIHeaderValue.h:34
NSString * rawValue
Definition: MSIHeaderValue.h:15
id< MSIDataProviderProtocol > __weak data
Definition: MSIHeaderValue.h:21
BOOL isBold
Definition: MSIHeaderValue.h:29
NSString * htmlValue
Definition: MSIHeaderValue.h:16
NSString * cellColor
Definition: MSIHeaderValue.h:20
NSInteger color
Definition: MSIHeaderValue.h:26
BOOL isUnderLine
Definition: MSIHeaderValue.h:31
int fontColor
Definition: MSIHeaderValue.h:32
MSIHeader *__weak owner
Definition: MSIHeaderValue.h:12
Definition: MSIPropertyGroup.h:16
NSInteger col
Definition: MSIHeaderValue.h:24
NSString * headerValue
Definition: MSIHeaderValue.h:13
MSIPropertyGroup * format
Definition: MSIHeaderValue.h:22