brown.interface.paper_interface

classes

permalink view source

PaperInterface (QPageLayout)

A thin conversion layer between Paper and QPageLayout.

TODO: The pattern used here goes against the interface layer's general contract, and should be refactored.

__init__ (paper) permalink view source

Initialize a QPageLayout from a Paper object

arguments:

paper (Paper):

Margins are in the given paper are ignored so that, when used for printing, this interface allows printing over the page margins.