This is a migrated thread and some comments may be shown as answers.

Export to pdf headers and footers problem

6 Answers 265 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 17 Aug 2010, 09:54 AM
Hi

I am using the radeditor in server side code to export some data to a pdf. Just add a bit of html and hey presto! :)
Can I set page header and footers? I want a "Page # of 10" at the bottom of each page for example.

Kind Regards,
Jeremy

6 Answers, 1 is accepted

Sort by
0
Jeremy
Top achievements
Rank 1
answered on 19 Aug 2010, 06:46 AM
And I'd recommend everyone using the export to pdf function to vote for this feature request so that bold works straight out of the box.
http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/2132
0
Rumen
Telerik team
answered on 19 Aug 2010, 12:57 PM
Hi,

RadEditor is using a third party tool to provide HTML to PDF conversion functionality, which have some limitations. So to answer your questions:
  1. The tool that is used does not offer such functionality. It is possible to set page title using the RadEditor's inner tag ExportSettings, but it could be plain text only and does not support any formatting, e.g.:
    <ExportSettingsPdf-PageTitle="Sample page title"></ExportSettings>
  2. We raised the priority of PITS item 2132 and we will do our best to implement it for Q2 2010 SP1. Q2 201 SP1 is scheduled for the end of the month. If we run out of time, we will implement it for Q2 2010 SP2.

Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jeremy
Top achievements
Rank 1
answered on 20 Aug 2010, 04:17 AM
I've found that by using the thead and tfoot elements of a table I can sort of generate headers and footers. The footer on the last page appears wherever the text of the last page ends, rather than the bottom of the page. It allows me to include images, horizontal lines, etc although it ignores the position:absolute tag. What units of measurement are used in the export settings for the margins? eg pageheadermargin, pagetopmargin, etc. Inch ("in") seems to work but 1 is bigger than I need. mm and cm and px don't seem to have any effect.
Is there any documentation available for the 3rd party exporting software?
0
Jeremy
Top achievements
Rank 1
answered on 23 Aug 2010, 02:12 AM
I'd also like to report a bug that the post name has changed from something like "Export to pdf headers and footers problem" to "RadEditor - limit characters entered (issue with right click - paste command)"????  :)
0
Rumen
Telerik team
answered on 23 Aug 2010, 01:12 PM
Hi Jeremy,

I updated the forum title to the original one: Export to pdf headers and footers problem.

You can find information about the PDF export tool in the following articles:
PDF export and
http://fonet.codeplex.com.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jeremy
Top achievements
Rank 1
answered on 24 Aug 2010, 01:58 AM
Thanks for the links Rumen.
I got the margins to work by using 0.5in.
Good luck making improvements using that pdf export tool :)
Tags
Editor
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Jeremy
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or