コード例 #1
0
        public ITableRow AddRow(s.TableRowStyle style, t.TrackingInfo trackingInfo)
        {
            TableRow row = new TableRow(style, trackingInfo);

            _rows.Add(row);
            return(row);
        }
コード例 #2
0
        public ITable AddTable(int width, int[] columnWidths, s.TableStyle style, t.TrackingInfo trackingInfo)
        {
            Table table = new Table(width, columnWidths, style, trackingInfo);

            _content.Add(table);
            return(table);
        }
コード例 #3
0
 public TableCell(int columnSpan, s.TableCellStyle style, t.TrackingInfo trackingInfo)
 {
     _columnSpan   = columnSpan;
     _style        = style;
     _trackingInfo = trackingInfo;
     _content      = new List <IBlockContent>();
 }
コード例 #4
0
        public IParagraph AddParagraph(s.TextStyle style, t.TrackingInfo trackingInfo)
        {
            Paragraph paragraph = new Paragraph(style, trackingInfo);

            _content.Add(paragraph);
            return(paragraph);
        }
コード例 #5
0
        public ITableCell AddCell(int columnSpan, s.TableCellStyle style, t.TrackingInfo trackingInfo)
        {
            TableCell cell = new TableCell(columnSpan, style, trackingInfo);

            _cells.Add(cell);
            return(cell);
        }
コード例 #6
0
 public Table(int width, int[] columnWidths, s.TableStyle style, t.TrackingInfo trackingInfo)
 {
     _width        = width;
     _columnWidths = columnWidths;
     _style        = style;
     _rows         = new List <TableRow>();
     _trackingInfo = trackingInfo;
 }
コード例 #7
0
 public TableRow(s.TableRowStyle style, t.TrackingInfo trackingInfo)
 {
     _cells        = new List <TableCell>();
     _trackingInfo = trackingInfo;
 }
コード例 #8
0
        public void AddPageBreak(s.TextStyle style, t.TrackingInfo trackingInfo)
        {
            IParagraph paragraph = AddParagraph(style, trackingInfo);

            paragraph.AddBreak(null, "page");
        }
コード例 #9
0
 public Paragraph(s.TextStyle style, t.TrackingInfo trackingInfo)
 {
     _style        = style;
     _content      = new List <IParagraphContent>();
     _trackingInfo = trackingInfo;
 }
コード例 #10
0
 public SectionProperties(t.TrackingInfo trackingInfo)
 {
     _trackingInfo = trackingInfo;
 }