[Libreoffice] [MHST][Easy Hack] Get current page number for printing
Christoph Noack
christoph at dogmatux.com
Mon Jul 18 22:20:38 PDT 2011
Hi TaTung, all!
Sorry for answering so late ...
Am Samstag, den 16.07.2011, 21:40 +0700 schrieb Ta Duc Tung:
> On 07/16/2011 07:29 PM, Christoph Noack wrote:
[...]
> >> We are trying to hack into this easy hack
> >> https://bugs.freedesktop.org/show_bug.cgi?id=38830
> >> We're still studying source code. We have 2 questions:
> > Great!
[...]
> >> 2. How to add another RadioButton in to print dialog?
> >> We can enable and disable existing RadioButton like All, Pages,
> >> or Selection but it's still mystery for adding new RadioButton. We want
> >> to add a Current Page radio button just below Pages radio button.
> >>
> >> Anyone please help us :)
> > Is there a specific reason to use another radio button? OOo once added
> > the current page number to the "Pages" field - which worked okay for
> > many users.
> I think it will be more intuitive and easier to use if we have a Current
> Page radio button there. As a beginner, I won't aware that the number in
> the text box is current page because normally, I scarcely care which
> page I was.
Okay, that's a good point - when we've designed the today's printing
dialog, we tried hard to get rid of many of the old options to make it
both useful and clean (although current page was never part of that).
I've noticed that you already provided a patch for that - thanks! And
here I'd like to ask you to help me to get some understanding ...
reason: I lack C++ coding skills.
So ...
* Where is "Current page" located? Between "Pages" and
"Selection", I assume, or?
* Please take care that the dialog does not grow in height (too
much), since it won't be usable on netbooks.
* Does this patch also provide "Current Page" for Draw/Impress?
This would be essential for consistency. If yes, then the
terminology for Impress only) is different: "Current Slide".
Only for Calc and Math it is not needed or makes less sense.
Could you please provide some hints to me? Thanks!
Mmh, looking at a recent LibO version, I notice that somebody moved ...
the "reverse order" option to a weird position (makes no sense, breaks
spacing etc.) But that's another story.
Cheers,
Christoph
More information about the LibreOffice
mailing list