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.

Similar Messages

  • 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 problem in Sales Order Report

    Hi,
    I have made a RTF template for Sales Order Report. The template is designed to contain max 10 lines.
    Now if number of lines are less than 10(1 page) or more than 10(2 pages) then PDF output is coming fine.
    But if there are exactly 10 lines then instead of printing only 1 page it prints 2 pages, 1st page with 10 lines of data and 2nd page with only header & footer.
    Can anybody help?
    Regards.

    How do you define when they page break happens?
    Try to use:
    <?split-by-page-break:?>
    Check the user guide for more information.
    Cheers,
    Klaus

  • Problem in RTF template

    Hi all,
    I use Bi publisher version (11.1.6 )
    First Question : What is the best template type for making operational reports not statistical report ( RTF template or PDF template or others ) ? --
    Second Question :
    when i try to make report template using RTF template in ms-word by using Bi publisher desktop
    1- How can i make repeating header dynamically ( header contain data from data model ) ?
    2- when i insert an image in the header it did't appear in the runtime ?
    3- when i insert line in the header it did't appear completely just part of the line .

    First Question : What is the best template type for making operational reports not statistical report ( RTF template or PDF template or others ) ? --it will be clear if you look at "Table 2-6 Valid Output Formats for Each Layout Type" - http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_report_new.htm#layout_config
    Second Question :
    when i try to make report template using RTF template in ms-word by using Bi publisher desktop
    1- How can i make repeating header dynamically ( header contain data from data model ) ?did you try
    >
    To repeat header rows:
    Select the row(s) that you want to repeat on each page.
    From the Table menu, select Heading Rows Repeat.
    from http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#BHBFEJJI ?
    2- when i insert an image in the header it did't appear in the runtime ?
    3- when i insert line in the header it did't appear completely just part of the line .did you try "4.5 Defining Headers and Footers" http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#do_handf ?

  • Problem in .rtf template with 2 dimensions in rows section

    There is a problem with standard .rtf template: if we select two dimensions in rows, table header (with months) moves left to the position of the second column of row dimension like there is only one dimension in rows (i tested even with 4 dimension in rows, header still starts from the position of the second column of row dimension), in any case default template acts like there is only one dimension in a rows section when a report is being formed, if anybody has already faced that problem maybe you could share an advice to fix it?
    p.s. We usually use 1 and 2 dimension in rows

    i have a suggestion that there is a problem with colspan parameter in xml file that is built when HP starts creating pdf report, could anybody advise where i can find this xml that is used for creating report?
    Edited by: s0uLr1pPeR on 18.05.2012 16:31

  • Page break problems converting HTML to PDF

    hello,
    i'm using Acrobat Pro 7... yes I know I'll upgrade soon.
    I have a bunch of HTML files that are interlinked, and I want to create one big PDF from them.
    I'm going in through Windows explorer, selecting all the files, right-click, and click on "combine in adobe acrobat"
    it works very well, to combine them all.
    the one problem I'm having is page breaks. there are page breaks in the middle of tables.
    I have seen online a few references to using CSS style and something like this:
    TABLE { PAGE-BREAK-INSIDE: avoid; }
    but it seems to have no affect when I generate the PDF.
    do I need a different tool to make this work? Does Acro 8 or 9 have it? should it work with 7?
    thanks

    This is primarily a HTML feature as I understand it. Acrobat simply provides a PDF just like any other printer and the HTML would have to be set to add page breaks on print as you suggest. This would be the same case as if you printed to paper. I am not sure it is possible, but that is what I would look for, not Acrobat options.

  • Adding Subforms on Click + Page Breaks Problem

    Hi all,
    i made a form containing a few Sub forms and Text Fields which grow by the Number of Lines the User writes.
    However, I made one button to add a sub form containing 5 of these text fields
    and it works fine but when it comes to the end of the page and I click on the button again, it doesn't break to the next page, the new sub form is simply added below the last, half cut by the end of the first page...
    So my Question is how do I add a page break after the page is either full or a certain number of those sub forms exist?
    Kind Regards

    I have a similar problem. I have 2 subforms side by side that have independent columns of data. Either one of these subforms may expand onto a second page. I am stumped on how to keep the positioning correct (IE: If the content area flows western style it looks correct on page 1, but if I flow to page 2 the second column ends up on page 2. But if I position the two columns, then page break doesn't work).
    For a single row of data you need to make sure your positioned fields are in a subform that is inside a flowed subform that allows page breaks and adjusts to fit.

  • Page number reset in .rtf template

    Hello,
    In the AR statements report, If I run the report for mutiple customers, page number has to be reset for each bill_to customer...
    I have the header part from the second page, so when I run the report for multiple customers...even for the new customer's first page...header is coming....
    So I assume by resetting the page number for every bill to automatically solve the issue of header from second page...
    Please advise...how to reset the page# based on a condition ( for each bill to)...I know it work with @section....
    but my template is like <?for-each-group:G_STATEMENT;./STATEMENT_DATE?><?for-each-group:current-group();././././././././././././././SEND_TO_ADDRESS_ID?>
    -Sridhar
    Edited by: user7751421 on Oct 12, 2011 4:32 AM

    If you could send me your xml and template i can give a try.
    [email protected] is my email id.

  • Function to calculate Page size in XML RTF template

    Hi All,
    For one of my requirments, I need to find out the page size of my output.
    And from a given point of the output, i should know the size till bottom of the page.
    My program has an RTF and will generate output in PDF format.
    Please let me know how to do this. This is very important for me.
    Thanks in advance.
    Edited by: DharV on Nov 17, 2011 12:18 AM

    No, the actual requirment is in this thread
    Re: Need to drag the table down the end of page
    I could not get the solution for this, so just checking if I have a function to calculate the horizantal size of the output page, and i can apply some logic.
    Let me know if iam not clear
    Thanks
    Edited by: DharV on Dec 6, 2011 1:14 AM

  • Page break issue with subform AddInstance

    I would like the table on page 4 of this form --- http://www.tahc.state.tx.us/10-09_TrichomoniasisEpiInvestigation.pdf --- to be allowed to break across a page if necessary. I want the button on that page to add another instance of the table at the top of the next available page.
    I am clearly missing something about subforms and overflow because in LCD, this is a 5-page form. When it's opened in Acrobat, it's a 7-page form (the table displays on page 6) and and the table extends past the bottom of the page so that the button is not visible.
    Any leads on how I can fix this? Thanks.

    Thank you for the tip. Your fix is a big step in the right direction --- the form renders as it should but only if I don't enable usage rights for Reader. After usage rights are enabled, the page break problems reappear and the blank table runs off the bottom of the page. Do you know why this occurs? (I've reposted your fixed form with user rights enabled---http://www.tahc.state.tx.us/10-09_TrichomoniasisEpiInvestigation.pdf.) Thanks again.

  • Extended table printing issues over page break

    I have an extended table on a form that may have many rows - multi pages generated from a database.
    when printing or print pdf - safari and firefox will split a row at bottom of a page and start of next page... page break problem...
    if i control database output wich 50 recs per page then user would have to print each page separately - wasting time - so that is not a good option....
    Q: how do I get this to print best for viewing without page break problem?
    Thaks in advance for your help - dave

    Hi Amruta ,
    I hope the following steps will solve your problem :
    1. Merge the data from the 3 tables into a single table (say gt_outtab).
    2. The table gt_outtab should have a field (say tab ) to indicate the table from which the data has come . Depending on the tables conatining the initial data , you can assign 1, 2 , 3 into the new field (tab).
    3. Bulid the fieldcatalog with the particular column (TAB) of the output table as no_out='X'.
    gs_fieldcat-COL_POS = lv_line.
      gs_fieldcat-fieldname = 'TAB'.
      gs_fieldcat-outputlen = 1.
      gs_fieldcat-just      = 'L'.
      gs_fieldcat-coltext   = 'Table'.
      gs_fieldcat-seltext   = 'Table'.
      gs_fieldcat-NO_OUT   = 'X'.
      APPEND gs_fieldcat TO lt_fcat.
    4. Define the data of type lvc_s_print
    DATA: gs_print TYPE lvc_s_prnt.
    5. Before calling the method set_table_for_first_display assign grpchgedit of the structure gs_print as 'X'
    gs_print-grpchgedit = 'X'.
        CALL METHOD gr_grid->set_table_for_first_display
            EXPORTING
               is_print            = gs_print
               is_layout           = ls_layo
            CHANGING
              it_outtab           = gt_outtab[]
              it_fieldcatalog     = lt_fcat.
    6. Run the report . The particular column is not displayed in the list.
    7. Go to Print Preview mode. Press the sort ascending or descending button on toolbar (without selecting a column).A dialog box appears asking for sort order.
    8. Add the field(TAB), from the available list on right hand side.
    9. In the last column titled NG of this sort order dialog box, write * for page feed .
    10. Press the copy button .
    Hope this solves your problem .
    Thanks ,
    Sudipto

  • 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 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

  • ?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?>

  • Problems with check printing RTF template

    To BI Publisher Gurus,
    I am working on the check printing RTF template and facing a few issues with page breaks, filling the insufficient invoice lines with template and positioning of the table(s) itself inside the RTF template.
    For page break, am using the following piece of code just before the end of all of my FE loops.
    <xsl:if xdofo:ctx="inblock" test="position()-1<count($inner_group)"><xsl:attribute name="break-before">page</xsl:att:attribute></xsl:if>
    the $inner_group is my group for G_INVOICES to loop through all the invoices of a check in G_CHECKS group.
    The problem I'm facing is, everytime a check is printed its printing a blank page in between. Searched all the earlier forum posts but none of the solutions worked in my case.
    Second issue, for filling the insufficient invoice lines (in my case, am printing 26 invoices per page per check), the call to the blank lines template is repeating twice and found no way to get rid of it.
    Third issue, if the check is running into a second page, the call to the blank lines template does not work and the position of the bottom part of check is getting misaligned.
    I am ready to send my template and the sample XML file to look at. Thanks for your time and effort.
    -Uday

    Hi Tim,
    Hi Tim,
    Could you please send me the sample rtf. We are also using APXPBFEG program for check printing..
    Also I have problem in generating dots(....) in the check where if total invoices lines are 37 and we have only one line of invoice then I have to generate 36 dots (.) in the invoice porition of the check..
    I appreciate your help..
    Thanks
    Krishna
    [email protected]

Maybe you are looking for

  • Time Machine Backup to NAS

    I am desperately trying to figure out how to back up my MacBook Pro to a NAS. I am having trouble figuring this out. Here is what I have done so far: 1. I have enabled Time Machine to work with NAS by using the following command: "defaults write com.

  • Will iCloud stream my music to my AppleTV2?

    I'm really excited about iCloud, iMatch, etc. One of the things I'm trying to get straight about the service is whether it's truly streaming my content or is it only syncing content between devices. As in, will iCloud dump all my mp3s to the hard dri

  • Default settings in InvoView

    When I logi as a regular user to InfoView, by default the fist page shows me the following: Document List My Favourites My Inbox Information OnDemand Services Help Is it possible to change this so that certain users in a CMC group will go to the InBo

  • Why do i get 2 of the same email every time on all my devices

    I just loaded Icloud 3.1 to a Win 7 PC w Outlook 2013 and now all my emails on my IPhone 5 and IPad Air arrive twice to both Devices ( every email comes twice on both )   in Outlook its just once and now if I delete an email on my IPad it does Not de

  • Printing/Font issue

    I have a graphic designer who is having trouble with printing Freehand documents with the font Adobe Garamond in it. Now he is the only one having this problem, and he has a copy of the font from one of the other GD's here. The document will print if