Different Headers and footers in case of multiple layouts

Hi
I have a requirement in which we have 4 layouts in one concurrent program and the layout to be selected is to be decided by the value of DFF at Invoice header level.
The 4 layouts have different headers and footers for which i am trying use single template (RTF) or multiple sub templates through Import functionality in XML Publisher but not able to show different headers and footers in one document. Also i have tried with the ?start:body?> and <?end body?> tags but facing issues in displaying different headers and footers in one document as we cant call the same body tags again in one rtf.
I am able to show different headers/footers data for 4 rtf templates by using import functionality as below but the footers can get shifted to next page if the line level records increases.
Can someone please help. Want to know if its possible to have this functionality. Thanks in Advance.
Regards,
Sanket Z
Edited by: 847314 on Feb 20, 2013 12:36 AM

The possibility to have different headers/footers for 4 pages in a single word document. Is this functionality possible?
I want to generate report in which the Invoice header DFF value will decide which template to pick up from 4 layouts and every template has different header/footer.
i am trying use single template (RTF) or multiple sub templates through Import functionality
There are two ways in which i am trying to achieve the solution.
1. I am adding 4 layouts in a single document.
We can't use the <?start:body?> and <?end body?> tags in one file multiple times so i cant go with this option.
2. I am using import functionality in which i am registering one Master template which will call 4 sub templates as per the DFF value and that layout will be populated.
Code for Master template
<?if: TRX_TYPE ='INV'?>
<?import:xdo://LLCUST.LL_TEST_LAYOUT1.en.AU/?><?call-template:SubledgerTemplate?>
<?end if?>
<?if: TRX_TYPE ='CM'?>
<?import:xdo://LLCUST.LL_TEST_LAYOUT2.en.AU/?><?call-template:SubledgerTemplate2?>
<?end if?>
Code for Layout1 template(LL_TEST_LAYOUT1)
<?template:SubledgerTemplate?>
<?call-template:SubledgerTemplateHeader?>
TAX INVOICE 1
Invoice Date:TRX_DATE     
Invoice No: TRX_NUMBER
Lines data
<?template:SubledgerTemplateHeader?> Header1<?end template?>
<?template:SubledgerTemplateFooter?> Footer1<?end template?>
<?call-template:SubledgerTemplateFooter?>
<?end template?>
But here after importing the RTF we need to call the particular template (<?call-template:SubledgerTemplate?>) which can't be combined with the <?start:body?> and <?end body?> tags. So the Footer will not be static at its place.
Please suggest or let me know if you need any more info or i can forward you the template etc.
Regards,
Sanket

