Skip to main content
Inspiring
September 7, 2011
Question

[JS IDCS5] Insert page based on A-master

  • September 7, 2011
  • 1 reply
  • 596 views

Hi,

The following script updates the chapters within a book and insert a blank page if the chapter is ending with an odd-numbered page:

myBook.insertBlankPage = true;

myBook.repaginationOption = RepaginateOption.NEXT_ODD_PAGE;

myBook.updateChapterAndParagraphNumbers();

myBook.repaginate();

myBook.save();

The blank page inserted is really a blank page. How can I define it has to be based on the A-master page?

Sjoerd

This topic has been closed for replies.

1 reply

Harbs.
Legend
September 7, 2011

Depending on your needs, you might be able to loop through all the docs in the book, and apply the A Master a to all blank pages...

Harbs

stoereeeAuthor
Inspiring
September 7, 2011

Depending on your needs, you might be able to loop through all the docs in the book, and apply the A Master a to all blank pages.

That would be an option. But is it not possible to insert a master page instead of a blank page while updating a book?

Harbs.
Legend
September 7, 2011

not that I know of