/* (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)
 {
     inlineHelper.FlushHangingLeaves(lastParagraph);
     if (elementsContainer != null)
     {
         AccessiblePropHelper.TrySetLangAttribute(elementsContainer, element);
     }
     else
     {
         AccessiblePropHelper.TrySetLangAttribute(lastParagraph, element);
     }
 }
 /// <summary>Flushes inline elements to the waiting cell.</summary>
 private void FlushInlineElementsToWaitingCell()
 {
     if (null == waitingCell)
     {
         waitingCell = CreateWrapperCell();
     }
     inlineHelper.FlushHangingLeaves(waitingCell);
 }
Exemple #3
0
        /// <summary>Processes an unlabeled list item.</summary>
        private void ProcessUnlabeledListItem()
        {
            Paragraph p = inlineHelper.CreateParagraphContainer();

            inlineHelper.FlushHangingLeaves(p);
            if (p.GetChildren().Count > 0)
            {
                AddUnlabeledListItem(p);
            }
        }
Exemple #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)
 {
     inlineHelper.FlushHangingLeaves(document);
 }
Exemple #5
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)
 {
     inlineHelper.FlushHangingLeaves(lastParagraph);
 }