Similar Messages

  • Unable to Maintain different Headers and footers in a multiple RTF template

    Hi All,
    I have a very complex requirement to Print Custom Invoice reports. The Report Consists of Three Templates 1) Invoice 2) Custom IMEI 3)Remiitance Slip.
    I have coded XMl such that for a given header level data all the corresponding data will be generated Including for Custom IMEI and Remittance Slip. So for the RTF design, In a word document i have three templates and the for every transaction all this three should be printed. so if there are 10 transactions than we need to print 10 sets (all 3) of invoices. The first Template is Invoice which has a header with all required information. If for the first template the lines data exceeds first page then on the second page the header needs to be printed only as Customer name, Transaction Num and page number. if the line level data goes more than 2 pages than the header needs to be same as that of 2nd page. On the last page of invoice template the totals and footer needs to be printed.
    After completion of invoice template Custom Imei template and remittance template must be printed for given transaction. But they shouldn't have any header or footer associated.
    Is this Functionality achievable by Oracle BI publisher RTF design?? If yes how would i code it in RTF. I have tried almost all possible solutions given in XML publisher User guide. Invoice template header and footer are repeating in other templates too.
    Issues are : 1) All there templates are tied together, so the header in First template, if it's line level data exceeds to second page should be different.
    2) Footer of the First template should only be displayed at the end of first template with Invoice totals.
    3) Header and Footer should not be part of template 2 and 3 which are tied to template one.
    Please, help me out with a solution, if needed i will provide the XML and RTF template too. I hope Someone really knows how to break this puzzle. Thanks for the help in advance

    Hi,
    My Req was for Three different templates tied together. So, if the First template exceeds page 1 then itz header should be a different one. Similarly with second template but they were independent of each other.
    In Your case you may probably try using MS word different First page header functionality to acheive different header from second page.
    Does this help?

  • Exporting pdf does NOT show my headers and footers

    I export number files to my administrators. I've noticed when I print my file directly from my computer in iWork/Numbers it prints and show the footer and header. However, when I send a bcc to myself when I attach the pdf file to my administrator, it does not show or print my headers and footers. Any ideas?

    Re-reading the original question, it does appear that Gogoette is exporting to PDF then attaching the file to an email versus using the "Send via email as PDf" operation. In that case, setting it to Page View for the export will solve the problem. I had originally thought "Send via email as PDF" was being used. What I noticed is that it doesn't give you the choice of page versus sheet view but if you first go through the motions of exporting, it sets it up. In prior threads about exporting to PDF, we have all recommended using Print, not export, and choosing Print to PDF (rather than to a printer) as the best way to create a PDF. It gives more flexibility, such as allowing you to choose which pages to "print to PDF".

  • Prints gibberish in headers and footers in emails or web pages.

    I have an HP J4540. The headers and footers print gibberish either in email or a web page. The body of the text is fine. It prints fine in Internet Explorer but not in Firefox.

    Welcome to the HP Community , I read through your post about the printing issues you have been having, and I hope to help you! Seeing how the printer will make copies and test print tells us that the printer itself is fine and there is no hardware issues. However, seeing how printing from two different computers will not work, flags a software problem on the computers. Please try out the steps below and get back to me with the results and we will go from there. If you did not install the Full Driver, run the HP Printer Install Wizard for Windows to search and install the complete driver and software. This will need to run on both computers individually. Manually restart the print spoolers on the computers:1. Click Start
    2. Type "Services" in the search field.
    3. Open SERVICES
    4. At the bottom, click "Extended View"
    5. Search for Print Spooler
    6. Right-click it and choose Properties
    7. Select as Automatic in the drop down box, close the Window
    8. Right click on Print Spooler and choose "Stop", wait until it stops and then right click again and "Start".
    9. Close out of Services and try printing from Notepad.10. Try printing from a web browser now, if there is a problem with the print, try a different web browser.  Show thanks for my reply to help you today by hitting the "thumbs up" icon below!I hope to hear from you, good luck! 

  • I get total gibberish on the headers, footers and body of certain sites when printing. In other sites the body comes out OK but the headers and footers never do. Anybody have similar issues? Is it a product of a recent Firefox update? I never had this

    After a recent update I've been having problems printing off the web. My headers and footers are always "gibberish" and in some case so is the body of the document. I never had this problem before and I've been using Firefox for years. This same printer (Canon MX 850) worked fine until recently. Any ideas?
    == This happened ==
    A few times a week
    == After recent Firefox update

    Try clearing your cache and cookies.
    # Open the Tools menu, then select Clear Recent History... .
    # In the '''Time Range to clear:''' drop-down, select '''Everything'''.
    # Click the arrow next to '''Details''' to display the list of items that can be cleared.
    # Select both '''Cookies''' and '''Cache'''.
    # Click Clear Now .

  • When exporting as Microsoft Word, headers and footers created incorrectly

    Using Acrobat X, I converted a PDF file to Microsoft Word 2007 format. I selected "Flow Layout" because I'm writing automated software that reads Word documents and flow makes it easier to process. In case you're wondering, I don't read PDF directly simply because most of the documents my software reads is native Word. For the remaining PDF documents, translation to Word prevents me having to write software that reads both Word or PDF files.
    Here's the issue:
    With Flow layout, Acrobat attempts to determine Word headers and footers. Unfortunately, it does so incorrectly much of the time for many documents. In particular, lines near the top of the file are "pulled" into the header and lines near the bottom are "pulled" into the footer. In the following picture, look closely at the black vs. grey text. The grey text is in the headers and footers. Note also the green squiglies indicating grammer errors.
    I either need this fixed, or an option to turn off header/footer recognition.

    No problem:) The RC should come out early next week...

  • Help needed - Headers and footers of subtemplates not working.

    Hi,
    I need to call 3 different subtemplates from the main template. Headers and footers of these subtemplates are differenet. When i call these subtemplates headers and footers is not getting displayed.
    Can anyone please suggest how to display the headers and footers of subtemplates when called from another template.
    Thanks.

    Hi,
    Thanks for your reply. Do you mean to call the headers and footers from the main template or in the sub template. I cant call in the main template because the headers and footers are different for each template. I used micrsosoft headers and footers in sub templates. But it didnt work. So created header and footer templates in the sub template and called them from the same sub templates using the call: statements. But when i run the prog am getting the below warning.
    Beginning post-processing of request 35618954 on node DSOTEST6HE at 15-FEB-2010 03:37:41.
    Post-processing of request 35618954 failed at 15-FEB-2010 03:37:42 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Note: am running the running prog from XML Publisher responsinilty and not from BIEE standalone.
    Thanks.

  • How to remove remove page headers and footers

    Hello
    I can't seem to remove headers and footers from my sheet in print view. I am trying to print a chart and the header and footer are eating up valuable real estate! When using 'Pages' I can simply turn them off, where is the equivalent setting in 'Numbers'.
    Any help would be much appreciated.
    Thanks

    Is it really useful to respond to a ridiculous rant ?
    We may perfectly define zero margins.
    What can't be done is to completely get rid of Headers and Footers as we may do in Pages.
    When we enter zero in the Header and Footer fields, we are defining the offset of the item to the top/bottom of the printable area. We don't set the item's height to zero.
    A workaround allowing us to get quite zero margins in Pages :
    Put the cursor in a header.
    Define the font size to 1.
    Put the cursor in a footer.
    Define the font size to 1.
    doesn't apply to Numbers.
    If we set the font size to 20, the header height become greater, if we set it to less than 10, the application set the item's height to 10 points.
    From my point of view, it's clearly a bug (already reported) but I don't know any application with no bug.
    So, if Mr MayBeDay is able to create an application without bugs, he may send a curriculum vitae to Apple which will certainly be glad to sign him.
    Yvan KOENIG (VALLAURIS, France) mercredi 5 janvier 2011 13:44:09

  • "Headers and Footers" error message

    Often when I'm in a topic and double-click on a template to
    open it and get some standard text, I get a dialog box called
    "Headers and Footers" which scolds me about "This topic was created
    from a template and the header and footer has been modified." There
    are two options: "Apply this modification to al topics created from
    the template" and "Apply this modification to this topic only.
    Note: Choosing this option will remove the link to the template."
    Weird this is, neither my topics nor my template have a header or
    footer. Did long ago, but I deleted it. Is this a common buggy
    error, or perhaps something residual from a header/footer of long
    ago? Thx, Eric

    Hi MunchMan and welcome to our community
    Normally, we use Templates to create Headers and Footers and
    apply them to a group or all topics. Naturally, if RoboHelp HTML
    thinks you have modified a Header or a Footer inside of a topic
    attached to a template, it is giving you the option of updating all
    topics with the template attached or disassociating from the
    existing template and basically "orphaning" the topic from any
    templates.
    I'm not sure I'd classify it as a bug. More along the lines
    of "working as designed" or "expected behavior".
    Cheers... Rick

  • How do I use Paged Media styles in css3 ( headers and footers ) ?

    I need to make printer friendly web pages, with neatly styled Page Headers and Footers.
    == This happened ==
    Not sure how often
    == Designing Style Sheets for Printer

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
    [http://forums.mozillazine.org/viewforum.php?f=25]
    You'll need to register and login to be able to post in that forum.

  • Only headers and footers appear attempting to print PDFs in Safari 5.0.2

    I am a Mac user trying to help my friend, who uses Safari 5.0.2 on his PC. He can open PDFs within Safari, but when he attempts to print them, all that appears are headers and footers (same thing appears in Print Preview).
    Any suggestions?

    One thing that might be worth a try is uninstalling and then reinstalling his Adobe Reader, Don. (The theory is that that should swap out the nppdf32.dll file governing the Adobe PDF plugin used by Safari.)
    Any better printing performance following the Reader reinstall?

  • In Pages, How can I get headers and footers to show up on more than the first page of each section?

    In Mountain Lion, I considered myself a fairly expert user of Pages. Since "upgrading" to Mavericks, I can't get even basic things to work anymore. My current problem is that the headers and footers are only showing up on the first page of each section. A related annoyance is that if I copy the information in a header or footer, all the associated formatting disappears when I paste it. But the first problem is the one that matters — headers and footers that only show up on one page sort of negate the whole point of headers and footers.

    If you click the link I posted previously, it takes you right to the Pages community.
    Here >  Pages: iWork: Apple Support Communities
    Then click New.

  • Printing w/o headers and footers in OSX10.5

    I am trying to print from Firefox (or any other browser) without the header and footer. I have seen posts from other places saying to use the 'Page SetUp' to adjust margins, remove headers/footers etc, but in OSX10.5 those options are not available. Any help??

    Bug Slinger
    Welcome to the Apple user discussion forums
    Look just to the right of the printer name in the print dialogue box and click on the little black triangle there - this will open a larger dialogue box that includes more options - in Safari print background and print headers and footers are there - the exact options depend on the software you are printing from
    LN
    Message was edited by: LarryHN

  • How do I get headers and footers to print?

    A few months ago, I upgraded from OSX Lion to OSX Mavericks.
    I just converted a Numbers sheet to the new version of Numbers in Mavericks.
    When I prepare to print the sheet, I can see a header (containing date and title) and a footer (containing page number and count) on every page.  To be clear, these are repeating lines at the top and bottom of each page - they are not rows within the table.
    When I print the sheet, none of these lines appear.  What do I have to do to get them to print?  I solved this problem for other sheets (several months ago) by calling Apple Care.  Now, my Apple Cae has expired, Help is useless and I forget what I did before.
    Can someone tell me what the magic setting is wuthn Numbers?
    Thanks

    Hey theoqaat,
    Thanks for the question. After reviewing your post, it sounds like the headers and footers are not printing. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Numbers for Mac: Using headers and footers for printing
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • How do I Prevent Headers and Footers in Acrobat 8?

    Hello.
    With Acrobat 8, how do I prevent headers and footers, such as the footer below, from appearing?
    (I'm not even sure if these are actually headers and footers, or something else. If they're something else, I don't know what they are called.)
    I'm creating the files by right-clicking on various .HTM files, and selecting Convert to Adobe PDF in the context menu.
    Thank you! Jd
    file:///C|/WEB%20SITE%20April%202,%202008/vinyl/5tracks.htm (5 of 5) [4/2/2008 12:24:01 PM]
    System Information:
    Acrobat 8
    HP Pavilion d4790y (dual core)
    Windows Vista Home Premium
    2 GB RAM
    300 GB hard drive
    Two 500 GB external hard drives

    I think they are in edit preferences also, under the convert to PDF. I am not sure this is the same preference set.

Maybe you are looking for

  • Backing up a shared itunes library

    Hi, I want to back up my shared itunes library and most importantly my purchased music onto an external hard drive. When I use backup it can't find the purchased music in the shared file (I have two users on one mac sharing the itunes library). What

  • Can't get Printer to Share need INF file

    I have a HP 6500 E709n All in One Printer and I cannot get it to share. I have it connected to my Computer running Win 7 and I want to share the Printer with my Laptop running Vista. I cannot set it up to share,  I get 2 error messages all the time t

  • Using saxparser in the suite method from junit

    Hi, i have a problem using SAXParser in the suite method of junit. My little test class 'myParser' works fine but when I call the method 'doIt' from the 'suite' method from a class that implements TestCase (junit) I get a java.lang.ClassCastException

  • [Xtra with PSF fw] Incomplete song l

    A coupple of minutes ago I've accidentally dropped my Xtra (it was turned off). It felt on on the floor from about meter. Luckily player seems to work fine, I've ran DiskCleanup and no errors were detected but now after connecting it to PC and trying

  • Registration index.php and script

    HI all, I have a page which is index.php, on this page I have created some basic text fields so that users can register with my site, I have also created a datbase on phpmyadmin via 123.reg, I'm struggling to understand how I know link the text filed