Mobile API Reference  MicroStrategy 2019
MSIHeaderValue Class Reference

#import <MSIHeaderValue.h>

Inheritance diagram for MSIHeaderValue:
MSIDataElement MSIMetricValue MSIAttributeElement MSIConsolidationElement MSICustomGroupElement MSICustomGroupItemElement MSISubtotalElement

Instance Methods

(void) - setRowIndex:columnIndex:
 
(MSIPropertyGroup *) - getFormat
 
(NSInteger) - type
 
(MSIHeader *) - header
 
(NSString *) - colorCode
 
(NSString *) - hexColorCode
 
(UIFont *) - collectFormatAndGetFormattedFont
 

Class Methods

(NSString *) + getHTMLLinkString:
 

Protected Attributes

MSIHeader *__weak owner
 
NSString * headerValue
 
NSInteger semantics
 
NSString * rawValue
 
NSString * htmlValue
 
NSString * cellColor
 
id< MSIDataProviderProtocol > __weak data
 
MSIPropertyGroupformat
 
NSInteger row
 
NSInteger col
 
NSInteger color
 
NSString * fontName
 
BOOL isBold
 
BOOL isItalic
 
BOOL isUnderLine
 
int fontColor
 
int dataType
 
unsigned char dssDataFlag
 

Method Documentation

◆ collectFormatAndGetFormattedFont()

- (UIFont*) collectFormatAndGetFormattedFont

◆ colorCode()

- (NSString*) colorCode

Returns the color for this cell, as set in MSTR Web.

Returns
String color code (RGB). //It seems from other places that this would return in BGR format??srini

◆ getFormat()

- (MSIPropertyGroup*) getFormat

◆ getHTMLLinkString:()

+ (NSString*) getHTMLLinkString: (NSString *)  xmlStr

◆ header()

- (MSIHeader*) header

MSIHeader object corresponding to this header value.

◆ hexColorCode()

- (NSString*) hexColorCode

Returns the color of this cell in the regular hex code. There won't be any # in the resuting string. It would be of the format "3244af"

◆ setRowIndex:columnIndex:()

- (void) setRowIndex: (NSInteger)  rowIndex
columnIndex: (NSInteger)  colIndex 

◆ type()

- (NSInteger) type

Member Data Documentation

◆ cellColor

- (NSString *) cellColor
readwritenonatomiccopyprotected

◆ col

- (NSInteger) col
readnonatomicassignprotected

◆ color

- (NSInteger) color
readwritenonatomicassignprotected

◆ data

- (id<MSIDataProviderProtocol> __weak) data
protected

◆ dataType

- (int) dataType
readwriteprotected

◆ dssDataFlag

- (unsigned char) dssDataFlag
readwriteprotected

◆ fontColor

- (int) fontColor
readnonatomicassignprotected

◆ fontName

- (NSString *) fontName
readwritenonatomicstrongprotected

◆ format

- (MSIPropertyGroup *) format
readnonatomicstrongprotected

◆ headerValue

- (NSString *) headerValue
readnonatomicweakprotected

The value of this cell. This string represents the formatted value.

◆ htmlValue

- (NSString *) htmlValue
readnonatomicstrongprotected

◆ isBold

- (BOOL) isBold
readnonatomicassignprotected

◆ isItalic

- (BOOL) isItalic
readnonatomicassignprotected

◆ isUnderLine

- (BOOL) isUnderLine
readnonatomicassignprotected

◆ owner

- (MSIHeader* __weak) owner
protected

◆ rawValue

- (NSString *) rawValue
readnonatomicstrongprotected

The raw (unformatted) value of the cell (if present).

◆ row

- (NSInteger) row
readnonatomicassignprotected

◆ semantics

- (NSInteger) semantics
readassignprotected

Indicates the semantic type of the header value

See also
BaseFormSemanticType