Sitemap

Amicuk Programming Answers

How to Display Page Numbers in RTF Template

2015-10-11   Views:18

Advertisement

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 pag

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

The replay answer
Advertisement
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 <[email protected]: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

Go to See the other 9 answers

How to Display Page Numbers in RTF Template

Category:DefaultRelease time:2015-10-11Views:130

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 pag[More]

Page numbering in rtf templates

Category:DefaultRelease time:2015-10-11Views:130

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[More]

Display Page Numbers Conditionally

Category:DefaultRelease time:-0001-11-30Views:130

I am working on RTF Template, I have requirement to display page numbers for only those reports which are more than one. For e.g Page 1 of 1 should not be displayed, But if it's more than one page then it should display Page 1 of n (n= 2,3,4,5,......[More]

Page Break in rtf template

Category:DefaultRelease time:2015-10-11Views:130

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 sy[More]

How to display page numbers in report

Category:DefaultRelease time:2015-10-11Views:130

hi all, i would like to know how to display page numbers in this format " 1 of 5" in the report. Any help would be much appreciated. thanks seemaHi, Check this too... Page No. in ALV output If you query is solved, kindly close the thread. Regard[More]

How to display Page numbers in XMLreport(on PDF)

Category:DefaultRelease time:2015-10-11Views:130

hi all, we have a requirement where we need to display page numbers(e.g.page 1 of 10),on an XML report. can anybody suggest me the solution.Hi, Check this too... Page No. in ALV output If you query is solved, kindly close the thread. Regards, Anjali[More]

Display Page numbers in ALV

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I would like to know how to display page numbers in an ALv display(both grid display and list display).I tried to use the system variable sy-pagno .But couldn't get the desired output.Hi, I don't think you will be able to display page numbers in[More]

Page Protect in RTF Template

Category:DefaultRelease time:2015-10-11Views:130

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 "b[More]

Display page numbers in Acrobat Pro 9

Category:DefaultRelease time:2015-10-11Views:130

I was just upgraded to Acrobat Pro 9. On my previous version of Acrobat, when viewing a multi-page PDF there was a field at the bottom of the page that said that I was on "Page X of Y". I deal with a lot of large documents, and I need to be able[More]

How to display page numbers based on group

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, I have a report and it consists two groups. First group is displaying 20 pages and the second group is displaying 30 pages. My requirement is to display the page numbers based on the group. That is, the second group output page numbers should[More]

How to round numbers in RTF templates?

Category:DefaultRelease time:2015-10-11Views:130

Hello! I'm using BI Publisher for Word (Oracle BI Publisher Builder for Word 10.1.3.4.1) to build a template to my BI Publisher report and I want to calculate this: avg(X)/(avg(Y)-avg(Z)/0.9) The result should be rounded to 3 places. I tried: <?(sum([More]

Hot
I'm trying to create 2 business application exception using the @Application annotation on my 2 java exception class. The first exception is a StarException class that extends java.lang.Exception (per ejb 3.0 spec). Below is snippet of the class. @Ap [More]
I bought a new MacBook Pro and sold my PowerMac, so I bought the 3.5 upgrade to FCE. I was using 3.0 before on my PowerMac. I copied my project over, but when I try to open it it just gives me a dialog box with "General error" and an OK button. [More]
Hi All, I have a Design Studio application with a  tabset  in it. Upon execution of the application,everything works fine with the local mode.But when I run it from my BI Launchpad, upon clicking the second tab there comes an error (Attached). I do s [More]
Basically what happens is an AD user *using admit mac* tries to login, it start to spin like it's going to let her in but then goes to a blue screen *non death* and then goes straight back to the login screen from that said blue screen. All other AD [More]
Hello All, I have come across a scenario where Customer needs a Document management system for their organization. They want to keep the documents of different departments like sales, HR,Finace in corresponding folders and want to include a workflow [More]
Hi Friends 1.How the Transportation cost posting to the accountings? 2.we created single shipment document for maltipul deliveries(3) the shipment cost document is 6000/-. can we divided this 6000/- to each sales order or delivery? EX: 6000/3: 2000/- [More]
Hi, I am trying to test using a math formula (probit function) in AS3. I can't get the script to work: the dynamic text box is displaying NaN after I run the function and use a hard-coded number for the variable. Here's the button's script that is ge [More]
I am having problem trying to listen to a set of queues. I have tried it with Single Consumer queues and it works fine. But with Multi Consumer queues dbms_aq.listen does not detect a new message enqueued and just waits until the time out then return [More]
I will be starting college next fall as a neuroscience major and I am torn between purchasing a MacBook Pro vs. a MacBook Air. Which would be a better choice considering I would be using it to take notes, creating documents, presentations etc.? I am [More]
Hi I Created the Lease Master in ASO1 and then i did the Acquisition of this Lease. then i made the payment to this Lease assets vendor. Now, due to reason i want to reverse the Asset( AB08).But i dont want to reverse the input tax entry. So how can [More]