internal TLabelSSTRecord(int aCol, int aXF, TSST aSST, IFlexCelFontList aFontList, object Value) : base((int)xlr.LABELSST, aCol, aXF) { SST = aSST; FontList = aFontList; pSSTEntry = null; AsString = FlxConvert.ToStringWithArrays(Value); }
internal static TLabelSSTRecord CreateFromOtherString(int aCol, int aXF, TSST aSST, IFlexCelFontList aFontList, object Value) { TRichString rs = Value as TRichString; if (rs != null && rs.RTFRunCount > 0) { return(new TLabelSSTRecord(aCol, aXF, aSST, aFontList, rs)); } else { return(new TLabelSSTRecord(aCol, aXF, aSST, aFontList, FlxConvert.ToStringWithArrays(Value))); } }