9 #import <Foundation/Foundation.h> 16 @class GridGraphViewer;
17 @class LinkDrillParameters;
18 @class LayoutManagerViewer;
19 @class LayoutManagerController;
21 @class DocumentThemeHelper;
22 @class DocumentRenderer;
23 @class InfoWindowContainerViewer;
75 @property (nonatomic, weak) UIView* mView;
76 @property (nonatomic) CGRect mRect;
77 @property (nonatomic)
BOOL mAddToPass;
79 @property (nonatomic, strong) NSString* mInfoWinLayoutKey;
80 @property (nonatomic) NSInteger mPreferredPlacement;
81 @property (nonatomic)
int mEventType;
86 @property (nonatomic)
BOOL mNeedRedraw;
133 @class TransactionParameters;
134 @class CarryOverSelectionsSet;
143 @class TransactionParameters;
144 @class DocumentManipulation;
145 @class ManipulationContext;
148 @class DrillXMLCommandParameters;
149 @class TransactionSubmission;
152 typedef std::map<std::string, std::vector<id<IViewer> __unsafe_unretained> >
MapNodeKeyToViewers;
275 @property (nonatomic, weak) id<RWDDashboardDelegate> delegate;
276 @property (nonatomic, copy) NSString* baseURL;
277 @property (nonatomic)
int webserverType;
279 @property (nonatomic)
BOOL enableGraphTooltips;
280 @property (nonatomic) CGFloat groupbyHeight;
281 @property (nonatomic) CGRect frameForView;
282 @property (nonatomic)
short layoutBarStyle;
283 @property (nonatomic)
short layoutBarPosition;
284 @property (nonatomic)
bool enableZoomByPinchOrDoubleTap;
285 @property (nonatomic, strong) UIView* groupbyViewer;
286 @property (nonatomic)
BOOL runAsReport;
287 @property (nonatomic)
BOOL forceUpdateSubviews;
288 @property (nonatomic)
BOOL hasLayoutBarPortrait;
289 @property (nonatomic)
BOOL isReport;
290 @property (nonatomic, weak) UIImage* mpDefaultFailImage;
291 @property (nonatomic)
BOOL isPostOrion;
292 @property (nonatomic)
BOOL disableGraphAnimation;
293 @property (nonatomic, strong)
ViewerDataModel* layoutContainerViewerModel;
294 @property (nonatomic)
BOOL containWidget;
297 @property (nonatomic)
BOOL skipAddNGBSection;
298 @property (nonatomic, readonly)
BOOL firstNGBRow;
299 @property (nonatomic, readonly)
BOOL lastNGBRow;
300 @property (nonatomic, readonly)
BOOL hasNGBAll;
302 @property (nonatomic)
BOOL isAnyCommandRunning;
303 @property (nonatomic)
BOOL cancelInfoWindowPopping;
304 @property (nonatomic)
bool isScrollingOrZooming;
305 @property (nonatomic)
BOOL isVIDocument;
306 @property (nonatomic, assign)
BOOL showFilterPanel;
307 @property (nonatomic)
ThemeType mThemeType;
308 @property (nonatomic)
BOOL isHTML5VIDocument;
309 @property (nonatomic, weak) LayoutManagerViewer* layoutManagerViewer;
310 @property (nonatomic, weak) LayoutManagerController* layoutManagerController;
311 @property (nonatomic)
BOOL inSDKMode;
312 @property (nonatomic)
BOOL isViewFitWidth;
313 @property (nonatomic) CGFloat sdkScaleRatio;
314 @property (nonatomic)
BOOL inPreviewGeneration;
315 @property (nonatomic)
BOOL previewCancelled;
316 @property (nonatomic)
BOOL updatePreviewInMain;
317 @property (nonatomic, strong) UIView * dockedHeaderView;
318 @property (nonatomic, strong) UIView * dockedFooterView;
319 @property (nonatomic)
BOOL mRenderingHeader;
320 @property (nonatomic)
BOOL mRenderingFooter;
321 @property (nonatomic) CGFloat layoutWidth;
322 @property (nonatomic)
BOOL inGBA;
323 @property (nonatomic)
bool mEnableCopyForText;
324 @property (atomic)
BOOL duringRWDDashboardViewFadeInAnimation;
326 @property (nonatomic, weak)UIView* responderSelectableTextViewer;
327 @property (nonatomic, strong)LinkDrillParameters* linkdrillParam;
328 @property (nonatomic)
BOOL isTableObjectNode;
329 @property (nonatomic)
BOOL isVIDocumentChanged;
330 @property (nonatomic, weak)DocumentRenderer* documentRenderer;
331 @property (nonatomic)CGFloat documentScaleRatio;
332 @property (nonatomic)CGFloat documentScaleRatioVertical;
333 @property (nonatomic, strong)NSMutableSet * widgetSet;
334 @property (nonatomic)
BOOL hasWidget;
336 @property (nonatomic)
BOOL needRescaleForiPhone6;
337 @property (nonatomic, readonly)
BOOL applyGroupByToAllLayouts;
338 @property (nonatomic)
BOOL allowOfflineSubmit;
339 @property (nonatomic)
BOOL submitInOrder;
352 - (void) notifyPanelStackResetToFirstPanel:(const
std::
string &) selectorKey;
359 - (void) findAllPanelStackTargets:(
DSSRWControl *)ipRWControl
367 - (void) findFirstPanelStackTargets:(
DSSRWControl *)ipRWControl
376 withIndex:(const
int) iIdx;
384 - (void)executeCommitTransactionWithTargetKeys:(NSArray*)targetKeys;
389 - (void)setDocContext:(MSIDocumentContext *)iDocContext;
391 - (MSIDocumentContext *)getDocContext;
393 - (NSArray*)getPaletteColors;
397 - (void)registerViewer:(
id<
IViewer>)iViewer forNodeKey:(
std::
string)iNodeKey;
399 - (void)unregisterViewer:(
id<
IViewer>)iViewer;
401 - (void)unregisterViewersWithNodeKey:(
std::
string)iNodeKey;
403 - (void*)getCommandByType:(
int)iType;
405 - (
std::vector<void*>)getAvailableCommandTypes:(
void*)iCellHandle;
408 - (int)executeCommands:(const
std::vector<
Command*>&)iCommands;
409 - (int)executeCommands:(const
std::vector<
Command*>&)iCommands asyncExec:(
BOOL)async;
410 - (int)executeCommands:(const
std::vector<
Command*>&)iCommands ShowWaitView:(
BOOL)showWaitView;
411 - (int)executeCommands:(const
std::vector<
Command*>&)iCommands showWaitViewOnView:(UIView*)view;
419 - (void)updatePreviewImages:(NSDictionary*)images;
421 - (void)generatePreviewImage;
423 - (void)setRootViewContainer:(UIView*)iRootViewContainer;
425 - (UIView*)getRootViewContainer;
427 - (void)setRWDDashBoardView:(UIView*)RWDDashBoardView;
429 - (UIView*)getRWDDashBoardView;
431 - (void)registerMasterView:(
id<
IViewer>)iViewer forNodeKey:(
std::
string)iNodeKey;
432 - (void)unregisterMasterViewer:(
id <
IViewer>)iViewer;
434 - (void)hideAllInfoWindows:(
BOOL)animated;
437 - (void)getImagesFromIServer:(NSArray*) iImagesArray forTimeStamp: (NSArray*) iImagesTimeStamp forAsync:(
BOOL)ibAsync;
439 - (void)setDisplayMode:(
int)iDispalyMode;
441 - (int)getDisplayMode;
443 - (
BOOL)isMultiSelectionMode;
445 - (void)afterManipulation:(NSValue*)iValue;
448 - (void)beginReplayManipulation;
449 - (
BOOL)replayManipulations:(NSArray*)events WithData:(NSData*)newData WithFlags:(
unsigned int)flags;
450 - (
BOOL)replayManipulation:(NSString*)events WithData:(NSData*)newData WithFlags:(
unsigned int)flags;
451 - (void)replayDrillManipulation:(DrillXMLCommandParameters*)parameters WithData:(NSData*)newData;
452 - (void)endReplayManipulation:(
BOOL)needRefresh;
453 - (void)executeLinkDrill:(LinkDrillParameters*) linkDrillParams;
454 - (
BOOL)validateCacheExecuteLinkDrill:(LinkDrillParameters*) linkDrillParams;
460 - (void)handleEPUB:(
MSIURLHelper*) _urlHelper withSender:(UIView *) iView;
464 - (NSString*)getClientManipulations;
465 - (void)clearClientManipulations;
468 - (NSString*)getSelectedElementOfAttribute:(NSString*)attributeId;
469 - (void)enableInteraction:(
BOOL)enabled;
471 - (void)getEmptyGridDisplay:(NSString**) emptyMessage display:(
BOOL*) displayEmptyMsg;
472 - (void)afterBinaryApplied:(
BOOL)iSuccess;
473 - (
BOOL)isDuringBackward;
474 - (
BOOL)isDisabledforShowPrompt;
483 - (
BOOL)hasPreviousPage;
487 - (
BOOL)goToNextPage;
491 - (
BOOL)goToPreviousPage;
495 - (
BOOL)isNGBSelectionsInited;
503 - (
BOOL)needReInitNGBSelections;
507 - (void)reinitNGBSelections;
511 - (void)clearNGBSelectionsAllFields;
515 - (void)getCurrentPageIndex:(
int&)iCurrentPageIndex totalPageCount:(
int&)iTotalPagesCount;
519 - (void)updateNGBSelectionAfterRotation;
527 - (int)getNGBFirstRowIndexInCurrentPage;
531 - (void) setContentScaleFactorOnDemandToViews:(UIView*) iView rootView:(UIView*) iRootView;
532 - (void) setContentScaleFactorOnDemandToViews:(UIView*) iView rootView:(UIView*) iRootView informView:(
BOOL)inform;
534 - (void) restoreZoomForBackOperation;
535 - (void) zoomDashboardToScale:(CGFloat)iScale;
538 - (void) requestMissingBinaryBlock:(NSString*) iLayoutKey;
541 - (void) showWaitViewOnTop;
542 - (void) dismissWaitViewOnTop;
543 - (void)dataModelCreationFailed;
544 - (void)hideMasterPanel:(
BOOL)disable;
545 - (void)showMasterPanel;
548 - (void)restoreDetailedTransactionModel:(TransactionParameters*)iTransactionParameters;
549 - (void)restoreDetailedTransactionArray:(NSArray*)iTransactionDetails;
550 - (NSArray*)getDetailedTransactionData;
552 - (GridGraphViewer*)getGridGraphViewerForReport;
555 -(void) hideRightNavigationBarButtons;
556 -(void) showRightNavigationBarButtons;
559 - (void) saveWidgetStateWithObject:(
id)obj forKey:(
id)key;
560 - (id) loadWidgetStateForKey:(
id)key;
563 - (void)saveWidgetState:(
id)obj forKey:(
id)key;
564 - (id)loadWidgetState:(
id)key;
567 - (CarryOverSelectionsSet*)carryOverSelections;
568 - (CarryOverSelectionsSet*)carryOverSelectionsWithMode:(
CarryOverSelectedMode)mode withPromptMode:(
BOOL)promptMode currentPrompt:(NSString *)currentPrompt;
576 - (
BOOL) replayCarryOverSelections:(CarryOverSelectionsSet*)selections refreshUI:(
BOOL)refresh;
577 - (id) replayCarryOverPrompts:(CarryOverSelectionsSet*)selections withPromptQuestionXML:(NSData*)promptQestion withPrompts:(
id)data;
580 - (void)photoUploadImageChange:(const
std::vector<
Command*>&)iCommands nodeKey:(NSString*)ipNodeKey imgPath:(NSString*)ipImgPath;
583 - (void)photoUploadImageChange:(const
std::vector<
Command*>&)iCommands nodeKey:(NSString*)ipNodeKey imgPath:(NSString*)ipImgPath shouldReplacePreImage:(
BOOL) replace;
586 - (void)photoUploadImageChange:(NSString*)ipNodeKey imgPath:(NSString*)ipImgPath;
589 - (void)photoUploadImageChange:(NSString *)ipNodeKey imgPath:(NSString *)ipImgPath shouldReplacePreImage:(
BOOL) replace;
597 -(
DSSRWIterator*) getDSSRWIteratorForTransactionReport:(NSString*)transactionReportID;
600 - (void) refreshInstanceWithData:(NSData*)newData;
603 - (
std::vector<DSSRWSectionNode*>)getPanelNodeFromPanelSelectionURLHelper:(
MSIURLHelper*) iUrlHelper;
604 - (
BOOL)checkForTransactionUpdate;
606 #pragma mark Mobile rotation 608 - (NSInteger) chooseDocumentViewForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
609 - (
BOOL)shouldCancelRendering;
610 @property (nonatomic) NSInteger currentDocumentView;
613 - (NSUInteger)getNumberOfDocumentViews;
617 - (void)handleRenderFinishTime:(NSDate *)date;
620 - (CGRect) updateRootViewerContainerFrame: (CGRect)frame;
621 - (CGFloat) getHeaderSectionYOffset;
622 - (double) getDockedHeaderHeight;
623 - (double) getDockedFooterHeight;
624 - (CGFloat) getCalGroupbyHeight;
625 - (UIView *) checkIfInDockedSection:(UIView *)view;
626 - (
BOOL)isViewerDocked:(UIView*)view;
630 - (void)disableIPhoneLayoutBar:(
BOOL)disable;
632 -(NSArray*)getAllDataSetIDs;
633 -(NSDictionary*)getDatasetPromptAnswers;
641 - (NSString*) getCurrentVisualizationContentPanelStackKey;
645 - (NSString*) getVisualizationContentPanelStackKeyForLayout:(NSString*)iLayoutKey;
649 - (void) setVisualizationContentPanelStackKey:(NSString*)iVIContentPanelStackKey forLayout:(NSString*)iLayoutKey;
653 - (void) removeVisualizationContentPanelStackKeyForLayout:(NSString*)iLayoutKey;
657 - (NSString*) getCurrentLayoutKey;
661 - (NSArray *) getAllLayoutNames;
663 - (NSArray *) getAllLayoutKeys;
665 - (NSString*) getCurrentLayoutName;
667 - (
BOOL)isFullScreen;
669 - (
BOOL) hasNavigationTabBar;
671 -(DocumentThemeHelper*) documentThemeHelperWithComponentKey:(NSString*)componnetKey;
675 - (NSData*)getViewersStatus;
683 - (int)replayViewersStatus:(NSData*)iData;
687 - (NSData*)getSavedViewerStatus:(NSString*)iViewerID;
689 - (void) increaseWidgetCount:(
id)viewer;
690 - (void) decreaseWidgetCount:(
id)viewer;
692 - (NSString*)documentName;
694 - (void)viewEvaluationFinish;
699 - (NSInteger)getColorByItemIndexByColorByString:(NSString*) colorByItemString;
708 - (CATransform3D)getRescaleTransformForIPhone6:(CGFloat)originHeight
709 isLandscape:(
BOOL)isLandscape
710 isFullscreenDoc:(
BOOL)isFullscreen
711 extraOccupiedHeight:(CGFloat)extraOccupiedHeight;
716 - (NSArray*)getViewerChangedListAfterManipulation;
720 - (void)handleWillQuitExport:(
void (^)())handler;
722 - (bool)shouldDismissIW:(InfoWindowContainerViewer *)infoWindow withURLHelper:(
MSIURLHelper *)urlHelper;
728 - (void) saveAsVIDocument:(NSString*)folderID andDocName:(NSString*)docName andDocDesc:(NSString*)docDescription andSFlag:(
EnumDSSXMLDocSaveAsFlags)flag;
729 - (void) createNewFolder:(NSString*)parentFolderID andFolderName:(NSString*)folderName andFolderDesc:(NSString*)folderDescription;
739 @property (nonatomic) std::vector<Command*> mCommands;
ThemeType mThemeType
Definition: Commander.h:228
std::map< std::string, std::vector< id< IViewer > __unsafe_unretained > > MapNodeKeyToViewers
Definition: Commander.h:150
CGFloat layoutWidth
Definition: Commander.h:253
BOOL isVIDocument
Definition: Commander.h:224
BOOL mRenderingFooter
Definition: Commander.h:252
BOOL cancelInfoWindowPopping
Definition: Commander.h:216
signed char BOOL
Definition: PDCwtypes.h:101
NSString * baseURL
Definition: Commander.h:165
Definition: DSSObjectContext.h:235
BOOL disableGraphAnimation
Definition: Commander.h:200
NSMutableDictionary * mpViewerStatusDict
Definition: Commander.h:267
ManipulationType previousManipulationType
Definition: Commander.h:178
enum _ManipulationType ManipulationType
Definition: Commander.h:105
void * mCommand
Definition: Commander.h:65
bool mUseNewWorkflow
Definition: Commander.h:234
Definition: Commander.h:117
BOOL allowOfflineSubmit
Definition: Commander.h:269
NSMutableDictionary * mpWidgetState
Definition: Commander.h:220
Command * asyncCommand
Definition: Commander.h:174
EnumDSSXMLDocSaveAsFlags
Definition: DSSIPhoneEnums.h:3436
Definition: DSSRWControl.h:25
Definition: Commander.h:52
Definition: DSSBaseElementProxy.h:16
UIImage *__weak mpDefaultFailImage
Definition: Commander.h:190
Definition: Commander.h:93
BOOL skipAddNGBSection
Definition: Commander.h:213
Definition: DSSDocumentInstance.h:60
int drillType
Definition: Commander.h:176
MSIURLHelper * urlHelper
Definition: Commander.h:180
Definition: DSSRWNode.h:20
BOOL previewCancelled
Definition: Commander.h:244
std::map< std::string, std::string > MapNameToNodeKey
Definition: Commander.h:153
Definition: RWDDashboardDelegate.h:38
Definition: Commander.h:105
Definition: Commander.h:58
UIView *__weak mRWDDashBoardView
Definition: Commander.h:170
Definition: Commander.h:85
Definition: LessThanGUID.h:49
_ManipulationType
Definition: Commander.h:103
BOOL mApplyGroupByToAllLayouts
Definition: Commander.h:264
Definition: Commander.h:64
short vizLevel
Definition: Commander.h:206
Definition: Commander.h:726
UIView *__weak mRootViewContainer
Definition: Commander.h:169
Definition: DSSFormat.h:19
CGRect frameForView
Definition: Commander.h:184
Definition: Commander.h:109
BOOL isPostOrion
Definition: Commander.h:198
BOOL isTableObjectNode
Definition: Commander.h:260
Definition: Commander.h:118
EnumCommandContextType
Definition: Commander.h:55
NGBSelections()
Definition: Commander.h:100
DSSDocumentInstance * docInstance
Definition: Commander.h:157
Definition: Commander.h:41
DSSRWSectionIterator * topNGBIterator
Definition: Commander.h:97
EnumInfoWindowEventType
Definition: Commander.h:47
Definition: DSSCManipulationSetCurrentPanel.h:20
TransactionSubmission * transactionSubmission
Definition: Commander.h:261
Definition: Commander.h:105
Definition: ViewerDataModel.h:19
Definition: Commander.h:115
Definition: Commander.h:50
UIView * groupbyViewer
Definition: Commander.h:193
Definition: DSSRWSectionNode.h:20
UIView * currentView
Definition: Commander.h:255
BOOL inSDKMode
Definition: Commander.h:239
GridGraphViewer *__weak mpGridGraphViewer
Definition: Commander.h:217
DocumentManipulation * documentManipulation
Definition: Commander.h:235
short layoutBarStyle
Definition: Commander.h:186
int webserverType
Definition: Commander.h:167
BOOL mRenderingHeader
Definition: Commander.h:251
BOOL hasLayoutBarPortrait
Definition: Commander.h:196
Definition: Commander.h:110
MSIDocumentContext * docContext
Definition: Commander.h:158
Definition: Commander.h:74
BOOL isReport
Definition: Commander.h:197
id mContext
Definition: Commander.h:67
CGFloat groupbyHeight
Definition: Commander.h:183
Definition: Commander.h:124
BOOL mIsNGBNeedRestored
Definition: Commander.h:263
BOOL waitForPreviousManipulation
Definition: Commander.h:177
Definition: Commander.h:116
Definition: Commander.h:104
EnumReplayManipulationsFlags
Definition: Commander.h:39
LayoutManagerViewer *__weak mLayoutManagerViewer
Definition: Commander.h:230
BOOL containWidget
Definition: Commander.h:205
BOOL inPreviewGeneration
Definition: Commander.h:245
id< RWDDashboardDelegate > __weak delegate
Definition: Commander.h:159
int rowIndex
Definition: Commander.h:95
Definition: Commander.h:59
UIView * dockedHeaderView
Definition: Commander.h:249
bool mIsAutoManipulation
Definition: Commander.h:69
BOOL submitInOrder
Definition: Commander.h:270
bool enableZoomByPinchOrDoubleTap
Definition: Commander.h:188
NGBSelections mNGBSelections
Definition: Commander.h:212
Definition: Commander.h:57
BOOL forceUpdateSubviews
Definition: Commander.h:195
BOOL isAnyCommandRunning
Definition: Commander.h:215
Definition: DSSRWSectionIterator.h:15
Definition: Commander.h:51
Definition: Commander.h:111
Definition: DSSRWIterator.h:32
NGBAllBehaviorType
Definition: Commander.h:114
Definition: Commander.h:105
BOOL enableGraphTooltips
Definition: Commander.h:172
Definition: BrushingHighlightData.h:15
LinkDrillParameters * linkdrillParam
Definition: Commander.h:179
Definition: Commander.h:43
Definition: Commander.h:42
BOOL isViewFitWidth
Definition: Commander.h:240
short layoutBarPosition
Definition: Commander.h:187
Definition: Commander.h:44
enum _ThemeType ThemeType
LayoutManagerController *__weak mLayoutManagerController
Definition: Commander.h:231
enum _EventHandlingResult EventHandlingResult
BOOL isInPortraitMode
Definition: Commander.h:171
#define NULL
Definition: Null.h:10
int mContextType
Definition: Commander.h:68
ViewerDataModel * layoutContainerViewerModel
Definition: Commander.h:202
Definition: DSSActionObject.h:17
Definition: MSIURLHelper.h:25
BOOL runAsReport
Definition: Commander.h:194
UIView * dockedFooterView
Definition: Commander.h:250
_VizLevel
Definition: Commander.h:108
DSSRWSectionIterator * topNGBAllIter
Definition: Commander.h:98
PopoverContext * popoverContext
Definition: Commander.h:181
std::map< std::string, std::vector< id< IViewer > __unsafe_unretained > > MapNodeKeyToMasterViewers
Definition: Commander.h:154
BOOL showFilterPanel
Definition: Commander.h:225
NSInteger mCurrentDocumentView
Definition: Commander.h:221
Definition: DSSCMacroManipulation.h:15
int rowCountPerPage
Definition: Commander.h:96
Definition: Commander.h:49
int mCommandType
Definition: Commander.h:66
DrillXMLCommandParameters * drillXMLCommandParams
Definition: Commander.h:175
enum _CarryOverSelectedMode CarryOverSelectedMode
Definition: Commander.h:156
Definition: Commander.h:738
BOOL duringNormalManipulation
Definition: Commander.h:258
ManipulationContext * manipulationContext
Definition: Commander.h:236