comet.CSpread¶
- class comet.CSpread¶
A spread is a collection of pages belonging together.
Methods¶
- CSpread.getDocument()¶
Get the document this spread belongs to.
- Returns:
The document.
- Return type:
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf®
- CSpread.getPages()¶
Get all pages on this spread.
- Returns:
All pages on this spread.
- Return type:
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf®
- CSpread.remove()¶
Remove this spread and all pages from the document it belongs to.
All subsequent calls to this spread’s functions will fail. This is also true for all CPage objects referencing pages from this spread.
At least one page has to remain in the document, so if this is the last spread this function will fail.
- Return type:
None
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf®