19#include "KReportLabelSizeInfo.h"
21static KReportLabelSizeInfo s_labels[] = {
23 KReportLabelSizeInfo(
"Avery 5263",
"Letter", 2, 5, 400, 200, 25, 50, 0, 0),
24 KReportLabelSizeInfo(
"Avery 5264",
"Letter", 2, 3, 400, 333, 25, 75, 0, 0),
25 KReportLabelSizeInfo(
"Avery 8460",
"Letter", 3, 10, 262, 100, 32, 50, 0, 0),
26 KReportLabelSizeInfo(
"CILS ALP1-9200-1",
"Letter", 3, 7, 200, 100, 62, 62, 81, 50),
27 KReportLabelSizeInfo()
30KReportLabelSizeInfo KReportLabelSizeInfo::find(
const QString & name)
33 while (!s_labels[i].isNull() && s_labels[i].m_name != name)
41 for (
int i = 0; !s_labels[i].isNull(); i++)
42 l.
append(s_labels[i].m_name);
46KReportLabelSizeInfo::KReportLabelSizeInfo(
const char *n,
const char *p,
int c,
47 int r,
int w,
int h,
int sx,
int sy,
int xg,
68KReportLabelSizeInfo::KReportLabelSizeInfo()
85KReportLabelSizeInfo::~KReportLabelSizeInfo()
89QString KReportLabelSizeInfo::name()
const
94QString KReportLabelSizeInfo::paper()
const
99int KReportLabelSizeInfo::columns()
const
103int KReportLabelSizeInfo::rows()
const
108int KReportLabelSizeInfo::width()
const
113int KReportLabelSizeInfo::height()
const
118int KReportLabelSizeInfo::startX()
const
123int KReportLabelSizeInfo::startY()
const
128int KReportLabelSizeInfo::xGap()
const
133int KReportLabelSizeInfo::yGap()
const
138bool KReportLabelSizeInfo::isNull()
const
void append(QList< T > &&value)