Beispiel #1
0
 /// <summary>
 /// Compares one rich text string to another.
 /// </summary>
 /// <param name="other">The other rich text string.</param>
 /// <returns></returns>
 public int CompareTo(HSSFRichTextString other)
 {
     return(_string.CompareTo(other._string));
 }
        /// <summary>
        /// Compares one rich text string to another.
        /// </summary>
        /// <param name="o">The o.</param>
        /// <returns></returns>
        public int CompareTo(Object o)
        {
            HSSFRichTextString r = (HSSFRichTextString)o;

            return(str.CompareTo(r.String));
        }