Hi,
To add to earlier discussion our requirement is to group a set of blocks without breaking them between the columns or the pages and the second requirement it to that to avoid a particular block to publish at the end of the column or a page. You can assume any block with in the container for this requirement.
With the sample given below how can I achieve these requirements both at once ,
<fo:flow flow-name="xsl-region-body">
<fo:block-container >
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. </fo:block>
<fo:block>Para 2: Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet.</fo:block>
................
.......................
</fo:block-container>
<fo:block-container >
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. </fo:block>
<fo:block>Para 2: Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita
eos in et accusam ea sea praesent.</fo:block>
................
.......................
</fo:block-container>
<fo:block-container >
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. </fo:block>
<fo:block>Para 2: Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet.</fo:block>
................
.......................
</fo:block-container>
<fo:block-container >
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. </fo:block>
<fo:block>Para 2: Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita
eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
</fo:flow>
Note: Also consider a case where the block occupies the entire column and moves to next one.
Thanks,
| Akula Nithin | Software Engineer | OGS | Office 40 30852249 | Cell 9963716952|
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of Kevin Brown
Sent: Tuesday, October 06, 2015 9:12 PM
To: 'RenderX Community Support List'
Subject: [xep-support] Re: keep-together and keep-with-next
It is unclear without posting a sample, but the easiest solution to what you describe is:
<fo:block-container keep-together.within-column="always">
<fo:block>Stuff ...</fo:block>
<fo:block>More stuff that is optionally the second block to stick together</fo:block>
</fo:block-container>
For instance try this and you will see that para1 and para2 are never split apart at any column.
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-width="700pt" page-height="780pt" master-name="first">
<fo:region-body margin="1in" column-count="2"/>
<fo:region-before extent="1in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="first">
<fo:static-content flow-name="xsl-region-before">
<fo:block-container height="1in">
<fo:block><fo:leader/></fo:block>
</fo:block-container>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
<fo:block-container keep-together.within-column="always">
<fo:block>Para 1: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
<fo:block>Para 2: Exerci takimata in blandit nostrud stet consetetur at sea feugiat. Nonummy sadipscing ipsum diam sea dolore sit velit molestie diam. Erat ea blandit delenit justo enim autem augue lobortis dolor at eleifend invidunt ea dolores vero clita in stet. Velit tation sit gubergren dolore tempor aliquam duo est sanctus sit sea magna feugiat sed sit sit. Stet sit amet sit amet velit. Sanctus et eum sed no et clita eos in et accusam ea sea praesent.</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
Kevin Brown
RenderX
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of Akula, Nithin
Sent: Tuesday, October 06, 2015 7:51 AM
To: xep-support@renderx.com<mailto:xep-support@renderx.com>
Subject: [xep-support] keep-together and keep-with-next
Hi Kevin,
I have 2 requirements currently
1) To group content under a fo:block under a column
2) To stick 2 different fo:block when necessary
I am trying to use the keep-together.within-column="always" and keep-with-previous.within-page="always" in combination on the fo:block. But I am not able to achieve what
I want and the behavior of the fo:block is quite inconsistent.
Can we use them in combination at all ?
Thanks,
| Akula Nithin | Software Engineer | OGS | Office 40 30852249 | Cell 9963716952|
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Mon May 9 12:46:46 2016
This archive was generated by hypermail 2.1.8 : Mon May 09 2016 - 12:47:03 PDT