![]() | InDesign SDK 20.5 |
Public Member Functions | |
| ErrorCode | DoPrintDocument (IDocument *document, IPrintCmdData::PrintUIOptions printUIOptions, const UIDRef &printStyle, const int32 whichPages, const PMString &pageRangeString) |
| ErrorCode | SetLayerPrintability (IDocumentLayer *docLayer, bool16 printable) |
| ErrorCode | DoPrintBook (IBook *book, IBookOutputActionCmdData::OutputUIOptions printUIOptions, const int32 documentToPrint=-1) |
| K2Vector< PMString > | GetBookContentNames (IBook *book) |
| UIDList | SortUIDList (const UIDList &uidlist) |
,
| ErrorCode SnpPrintDocument::DoPrintBook | ( | IBook * | book, |
| IBookOutputActionCmdData::OutputUIOptions | printUIOptions, | ||
| const int32 | documentToPrint = -1 | ||
| ) |
Prints a book.
| book | IN The book to print. |
| printUIOptions | IN The UI options. |
| documentToPrint | IN The index of the book content (document) to print. -1 means print all book contents. |
| ErrorCode SnpPrintDocument::DoPrintDocument | ( | IDocument * | document, |
| IPrintCmdData::PrintUIOptions | printUIOptions, | ||
| const UIDRef & | printStyle, | ||
| const int32 | whichPages, | ||
| const PMString & | pageRangeString | ||
| ) |
Prints a document.
| document | IN The document to print. |
| printUIOptions | IN The UI options during printing. |
| printStyle | IN The print style to use. |
| whichPages | IN Which pages to print. Either IPrintData::kAllPages or IPrintData::kPageRange. |
| pageRangeString | IN The string that denotes the range of pages to print. |
Get the names of the book contents.
| book | IN The book to examine. |
| ErrorCode SnpPrintDocument::SetLayerPrintability | ( | IDocumentLayer * | docLayer, |
| bool16 | printable | ||
| ) |
Set the printability of a document layer
| docLayer | IN The document layer to be set printable or not. |
| printable | IN The boolean represents the printability. |