pdfimpose.schema
¶
Common classes and function to different imposition schemas.
Each submodule provides:
a class
SCHEMAImpositor
, where:its
SCHEMAImpositor.__init__()
method takes the schema arguments (which are more or less the same ones as the corresponding command line subcommand);its
SCHEMAImpositor.impose()
method take the source and destination file names as arguments, and performs the imposition;
a function
impose()
, which is barely more than a wrapper to the aforementionned class.
Margins
¶
Page
¶
Matrix
¶
AbstractImpositor
¶
- class pdfimpose.schema.AbstractImpositor(last: int = 0, omargin: ~pdfimpose.schema.Margins | str | ~numbers.Real | ~decimal.Decimal = <factory>, mark: list[str] = <factory>)[source]¶
Perform imposition of source files onto output file.
This is an abstract method, with common methods, to be inherited by imposition schemas.