Page Break in rtf template

Hi
We have inserted page break using split-by-page-break in rtf template, it is working if we use page break syntax for 2 sub sections after main section
where as it is not working if we have 3 sections giving syntax below in both cases
Groups and syntax used with 2 sections (Page break at G_OPERATIONS is working)
<?for-each@section:G_JOB?>
<?start:body?>
<?for-each:G_OPERATIONS?>
<?IF:CF_SHOW_RES='Y' ?>
<?for-each:G_RESOURCES?> <?end for-each?>
<?end if?>
<?split-by-page-break:?> <?end for-each?>
<?end for-each?>
<?end body?>
Groups and syntax used with 3 sections (Page break at G_OPERATIONS is not working)
<?for-each@section:G_JOB?>
<?start:body?>
<?for-each:G_OPERATIONS?>
<?IF:CF_SHOW_RES='Y' ?>
<?for-each:G_RESOURCES?> <?end for-each?>
<?end if?>
<?IF:CF_SHOW_OP='Y' ?>
<?for-each:G_INSTRUCTIONS?> <?end for-each?>
<?end if?>
<?split-by-page-break:?> <?end for-each?>
<?end for-each?>
<?end body?>
Let me know if any hints on fixing this issue

Try using <xsl:attribute name="break-before">page</xsl:attribute> within a form field instead of using the split-by-page-break.
You can also use this <xsl:attribute name="break-after">page</xsl:attribute> depending on your requirement..
Thanks,
Bipuser

