![]() |
![]() |
PBook(PRequestBuf& request);
Because a book can contain a variable number of documents, you must create a PRequestBuf object and pass it to the PBook constructor. The PRequestBuf object should contain the following fields:Clearing the book list. To remove all publications from the book list, specify zero publication names.
eAuto cAutoNumber;
kAutoNone (these are defined in PKeywords.h)This is followed by a list of publications in the book. For each publication:
kAutoNext
kAutoNextOdd
kAutoNextEven
const char * sPubNames;Publication names, including optional pathname to folder and disk (maximum of 91 characters for each name and path)
Example. The following example specifies the type of automatic renumbering for the book, specifies the number of publications in the book list, and creates a list of the publications.
PRequestBuf book(500);
// 500 bytes, plenty big
book << (short) kAutoNext;
// number of books
book << (short) 4;
book << "mydisk:myfolder:toc" << "mydisk:myfolder:sec1"<< "mydisk:myfolder:sec2" << "mydisk:myfolder:sum3";
PBook(book);
Adobe PageMaker 6.5 Help > Commands > Utilities > Book
Comments or suggestions? Contact Adobe Developer Support