Пример #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;
        }
Пример #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;
        }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <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;
 }
Пример #5
0
 /// <param name="formatting">Paragraph formatting</param>
 public RtfFormattedParagraph(RtfParagraphFormatting formatting) : base()
 {
     _formatting = formatting;
 }