/* (non-Javadoc)
         * @see com.itextpdf.html2pdf.attach.ITagWorker#getElementResult()
         */
        public virtual IPropertyContainer GetElementResult()
        {
            TableWrapper tableWrapper = new TableWrapper();

            foreach (Cell cell in rowWrapper.GetCells())
            {
                tableWrapper.AddCell(cell);
            }
            return(tableWrapper.ToTable(null));
        }
        /* (non-Javadoc)
         * @see com.itextpdf.html2pdf.attach.ITagWorker#getElementResult()
         */
        public virtual IPropertyContainer GetElementResult()
        {
            TableWrapper tableWrapper = new TableWrapper();

            foreach (Cell cell in rowWrapper.GetCells())
            {
                AccessiblePropHelper.TrySetLangAttribute(cell, lang);
                tableWrapper.AddCell(cell);
            }
            return(tableWrapper.ToTable(null));
        }
示例#3
0
 /* (non-Javadoc)
  * @see com.itextpdf.html2pdf.attach.ITagWorker#processEnd(com.itextpdf.html2pdf.html.node.IElementNode, com.itextpdf.html2pdf.attach.ProcessorContext)
  */
 public virtual void ProcessEnd(IElementNode element, ProcessorContext context)
 {
     table = tableWrapper.ToTable(colgroupsHelper);
 }
示例#4
0
 /* (non-Javadoc)
  * @see com.itextpdf.html2pdf.attach.ITagWorker#processEnd(com.itextpdf.html2pdf.html.node.IElementNode, com.itextpdf.html2pdf.attach.ProcessorContext)
  */
 public virtual void ProcessEnd(IElementNode element, ProcessorContext context)
 {
     FlushWaitingCell();
     table = tableWrapper.ToTable(null);
     AccessiblePropHelper.TrySetLangAttribute(table, element);
 }
 /* (non-Javadoc)
  * @see com.itextpdf.html2pdf.attach.ITagWorker#processEnd(com.itextpdf.html2pdf.html.node.IElementNode, com.itextpdf.html2pdf.attach.ProcessorContext)
  */
 public virtual void ProcessEnd(IElementNode element, ProcessorContext context)
 {
     FlushWaitingCell();
     table = tableWrapper.ToTable(null);
 }