title: How in xsl-fo to add fixed text in the last column on every page except the last?
body: <p>I need to get a document that has multiple columns (for example, two) . At the very end of the document, there is a fixed text (date and signature). In addition, each page, except for the last one, should also have a similar fixed text with a date and signature at the very end of the last column. But if there is only one page in the document, then the fixed text should only be at the end of the document.</p>
  
  <p>Example with multiple pages:</p>
  
  <pre><code>(page 1)
  some text some text     some text some text
  some text some text     some text some text
  some text some text     some text some text
  some text some text     some text some text
  some text some text     some text some text
  some text some text     some text some text
  some text some text     some text some text
  some text some text
  some text some text     date
  some text some text     signature
  
  (page 2)
  some text some text
  some text some text
  some text some text
  
  date
  signature
  something
  </code></pre>
  
  <p>Example with a single page:</p>
  
  <pre><code>some text some text     some text some text
  some text some text     some text some text
  some text some text     
  some text some text     date
  some text some text     signature
  some text some text     something
  some text some text
  some text some text
  some text some text
  some text some text
  </code></pre>
  
  <p>How to get such a document using xsl-fo?</p>