The base class for all pdfimposer converter classes.
It is an abstract class, with some abstract functions which should be
overriden :
- get_input_height
- get_input_width
- get_page_count
- bookletize
- linearize
- reduce
|
__init__(self,
layout='2x1',
format='A4',
flip=TwoSidedFlip.SHORT_EDGE,
copy_pages=False)
Create an AbstractConverter instance. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_copy_pages(self,
copy_pages)
Set wether the same group of input pages shoud be copied to fill the
corresponding output page or not. |
source code
|
|
|
get_copy_pages(self)
Get wether the same group of input pages will be copied to fill the
corresponding output page or not. |
source code
|
|
|
|
|
|
|
set_two_sided_flip(self,
flip)
Set the edge which the paper will be flipped on when printed. Defaults
to TwoSidedFlip.SHORT_EDGE, where all the output pages are the right
way up. If your printer can only flip over the long edge, set this to
TwoSidedFlip.LONG_EDGE. The imposer will rotate all even output pages
180° to compensate. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|