Example #1
0
        /// <summary>
        /// Initializes a new instance of ESCommon.Rtf.RtfTableCellStyle class.
        /// </summary>
        /// <param name="borderSetting">Cell border setting.</param>
        /// <param name="formatting">Formatting applied to paragraphs inside the cell by default.</param>
        /// <param name="align">Vertical align of the text inside the cell.</param>
        public RtfTableCellStyle(RtfBorderSetting borderSetting, RtfParagraphFormatting formatting, RtfTableCellVerticalAlign align)
        {
            SetBorders(borderSetting);

            _defaultParagraphFormatting = formatting;
            _verticalAlign = align;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of ESCommon.Rtf.RtfTableCellStyle class.
        /// </summary>
        /// <param name="borderSetting">Cell border setting.</param>
        /// <param name="formatting">Formatting applied to paragraphs inside the cell by default.</param>
        public RtfTableCellStyle(RtfBorderSetting borderSetting, RtfParagraphFormatting formatting)
        {
            SetBorders(borderSetting);

            _defaultParagraphFormatting = formatting;
        }
 /// <param name="text">Text to add to paragraph contents</param>
 /// <param name="formatting">Paragraph formatting</param>
 public RtfFormattedParagraph(string text, RtfParagraphFormatting formatting) : base(text)
 {
     _formatting = formatting;
 }
 /// <param name="text">Text to add to paragraph contents</param>
 /// <param name="formatting">Paragraph formatting</param>
 public RtfFormattedParagraph(RtfParagraphContentBase text, RtfParagraphFormatting formatting) : base(text)
 {
     _formatting = formatting;
 }
 /// <param name="formatting">Paragraph formatting</param>
 public RtfFormattedParagraph(RtfParagraphFormatting formatting) : base()
 {
     _formatting = formatting;
 }