Apache OpenOffice (AOO) Bugzilla – Issue 114356
Add "current page" option to printer Dialog
Last modified: 2017-05-20 11:17:42 UTC
As additional option to "all", "Page" and "Selection". It would be very useful if you could print the actually used page or rather the selected page in page preview
MRU->PL: in the "old" printer dialog in the option "pages" the current page was the default setting. This should also be the case in the "new" dialog from "printerpullpages" CWS. This is IMO better than the current default "Pages 1 - x" which would mean the same as "Print all".
Adding HI to cc.
Created attachment 75818 [details] patch showing how it could work
Currently the PageRange Property (which fills the Edit field in question) gets filled with the whole range "1-" getRendererCount. If the property is already set, it shouldn't be overwritten. I fixed that in CWS vcl119. After that the application needs to fill in the number to display. Attached patch uses GetPhyPageNum to achieve this; that fails however when the number of pages printed is different from the number of pages in the document (e.g. print left pages only). The correct mapping as used in getRendererCount and getRenderer would need to be used; which is rather writer specific, hence I forward this issue to the writer team.
Any hope that the patch was integrated in AOO?
Reset assigne to the default "issues@openoffice.apache.org".