Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Add "current page" option to printer Dialog|
|Component:||printing||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Priority:||P3||CC:||arielch, h.ilter, issues|
|Issue Type:||TASK||Latest Confirmation in:||---|
Description jmpoo 2010-09-06 17:53:33 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
Comment 1 michael.ruess 2010-09-07 08:43:49 UTC
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".
Comment 2 michael.ruess 2010-09-07 08:44:19 UTC
Adding HI to cc.
Comment 3 philipp.lohmann 2011-02-11 15:16:34 UTC
Created attachment 75818 [details] patch showing how it could work
Comment 4 philipp.lohmann 2011-02-11 15:20:57 UTC
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.
Comment 5 jmpoo 2012-05-15 10:32:36 UTC
Any hope that the patch was integrated in AOO?