XSL-FO Leaders

The <fo:leader> formatting object is used in table of contents to fill free space between titles and page numbers, to create entry fields, horizontal rules for separators, etc.

   ...
   <fo:block color="#005A9C" text-align-last="justify" margin-left="3em">
     <fo:inline font-size="1em" font-weight="bold">
       1. Introduction and Overview
     </fo:inline>
     <fo:leader color="black" leader-pattern="dots"/>
     <fo:page-number-citation ref-id="Intro"/>
   </fo:block>
   ...
   <fo:block id="Intro">
     1. Introduction and Overview
   </fo:block>
   <fo:block>
     This book is about...
   </fo:block>
   ...