9 #ifndef MsiChart_DatasetImpl_h 10 #define MsiChart_DatasetImpl_h 12 #include "../Dataset.h" 14 #include "PDCHeader/PDCmap" 15 #include "PDCHeader/PDCvector" 94 virtual HRESULT GetTotalData(
Int32 iIndex,
bool iIsGroupTotal,
Int32 iSpanStartIndex,
Int32 iSpanEndIndex,
double& iorValue,
Int32 iColumnOffset,
bool iIsUseAbsValue =
false,
bool iIsForSlice =
true);
95 virtual HRESULT GetTotalData(
Int32 iIndex,
bool iIsGroupTotal,
const std::vector<Int32>& iPickedIndexSet,
double& iorValue,
Int32 iColumnOffset,
bool iIsUseAbsValue =
false,
bool iIsForSlice =
true);
96 virtual HRESULT GetPieSubtotal(std::map<std::pair<Int32, Int32>,
double> iPieSubtotalMap,
Int32 iGroupId,
const std::vector<Int32>& iPickedIndexSet,
double& iorValue,
Int32 iColumnOffset,
bool iIsUseAbsValue =
false,
bool iIsForSlice =
true);
98 virtual HRESULT GetPrimaryData(
Int32 iSeriesID,
Int32 iGroupID,
const double*& iorValue,
Int32 iPrimaryIndex = 0,
bool iIsForColor =
false,
bool iIsForSlice =
true,
int iAngleIndex=0,
int iSliceIndex=0);
160 virtual void GetRefLineLable(
Int32 iSeriesId,
Int32 iRefLineIndex, std::string& iText,
bool& orIsShowValue,
double& orValue);
228 virtual bool PopulateOneTree(std::wifstream& iFileStream,
bool iIsForRow =
true);
239 virtual bool GetOneSliceRange(std::vector<Int32>& irSeriesIndex, std::vector<Int32>& irGroupIndex);
252 virtual bool ShuffleIndex(
bool iIsOnRow,
const std::vector<Int32>& iShuffledIndexList);
261 virtual Int32 GetTreeWidth(
Int32 iDimLayer,
bool iIsInRowTree,
bool iIsActualSize =
false,
bool iIsSqueezeHCG =
true);
295 virtual void GetBandDivision(
Int32 iGroupId,
Int32 iVAIndex, std::vector<double>& iMetrics, std::vector<double>& iRatios);
374 bool hPopulatePlainLabels(
bool iIsRow);
375 bool hPopulatePlainLabelsWithIterator(
DSSRWGridIterator* ipIterator,
bool iIsRow);
377 bool hMoveIteratorByElement(
DSSRWGridIterator* ipGridIterator,
Int32 iDepth,
bool iIsWithBoundaryCheck,
bool iIsForRow,
bool iIsForward);
378 bool hMoveIteratorByElement(
DSSRWGridIterator* ipGridIterator,
Int32 iDepth,
bool iIsForRow =
true,
bool iIsForward =
true);
380 void hGetShuffledIndex(
Int32& iorRowIndex,
Int32& iorColIndex);
381 Int32 hGetShuffledIndexOn(
bool iIsOnRow,
Int32 iIndex);
382 bool hIsIndexShuffled();
391 Int32 hGetScanRange(
bool iOnRow,
bool iConsiderThresholds);
406 void SetDimension(
const Int32 iRowCount,
const Int32 iColumnCount);
407 void AddData(
const Int32 iRowIndex,
const Int32 iColumnIndex,
const double* irValue);
408 void GetData(
const Int32 iRowIndex,
const Int32 iColumnIndex,
const double*& orData);
410 Int32 GetColumnCount();
429 std::vector<Int32> mBaseFormIDs;
430 std::vector<Int32> mBaseFormTypes;
431 BaseForms& operator = (BaseForms& iBaseForms)
433 mBaseFormIDs = iBaseForms.mBaseFormIDs;
434 mBaseFormTypes = iBaseForms.mBaseFormTypes;
439 void hGetRowColumnIndex(
Int32 iSeriesID,
Int32 iGroupID,
Int32& orRowIndex,
Int32& orColumnIndex,
Int32 iColumnOffset = 0);
453 bool hMapIndexToTreeDimInfo(
Int32 iIndex,
DimNode* ipNode, std::vector<Int32>& orDimIndexSet);
454 bool hGetLabelPieceAlongPath(
MBase::String& orFullLabel,
DimTree* ipTree,
const std::vector<Int32>& irPath,
Int32 iFormat);
462 bool hTraverseTreeForCompletion(
DimNode* ipNode,
DimTree* ipTree);
469 bool mShowSubtotalValue;
472 bool mIgnoreForNoSeriesOrGroup;
473 bool mSuppressLastLevel;
474 bool mIsConcatenateLabels;
475 bool mIsUseZeroForNullValue;
484 Int32 mOnScreenStartGroupId;
485 Int32 mOnScreenEndGroupId;
492 std::vector<MBase::String> mRowLabels;
493 std::vector<MBase::String> mColumnLabels;
495 bool mUseManualRowLabels;
496 bool mUseManualColumnLabels;
506 std::vector<std::vector<MSynch::SmartPtr<SimpleDataset> > > mTotalCollection;
511 std::vector<DataPiece*> mSliceSet;
515 size_t mActiveSliceIndex;
516 void hClearUpSlices();
521 std::map<Int32,Int32> mShuffledRowIndexSet;
522 std::map<Int32,Int32> mShuffledColIndexSet;
527 bool hPickCorrectDataTable();
533 std::vector<MBase::String> mMetricElements;
535 Int32 mMetricIndexAlongAxis;
536 std::map<Int32, bool> mRowSubTotalsMap;
537 std::map<Int32, bool> mColSubTotalsMap;
538 std::map<Int32, Int32> mRowIndexToGlobalIndex;
539 std::map<Int32, Int32> mColIndexToGlobalIndex;
540 std::map<Int32, Int32> mGlobalIndexToRowIndex;
541 std::map<Int32, Int32> mGlobalIndexToColIndex;
542 std::set<Int32> mTotalsInRow;
543 std::set<Int32> mTotalsInCol;
545 Int32 hMapLocalTableIndexToGlobalIndex(
Int32 iIndex,
bool iIsForRow);
556 Int32 mTableRowCount;
557 Int32 mTableColCount;
559 bool mIsRowHeaderEmpty;
560 bool mIsColHeaderEmpty;
561 bool mSeriesByColumn;
562 bool mIsDataBackedUp;
569 std::vector<int> mAxisInfo;
570 std::vector<Int32> mSeriesIndexPieces;
571 std::vector<Int32> mSeriesPiecesStartIndex;
572 Int32 mPieGroupDepth;
574 Int32 mBalancedGroupCount;
582 bool hIsHeaderEmpty(
bool iIsForRow =
true,
Int32 iAccessMode =
DM_TEMPLATE);
583 void hPopulateMetricInfo();
602 virtual bool GetAvgValue(
double& orValue,
Int32 iIndex,
Int32 iColumnOffset = 0,
bool iIsForSeries =
true,
bool iIsForSlice =
false);
648 virtual std::string
GetGMColorByKey(std::vector<std::pair<Int32, Int32> > iColorByUnitsIndex,
Int32 iSeriesID,
Int32 iGroupID,
Int32 iColumnOffset = 0,
bool iIsConsiderSubtotal =
true);
665 virtual void SetColorSlices(std::vector<Int32>& irRowUnits, std::vector<Int32> irColumnUnits);
696 virtual void SetAxisInfo(
const std::vector<int> &irAxisInfo);
702 virtual void DumpDataSet(
bool iIsNaive,
bool isGlobalIterator =
false);
707 void hPopulateCETable();
711 void hGetDataFromAETable(
const Int32 iRowIndex,
const Int32 iColumnIndex,
double*& orData);
712 void hConvertToDoubleValue4Data(
double*& iorData,
const void * ipData,
int iSizeInByte,
int iDataType,
int iFlag);
724 bool hGetLabelCombination(
const std::vector<Int32>& irSliceUnits, std::vector<MBase::String>& orResultLabels,
bool iIsForRow);
742 void hBuildColorSliceInfo();
745 static double sDataCellValue;
746 static double sDataCellColor;
747 std::map<_PositionIndex, _PositionAssociatedInfo> mDataCellInfoPool;
749 std::vector<Int32> mRowColorByUnits;
750 std::vector<Int32> mColColorByUnits;
751 std::map<Int32, MBase::String> mColorByLabelMap;
752 std::map<Int32, Int32> mColorIndexMap;
773 virtual bool GetSeriesGroupIdsFromIndex(std::vector<std::pair<Int32, Int32> >& iorSGPairs,
const std::vector<Int32>& irRowIndexSet,
const std::vector<Int32>& irColIndexSet);
774 virtual std::string
GetLabelInDrillPath(
bool iIsByRow,
Int32 iIndex,
const std::string& irCandiate,
bool iIncludeAllForms =
false);
783 bool mIsForHistogram;
785 bool mTreatEmptyAsEmpty;
788 Int32 mTotalBlocksToDisplay;
789 Int32 mCurrentDisplayBlockIndex;
790 Int32 mMaxRowToDisplay;
791 Int32 mMaxColToDisplay;
792 Int32 mDisplayBlocksPerRow;
793 Int32 mDisplayBlocksPerCol;
794 Int32 mLeftoverOnCol;
795 Int32 mLeftoverOnRow;
796 bool mIsUseMaxGroupAsMinBound;
797 bool mIsDisplaySliceInvalid;
800 bool hGetSeriesCroupRangeForOneDisplayBlock(
Int32 iDisplayBlockIndex);
801 bool hPopulateDisplayBlocks(
bool iIsRowHeaderEmpty,
bool iIsColHeaderEmpty);
805 bool hIsInEmptyDataZone(
Int32 iGroupID);
806 bool hIsSupprestLastLevelLabel();
807 bool hIsConcatedLabels();
808 bool hIsUseZeroForNullValue();
809 CComVariant* hGetOneGraphPropertyFromTemplate(
const std::string& irPropertyName);
812 std::map<std::pair<Int32, Int32>,
double> mPerfMapFormatIndexToColorValue;
813 bool hGetColorValueFromFormatIndexMap(
const std::pair<Int32, Int32>& iKey,
double& orValue);
814 void hSetColorValueFromFormatIndexMap(
const std::pair<Int32, Int32>& iKey,
double orValue);
826 return mUseManualRowLabels ?(
Int32)mRowLabels.size() : mRowSize;
830 return mUseManualColumnLabels ? (
Int32)mColumnLabels.size() : mColumnSize;
832 Int32 hGetSize(
bool iIsForRow)
834 return iIsForRow ? hRowSize() : hColumnSize();
838 if (mUseManualRowLabels) {
839 return mRowLabels[iIndex];
847 if (mUseManualColumnLabels) {
848 return mColumnLabels[iIndex];
857 Int32 hGetCoveredIndexByCurrentBlock(
bool iIsByRow);
873 bool hGetDrillLabelsFromIterator(
bool iIsByRow,
Int32 iOrdinal,
const std::string& irSeperator, std::string& iorLabels,
bool iIncludeAllForms =
false);
875 double hGetThresholdBackgroundColor(
Int32 iMetrixId,
Int32 iThresholdId,
double iDefaultColorValue);
877 void hGetTotalPositonsFromIterator();
878 bool hHasChosenControlsOnAxis(
int iAxis);
900 DatasetImplHelper *mpDatasetImplHelper;
906 return mShowSubtotalValue;
910 orRowSubTotalsMap = mRowSubTotalsMap;
914 orColSubTotalsMap = mColSubTotalsMap;
918 return mIsUseZeroForNullValue;
922 mSimpleDatasetPtr->AddData(iRowIndex, iColumnIndex, irValue);
virtual bool PopulateOneSlice(Int32 iBeinSeries, Int32 iEndSeries, Int32 iBeginGroup, Int32 iEndGroup)
assume we are dealing with the simplest case
virtual HRESULT GetGMPieMaxMin(double &orMax, double &orMin, Int32 iColumnOffset, DATA_RETRIEVAL_TYPE iType=DRT_NORMAL)
virtual bool GetAxisOriginValue(double &orAxisOriginValue, Int32 iObjectId)
virtual bool GetDataLableFontAlignment(unsigned char &orFontAlignment)
virtual bool GetDataLableFontAlpha(unsigned char &orFontAlpha)
virtual Int32 CurrentSliceNumberToDisplay()
virtual HRESULT GetData(Int32 iSeriesID, Int32 iGroupID, const double *&iorValue, Int32 iColumnOffset=0, bool iIsForSlice=true)
virtual void EnableSlices(bool iUseSlice=true)
unsigned char DSSDataFlag
Definition: DSSIPhoneEnums.h:784
virtual DimTree * GetColTree()
virtual bool GetAxisMajorTickLineColorFormat(RGBColor &orLineColor, Int32 iObjectID)
virtual bool GetAxisLabelFontName(MBase::String &orFontName, Int32 iWhichAxis)
virtual Int32 GetAESliceId()
unsigned char DSSDataFlag
Definition: Dataset.h:45
virtual bool GetMetricsLabel(Int32 iIndex, MBase::String &orLabel)
Get the name of the metric element indexed by iIndex.
virtual bool GetAvgValue(double &orValue, Int32 iIndex, Int32 iColumnOffset=0, bool iIsForSeries=true, bool iIsForSlice=false)
virtual Int32 GetActiveSliceIndex()
virtual ~DatasetImpl()
Destructor, release resource.
SHUFFLE_STATUS
Definition: Dataset.h:88
std::pair< Int32, Int32 > _PositionIndex
Definition: DatasetImpl.h:30
Definition: DatasetHelper.h:925
virtual bool GetAxisLineColorFormat(RGBColor &orLineColor)
virtual HRESULT GetGroupLabel(Int32 iGroupID, MBase::String &orGroupLabel, bool iSubstitute=true, Int32 iColumnOffset=0, bool iIsForSlice=true, LABEL_LEVEL_OPTION iOption=LLO_NORMAL)
virtual void ConvertLocalAEIndexToGlobal(int &ioRowIndex, int &ioColIndex)
virtual HRESULT GetPieSliceCount(Int32 iGroupId, Int32 iSeriesId, Int32 iAngleId, Int32 &orSliceCount)
virtual HRESULT InitFromTemplateAndGrid(DSSTemplate *ipTemplate, DSSRWGridIterator *ipGridIterator, bool iIsParseTotals)
virtual void GetSliceLabel(Int32 iOrdinal, bool iIsForRow, MBase::String &orCollection)
virtual bool GetReferenceLineFontSize(Int32 &orFontSize, Int32 iSeriesId, Int32 iGroupId)
virtual void GetBandDivision(Int32 iGroupId, Int32 iVAIndex, std::vector< double > &iMetrics, std::vector< double > &iRatios)
virtual bool GetTrendLineColor(RGBColor &orLineColor, Int32 iSeriesId, Int32 iGroupId)
virtual void GetGroupDimTree(DimTree *&iopDimTree)
Definition: DatasetHelper.h:52
virtual void GetPieGroupDetph(Int32 &orDepth)
virtual bool AdjustGroupRange(Int32 iOffset)
void setPropertyTreatEmptyAsEmpty(bool iValue)
Definition: DatasetImpl.h:778
virtual bool GetAxisLabelFontStyle(unsigned char &orFontStyle, Int32 iWhichAxis)
virtual bool GetTextAsShapeFontStyle(unsigned char &orFontStyle, Int32 iSeriesId, Int32 iGroupId)
virtual MBase::String GetColorStyleLabel(Int32 iSeriesID, Int32 iGroupID, Int32 iColumnOffset, bool iIsConsiderSubtotal=true)
virtual HRESULT GetDataAdditionPartSize(Int32 &orDataAdditionPartSize)
virtual void SetReverseSeries(bool iRevereSeries)
Set "Reverse Series" flag.
virtual HRESULT GetPrimaryData(Int32 iSeriesID, Int32 iGroupID, const double *&iorValue, Int32 iPrimaryIndex=0, bool iIsForColor=false, bool iIsForSlice=true, int iAngleIndex=0, int iSliceIndex=0)
virtual const DataGroupInfo * GetDataGroupInfo()
virtual bool GetSliceFlag()
virtual bool GetReferenceLineThickness(Int32 &orLineThickness, Int32 iSeriesId, Int32 iGroupId)
virtual bool IsSubtotalAt(Int32 iRowIndex, Int32 iColIndex, bool &orIsTotal)
virtual bool NextSliceToDisplay(bool iIsPrevious, bool iIsStaring=false)
virtual bool PopulateTokenManager(bool iEnableToken)
This section include the methods for token manger and the refreshment.
virtual std::string GetLabelInDrillPath(bool iIsByRow, Int32 iIndex, const std::string &irCandiate, bool iIncludeAllForms=false)
virtual void getLineMarkerColorSetting(std::vector< int > &iSetting)
virtual Int32 GetSeriesPieceStartIndex(Int32 iIndex)
virtual bool IsDataLabelEnaled(Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual HRESULT GetSeriesLabel(Int32 iSeriesID, MBase::String &orSeriesLabel, bool iSubstitute=true, Int32 iColumnOffset=0, bool iIsForSlice=true, LABEL_LEVEL_OPTION iOption=LLO_NORMAL, bool iIsEmptyAxisWithTemplateMetrc=false)
virtual HRESULT GetPieSliceData(Int32 iGroupId, Int32 iSeriesId, Int32 iAngleId, Int32 iSliceId, const double *&iorValue, Int32 iColumnOffset=-1)
virtual std::vector< double > GetRefLineValues(Int32 iSeriesId)
virtual HRESULT GetGridDataFormat(ChartAdvFormat &orFormat, Int32 iSeriesId, Int32 iGroupId, Int32 iColumnOffset, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual DimTree * GetRowTree()
Get the number of dim node in one dim.
virtual bool GetReverseGroup()
Get "Reverse Group" flag.
virtual bool GetAxisMajorTickLineThicknessFormat(Int32 &orLineThickness, Int32 iObjectID)
Definition: DSSTemplateUnit.h:19
virtual bool GetDataLableFontName(MBase::String &orFontName)
virtual bool GetAxisMinorTickLineThicknessFormat(Int32 &orLineThickness, Int32 iObjectID)
virtual bool IsHeaderTreeEmpty(bool iIsForGroup)
long HRESULT
Definition: FragmentedString.h:20
virtual void SetSeriesByColumn(bool iSeriesByColumn)
Set "Series by Column" flag.
virtual bool GetTextAsShapeAlignment(unsigned char &orFontAlignment, Int32 iSeriesId, Int32 iGroupId)
virtual Int32 GetMetricsCount(bool iIsAtTopLevel=false)
virtual HRESULT GetPieSubtotal(std::map< std::pair< Int32, Int32 >, double > iPieSubtotalMap, Int32 iGroupId, const std::vector< Int32 > &iPickedIndexSet, double &iorValue, Int32 iColumnOffset, bool iIsUseAbsValue=false, bool iIsForSlice=true)
virtual void GetLabelCollection(Int32 iOrdinal, bool iIsForRow, std::vector< std::string > &orCollection)
virtual bool GetReferenceLineFontColor(RGBColor &orFontColor, Int32 iSeriesId, Int32 iGroupId)
DatasetImpl(Int32 iAccessMode)
virtual bool GetTrendLineThickness(Int32 &orLineThickness, Int32 iSeriesId, Int32 iGroupId)
virtual SHUFFLE_STATUS GetShuffledStatus()
Definition: DSSRWGridIterator.h:68
virtual std::vector< double > GetTrendLineValuesWithForecast(Int32 iSeriesId)
Int32 Index
Definition: Matrix.H:3
virtual std::set< int > GetSeriesInSecondaryAxis()
virtual bool IsReformed()
virtual float GetMemoryUsageEstimation()
virtual bool GetDataLableFontSize(Int32 &orFontSize)
virtual std::pair< int, int > getOnScreenTextRange(bool isForGroup)
Definition: DSSTemplate.h:29
virtual bool GetReplacedText(Int32 iSeriesId, Int32 iGroupId, Int32 iColumnOffset, MBase::String &orReplacedText, Int32 &orColor)
virtual Int32 GetMetricIndex(Int32 iRowIndex, Int32 iColIndex)
virtual void GetTextDataLabel(Int32 iGroupId, Int32 iSeriesId, std::string &orCollection, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual void GetRefLineLable(Int32 iSeriesId, Int32 iRefLineIndex, std::string &iText, bool &orIsShowValue, double &orValue)
virtual void SeriesGroupIndexToRowColumnIndex(Int32 iSeriesID, Int32 iGroupID, Int32 &orRowIndex, Int32 &orColumnIndex, Int32 iColumnOffset, Int32 iAngleId=-3, Int32 iSliceId=-3, bool iIsConsiderSubtotal=true)
AGG_TYPE
Definition: Dataset.h:61
SLICE_TYPE
Definition: Dataset.h:77
virtual bool GetAxisOriginLineStyle(unsigned char &orLineStyle, Int32 iObjectID)
virtual void SetGMDataSet(void *pDataSet=NULL)
Definition: Dataset.h:142
Definition: Dataset.h:198
virtual HRESULT GetSeriesCount(Int32 &orSeriesCount)
virtual HRESULT GetToolTipDataString(Int32 iSeriesID, Int32 iGroupID, MBase::String &orDataString, Int32 iOffset)
virtual const std::vector< int > GetAxisInfo()
virtual MBase::String GetTemplateUnitElementName(Int32 iDimLayer, Int32 iIndexInsideDim, bool iIsInRowTree=false, Int32 iFormIndex=0, MBase::String iSeperator=L" ")
virtual TokenManager * GetTokenManager()
Returen the reference of the tokenmanager.
int GetGlobalIteratorElementValueAt(int iAxis, int iOrdinal, int iDepth, int iBaseForm, const void **oppData, int *opDataSize, EnumDSSDataType *opDataType, DSSDataFlag *opDataFlag)
virtual void SetTreeInstance(DimTree *ipTree, bool iIsForRowTree)
virtual bool GetAxisLabelFontSize(Int32 &orFontSize, Int32 iWhichAxis)
void PopulateOneMetricThresholdSuite(Int32 iRow, Int32 iCol, Int32 iMetricId, Int32 iThresholdId)
void GetRowSubTotalsMap(std::map< Int32, bool > &orRowSubTotalsMap)
Definition: DatasetImpl.h:908
virtual Int32 GetAggregationResult(double &orValue, Int32 iIndex, bool iIsForSeries=true, AGG_TYPE iAggType=AGG_TYPE_AVG)
virtual Int32 GetThresholdIndex(Int32 iRowIndex, Int32 iColIndex)
MBase::String GetPlainLabels(unsigned Int32 iGroupIndex, bool iSuppressLastLevel=false, LABEL_LEVEL_OPTION iOption=LLO_NORMAL)
Get plain label with specified GroupIndex.
DATASET_STATUS
Definition: Dataset.h:97
virtual bool IsExpomentialBaseNearOne(Int32 iSeriesId)
virtual void GetBreakByLabel(Int32 iOrdinal, bool iIsForRow, MBase::String &orCollection)
virtual Int32 GetColorStyleNumber()
EnumDSSDataType
Definition: DSSIPhoneEnums.h:39
virtual void SetForHistogram(bool iIsForHistogram)
Set "Is For Histogram" flag.
Definition: DatasetHelper.h:385
virtual bool ShuffleIndex(bool iIsOnRow, const std::vector< Int32 > &iShuffledIndexList)
virtual bool GetGenericFillFormatAlpha(unsigned char &orAlpha, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual bool IsHeaderEmpty(bool iIsForRow=true)
Int32 GetAccessMode()
Definition: DatasetImpl.h:924
#define Int32
Definition: BasicTypes.h:20
THRESHOLD_FILL_STYLE
Definition: Dataset.h:105
virtual HRESULT SetData(Int32 iRow, Int32 iCol, double iValue)
virtual bool IsDisplaySliceInvalid()
virtual void SetReverseGroup(bool iReverseGroup)
Set "Reverse Group" flag.
virtual void PrepareIterator()
DSSRWGridIterator * GetGridIterator()
virtual void GetUnitNameCollection(bool iIsForRow, std::vector< std::string > &orCollection)
virtual bool GetDataLableFontStyle(unsigned char &orFontStyle)
virtual bool GetGenericFillFormatGradient(GraphFillGradient &irFillGradient, Int32 iSeriesId, Int32 iGroupId, Int32 iSliceId=-3)
virtual bool GetAxisOriginLineThickness(Int32 &orLineThickness, Int32 iObjectID)
virtual void GetDataTextLabel(Int32 iOrdinal, bool iIsForRow, MBase::String &orCollection, int iDepth)
virtual bool GetAxisOriginLineColor(RGBColor &orLineColor, Int32 iObjectID)
virtual void SetColorSlices(std::vector< Int32 > &irRowUnits, std::vector< Int32 > irColumnUnits)
virtual bool GetAxisMinorTickLineStyleFormat(unsigned char &orLineStyle, Int32 iObjectID)
virtual bool GetAxisLineStyleFormat(unsigned char &orLineStyle)
virtual HRESULT GetCumulatedData(Int32 iGroupId, Int32 iSeriesId, EnumGraphMatrixDataIndexType iDataIndexType, const double *&iorValue)
Int32 GetBalancedCount(bool iIsForGroup)
virtual bool GetDataLableFontBox(unsigned char &orFontBox)
virtual bool GetTextAsShapeFontColor(RGBColor &orFontColor, Int32 iSeriesId, Int32 iGroupId)
virtual DataTableReformer * GetDataReformer() const
virtual bool GetTrendLineStyle(unsigned char &orLineStyle, Int32 iSeriesId, Int32 iGroupId)
void SetCurrentThresholdSytle(THRESHOLD_FILL_STYLE iCurrentThresholdStyle)
virtual void CurrentSlicePosition(Int32 &orRowIndex, Int32 &orColIndex)
LINK_TEXT_TYPE
Definition: DatasetHelper.h:48
virtual bool PopulateTotalValues(std::wifstream &iFileStream)
Populate the total info into the table pool.
Definition: Dataset.h:116
virtual HRESULT SetDataGroup(Int32 iDataGroup, bool iIgnoreForNoSeriesOrGroup=true)
virtual void DumpDataSet(bool iIsNaive, bool isGlobalIterator=false)
Definition: DatasetHelper.h:608
bool ShowSubtotalValue()
Definition: DatasetImpl.h:904
virtual std::vector< double > GetCoefficients(Int32 iSeriesId)
bool GetMetricAndTresholdID(Int32 iSeriesId, Int32 iGroupId, Int32 iColumnOffset, Int32 &orMetricId, Int32 &orThresholdId)
virtual DATASET_STATUS GetStatus(bool iIsGraph, bool iIsDummyGridChart)
Definition: DatasetImpl.h:36
std::basic_string< WCHAR, std::char_traits< WCHAR >, Allocator< WCHAR > > String
Definition: BaseString.h:26
virtual Int32 GetTreeWidth(Int32 iDimLayer, bool iIsInRowTree, bool iIsActualSize=false, bool iIsSqueezeHCG=true)
virtual bool GetSliceGroupRange(Int32 &iBeginGroup, Int32 &iEndGroup)
virtual bool PopulateReformer(DSSRWGridIterator *ipGridIterator, DataSetReformInfo *ipReformInfo)
virtual bool GetTextValue(Int32 iSeriesId, Int32 iGroupId, double &orDataValue)
virtual void SetGlobalIterator(DSSRWGridIterator *ipIterator)
virtual bool GetDataLabelFontColor(RGBColor &orFontColor)
virtual std::string GetGMColorByKey(std::vector< std::pair< Int32, Int32 > > iColorByUnitsIndex, Int32 iSeriesID, Int32 iGroupID, Int32 iColumnOffset=0, bool iIsConsiderSubtotal=true)
virtual bool GetAxisLineThicknessFormat(Int32 &orLineThickness)
virtual HRESULT SetRowAndColumn(Int32 iRowNumber, Int32 iColumnNumber)
virtual bool GetAxisMajorTickLineStyleFormat(unsigned char &orLineStyle, Int32 iObjectID)
virtual bool GetSeriesGroupIdsFromIndex(std::vector< std::pair< Int32, Int32 > > &iorSGPairs, const std::vector< Int32 > &irRowIndexSet, const std::vector< Int32 > &irColIndexSet)
virtual MBase::String GetTemplateUnitName(Int32 iDimLayer, bool iIsInRowTree=false, bool iUseAlias=false)
virtual HRESULT SetRowLabel(Int32 iRow, const wchar_t *ipRowLabel)
virtual HRESULT SetColumnLabel(Int32 iColumn, const wchar_t *ipColumnLabel)
virtual int GetGMColorByIndex(Int32 iSeriesID, Int32 iGroupID, Int32 iAngleIndex=-3, Int32 iColumnOffset=-1)
virtual bool GetReferenceLineFontName(MBase::String &orFontName, Int32 iSeriesId, Int32 iGroupId)
virtual HRESULT GetGroupCount(Int32 &orGroupCount)
virtual HRESULT GetValueAxisNumberFormat(ChartAdvFormat &orFormat, bool iConsiderThresholds=true, Int32 iStartIndex=0, Int32 iStep=0)
virtual bool GetGenericLineThickness(Int32 &orLineThickness, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual void GetSubTotalGlobalRowAndColumnIndex(Int32 iGroupId, const std::vector< Int32 > &iPickedIndexSet, Int32 iColumnOffset, Int32 &iorRowOrdinal, Int32 &iorColOrdinal)
virtual bool IsGroupOnScreen(Int32 iGroupId)
keep gradient options.
Definition: FormatFill.h:79
void * GetThresholdWithId(Int32 iMetricId, Int32 iThresholdId)
virtual void GetSeriesSplitVector(std::vector< Int32 > &orVec)
virtual Int32 GetColorStyleIndex(Int32 iLocalIndex)
virtual HRESULT GetDataPositionPartSize(Int32 &orDataPositionPartSize)
virtual Int32 GetShapeBySeriesId(Int32 iSeriesId)
Definition: Msi_ccomvariant.h:24
virtual bool IsDataTimeType(Int32 iSeriesID, Int32 iGroupID)
LABEL_LEVEL_OPTION
Definition: Dataset.h:114
virtual HRESULT GetDataSizeByPartSize(Int32 &orDataSizeByPartSize)
virtual bool GetGenericLineStyle(unsigned char &orLineStyle, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual bool GetReferenceLineStyle(unsigned char &orLineStyle, Int32 iSeriesId, Int32 iGroupId)
virtual bool GetGenericFillFormatColor(RGBColor &orColor, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual bool IsMetricBySeries()
virtual void SetAxisInfo(const std::vector< int > &irAxisInfo)
virtual Int32 GetDataGroup()
virtual bool GetRowCount(Int32 &orCount)
Get the row of the subtree rooted by current token manger's position.
virtual bool GetAxisLabelFontColor(RGBColor &orFontColor, Int32 iWhichAxis)
virtual void GetRowAndColumnIndexForMinMaxMetrixIndex(bool iIsForMax, std::vector< Int32 > iMetricIndex, Int32 &orRowIndex, Int32 &orColumnIndex)
virtual bool GetTextAsShapeFontName(MBase::String &orFontName, Int32 iSeriesId, Int32 iGroupId)
virtual HRESULT GetPeakValuesAcrossSeries(double &orMax, double &orMin, const std::vector< Int32 > &irSereisSet, Int32 iColumnOffset=0)
Get the Max/Min Value across the specified sereis collection, no matter slice is used or not...
virtual bool SetActiveSliceIndex(Int32 iIndex=0)
virtual void SetFormatManager(FormatManager *ipFormatManager)
virtual bool GetGenericLineColor(RGBColor &orLineColor, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual MetricUnitInfo * GetMetricInfo()
void AddDataToSimpleDataset(const Int32 iRowIndex, const Int32 iColumnIndex, const double *irValue)
Definition: DatasetImpl.h:920
Definition: DatasetHelper.h:490
virtual void SetSeriesSplitVector(const std::vector< Int32 > &irVec)
virtual bool GetAxisLabelFontRotation(unsigned char &orFontRotation, Int32 iWhichAxis)
Definition: RGBColor.h:21
virtual bool IsSeriesOnScreen(Int32 iSeriesId)
virtual bool GetTokenFlag()
Get the flag to see if token manager is active.
virtual bool GetOneSliceRange(Int32 &iBeinSeries, Int32 &iEndSeries, Int32 &iBeginGroup, Int32 &iEndGroup)
assume we are dealing with the simplest case
#define NULL
Definition: Null.h:10
virtual HRESULT GetGMPieSubtotalMaxMin(std::map< std::pair< Int32, Int32 >, double > iPieSubtotalMap, double &orMax, double &orMin, Int32 iColumnOffset, DATA_RETRIEVAL_TYPE iType=DRT_NORMAL)
std::pair< Int32, Int32 > _PositionAssociatedInfo
Definition: DatasetImpl.h:31
virtual std::vector< double > GetRefLineValuesForBubble(Int32 iIndex, Int32 iAxisIndex)
virtual bool GetRowLabel(Int32 iIndex, MBase::String &orLabel)
Get row label for the child indexed by iIndex of the node positioned by the token manager...
virtual HRESULT GetThresholdFillColor(Int32 iSeriesId, Int32 iGroupId, CComVariant *opValue)
virtual bool GetAxisMinorTickLineColorFormat(RGBColor &orLineColor, Int32 iObjectID)
virtual bool GetSeriesByColumn() const
Get "Series by Column" flag.
const unsigned Int32 gMaxMDLabel
Maximum number of Multi Dimensional Label supported.
Definition: DatasetImpl.h:27
virtual bool PopulateOneTree(std::wifstream &iFileStream, bool iIsForRow=true)
This section include methods for misc uses.
void ResetCurrentThresholdStyle()
EnumGraphMatrixDataIndexType
Definition: Dataset.h:125
virtual bool GetTextAsShapeFontSize(Int32 &orFontSize, Int32 iSeriesId, Int32 iGroupId)
DATA_RETRIEVAL_TYPE
Definition: Dataset.h:70
virtual HRESULT GetPieAngleCount(Int32 iGroupId, Int32 iSeriesId, Int32 &orAngleCount)
void GetColSubTotalsMap(std::map< Int32, bool > &orColSubTotalsMap)
Definition: DatasetImpl.h:912
bool IsUseZeroForNullValue()
Definition: DatasetImpl.h:916
Int32 GetMetricLabelCount()
virtual void SetDatagroupInfo(const DataGroupInfo &irInfo)
virtual bool GetReferenceLineFontStyle(unsigned char &orFontStyle, Int32 iSeriesId, Int32 iGroupId)
virtual bool GetGenericFillFormatType(unsigned char &orFillType, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)
virtual THRESHOLD_FILL_STYLE GetCurrentTreshHoldFillType()
virtual HRESULT GetTotalData(Int32 iIndex, bool iIsGroupTotal, Int32 iSpanStartIndex, Int32 iSpanEndIndex, double &iorValue, Int32 iColumnOffset, bool iIsUseAbsValue=false, bool iIsForSlice=true)
virtual HRESULT InitFromTemplateSlice(DSSTemplate *ipTemplate, DSSRWGridIterator *ipGridIterator, Int32 iSliceID, bool iIsCacheData=false, bool iIncludeSubtotal=true)
< Refactory into a lighter component
virtual bool GetReferenceLineColor(RGBColor &orLineColor, Int32 mSeriesId, Int32 iGroupId)
virtual void SetPieGroupDetph(Int32 irDetph)
virtual void RestoreFromShuffle()
virtual Int32 FindCell(bool iFromSeries, Int32 Index, Int32 Target)