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
Until late November, i had an iPhone 4s with iOS 5.   Then i got an iPhone 6 with iOS 8.  As previously, when i would enter an event in the Calendar, that data would also show up in my iCal calendar and on my iCloud calendar, until the last couple of [More]
Often during development (creating or modifying regions and fields), I get : Expecting p_company or wwv_flow_company cookie to contain security group id of application owner. Error      ERR-7621 Could not determine workspace for application (:) on ap [More]
Hello everybody, i deployed a webservide proxy (made in jdev 10.1.3.2) to an oracle 10gR2 database. Invoking this proxy works very well when calling it (as a procedure in the database) on the same machine as the DB is running. But when trying to invo [More]
hi', I am facing one issue I have a sample XML file which I want to read through BPEL process for this I have configured the file adapter with the schema and reading the file adapter with the receive activity next I have created one XSD file (which f [More]
Hi, I'm currently concerned with JSF 2.0 and Facelets. I found: - Tags are no longer defined in taglibs (TLDs) (instead they appear to be hard-coded in Java code) - On the other hand, jsf-impl.jar does ship two taglibs (for HTML and JSF Core), howeve [More]
Just visited my local bestbuy [Store 437] and I pre-ordered my iPad 3. Anyone know how long it takes? I know it's dependent on Apple, but how often do Bestbuy stores get shipment from Apple, especially during these times? It seems like the 32GB Wifi [More]
I've read quite a bit on the net and in these forums. Having un-ticked the CPU acceleration, I still think LR CC is slow and gluggy. Anyone have any suggestions to speed it up? I will go back to LR5 until it's better Thanksweb-weaver wrote: I see no [More]
I had to restore my computer to a previous backup and I lost Photoshop, but I can't re-install it because the Creative Cloud app says Photoshop is installed and up to date.  Any help would be appreciatedHi joelmenssen, Please refer the article: http: [More]
Hi, I am not able to see the updated Application Hierarchy in BW. ie with the Datasources I installed from RSA3 in the R3 system. I am successfully using then by loading them but it shows in New_Hier_root and then shows in Nodes_not_connected. I had [More]
Iam new to java.plz help me to connect jdbc with GUI components.While connecting i have problems .Do anyone have the program plz forward to my [email protected][url http://java.sun.com/docs/books/tutorial/]JDBC Database AccessRead other 2 answers [More]