<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Requested feature: table header for multipage table with conditional text"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131629">131629</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Requested feature: table header for multipage table with conditional text
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sergio.callegari@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When a long table is needed, spanning more than one page, it is good to be able
to repeat the first row of the table (or the first rows of the table) for
greater clarity and indeed LibO provides this behavior.

However, it would be particularly good to be able to slightly vary this text
depending on the page.

For instance suppose that the first row contains the table title. It would be
great to have it repeated on the second page with the word " (continued)"
attached to it.

IMHO, this result could be obtained in various ways, I am proposing two:

1) Conditional text

LibO already has the idea of a conditional text. However, it is unclear what
can be used as a boolean condition. If one could write something like "page eq
page(reference(sym))" there would be the possibility of setting a reference in
the first row and then add in the same row a piece of conditional text so that
some text is shown when the row is printed on the same page where the reference
is set and some other text is printed in other pages.

2) Rows that can be hidden

One could write all the rows that may be needed and then have an option to
conditionally hide them (Only show row in first page, always show row). 

Steps to Reproduce:
See description

Actual Results:
See description

Expected Results:
See description


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>