1 #ifndef MsiChart_NumberObjectHelper_h 2 #define MsiChart_NumberObjectHelper_h 14 virtual bool GetPreAndSuffix(std::string& iorFormatStr, std::string& orPrefix, std::string& orSuffix,
bool& orHasBrakcket,
bool iDividPosAndNeg =
true);
ChartContext::Ptr mChartContextPtr
Definition: NumberObjectHelper.h:26
virtual void SetCorrectDateFormatString(ChartAdvFormat &orFormat)
virtual bool replaceQuestionMarkWithHash(std::string &iorNumberFormat)
virtual void SetNumberFormat(Dataset::Ptr iDatasetPtr, const ChartAdvFormat &irNumberFormat, LCID iLocale)
Definition: Dataset.h:198
virtual std::string ConvertToFraction(double value, std::string &formatString)
NumberObject * mpNumberObject
Definition: NumberObjectHelper.h:25
DWORD LCID
Definition: PDCwtypes.h:294
virtual ~NumberObjectHelper()
Definition: NumberObjectHelper.h:12
virtual void RemoveMinusFromNegExpComponet(std::string &iorNumberFormat)
Definition: ChartContext.h:542
virtual bool GetPreAndSuffix(std::string &iorFormatStr, std::string &orPrefix, std::string &orSuffix, bool &orHasBrakcket, bool iDividPosAndNeg=true)
Definition: NumberObject.h:70
virtual void ParseConditions(std::string &iorFormat)
virtual void ReplaceCurencySymbol(std::string &iorFormat)
#define NULL
Definition: Null.h:10
NumberObjectHelper(NumberObject *iNumberObject, ChartContext::Ptr iChartContext)
Definition: NumberObjectHelper.h:11
Definition: NumberObjectHelper.h:9
virtual void SetTextFromGrid(Dataset::Ptr iDatasetPtr, MFormat::NumberFormat *ipNumberFormat, LCID iLocale)
virtual void MapFormatType(const TripleId &irTripleId, ChartAdvFormat &iorNumberFormat)
virtual bool GetNumberFromText(double &orValue) const