Quick tidbit today from Hok Min, the new RTF uber meister. It came out of a question with someone trying to use the 'split-by-page-break' command in a bit of a funky way. They had the following code:
<?if:CF_LPN_FLAG='Y'?>
<?split-by-page-break: ?>
<?end if?>
Its a nice enhancement candidate but its not going to work. We are expecting the split-by-page-break command inside a loop not as part of a condition.
Say, you're looping over departments (DEPT) and want a page break when the department changes. You'd have something like
<?for-each:DEPT?>
...
...
...
<?split-by-page-break:?>
<?end for-each?>
This would get out engine to insert a page break into the document before the occurrence of a new department.
To get the original code above to work you physically need to insert a page break into your template. Kinda screws the WYSIWYG layout a bit but you get the desired functionality i.e. a conditional page break.
For a sample RTF and XML click
here
I have a vendor group and list of POs for each
After each vendor I need a page break. I tried
It does not work every time
Not sure why
tarot card meaningsencyclopedia ofessence, Tarot.comTarot reading by[url=http://gitarista.sk/board/member.php?u=46359]free tarot reading on love[/url]scholar and a bishopsimply not availabletechnology, it
I hope that I have a simple question for you. I have a rtf template that I am applying on top of a seeded Oracle Applications report (rdf). The users have requested that I put a page break on a column. I know that it would be easy if I could change the rdf, but I want to keep that unchanged for support reasons. How can I create a page break based on a value of one of the fields?
So my xml looks like this:
<INVTOPKL>
<LIST_G_PICK_SLIP_NUMBER>
<G_PICK_SLIP_NUMBER>
<PICK_SLIP_NUMBER>476715</PICK_SLIP_NUMBER>
<LIST_G_PARENT_LINE_ID>
<G_PARENT_LINE_ID>
<PARENT_LINE_ID></PARENT_LINE_ID>
<LIST_G_MAIN_GROUP>
<G_MAIN_GROUP>
<SUB_DROPPING_ORDER></SUB_DROPPING_ORDER>
<LOC_DROPPING_ORDER></LOC_DROPPING_ORDER>
<REQUEST_NUMBER>400450</REQUEST_NUMBER>
<MOVE_ORDER_TYPE>5</MOVE_ORDER_TYPE>
<LINE_NUMBER>1</LINE_NUMBER>
</G_MAIN_GROUP>
<G_MAIN_GROUP>
<SUB_DROPPING_ORDER></SUB_DROPPING_ORDER>
<LOC_DROPPING_ORDER></LOC_DROPPING_ORDER>
<REQUEST_NUMBER>400450</REQUEST_NUMBER>
<MOVE_ORDER_TYPE>5</MOVE_ORDER_TYPE>
<LINE_NUMBER>3</LINE_NUMBER>
</G_MAIN_GROUP>
<G_MAIN_GROUP>
<SUB_DROPPING_ORDER></SUB_DROPPING_ORDER>
<LOC_DROPPING_ORDER></LOC_DROPPING_ORDER>
<REQUEST_NUMBER>400451</REQUEST_NUMBER>
<MOVE_ORDER_TYPE>5</MOVE_ORDER_TYPE>
<LINE_NUMBER>4</LINE_NUMBER>
</G_MAIN_GROUP>
...
</LIST_G_MAIN_GROUP>
<LIST_G_PARENT_LINE>
</LIST_G_PARENT_LINE>
</G_PARENT_LINE_ID>
</LIST_G_PARENT_LINE_ID>
</G_PICK_SLIP_NUMBER>
</LIST_G_PICK_SLIP_NUMBER>
</INVTOPKL>
Currently, the rtf template has a for-each on <G_MAIN_GROUP>. I would like it to page beak whenever the <REQUEST_NUMBER> changes (it is already sorted this way). Is this possible?
Thanks,
I have inserted grouping in my rtf template for each facility and then cat_major. I need page break once facility change.
I tried split-by-page-break and page-break="yes" in various field in field property (Add help Text...) at beginning and end of group but, it does not help.
Any suggestions?
Vijay
I have 4 groups : g_due_date, g_supplier, g_item, g_Details.
My requirement is if g_due_date and g_supplier should not print not print alone on a page. It should print only if there is space for g_item to print. How can I achieve this.
I'm designing a RTF file in MSWORD.
In my file I'm using a section of multicolumn text. This section is printed upon a condition that should be met. However, when that condition is not met, and The BIP generates the PDF file, it converts the section break to a page break, hence inserting a blank page at the end of my PDF.
I have tried to bypass the problem by setting the printing condition before the section break, but then the BIP seems to move the section out of the IF scope(I also saw it in the XSL-FO structure). It simply ignores the condition.
Can anyone help me with this?
how can use @section,what is the difference between @section and split by pagabreak.Please advice me
Thanks
Bhaskar.B
If you create a template called PB at the bottom of your rtf document then call the template from inside your if:end if code then you won't lose your WYSIWYG layout very much.
Hi,
I am trying to do a split-by-page-break but i am inside a group by. The goal is to only get a certain number of rows per page. No matter what i have tried it will not execute the split-by-page-break.
Thanks,
Greg