Bug 38830

Summary: Print current page
Product: LibreOffice Reporter: Björn Michaelsen <bjoern.michaelsen>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: medium CC: christoph.spamforme, LibreOffice, vuhung16plus
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard: EasyHack
i915 platform: i915 features:

Description Björn Michaelsen 2011-06-30 08:58:33 UTC
Print current page

Background: In previous versions of OOo, there used to be a possiblity to print current page easily, but it got lost with the rework of the print dialog. The previous printing dialog made sure to set the field "Pages" according the currently active page number when the dialog was opened. It seems there is a demand for this feature, so it might be good to get it back :-)

Code pointers: For Writer, should be possible to pass the current page number to the SwPrintUIOptions's constructor wherever it is being constructed, probably in SwDocShell. If that is correct, in SwDocShell you have GetWrtShell(), and can do the same as this.

Something similar will be necessary for the other apps too.

Specification pointers: OOo CWS printerpullpages specification for mockups, OOo 3.1 printing dialog screenshots. Please also see: Bug 34697

Skills: building, C++
Comment 1 Stefan Knorr (astron) 2011-07-15 06:45:42 UTC
Sorry to say, but this is a dupe. I'll add the keywords to the original bug.

*** This bug has been marked as a duplicate of bug 34697 ***
Comment 2 tatung 2011-07-17 17:05:59 UTC
Please check the patch at #34679
https://bugs.freedesktop.org/show_bug.cgi?id=34697
Comment 3 Björn Michaelsen 2011-08-02 03:41:33 UTC
removing whiteboard status
Comment 4 Rainer Bielefeld Retired 2012-04-10 02:54:47 UTC
EasyHack tags unification: tags only allowed in Whiteboard to make queries more easy and reliable

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.