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

Similar Messages

  • 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

  • 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

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

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

  • 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

  • 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

  • Maximum Number of record Per page using XML Publisher with RTF template

    Hi
    I am creating customer statement and want to show only 20 records per page. How we can set maximum number of repord per page in rtf template.
    Thanks
    Ravi

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Need help with 'division' operation in RTF template

    We are using variables in RTF template to perform all data manipulations
    To calculate columns where we need to do division operation, using ‘/’ or ‘DIV’ is not working.
    Using <?xdofx: op1 DIV op2?> is working only when op1 and op2 are numbers like ex. <?xdofx: 100 DIV 50?> returns result 2.
    But the same tag used for columns or variables is not working.
    For ex.
    <?xdofx: (xdoxslt:get_variable($_XDOCTX, 'var1')) DIV xdoxslt:get_variable($_XDOCTX, 'var2') ?> is not returning any result, though
    <?xdoxslt:get_variable($_XDOCTX, ‘var1’)?>
    <?xdoxslt:get_variable($_XDOCTX, ‘var2’)?>
    both are returning values stand alone.

    On Thu, 03 Jan 2008 00:22:31 -0500, Alan
    <[email protected]> wrote:
    >yes, the use of child page comments in a template file is
    probably the
    >problem. But if that is solved, having two editable
    regions with the same
    >name will cause problems.
    >
    >short version- things be horked big time.
    <chuckle /> Methinks you're right. It looks like the
    copy/paste monster
    has been munching on it. One guess to fix it would be to open
    it in a
    text editor and change this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    To this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    And change this:
    <!-- InstanceEndEditable --></head>
    To this:
    </head>
    Gary

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

  • Resetting Header and Footer in RTF templates

    Hi,
    I developed an RTF template (template 1). This template contains start:body and end body for printing the header and footer in all pages. After printing this template then i have to call another template(template 2) from this. I called the template (template 2) using call statement. But the probelm is that the header and footer of template1 is printed in the output of template2 .
    I dont want to print this header and footer for template 2. Can anyone please suggest me in doing this. I placed start:body and end body in the second template with the assumption that 1st template's header and footer will be overwritten. But if i preview then am getting the error
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\kpoda\Desktop\Invoice Printing Efficiencies\Sample XML Data\Sample Output4.xml
    FOProcessor setLocale: en-us
    each
    Please sugget.
    Thanks

    Hi,
    Do you have two templates (template1 & template2) that you want to display in the same document where the pages for template1 has one set of header and footers; and template2 has another set of header and footer?
    If that is the case you can simply create a new section in your rtf template so you have section1 and section2.
    In the body of section1 you call template1 and template2 in the body of section2.
    You can then have different header and footers for the two templates in the same document.
    BR Kenneth

  • Complex if statement in rtf template?

    Hello,
    I want to build an if statement in rtf template, the idea is like:
    <?if:address!='' and phone!=''?>
    <?end if?>
    what's the correct way to do it if it is possible? Thanks in advance!
    Shichao

    stevencallan wrote:
    Conditional statements, in the user guide or the report developer guide, depending on the version you use.
    Page 7-62 in the 10.1.3.2 user guide:
    Use an if statement to define a simple condition; for example, if a data field is a specific value.
    1. Insert the following syntax to designate the beginning of the conditional area.
    <?if:condition?>
    2. Insert the following syntax at the end of the conditional area: <?end if?>.
    For example, to set up the Payables Invoice Register to display invoices only when the Supplier name is "Company A", insert the syntax <?if:VENDOR_NAME='COMPANYA'?> before the Supplier field on the template.
    Enter the <?end if?> tag after the invoices table.Thanks for the reply. But what about two conditions in one if statement? That was my question. :)
    Shichao

  • Rtf template not showing as uploaded in concurrent program

    Hello
    I have created xml data definition and uploaded a rtf template. Then linked it to my concurrent program. But when i ran the concurrent program successfully all i get is the xml output. Upon closer inspection it shows that no template is uploaded. Yet in xml publisher it shows as uploaded.
    so my question is: what can prevent a rtf template from attaching to a concurrent program?

    If you and send the template, it would be helpful.
    kindly send it to [email protected]
    Deepa

Maybe you are looking for

  • How can i display my iviews in anonymous page

    hi experts, I have created some iviews and  I have created a role for all these i views and assigned this role to anonymous user group. when i access the anonymous page,i get the info"contents not exsits or not enabled",well how can i display my ivie

  • Netgear WPN824 on mixed iMac and PC network

    I purchased a Netgear WPN824 router for use with a PC laptop and iMac. My iMac recognised the SSID of the router but on enetering the WEP Hex key I got an error. The only way I could solve this problem was to switch the router from 'Auto 108' mode to

  • Spry Tabs + Accordion

    i have spry accordion here and in two of them there are spry tabs. when i view the site in IE the spry tabs are always visible instead of being hidden until you select that panel in the accordion. here's what i'm seeing in IE: http://www.robvanwyen.c

  • Problem downloading adobe 10

    What must I do when I get an error message that prevent me from downloading adobe 10

  • Apple Mobile Device program not installing!!!

    When trying to connect my iPhone to my computer it doesnt connect to iTunes. It says the iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install iTunes again. However, I've done th