#ifndef PRINTING_NUP_PARAMETERS_H_
#define PRINTING_NUP_PARAMETERS_H_
#include "base/component_export.h"
namespace printing {
class COMPONENT_EXPORT(PRINTING) NupParameters {
public:
NupParameters(int pages_per_sheet, bool is_source_landscape);
static bool IsSupported(int pages_per_sheet);
bool landscape() const { return landscape_; }
int num_pages_on_x_axis() const { return num_pages_on_x_axis_; }
int num_pages_on_y_axis() const { return num_pages_on_y_axis_; }
private:
void SetParameters(int pages_per_sheet, bool is_source_landscape);
int num_pages_on_x_axis_ = 1;
int num_pages_on_y_axis_ = 1;
bool landscape_ = false;
};
}
#endif