2022-03-07 18:16:03 +01:00
|
|
|
CHAPTER 9. Multipage facilities
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Cpdf.impose(Cpdf.Pdf, Double, Double, Boolean, Boolean, Boolean, Boolean,
|
|
|
|
Boolean, Double, Double, Double)
|
2022-03-07 18:16:03 +01:00
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Imposes a PDF. There are two modes: imposing x * y, or imposing to fit a page
|
|
|
|
of size x * y. This is controlled by fit. Columns imposes by columns rather
|
|
|
|
than rows. rtl is right-to-left, btt bottom-to-top. Center is unused for now.
|
|
|
|
Margin is the margin around the output, spacing the spacing between imposed
|
|
|
|
inputs.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.twoUp(Cpdf.Pdf)
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Imposes a document two up. twoUpStack does so by doubling the page size, to fit
|
|
|
|
two pages on one.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.twoUpStack(Cpdf.Pdf)
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Impose a document two up. twoUpStack does so by doubling the page size, to fit
|
|
|
|
two pages on one.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.padBefore(Cpdf.Pdf, List{Int32})
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Adds a blank page before each page in the given range.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.padAfter(Cpdf.Pdf, List{Int32})
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Adds a blank page after each page in the given range.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.padEvery(Cpdf.Pdf, Int32)
|
|
|
|
|
|
|
|
Adds a blank page after every n pages.
|
|
|
|
|
|
|
|
Cpdf.padMultiple(Cpdf.Pdf, Int32)
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Adds pages at the end to pad the file to a multiple of n pages in length.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.padMultipleBefore(Cpdf.Pdf, Int32)
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Adds pages at the beginning to pad the file to a multiple of n pages in length.
|