Portable Document Format (PDF) is a file format used to present documents in a manner independent of application software, hardware, and operating systems.

learn more… | top users | synonyms

1
vote
1answer
21 views

How to render bullet in pdf using css?

I have visualforce page render as pdf.I want to put bullet.The bullet works well in web but not display in pdf. <apex:page controller="MyController" renderAs="pdf" applyBodyTag="false"> ...
2
votes
3answers
17 views

render as excel on browser it self without downloading

I have checked in with many sources but it was clear there is no provision to render excel in browser from VF page , we can just download it. But i was checking is there any out of the box solution ...
0
votes
0answers
17 views

Resize text box size when hiding field labels on quote templates/PDFs

I have a section on a quote template for terms and conditions. The first part of the section uses a block of text which is the same for all quotes. The next part of the section is a field which shows ...
1
vote
1answer
28 views

List View button to VFP render as PDF. List view order is not respected

Have a custom List View button which opens a VFP and renders the results as PDF. (easy stuff, standard controller and nothing funky). I would have thought that any sorting applied to the list view ...
2
votes
1answer
19 views

Include style/script component in <head>

I have the following page: <apex:page docType="html-5.0" standardController="Transaction__c" extensions="OptionComparisonDownload" name="Option Comparison" readOnly="true" ...
1
vote
0answers
11 views

PDF generation on Salesforce1 ipad [closed]

I am having few VF PDF reports that are required to be displayed on SF1 ipad. However, these reports are being loaded incorrectly. Either they do not load or only the first page will be rendered and ...
3
votes
1answer
35 views

visualforce PDF - content overlapping with header

I am trying to generate PDF from Visualforce but the problem I am running into is that content overlaps with Header. Here is the image: and here is the code: <apex:page ...
2
votes
1answer
18 views

How to show Total Monthly Price on the Quote Template?

We sell products for a monthly subscription fee and we are using the Quote PDF functionality. Problem arises when customers purchase different products of different quantities like the examples ...
0
votes
2answers
43 views

Generate PDF for Selected ApexClass

I have written code which will generate PDF for selected Apexclass.Problem is it is generating pdf with all Apexclasses not selected one. I am sharing code. vf page <apex:page ...
5
votes
2answers
44 views

too many nested getContent calls?

I have a Visualforce page that renders perfectly as a PDF that I'd like to attach to an opportunity record and to attach to an email. Whenever the code gets to getContent(), I keep getting an error ...
4
votes
1answer
47 views

How to repeat HTML table header (thead) for each page rendersAs pdf

I would like to as you how to repeat table header ( thead) for each page on the top ?? the simple code is like this : </messaging:htmlEmailBody> <messaging:attachment renderAs="pdf" ...
4
votes
1answer
56 views

Reading a pdf file in apex controller

I am trying to read a pdf file that is stored in Static resources.The body of the pdf comes in a Blob format, but I am not able to get the blob back to the readable format.How do I accomplish it.
1
vote
3answers
44 views

How to place a footer correctly on visualforce renderas=“pdf”?

I 'd like to ask you how to place the footer in the bottom of page (pdf) . i try to create Email template (invoice ) and according the items the number of page can change . My problem is the footer ...
2
votes
1answer
30 views

Attach Multiple PDF files to an email

Currently we have Sales Invoice custom object and we want to create "Email" list button that will send email to the "invoice_email" field (lookup to contact). I know how to send 1 invoice pdf per ...
2
votes
1answer
33 views

Visual force page when attached as pdf in email is getting corrupted

I have a visual force page which renders correctly as pdf on screen but when I tried to open the attached file as pdf in email I'm getting error 'Adobe Reader could not open test.pdf' because it is ...
2
votes
2answers
38 views

HTML table does not let me change table position to center when rendering as PDF

I'm trying to display my HTML table in the center of the page when rendering it as pdf. When I render as HTML it works as expected so I assume that CSS properties for alignment doesn't work properly ...
2
votes
1answer
19 views

Visualforce Email Autoreply PDF Template concept (PDF with page quantity based on value)

