cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to know the last page of the element?

rboneti
7-Bedrock

How to know the last page of the element?

Hi All!

In the end of some elements, I need to put a blank page depending if it's pair or odd. How can I do it?

ACCEPTED SOLUTION

Accepted Solutions
jgroos
12-Amethyst
(To:rboneti)

Hello Robson

following markup:

markup.jpg

Create 3 page types. One for left pages, one for right pages, one for blank pages. On the blank one don't use any page regions or only a footer region or whatever you want to display on blank pages.

pagetypes.jpg

Create a page set and select the page types you want to use on left/right/blank pages

pagesets.jpg

In the element condition described in the last answer start a new odd page. This will produce 3 pages; page 2 uses the blank page type

elements.jpg

Please check the help system as well. In Editor's command line type

help 27568

and press enter, you get information about page sets, page types etc.

Best regards

Joachim

View solution in original post

4 REPLIES 4
jgroos
12-Amethyst
(To:rboneti)

Hello Robson,

the easiest way is defining blank pages in your page set. Then the next element following your special element should start a new left or right page. The blank page is inserted automatically.

If you don't know which element follows your special element you need to add conditions with an XPath Test to all possible following elements and test the preceding-sibling:

name(preceding-sibling::*[1])='your_element'

And for this condition you set the Start New Page property in the Breaks tab

condition.jpg

Best regards

Joachim

rboneti
7-Bedrock
(To:jgroos)

Thank you Joachim,

Could you take some screenshots about the first way you said?


jgroos
12-Amethyst
(To:rboneti)

Hello Robson

following markup:

markup.jpg

Create 3 page types. One for left pages, one for right pages, one for blank pages. On the blank one don't use any page regions or only a footer region or whatever you want to display on blank pages.

pagetypes.jpg

Create a page set and select the page types you want to use on left/right/blank pages

pagesets.jpg

In the element condition described in the last answer start a new odd page. This will produce 3 pages; page 2 uses the blank page type

elements.jpg

Please check the help system as well. In Editor's command line type

help 27568

and press enter, you get information about page sets, page types etc.

Best regards

Joachim

rboneti
7-Bedrock
(To:jgroos)

Thanks Joachim, It helped a lot!

Announcements

Top Tags