Similar Messages

  • How to Page Break in RTF Format

    Hello XML Gurus,
    We are changing the reports from Oracle Reports to XML.
    For this, We are using RTF template.
    Can you Please let me know, how to put Page Breaks in RTF format.
    Your reply will be much appreciated.
    Regards
    Ganesan

    Put this where you want the page break :
    <?split-by-page-break:?>

  • Page Protect in RTF Template

    I have a RTF template in which I have the following defined:
    header text
    start:body
    body text 1
    for each g_group
    text table
    end g_group
    body text 2 **** Page protect this
    end body
    footer text
    I would like to do something like a page protect on the "body text 2" part
    because if the group is longer than 10 rows the "body text 2" goes over
    onto the second page and looks strange when it is split in two parts.
    Has anybody done this?
    I tried using the normal word paragraph formatting but as soon as I put in
    a break I get the following error:
    org.xml.sax.SAXException: element xdofo:start is not supported yet.
    Thanks
    Ellen

    This functionality is only supported for table cells. So you can wrap your body text in a table with a single row/column and no borders. Then you select the table and then select Table -> Table Properties from the menu bar. Select the row tab and uncheck the checkbox:
    [ ] Allow row to break across page
    That should do the trick. Let me know, if it works for you.
    Klaus

  • Page numbering in rtf templates

    Hi All,
    I have an rtf template and what I want is to display page numbers. I can achieve this with the following : <?fo:page-number?> but I want to display it by different way:
    For example if the total pages in the output is 10 pages I want the page number to be displayed as Page 1 of 10, 2 of 10, 3 of 10 etc.
    Any ideas?
    Thanks in advance,
    Konska tor

    Well, it's fixed itself. It still doesn't work on my home computer, but it does work on my work computer... as long as it works in Oracle eBus I'm happy :) Must be a certain version of word that causes the problem.

  • How to Display Page Numbers in RTF Template

    Greetings to all,
    We have a requirement in which we have to display the Page numbers on the output PDF.
    The scenario is , if the PDF contains10 pages,then on Pages , it should show Page 1/10,Page 2/10 etc.
    And If the output exceeds to more than 1 page, then on each page except the last one it should display "Continued" in the footer.
    Any comments on this would be of great help.
    Thanks,
    Sachin

    Hi Sachin,
    I have emailed you back the modified template, I have changed the following:
    What have I done in the template then?
    * Moved the Group: G_HEADERS place holder inside the <?start:body?> place holder.
    * Inserted a Section Break (Next Page) after the <?end body?> place holder for the main report. This creates what looks like a 3rd page
    * Added <?start@last-page-first:body?><?end body?> as the only thing on the 3rd page. The resets the headers and footers for the last page, so we need to declare the headers again. If the last page is actually the first page, then the first page will take the formatting of the last page.
    * Removed the "continued" from the Native Word footer and put it underneath the <?end body?> placeholder of the main template on page 2
    Let me know if you have any further issues.
    Rgds,
    Cj

  • How to trigger a page break for a template for a given condition...

    Hello Experts,
    In my MAIN window in smartforms, I have defined a template that has 10 line items. Now, what I want
    is that if my line items exceeds 10 line items, it will trigger again the same page. Below is the hierarchy
    of MAIN window:
    -MAIN WINDOW
              -TEMPLATE(HAS 10 ROWS/LINES)
                   -LOOP COMMAND
                        -PROGRAM LINE(This has a counter that is being incremented for every loop)
                        -LINE1(HOLDS 10 TEXT) - only prints if counter = 1
                        -LINE2(HOLDS 10 TEXT) - only prints if counter = 2
                        -LINE3(HOLDS 10 TEXT) - only prints if counter = 3
                        -LINE4(HOLDS 10 TEXT) - only prints if counter = 4
                        -LINE5(HOLDS 10 TEXT) - only prints if counter = 5
                        -LINE6(HOLDS 10 TEXT) - only prints if counter = 6
                        -LINE7(HOLDS 10 TEXT) - only prints if counter = 7
                        -LINE8(HOLDS 10 TEXT) - only prints if counter = 8
                        -LINE9(HOLDS 10 TEXT) - only prints if counter = 9
                        -LINE10(HOLDS 10 TEXT) - only prints if counter = 10
    What I want to achieve is that if current loop exceeds 11, then call again MAIN window to serve
    the remaining line items. I cannot use a TABLE here since there are frames/boxes that needs to be considered.
    I hope you cna help me guys. Thank you and take care!

    Hi Viraylab,
    In the main window
    Declare the variable name in the global definitions..
    After the loop.
    Create the command node
    General attribute : go to new page i.e page 1.
    Conditions : s.no = 6 .
    Create the text node for the line items to be displayed.
    Create the program lines :
    serial = serial + 1.
    if serial = 6.
    serial = 1.
    next_page = next_page + 1.
    endif.               " if serial = 6.
    Regards,
    Sravanthi

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Page break doesn't work in my BI Publisher template

    Hi!
    I have been to build a RTF template in Word.
    My BI Publisher version is 10.1.3.4.
    In my template I have three conditional groups (for-each-group) and I would like to do a page break in each of them.
    My template is something like this:
    group ROW by MONTH
    group by WEEK
    group by HOURpage break
    *Month: MONTH*
    *Week: Week*
    *Hour: Hour*
    group by GROUP
    F
    Eend by GROUP
    page breakend by HOUR
    page breakend by WEEK
    end ROW by MONTH
    If I put the "page break" before of the "end ROW by MONTH" it doesn't the page break.
    My template does the "page break" between different months and weeks, but it doesn't work between different hours.
    Can someone help me?
    Thanks in advance.
    Edited by: SFONS on 31-Oct-2011 04:56

    Pages has never been able to split rows across a page boundary & as far as I can tell that has not changed in the new version. You will need to manually split the row into two rows to fit.

  • Page Break In XML Publisher RTF Templates Are Not Working

    Please refer to the Metalink Doc below:
    Subject:      Page Break In XML Publisher RTF Templates Are Not Working.
    Doc ID:      559111.1      
    Type:      PROBLEM
    Modified Date:      24-MAR-2008      
    Status:      MODERATED
    In this Document
    Symptoms
    Cause
    Solution
    References
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Oracle XML Publisher - Version: 5.6.3
    This problem can occur on any platform.
    Symptoms
    Using XML Publisher version 5.6.3 in 11.5.10.
    Find <?split-by-page-break:?> syntax is ignored.
    EXPECTED BEHAVIOR
    Expect page breaks to occur at point set by "split-by-page-break:" code.
    STEPS
    The issue can be reproduced at will with the following steps:
    1. Create a template.
    2. Call split-by-page-break: inside a loop.
    3. Output is not formatted correctly, page break call is ignored,
    Cause
    Unpublished BUG 5011628 SPLIT-BY-PAGE-BREAK NOT WORKING IF ADDED SORT WITHIN DYNAMIC GROUP
    Unpublished BUG 5011628 matches the client issue as it is a call to split-by-page-break inside a loop.
    Fix is in ScalableStringList.java version 115.4.
    This is delivered in <Bug 6165466> XDOFX:CHR(N) FUNCTION FAILING.
    Solution
    To implement the solution, please execute the following steps:
    1. Apply Patch 6165466 when it is released.
    2. Test your report.
    References
    Bug 6165466 - XDOFX:CHR(N) FUNCTION FAILING
    Keywords
    XML~PUBLISHER; LOOP; DYNAMIC~GROUP; PAGE~BREAK;
    Help us improve our service. Please email us your comments for this document. .

    Hi JDev,
    Check this out:
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary-2.html
    Hope this might help.
    Thanks

  • Page break problem in rtf template

    I have a nested group as follows:
    For each sub-vote sub-vote desc
    - For Each sub-program details....end of for each sub-program
    total for sub-vote
    end of for each sub-vote
    If the sub-vote and all of its detail records won't fit on a page, then I need a page break.
    The fields are set up in a table. I have unchecked the 'allow row to break across page' for all 4 rows.
    I tried drawing a new table around the existing 4 rows, but I can't seem to uncheck the 'allow row to break across page' for the new table. How do I change properties for the 'parent table' - I'm looking for something that is equivalent to 'select parent frame' from report builder.
    I also tried checking the 'keep with next' checkbox on the paragraph/format for each row.
    When I preview/pdf in word, my sub-programs within a sub-vote are still displaying on differrent pages.
    If anyone can make any suggestions, I would greatly appreciate it.
    Thank you.

    I created a new row and then copied the cells (minus the 'for -each' and 'end of for each' cells) as a nested table. Page breaks are now working correctly.
    Thank you.

  • ?for-each-group? dosen't work with page break - rtf template???

    Hello all,
    When I give a page break inside the for-each-group the group doesn't iterate any code after the page break. I can't give <?split-by-pagebreak?> in this case because I want that loop to be iterated for every department, and should show the report in one column(ms word column), and the department description in two columns.....as this has to happen for every department I can't write separate code........everything should go into one file......
    Final file should look like:
    <for every department>
    <department_report-a table>--one column(ms word column)
    <department_description-a huge text>--two columns(ms word columns)
    <next department>
    how can I achieve this - please help, its urgent.
    Thanks for your time.
    DK

    bipuser thanks for your response
    i will have table data also so i cannot keep in the same line.
    its strange for the last 2-3 days below syntax gave me space at the beginning of each group now it is working i didnt do any change
    <?for-each:G_1?>
    ABCDEFDG
    <?split-by-page-break:?><?end for-each?>

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • RTF Template: table that goes to the next page

    Hi All,
    I am building an RTF template.. The basic layout consists of one page only, and there's a table in it. Depending on the data, there can be quite a few rows. For some reason, if the data does not fit on the first page, the entire table shifts onto the second page. However, the table should start on the first page independent of the row count. Once again, your help would be very much appreciated. :)
    Regards, Matilda

    Hi Vetsrini and Amit, thanks a lot to you both.
    What you suggest works well when there is only one template row that is repeated... I actually have two template rows in the table, since depending on certain elements in the data row different handling is required. Is it so that I would need to work everything into the same template row to get this row-break-accross-pages-functionality?
    The funny thing is that the table breaks properly for page 3, 4, etc (with a longer data), just that it starts only at the second page.
    Regards, Matilda

  • Exporting report to Word, Word editable or RTF adds page breaks

    Our workforce management software (Aspect Workforce Management) uses Crystal 2008 for customer reports.  Previewing, printing, and exporting to HTML, PDF, and Excel all work fine but exporting the report to Word, Word Editable, and RTF results in a document that contains extra page breaks in the middle of pages or other strange paging behavior.
    With the regular Word export and the RTF export we see some pages containing the first half of the page at the top of a page followed by a break then the second half of the page on the next page at the bottom of the page.  E.G., lots of empty whitespace at the bottom of a page followed by lots of empty whitespace at the top of the next page which ends with content that should have been at the bottom of the previous page.
    The Word Editable export doesn't seem to insert weird page breaks but every page says 1 of N as the page number in the footer.  Other export formats number the pages correctly.
    Our customers are demanding a fix for this problem, which seems to be a Crystal defect.  I don't understand why PDF and HTML and Excel all page correctly but not Word, Word Editable, or RTF.  How hard is it to generate the export without causing extra page breaks or incorrectly numbered pages?
    Is this problem acknowledged by SAP to be defect in the word, word editable, and rtf export options?  Is SAP intending to fix this problem?
    John Hansen

    And good morning to you too John:
    So, if you wrote the code your self and it is in .NET, why was the issue posted to the SAP Crystal Reports Design forum rather than the .NET - SAP Crystal reports forum? Note that each forum as a nice description in the header as to what sort of questions should be posted in that forum. In light of you posting the issue to the SAP Crystal Reports Design forum, I feel it was a pretty fair to ask the questions I did ask... (?).
    I feel that the way this communication is going, it may be a good idea if you do a bit of searching on these forums. Also, use the search box at the top right corner of this page (it will give you results for KBases, blogs, wikis, articles and more...)
    If you do not get what you need from that, it will be best for you to create a phone case here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Note that if what you report is deemed to be a bug in the CR designer or the CR SDK, your phone case will be refunded.
    Regards
    - Ludek

  • Blank Page in PDF output with RTF Template

    Hi, In RTF template; I am printing static text based on certain conditions optionally. I am getting a blank page at the end of the report if the static text is ending in the last 3 lines of the page. Does anyone had this issue before?

    Hello,
    Please upload the RTF file and the XML data file so we can test it and find out what is wrong there.
    You will have to zip the XML file in order to upload it.
    Bogdan

