Bug 45498 - PDF export should support Document Type selection (Slides, Handouts, Notes Slides, Notes, Outline) similar to Print
Summary: PDF export should support Document Type selection (Slides, Handouts, Notes Sl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:pdf
: 61752 62350 84857 (view as bug list)
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2012-02-01 05:30 UTC by Bernhard Reiter
Modified: 2020-04-29 14:13 UTC (History)
13 users (show)

See Also:
Crash report or crash signature:


Attachments
Glade dialog with single-choice for scope (59.07 KB, image/png)
2020-04-27 18:29 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Reiter 2012-02-01 05:30:08 UTC
Although it's already possible to add the presentation *notes* to the exported PDF, there doesn't seem to be a way to add the *handouts*. 

Most importantly, there should be an option to export *only* handouts, or notes, to PDF, omitting the actual presentation slides.

See also:
https://issues.apache.org/ooo/show_bug.cgi?id=17387
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/37585
Comment 1 sasha.libreoffice 2012-04-03 04:27:49 UTC
in 3.5.1 not yet implemented in File->Export to PDF
Meanwhile on Linux we should use File->Print for exporting handouts to PDF
Comment 2 Jorendc 2013-03-19 17:57:12 UTC
*** Bug 62350 has been marked as a duplicate of this bug. ***
Comment 3 Jean-Baptiste Faure 2013-06-29 21:04:08 UTC
*** Bug 61752 has been marked as a duplicate of this bug. ***
Comment 4 Cor Nouws 2015-07-30 21:42:25 UTC
*** Bug 84857 has been marked as a duplicate of this bug. ***
Comment 5 Oliver 2016-05-12 15:26:39 UTC
I'm also really missing to be able to export handouts as pdf, especially as this would allow to export several slides on one page. 
Request 92299 actually goes further in this feature request, but is related

Cheers

Oliver
Comment 6 Oliver 2016-05-12 15:30:48 UTC
Actually I'm not sure if "handouts" is the right name, what I would consider usefull is the feature that already exists when printing and which is called in the French version "prospectus", and which allows for printing how many slides on one page and their relative order. This prints only the slides, without a space for notes
Comment 7 Ljiljan 2016-05-12 21:32:43 UTC Comment hidden (obsolete)
Comment 8 Oliver 2016-05-13 12:05:23 UTC Comment hidden (obsolete)
Comment 9 Ljiljan 2016-05-13 16:25:02 UTC
and there is difference in of PDF Export Dialog and PDF generated by Printing Dialog. In my cases, PDF generated by printing dialog is much larger (usually few MB) while those generated by Export Dialog (although, only one slide per page) is up to 500 kb.
Comment 10 Telesto 2018-03-01 19:52:03 UTC
List is probably already closed..
Comment 11 Timur 2020-04-24 09:03:42 UTC
I rename per Comment 6. And I add this from bug 132337:
Now in Print we have Slides, Handouts, Notes, Outline. 
"Notes" should be renamed to "Notes Slides" which it is, and new "Notes" added to have just Notes, which now is not possible.
Adding just Notes might be a new request, but let's see first if something will be done here.

I add UX to have mockup. I guess we can use empty part of "PDF options" window. And replace "Export Notes Pages" and "Export only Notes Pages" with full options.
Comment 12 Heiko Tietze 2020-04-27 18:29:12 UTC
Created attachment 160008 [details]
Glade dialog with single-choice for scope

(In reply to Timur from comment #11)
> I add UX to have mockup. 

How about this? Don't see the use case to print normal or slide sorter + notes. So I removed the two checkboxes and added one dropdown.

diff --git a/filter/uiconfig/ui/pdfgeneralpage.ui b/filter/uiconfig/ui/pdfgeneralpage.ui
index 02bef0174279..d636a16da584 100644
--- a/filter/uiconfig/ui/pdfgeneralpage.ui
+++ b/filter/uiconfig/ui/pdfgeneralpage.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.1 -->
+<!-- Generated with glade 3.22.2 -->
 <interface domain="flt">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkSizeGroup"/>
@@ -172,6 +172,75 @@
             <property name="position">0</property>
           </packing>
         </child>
+        <child>
+          <object class="GtkFrame">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="label_xalign">0</property>
+            <property name="shadow_type">none</property>
+            <child>
+              <object class="GtkAlignment">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="left_padding">12</property>
+                <child>
+                  <object class="GtkBox">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <child>
+                      <object class="GtkLabel" id="lbScope">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="label" translatable="yes" context="pdfgeneralpage|scopelabel">_Content:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">cbScope</property>
+                        <property name="xalign">0</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkComboBoxText" id="cbScope">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="active">0</property>
+                        <items>
+                          <item id="0" translatable="yes" context="pdfgeneralpage|scopebox_1">Normal</item>
+                          <item id="1" translatable="yes" context="pdfgeneralpage|scopebox_2">Outline</item>
+                          <item id="2" translatable="yes" context="pdfgeneralpage|scopebox_3">Notes</item>
+                          <item id="3" translatable="yes" context="pdfgeneralpage|scopebox_4">Slide Sorter</item>
+                        </items>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child type="label">
+              <object class="GtkLabel" id="frmScope">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes" context="pdfgeneralpage|scopeframe">Scope</property>
+                <attributes>
+                  <attribute name="weight" value="bold"/>
+                </attributes>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
         <child>
           <object class="GtkFrame" id="frame2">
             <property name="visible">True</property>
@@ -344,7 +413,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="position">1</property>
+            <property name="position">2</property>
           </packing>
         </child>
         <child>
@@ -426,7 +495,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="position">2</property>
+            <property name="position">3</property>
           </packing>
         </child>
       </object>
@@ -791,7 +860,7 @@
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
-                        <property name="top_attach">7</property>
+                        <property name="top_attach">5</property>
                       </packing>
                     </child>
                     <child>
@@ -806,7 +875,7 @@
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
-                        <property name="top_attach">8</property>
+                        <property name="top_attach">6</property>
                       </packing>
                     </child>
                     <child>
@@ -819,48 +888,11 @@
                         <property name="use_underline">True</property>
                         <property name="draw_indicator">True</property>
                       </object>
-                      <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">5</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkCheckButton" id="notes">
-                        <property name="label" translatable="yes" context="pdfgeneralpage|notes">Export _notes pages</property>
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="receives_default">False</property>
-                        <property name="halign">start</property>
-                        <property name="use_underline">True</property>
-                        <property name="draw_indicator">True</property>
-                      </object>
                       <packing>
                         <property name="left_attach">0</property>
                         <property name="top_attach">3</property>
                       </packing>
                     </child>
-                    <child>
-                      <object class="GtkAlignment" id="onlynotesframe">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="left_padding">18</property>
-                        <child>
-                          <object class="GtkCheckButton" id="onlynotes">
-                            <property name="label" translatable="yes" context="pdfgeneralpage|onlynotes">Export onl_y notes pages</property>
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="halign">start</property>
-                            <property name="use_underline">True</property>
-                            <property name="draw_indicator">True</property>
-                          </object>
-                        </child>
-                      </object>
-                      <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">4</property>
-                      </packing>
-                    </child>
                     <child>
                       <object class="GtkCheckButton" id="singlepagesheets">
                         <property name="label" translatable="yes" context="pdfgeneralpage|singlepagesheets">Whole sheet export</property>
@@ -873,7 +905,7 @@
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
-                        <property name="top_attach">6</property>
+                        <property name="top_attach">4</property>
                       </packing>
                     </child>
                   </object>
@@ -921,6 +953,7 @@
       <widget name="all"/>
       <widget name="range"/>
       <widget name="selection"/>
+      <widget name="lbScope"/>
       <widget name="losslesscompress"/>
       <widget name="box3"/>
       <widget name="reduceresolution"/>
@@ -930,6 +963,7 @@
   <object class="GtkSizeGroup" id="sizegroupWidget">
     <widgets>
       <widget name="pages"/>
+      <widget name="cbScope"/>
       <widget name="qualityframe"/>
       <widget name="resolution"/>
       <widget name="watermarkentry"/>
diff --git a/translations b/translations
index ebb391af0691..0a73e51795ef 160000
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit ebb391af06913d791a1b283415744bc9521b4cb0
+Subproject commit 0a73e51795ef412006c59d3723f265fed445dea1
Comment 13 Timur 2020-04-29 07:09:15 UTC
Drop-down is OK and more logical than checkboxes and similar to Print options.