Skip to main content
February 13, 2012
Question

Conditional formatting based on whether content is on left or right page

  • February 13, 2012
  • 1 reply
  • 1722 views

Thanks in advance for any help you can provide: I am not sure how I would go about searching for an answer to this question, so please forgive me if this question has been asked and answered before.

I'm working on a contract that requires use of FrameMaker 7.x

I have content that can be broken across a left-right page break (so when the two-page spread is open, the content continues at the top of the right page) but if the content would break across a right-left page break, the entire block of content should be moved to the top of the left page.

I have the FrameMaker SDK documentation etc. but can't find a way to say that a "keep with" rule should only apply if the content is rendered on a left page... that is, keep with previous is enforced when the thing that is "previous" that should be kept with is across the page break but only when the previous page would be a right page.

Is such a thing possible in Frame 7.x?

This topic has been closed for replies.

1 reply

Bob_Niland
Community Expert
Community Expert
February 13, 2012

Can you start the left page content with a paragraph type set to "Top of Left page"?

... or does that lead to too many empty right pages.

February 13, 2012

Thanks for that suggestion but unfortunately the content constructs can vary from a 1/4 page to 1.5 pages, with the majority in the 1/4 to 3/4 page size

Legend
February 14, 2012

Caracticus,

This is definitely something that would require scripting or custom programming and can certainly be done with the FDK. A segment of text knows what frame it is in, and a frame knows what page it is on, and a page knows what type it is, and a body-type page knows what master page (perhaps right or left) that is assigned to it. So, this is just a short answer to say that yes it is possible if you go that route. You have to know what you are doing with the FDK, though. While it is straightforward when looking at the GUI, is a fairly advanced concept when using the FDK.

Russ