protected void addLineArea(LineArea la)
 {
     if (!la.isEmpty())
     {
         la.verticalAlign();
         this.addDisplaySpace(this.halfLeading);
         int size = la.GetHeight();
         this.addChild(la);
         this.increaseHeight(size);
         this.addDisplaySpace(this.halfLeading);
     }
     if (pendingFootnotes != null)
     {
         foreach (FootnoteBody fb in pendingFootnotes)
         {
             Page page = getPage();
             if (!Footnote.LayoutFootnote(page, fb, this))
             {
                 page.addPendingFootnote(fb);
             }
         }
         pendingFootnotes = null;
     }
 }
Exemple #2
0
 protected void addLineArea(LineArea la)
 {
     if (!la.isEmpty())
     {
         la.verticalAlign();
         this.addDisplaySpace(this.halfLeading);
         int size = la.GetHeight();
         this.addChild(la);
         this.increaseHeight(size);
         this.addDisplaySpace(this.halfLeading);
     }
     if (pendingFootnotes != null)
     {
         foreach (FootnoteBody fb in pendingFootnotes)
         {
             Page page = getPage();
             if (!Footnote.LayoutFootnote(page, fb, this))
             {
                 page.addPendingFootnote(fb);
             }
         }
         pendingFootnotes = null;
     }
 }