Add more page sizes
Closed, ResolvedPublic


KReportPageSizeInfo pageSizeInfo contains few page sizes. Before we freeze the API how about adding more, at least as many as "PageFormatInfo pageFormatInfo" in calligra.git and LibreOffice has?

Entire QPageSize::PageSizeId list would be overkill indeed.


Differential Revisions
D8559: Add additional page sizes
staniek created this task.Aug 23 2017, 9:57 PM
staniek raised the priority of this task from Normal to High.Oct 9 2017, 8:22 PM

Related note: if you open LO Writer's page format dialog, there is no custom size property but just size:

It is reset to size based on 'page size type' selection if the type is not custom. That's different to KReport.

Why I like it?

  1. If custom page type is not used, no custom size is displayed
  2. Picking some non-custom type shows it's actual size like 210x297mm for A4.

Technically it's not hard to have that. Backward compatibility would not be affected (?).

piggz closed this task as Resolved.Oct 30 2017, 11:28 PM