Maybe you are looking for

  • MathType 6.7e with InDesign CS6 on Mac OS 10.6.8

    We have created an equation as EPS/None format by using the MathType version mentioned above. The same equation was imported into InDesign CS6 and found that there was an extra space that occurred around the equations. But we did not give any additio

  • Reader 9.3 PDF Files are flagged as "unknown file type" in Win XP

    Installed Reader 9.3 replacing version 5.1 on my Win XP with SP 2. I have the Microsoft automatic update feature set "on" so I assume that overall my WIN XP is up to date. Having a problem downloading PDF files from trusted Internet sites. No longer

  • How can i find out which of  my contacts do not use whatsapp?

    I am using iPhone 5S on iOs 7.0.2 I am conducting an event where I want to send invitations to almost all my contacts. Since there is daily limit on the number of Text Messages I can send out in a single day in my country, I want to segregate my cont

  • It's very Urjent,,,,,,,

    Dear Fnds, I need very Urjent,,,,,Help from you. I need Customer service Questionaire ,,,,,,,,,,iam going to Implement SAP CS Module. Please help me Fnds, it's very Urjent Requirmentt... Thanks in Advance Mail: [email protected] Regards raj.

  • Extension Manager 6.0.7-Update

    Hello, when I try to install the Extension Manager 6.0.7-Update I allways get the Errorcode U44M1P7. This problem exists for about 4 weeks or so. Could you please help me? Thank you, all the best from cologne Thorsten