Ecrion Software Inc. Homepage
Forum Home Forum Home > XF Designer > Knowledge Database
  New Posts New Posts RSS Feed: Multiple "fo:flow" Elements in a Page Sequence
  FAQ FAQ  Forum Search   Register Register  Login Login

Multiple "fo:flow" Elements in a Page Sequence

 Post Reply Post Reply
Author
Message / View First Unread Post
justinw View Drop Down
Admin Group
Admin Group
Avatar

Joined: 08 Dec 2011
Posts: 199
Post Options Post Options   Quote justinw Quote  Post ReplyReply Direct Link To This Post Topic: Multiple "fo:flow" Elements in a Page Sequence
    Posted: 09 Dec 2011 at 9:46am
Q:  Can we have multiple fo:flow elements in an fo:page-sequence?

A:  Yes, you can have multiple fo:flow elements in an fo:page-sequence by using "fo:flow-map". 

-----------------------------------------------------------------------------------------------------------------------------

Q: How can I use the element fo:flow-map to help me accomplish this? 

A:  Here are some instructions to better demonstrate the usage of "fo:flow-map".  See sample code below:

1)  You can initially assign multiple fo:flow's within the fo:flow-map element.  See below...

<fo:flow-map flow-map-name="flow-map">
<fo:flow-assignment>
<fo:flow-source-list>
<fo:flow-name-specifier flow-name-reference="first-flow-region"/>
</fo:flow-source-list>
<fo:flow-target-list>
<fo:region-name-specifier region-name-reference="first-flow-region"/>
</fo:flow-target-list>
</fo:flow-assignment>
...

2)   Within the fo:page-sequence, you can reference the above "fo:flow-map" and use the flow-name attribute appropriately.  See below...

<fo:page-sequence master-reference="Letter Page" flow-map-reference="flow-map">
<fo:flow flow-name="first-flow-region" font-family="Times" font-size="12pt">
<fo:block>First flow region- First page</fo:block>
<fo:block break-before="page">First flow region - Second page</fo:block>
</fo:flow>
...

-----------------------------------------------------------------------------------------------------------------------------

Q:  How can I accomplish making these changes in the XF Designer tool?

A:  You can make these modifications in the XML/Text editing view.  To navigate to this view, you can simply click on the "View" tab and reference the "Document Views" group.  Then click on "Text View".

For more information on using fo:flow-map, please see the attached examples or visit:




Edited by justinw - 14 Dec 2011 at 9:45am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.125 seconds.