This may not be possible, but I am wondering if there is a way to generate multiple PDF pages within a PDF based on the copies an contact requests when filling out an online form. It's like this. 1) ...
1
vote
1answer
31 views

How to format currency in a visualforce page rendered as a PDF?

I have a visualforce page which contains currency field. When rendered as a PDF, it loses the format of the currency. How can I keep the currency format? I am using CSS to put the dollar sign in ...
1
vote
1answer
27 views

Overriding Create PDF button on Quote object to choose the default template?

In our salesforce org, when we click on the standard "create PDF" button on the quote object, it shows dialog box asking to "choose template" and our sales people always select the same template. ...
3
votes
1answer
38 views

renderAs PDF page numbering

I'm trying to get page numbering showing up on Visualforce renderAs PDF page. I was following the example provided in the developer guide, but it isn't working for me. Here is a simple Visualforce ...
1
vote
1answer
52 views

How to remove the grey border?

I have VF page and a button, on click of the button vf page is rendered as pdf. The data is completely clean but I am facing problem with css of the pdf. I have created a table that displays some ...
2
votes
2answers
45 views

HTTP GET Response into PageReference

I'm calling an external endpoint which send back a pdf report as the response. Request should have some header info as well so thinking execute the request in the controller. But how is it possible to ...
1
vote
0answers
34 views

RTA field to display image in a VF page rendered as PDF

I have a rich text field called Signature__c that contains a JPEG image. This custom field is under Contact object. Now I want to display this image in a VF page which is rendered as PDF. I used ...
3
votes
1answer
178 views

PDF Attachment send by email and become a PDF.HTML

I'm sending a attachment by email as a PDF. Not sure how and when it's happening, but sometimes it seems to change the extension of my pdf to pdf.html. It used to work perfectly before without to ...
2
votes
2answers
149 views

Images are fetched from attachments for Visualforce page rendered as PDF displaying broken images

I am trying to fetch the images from the attachments and trying to display these images in a visualforce page which is rendered as pdf. But in the pdf I am getting broken images. If I remove the ...
2
votes
1answer
31 views

Can Conga Use One Template Multiple Times in one solution?

We have to produce an official document from information contained in two custom objects that have a master-detail relationship. I can have one template for the master object and another template for ...
1
vote
1answer
38 views

font-weight: bold; does NOT work but background-color: yellow; works in visualforce PDF

