Show PageNumbers in PDF using iText 1.3.1 - itext

I am trying to add the Pagenumbers in PDF document, have gone through few posts but those all were more or less with latest version of iText.
Our problem is that we want to get this working with iText version 1.3.1 only.
Please suggest the valuable inputs for the same.
Thanks in advance..

Related

Generate PDF with pie chart -iText7

The obvious primary reason for using iText being , our company already have a license.
Requirement:
Generate a report that includes pie chart.
Our UX gave us a HTML, And I'm using html2pdf plugin to generate pdf.
We're using tlx-chart for its simplest code.
Issue:
PDF doesn't render/show piechart. No errors seen in logs.
HTML is being created perfectly (Althought iText conversion seems to be not so good), and When I load it with chromedriver as provided in KB article below, it renders overlapped 2 piecharts instead of 1.
So, This knowledgebase article from iText doesn't help.
Infact, I've thought I cannot keep on updating chromedriver,selenium on prod server.
I've to provide a loosely coupled (OS>PDF>PIE) to generate PDF.
Code Snippet:
HtmlConverter.convertToPdf(reportHtml, pdfWriter, new ConverterProperties());
"<tlx-chart id=\"mychart\" chart-type=\"PieChart\" chart-editable=\"true\" chart-columns=\"${['Element','Percentage']}\" chart-data=\"${${pieData}}\" </tlx-chart>"
Please Help!
So the issue is to embed piechart in PDF since JavaScript tags were not being rendered by iText library. And I resolved this in my case using jFreeChart.
Generate an image using jFreechart and embed that image in HTML
iText perfectly renders this as per HTML CSS
For detailed explanation and code snippet on this please visit here
An alternative way is also documented here

How to add slider in typo3

I am new in Typo3. I want to make slider dynamic in my Typo3 setup. The current version installed is 9.5.3. It will be better if I could get all the sections that is mentioned in this article http://www.typo3manual.com/typo3-version-8/52-content-elements/17-slider/. You can also see the screenshot attached. But I think the article was for version 8 and mine is 9.5. Is there any way that I could get all sections that is mentioned in screenshot?
These content elements are part of the "T3Kit" website starter kit (basically just an extension). You can find a great tutorial here: http://www.typo3manual.com/typo3-version-8/52-content-elements/ , or on their official website: http://www.t3kit.com/
There are many slider extension available. You can install it and can override its template.
https://extensions.typo3.org/extension/owl_slider/

how to generate pdf in GXT/GWT?

i am using GWT/EXTGWT. on click of submit button i get list of records from db. i need to export them to pdf. please suggest me how to do this?
if data to be exported is more then that should be exported to multiple pages.
Thanks!
There's little in context of GWT here, apart from the fact that you have a GWT based application. What you are really looking for is a tool that generates PDF, given data.
There are hosts of them available :
iText
jPDF Writer...
Obviously, iText has been the most widely known and successful one! Here's a good tutorial - http://www.vogella.de/articles/JavaPDF/article.html
Try some tools like itext pdf generator Searching online will give you many more options.

javascript for getting the text from particular position in iphone or ipad

I am developing an epub ebook application.
I did the pagination for 1xhtml file, depending on the length of the text numbers of pages will increase.Now I need to get the text from starting of the UIWebView(x and y co-ordinates are 0.0f,0.0f) to a particular position(may be 200.0f,200.0f),how can i get it using java script or any other means.
Please help me.
Thank you in advance.
Shiva.
I got the solution if any one need it please use the javascript API getElementFromPoint(x,y).
Shiva.

Any examples/tutorials on using GData spreadsheets with gdata-objectivec-client?

I need to update some cells in google doc spreadsheet on iPhone app.
I've downloaded GData source and example projects (not iphone specific) but I can't seem to get it to work. Does anybody know of any good (or any at all ;)) tutorials out there?
Best regards.
The file SpreadsheetTableSampleWindowController.m has examples of using tables and records in spreadsheets. The method randomizeSelectedTable shows how to fill cells with randomly-selected strings.
Have you looked at the introduction? Or maybe you could post the error message your getting or the problem your running into.