Resetting Header and Footer in RTF templates

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
Please sugget.

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

Similar Messages

  • Header and footer of RTF template not getting carried over to Excel output

    We have Header and Footer in RTF template defined. The output of the report will be in Excel. When we run the report, the header and footer on the report are not getting carried over to excel has header and footer, instead the header and footer are printed as first line on the excel. Also, the RTF template is set to landscape but when the output is generated in excel, it is set to Portrait

    chk this presentation...,3,Why NW 2004s?'
    hope this helps...

  • Problem in displaying header and footer in RTF template..

    Hi all,
    How to display first "n" number of pages with one set of header and footer and the next "m" number of pages with other set of header and footer?
    Message was edited by: Makesh

    we can try doing this,...
    but not based on page number ,
    page number will not be available during this time, it will generated during the rendering time, so the condition of Page number may not help,
    if we can find a way to identify the logic to display FOOTER A or B in the page based on something else, wee can do that..
    create a two named templateA and B , and call them according to the logic to b displayed.

  • Problem in Consistent Header and Footer with Sub Templates in BI publisher

    Hi All,
    I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
    1. Created one template called HeaderFooter.rtf with Header and footer templates.
    2. placed the file in web server and called in the main Template with
    <?import:> I mean as static URL and it is working fine.
    3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
    4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
    5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
    so can anyone please help me out in this regard?

    Hi User XY,
    you might want to ask this in the [url]BI Publisher Forum

  • How to display 2 layouts with 2 different Header and Footer in a template.

    I am using XML Publisher 5.5. I have created one template which is having two layouts. I am using <?Start: Body?> and <?end body?> for displaying Headers and footers. Now my problem is, I need to display first layout with it's associated Header and footer and then second layout with other header and footer. But the two layouts should come in single template file. How is it possible?. Is there any work around? Please help me as this is the urgent requirement to my client.

    No problem. Select Insert -> Break from the menu bar. Then select a "Section Break" - Next page.
    Header 1
    Page 1
    <?end: body?>
    Footer 1
    ==================Section Break (Next Page)=================
    Header 2
    Page 2
    <?end: body?>
    Footer 2
    Worked like a charm.

  • Header and footer in Web Template output

    I have created a web template consisting of several web items like - information field, text fields, chart & analysis. With the help of VC we are exporting this web page into PDF. What my customer want is that to show some particular informatio in the footer like page number's company name and all.
    Is there any option that i can do all these things from my end that is from BW end not from VC..
    Any help will be appreciated.
    Thanks & Regards

    chk this presentation...,3,Why NW 2004s?'
    hope this helps...

  • Header / footer with RTF template

    Hi all,
    My problems are below:
    - I want to create RTF template for a BI Publisher report. On that template, I would like to have a group of data that is printed only on the last page of the report (as a summary document end). For example, if, when I print my report, the used datamodel in my template selects datas to be printed on 5 pages, I want that some datas appear only on the fifth page and if the datamodel selects datas to be printed on 10 pages, I want that some datas appears only on the tenth page etc...
    How to do that ?
    -Also, how to use header and footer otherwise that hard code tags in header and footer ? Also, finally do you have some tutorials or samples to use complex header and footer with RTF template ?
    Thank you.

    i have a problem with header and footer too can you please help me out..
    group ROW by saw0_
    <?template: Header?>
    Account ID: saw0_
    <?end template?>
    Total saw17_
    page breakend ROW by saw0_
    i have a column saw_0 which i want to show as header in each page. and for each new saw_o i want to show it in next page.
    but currently in the header it shows the last row fetched by saw_o.
    while saw_0 has more than 1 value.

  • Where can i find XMLP 5.6.2 Patch #5352734 for Header and Footer

    Hi All,
    I have seen people talking about the XMLP 5.6.2 Patch #5352734 for proper working of Header and Footer in RTF, But i have not find the place from where i can actually download this patch.
    I would be glad if someone can help me out.

    Hi Bala,
    The Patch is - Patch# 5027437 for XML Desktop Version 5.6.2
    (Templates in XML Publisher Desktop 5.6.2 Lose Header and Footer Information )
    I think you are searching for the wrong one..
    You can find the Patch at metalink - with note "Note:388494.1" and Ofcourse search with "Patch# 5027437 for XML Desktop Version 5.6.2" in the Metalink..

  • I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    That is becuase Pages 5.1 has numerous unnounced surprises for the unwary user.  Among the surprises:
    - it strips out images from headers and footers without warning
    - it strips out bookmarks without wanring (yes, all those bookamrks you laboriously put into a document: poof! Gone.)
    - it strips out alternating left/right margins, without warning.
    There are many more suprises, as you'll see from glancing through these discussions. They fall into two main categories: things that are present in version 4.3 but that are missing in 5.1, things like
    -mail merge
    -meaningful Applescript/Services support
    -non-contiguous text selection
    -ability to set defaul zoom
    -ability to see comments while editing
    -ability to print comments
    -ability to read RTF files
    -ability to drag in hyperlinked ted from a browser
    These about about 90 other features are gone.
    Then there are the bugs.  Hyperlinks do not reliably export to a PDF file any longer. There have been multiple problems with printing report. Some fonts place stray characters in the headers.  Many reports of the program crashing, courrupting files, etc.
    Fortunately for you, the previous version of Pages is still on your system.  Export any documents you may have created or edited with Pages 5.1 (another great surprise: files created with version 5.1 cannot be read by any previous version of Pages: not just 4.3 but even 5.01!).  Then trash 5.1 and use 4.3 until (unless?) it is stable and has a reasonably robust feature set.

  • Show rtf file with header and footer  in Editor

    I want to open an rtf file which contains header and footer.The file i got is opened but the header and footer are not there.these all done with Editor.Please kindly go thru this and give me a solution.

    when you do yourEditorPane.getStyledDocument().dump(System.out), if you don't see and footer or header, you must write your own RTFEditorKit, but you must know how an RTF file is coded (but i don't know this coding...)

  • Header and Footer in eText outbount Template

    Output generated with etext template needs Header and Footer margins fixed in Oracle Payments of R12 which has multiple invoices with more than 1 page.
    The template was designed with 60 lines per page, when generating the output say for example 100 invoices payment, the header(7 lines) and
    footer(3 lines) margins must be fixed and remaining 50 lines must print the
    invoices details and continue printing in next page leaving the header and
    footer margins which were fixed. That is between the header and footer margins
    the invoice details has to be printed.
    My query is how to fix the Header and Footer margins in etext outbound template?
    If anyone has solution pls. send me that.
    Appreciate your help in advance.

    chk this presentation...,3,Why NW 2004s?'
    hope this helps...

  • I want to remove the header and footer when printing from my mac, i can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?

    I want to remove the header and footer when printing from my mac, I can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?
    == This happened ==
    Every time Firefox opened

    Go to the "File" menu, then "Print." The window that appears will have three drop-down menus at the top.
    The first is labeled "Printer",
    The second is "Presets".
    The third is unlabeled but has "Copies & Pages" selected by default.
    Click on that third menu and select "Firefox" near the bottom of the list.

  • Header and footer template

    I would like build an app with a header and footer which will
    be used. What is the best practice for this type of layout?
    Any template I can use? Thanks.

    Lots of ways, depending, but consider mx:Application with
    layout="absolute", then using a header and footer components
    positioned using "top" and "bottom" constraints.

  • Can you create a template that has a header and footer to forms?

    Can you create a template that has a header and footer to forms?

    Yes but how are they going to create the Landscape versions?
    The problem with doing it in Pages '09 as rotated content is that the Headers and Footers are not rotated and there is inherent clumsiness in the rotated content usually being too large for the page when viewed at 90°.
    Best to make it in two or more separate documents.

  • How to create Header and Footer  template

    I am wondering if this is possible, if yes , can some help me please?
    At present we have preprinted stationary for invoices and now the plan is to get rid of preprinted stationary and print header and footer via oracle reports directly. The address on header has to be dynamic because our organization has multiple offices across various countries. I am wondering if its possible to create a separate report only with a header and footer and reference it in other reports so that when printed both are merged and presented as single invoice. My reports knowledge is around basic level but i am good at plsql , if someone hear can please guide me HOW TO implement this logic I will be very grateful.
    We are using Oracle reports 6
    Edited by: aali on 05-Jul-2010 05:44
    Edited by: aali on 05-Jul-2010 06:09

    You can set the header and footer dynamically.
    In the report layout section. There is one option called Edit Margin beside the Help iconic button.
    When you will press that button Edit Margin it will open for the new look your report fields and frames inside the black dense lined frame. So at the top of that main frame you can set the Header and same at the bottom you can set the Footer.
    And in your case if you want to set dynamic. Then while running the report. Send the dynamic values into the parameters and when you will create field in layout section Header/Footer then set the source as parameter which you passed. So, it will change dynamically.

Maybe you are looking for

  • Material description filled automatically as the sum of two fields

    Hello to all We can automate the process of the creation a new material doing that the field material description(MAKT-MAKTX) can be filled by the system before saving(not by the user) as the sum of two fields in the MARA table that the users will be

  • Can't change clip settings

    Hi, I'm editing a short film shot on DVCPro HD 1080p25 Whenever I try to change a clip's settings this error message appears: "No items have files that are applicable to this operation" Any ideas what this means?

  • Metadata in LiveCycle

    Is there a way to set up meta data in LiveCycle that will map over to Adobe?  In the adobe properties there is a "Keyword" section.  Where can get enter the Keywords in LiveCycle to that they will map over to that keyword section in Adobe? Thanks! Jo

  • Equipment BOM using LSMW- standard batch/Direct input method - reg

    hi, I tried to upload equipment BOM using standar batch / direct input method. I have maintained sorcue structures for BOM  header and Item, maintained source fields. Both source fields have  common field as equipment number. It is working fine upto

  • How to remove table from replication

    Hi , I have configured Streams Replication  on schema level. I want to remove one table replication. Is it possible? Thanks,