Пример #1
0
 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);
 }
Пример #2
0
        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)));
            }
        }