473,396 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.NET PDF componet w/ <THEAD> support??

hello,

HTML's <theadis used to persist the header info on multiple sheets of
printout. this is very useful when printing reports rendered in html
tables, such as the ones i write for my company.

now we are looking to provide a PDF-version of my html reports.

the PDF components ive seen thus far allow me to pipe in my aspx's html
report, and it pages it out properly. but only the first page contains
the header info. thats a problem.

a PDF component that fully supported <theadwould (presumably) persist
the header section onto *each* page of the PDF. this is required for my
reports.

does anyone know of a .NET PDF component that does this?
thanks!
matt

Jul 13 '06 #1
4 2154
I used ABCPdf ( ABCPdf.com ) for generating PDF.
Its pretty simple to use. You give html to it and it generates PDF in bytes.

To repeat certain header on each page, you can program using ABCPdf API and
pass separate HTML for each page header.

hth,
Avnrao.

"ma**@mailinator.com" wrote:
hello,

HTML's <theadis used to persist the header info on multiple sheets of
printout. this is very useful when printing reports rendered in html
tables, such as the ones i write for my company.

now we are looking to provide a PDF-version of my html reports.

the PDF components ive seen thus far allow me to pipe in my aspx's html
report, and it pages it out properly. but only the first page contains
the header info. thats a problem.

a PDF component that fully supported <theadwould (presumably) persist
the header section onto *each* page of the PDF. this is required for my
reports.

does anyone know of a .NET PDF component that does this?
thanks!
matt

Jul 13 '06 #2
ma**@mailinator.com wrote:
hello,

HTML's <theadis used to persist the header info on multiple sheets of
printout. this is very useful when printing reports rendered in html
tables, such as the ones i write for my company.

now we are looking to provide a PDF-version of my html reports.

the PDF components ive seen thus far allow me to pipe in my aspx's html
report, and it pages it out properly. but only the first page contains
the header info. thats a problem.

a PDF component that fully supported <theadwould (presumably) persist
the header section onto *each* page of the PDF. this is required for my
reports.

does anyone know of a .NET PDF component that does this?
I am not familiar with HTML's <threadbut if you
try iTextSharp, you could define the header in what
we call a 'page event'.
You can feed iTextSharp with content and new pages
will be created automatically. However, everytime
a new page is started or ended, a page event will
be executed. In general page events are used to add
headers/footers/page numbers/watermarks/...
This is the short explanation, for more info please read:
http://itextdocs.lowagie.com/tutoria...nt/pageevents/
(The examples are written in Java, but you can adapt them
to .NET if you use one of the iText ports)
best regards,
Bruno
Jul 14 '06 #3

avnrao wrote:
I used ABCPdf ( ABCPdf.com ) for generating PDF.
Its pretty simple to use. You give html to it and it generates PDF in bytes.

To repeat certain header on each page, you can program using ABCPdf API and
pass separate HTML for each page header.
avnrao,

i have tried ABCpdf, but they do not offer <THEADsupport. i have used
their API to programmatically insert a header-table onto each page, but
note that such a table is *not* part of your content-table. thus,
getting the 15-columns to line up correctly is proving *very* difficult
-- even when i explicitly set the widths to the html columns the same
on both tables, ABCpdf is rendering them differently.
matt

Jul 14 '06 #4
ma**@mailinator.com wrote:
does anyone know of a .NET PDF component that does this?
i just recieved an email from TallPDF, in response to my inquiry.
amazingly, they said they had support for this but hadnt enabled it,
and that they will enabe it for their next release. could be as early
as next week.

i will test it out and let you know if it works as expected!
matt

Jul 14 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
4
by: El Diablo | last post by:
Hi there, I'm trying dynamically generate extra rows in a table. So far this achieves this task within the tHead segment: theTable.tHead.appendChild(document.createElement('TR')) ....but...
11
by: Woolly Mittens | last post by:
I tried validating my gallery page using your validator. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.woollymittens.nl%2Fcontent%2Fgallery%2Findex.asp To my surprise it informed me that...
44
by: Jim M | last post by:
I have had great success with using <iframe> with overflow-y set to auto. I can get a similar look with the <iframe> tag. BUT... In all cases I need to have fixed heights. Is there a way to...
3
by: RC | last post by:
Dear Dudes, I post this in multiple groups for opening brain storm. Sometime I need to query the data from database server then display them into user's browser in HTML <table>. But if the...
36
by: Roedy Green | last post by:
The only browser I have encountered that supports <colgroup><col class="behold"></colgroup> to apply a CSS style to a whole column, is Microsoft Internet Explorer. I have been told it SHOULD NOT...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.