<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 - Export as PDF: Exports all sheets although "Range: Selection/Selected sheet(s)""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134789">134789</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Export as PDF: Exports all sheets although "Range: Selection/Selected sheet(s)"
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tom@lautenbacher.biz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When you set "Range: Selection/Selected sheet(s)" in the General options of the
PDF options, then ALL sheets of the ods are exported to PDF instead of only the
current one, which by default is highlighted as selected.

I have found a work around: I insert another sheet but leave it empty. Then I
select the sheet I want to print plus that empty new sheet. In this case the
option "Range: Selection/Selected sheet(s)" works fine and only the pages from
the sheet I want to export are exported.

Steps to Reproduce:
1. Have an odt with multiple sheets that are filled with data
2. Go to File > Export as PDF: General and select "Selection/Selected sheet(s)
3. Export and realize that the entire spreasheet with all sheets has been
exported

Actual Results:
All sheets are exported

Expected Results:
Only the active sheet should be exported


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
This bug is existing for ages since many releases.

Workaround: Create an additional empty sheet and then select the desired sheet
plus the empty sheet and find only the pages of the desired sheet get exported
to PDF as wanted.</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>