On Thursday 12 September 2002 11:25 am, Andre Poenitz wrote:
> On Thu, Sep 12, 2002 at 09:55:39AM +0100, Angus Leeming wrote:
> > Well that's not surprising now is it. The graphics params
> > are /stored/ by each graphics inset. If you want to /store/
> > the printer params then they'll be remembered too.
> >
> > Where's a good place to store them? In bufferparams perhaps?
>
> Printerparams?
>
> Should that be some global thing like lyxrc?

Only PrinterParams contains file-specific info too:

        string file_name;
        unsigned int from_page;
        unsigned int to_page;

Angus

struct PrinterParams {
        enum Target {
                PRINTER,
                FILE
        };
        Target target;
        string printer_name;
        string file_name;
        bool all_pages;
        unsigned int from_page;
        unsigned int to_page;
        bool odd_pages;
        bool even_pages;
        unsigned int count_copies;
        bool sorted_copies;
        bool reverse_order;
};

Reply via email to