I have a class within a .css file in static resource like so: .bold-font-thin-top-border-bg-yellow { width:100%; font-weight: bold; border-top-style: solid; border-width: thin; background-color: ...
2
votes
1answer
42 views

how to write a wrapper class to show the selected account in pdf [duplicate]

I have a table that shows 10 record and whenever i click on 'create PDF' button..whole page is rendered as PDF..But i have a requirement that if i select lets say any 5 record from the table using the ...
3
votes
3answers
64 views

need a customised pdf

I have a table that shows 10 record and whenever i click on 'create PDF' button..whole page is rendered as PDF..But i have a requirement that if i select lets say any 5 record from the table using the ...
5
votes
2answers
82 views

How to add page breaks to visual force page rendered as pdf so that a dynamically rendered list in apex repeat tag does not strech the table lines

I have created a VF page rendered as pdf for QuoteLineItems in which I have added the list inside <apex:repeat> tags inside a html table row which again is inside another table.The problem ...
2
votes
0answers
47 views

Visualforce PDF after attaching to record says 'This PDF document might not be displayed correctly.'

I have a Visualforce page that is rendered as PDF. It works from the browser: I have a method that attaches a Visualforce PDF pageReference to a record: public static Id ...
3
votes
2answers
69 views

Text in RTF field is cropped in PDF

I have custom RTF field in a custom object which would have long formatted text. The text is cropped to certain width in the generated PDF. I noticed that width of the table in rich text is set to ...
3
votes
1answer
136 views

RenderAs PDF with Bootstrap

I'm building out a Bootstrap website in Salesforce and I now have a requirement to allow the users to download some of the pages as PDFs. Unfortunately, when I use renderAs="PDF", I get this error: ...
1
vote
2answers
58 views

Download pdf and video file from html page

I am stuck at a point where I have to give a link to the user on the UI which on getting clicked will download a pdf and video files. I have placed these files as static resources and I am trying to ...
0
votes
0answers
51 views

Keep text at bottom of Visualforce generated PDF page?

I am generating a PDF with VF. There is a block of text (privacy statement) that needs to go at the bottom of the last page of what could be several pages. It should sit above the footer for that ...
2
votes
1answer
250 views

Download a pdf file onclick

I want to develop a visualforce page with "download pdf" link. So that when user clicks on the link, related pdf file will be downloaded. How would I set that up? The pdf file has already been ...
-1
votes
1answer
75 views

How to convert PDF to Microsoft Power Point in Salesforce?

Actually my original issue is generating Microsoft Power Point but I could not find it in Salesforce, I found third party such but I always get frustrated into the limitation such some complex queries ...
5
votes
3answers
193 views

Render PDF Blob data in visualforce page

I have pdf blob data returning in my webservice.. I want to display this blob data as pdf in visualforce page. Is there any way to render the page as pdf with this blob data looking like pdf page. ...
-2
votes
1answer
37 views

How to control renderAs PDF

I have VF page which I need to renderAs="PDF". But before converting the page to Pdf we need to select the record. Can it be done in same page. Something like this - one load of the VF page display a ...
-4
votes
1answer
60 views

Can anybody help me showing bullets and numbering when we render as pdf from visualforce [closed]

Want to format description of all records and render as pdf. Formatting includes, Adding bullets and numbering, Font color for description (other than red, yellow, blue, green colors). Thanks in ...
-1
votes
1answer
64 views

PDF send as email attachment not opening

We have 2vf pages (1page per quote creation and 2nd page to generate PDF but both pages using same custom controller.On click of button I'm sending email with generated PDF but in mail its not opening ...
-2
votes
1answer
79 views

CSS is not working with PDF not bale to get alignment and border properly.

I have VF page which I am rendering as pdf. I wrote some css for alignment div. The alignment of div is correct in VF page. But when I convert the page to pdf all the alignment get changed. I have ...
3
votes
1answer
98 views

CSS not working properly

I have VF page where I have css in style. The css works when it is a normal page. Issue comes when we change the page to pdf. When I render the page as pdf the css written on VF page is getting ...
3
votes
1answer
88 views

float table to bottom of PDF?

For our quote PDF i am trying to get a table containing the customer invoice/delivery address to float to the bottom of the PDF page, however when I try usual CSS I get a PDF generation error. Is ...
0
votes
0answers
27 views

Roll up summary custom logic fails

Can any one help me out .I have a visual force page created for 4 reports and has wizard controller written.Now we would like do some custom calculation to change the Value.The logic was working fine ...
0
votes
0answers
23 views

Total does not get displayed in a visual force page

Can any on help me out how to get the total display for the quarter in a visual force page which is in a PDF format .The Column count is not getting display for any quarters.Any help very much ...
0
votes
0answers
25 views

How to show past ,present and future years data in a visual force page in PDF Format [duplicate]

Can any one help me out .How to show past ,present and future years data in visual force page pdf format .Based on the query i get the data retrived for the current year (2014 )and When i add the ...
0
votes
2answers
121 views

Rollup Summary field value does not get changed on the code written

Can any one help me on this ?RollUp Summary field can be multiplied in a visual force page.Based on the condition ,I need the value of the RollUp summary to get multipled (0.01) in wrapper class . ...
0
votes
3answers
66 views

Visualforce Error System.NullPointerException: Attempt to de-reference a null object

Can any one help me out with this Error as : Visualforce Error System.NullPointerException: Attempt to de-reference a null object Class.QuoteContentController.: line 435, column 1 The line of ...
0
votes
0answers
55 views

Apex Code Logic written to change the value in visualforce page doesnot work

Can any one help me on this? I have a Visualforce page created on Opportunity object which is in PDF format. I have a few RollUp summary fields created on opportunity object. There is a Wrapper class ...