[xep-support] Re: Display of static Page after Dynamic page

From: Kevin Brown <kevin@renderx.com>
Date: Tue May 15 2012 - 14:22:05 PDT

Raghava:

I reread you request ... is it that you are saying every other page in the
dynamic section needs to be a static instruction page?

This is likely better accomplished through custom code that trying through
modifying VisualXSLs processing chain. VisualXSL was not designed for every
other page masters and you would need to override the master templates that
do page masters in a CustomTranslate project.

The something else I would recommend (especially if the static page is just
one static page) ...

Use a little code to accomplish what you want (and make the whole process
likely a bit faster in the meantime).

1) Run the document as is to XEP Intermediate Format
2) Open that file in an XML editor
3) You will see <document><page>...</page><page>....</page> ...
4) Put together a simple XSL (if the documents are not too long) or a simple
XML reader/writer that converts that intermediate output according to your
rules, copying the last <page> between the <page> elements you need. We
could easily write that if you desire. If you wish PDF page numbering to be
accurate, modify the pagenum attributes of the page elements.

On implementation you would run to the XEPOUT format, modify the XEPOUT
stream and feed that back to RenderX.

This is effectively splitting the "engine" into two parts. We use such
things all the time for accomplishing special tasks. See the n-up examples
(http://www.renderx.com/cooltools.html) for such techniques. And if you
implemented in FO in such a way that the static instruction page was
composed each time it is needed, the above technique would speed up the
formatting time (considerably for larger documents).

If you need help, contact me for our Professional Services team and we can
assist.

Kevin Brown
RenderX

-----Original Message-----
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Narapareddy, Raghava
Sent: Thursday, April 19, 2012 4:45 PM
To: xep-support@renderx.com; xep-support@renderx.com
Subject: [xep-support] Display of static Page after Dynamic page

Hi,

I am facing an issue with display of instruction page after each dynamic
page.

I have standard 4 page document (All 4 pages are different),

But this document can grow if the content in page3(Dynamic data) is more, it
can grow up to ten pages.

My VXL design :

Page 1 : Static page
Page 2 : Static page
Page 3 : Dynamic Page
Page 4 : Instruction page ( Static Page)

XML value that populates contains 4800 characters, my document prints all
the 4 pages in order ( Static, Static, Dynamic and Instruction page)

If XML value contains 30000 characters( Nearly 6 Page content). Every time I
have to insert instruction page after for dynamic page.

I should create the document in this order.
Page 1 : Static page
Page 2 : Static page
Page 3 : Dynamic Page
Page 4 : Instruction page ( Static Page)
Page 5 : Dynamic Page
Page 6 : Instruction page ( Static Page)
Page 7 : Dynamic Page
Page 8 : Instruction page ( Static Page)
Page 9 : Dynamic Page
Page 10 : Instruction page ( Static Page)
Page 11 : Dynamic Page
Page 12 : Instruction page ( Static Page)
Page 13 : Dynamic Page
Page 14 : Instruction page ( Static Page)

Currently I am able to generate document like this.

Page 1 : Static page
Page 2 : Static page
Page 3 : Dynamic Page
Page 4 : Dynamic Page
Page 5 : Dynamic Page
Page 6 : Dynamic Page
Page 7 : Dynamic Page
Page 8 : Dynamic Page
Page 9 : Instruction page ( Static Page)

Your help in this regard will be highly appreciated.

Thanks
RAGHAVA NARAPAREDDY
CMIPS II, Case Management
US HealthCare, HP Enterprise Services
8000 Foothills Blvd, Roseville, CA 95747.
Mailstop: 5662
W: 916-785-0990
C: 916-833-8645
Email raghava.narapareddy@hp.com

This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain privileged and/or confidential
information. If you are not the intended recipient of this e-mail, any
dissemination, distribution or copying of this e-mail, and any attachments
thereto, is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender by e-mail or telephone and permanently
delete all copies of this e-mail and any attachments.

!DSPAM:87,4f90a48363731631220315!

_______________________________________________
(*) 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

_______________________________________________
(*) 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 Tue May 15 14:13:24 2012

This archive was generated by hypermail 2.1.8 : Tue May 15 2012 - 14:13:29 PDT