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
49 views

How to display multiple custom objects in single VF PDF page

I'm displaying three design in a Apex using 'renderAs' option. But,i required to display all the designs in single page. By default, it is taking one design per one page. Any ideas? VF Page: ...
0
votes
0answers
21 views

PDF Parsing recommendations

Q. Anyone know of PDF parsing framework/library/solution which handles different data types including variable lenght text areas (e.g. keeps formatting and line breaks) We are currently using this ...
1
vote
2answers
47 views

“Time Limit Exceeded” error only when generating PDF, but not when VF page is displayed

I have a Visualforce Page, that renders as PDF - conditionally. So from one button it shows as simple Visualforce page, and from another button (somewhere else in the app) it renders it as PDF. The ...
0
votes
2answers
120 views

Add CSS classes and repeating header to Visualforce PDF

I have a Visualforce page that renders as a PDF. It displays a table of data and an image on the header on each page: <apex:page renderAs="pdf"> <head> <style type="text/css" ...
2
votes
1answer
85 views

Images are not displaying in MS Word Doc

I want to display the images into word document and here two types of images are there Static resource image(not working, in PDF format working) Rich Text Area(not working, in PDF format is ...
0
votes
0answers
25 views

Issue uploading PDF in salesforce

I am trying to upload pdf as an attachment in salesforce, but i am not getting the complete pdf. I have created a model object for an attachment and using it making a save call. All the data is ...
0
votes
3answers
53 views

Display content at Bottom of last page when VF is rendered As pdf

I want to display content at the bottom of last page of pdf. This pdf is created by using tag renderdAs="pdf" for visualforce page.
1
vote
1answer
55 views

Visualforce renderAs PDF sandbox - production difference (Failed to load resource: net::ERR_CACHE_MISS)

We have a visualforce page rendered as PDF that uses some tables and css for simple styling, the problem is that in the production org it's not displaying any of the css (we are even using some old ...
0
votes
1answer
92 views

Attaching PDF rendered Visualforce pages to Standard Object?

I've created a visualforce page on the Opportunity object that I'm rendering as a PDF. I just started using docusign and would rather not have to generate the doc, attach it to the record and then ...
0
votes
0answers
31 views

PDF saved under Quote PDFs is not visible

As we have limitations for custom Quote templates so we are trying to create VF page as PDF. Generated PDF is getting attached under object 'Quote PDFs' (API is QuoteDocument). We're facing a problem ...
1
vote
1answer
32 views

Display a pdf pages rerendred with visualforce horizontally

I have a visualforce rerenderAs pdf, my question is if there is a way to display my pdf pages horizontally, not vertically. Thank you
0
votes
2answers
34 views

How to approach for this webservice request?

Currently I'm displaying orders and related objects in a visualforce page. The new requirement is: For every order a hyperlink/button will be added. On clicking that button, a related document from ...
2
votes
1answer
48 views

Difference in the PDF generatedby browser and one generated and attached from code

I have a situation where i have a VF page which is generated as pdf from opportunity record and this needs to create a record in a custom object attach the pdf to the custom objects notes and ...
0
votes
0answers
38 views

Quote pdf generating error

I am creating a quote pdf by code( external user click on any button then code will create this) and it is successfully created and attached with quote. But the problem is that when I try to view ...
0
votes
0answers
41 views

Generating multiple VF Page instances

I would like to somehow generate hundreds of PDFs (with embedded images) from a VF Page / custom controller. This requirement is part of a bigger package that is already using a lot of SOQL calls. ...
1
vote
0answers
55 views

Rendering Special Characters in PDF

We are trying to generate a PDF file from a HTML template which has non-english characters. We are using body { font-family: 'Arial Unicode MS'; } as the css for the body. The issue is with the ...
0
votes
1answer
66 views

Generating Custom PDF of records detail page like printable view

![enter image description here][1]I have been trying following code in my VF page <apex:page standardController="Account" extensions="AccController" renderAs="PDF"> <apex:pageBlock > ...
2
votes
0answers
44 views

Email a PDF page to User who clicks

I have a custom button on Custom object Incident. When it is clicked from a particular Incident record a VF page is displayed in PDF format. I need not to show this PDF to the User instead the PDF ...
0
votes
0answers
48 views

Attach a dynamic PDF page

I have a requirement to create a pdf page in a new window based on dynamicly created records of custom object Incident__c when an User clicks a custom button. Then mail the PDF to the User. Please ...
1
vote
1answer
71 views

Records truncated end of page in PDF

I have an apex PDF page. There are five different tabpanels to show records. Now when number of records increases the last record of last panel in a page gets segregated to the next page. In such ...
0
votes
1answer
32 views

Rendered in Tabpanel

I am getting an error like PDF generation failed for render in a tab panel. I need to do conditionally show the tab panel. Can some suggest a way out. Please find the snippet from my page here. ...
0
votes
2answers
60 views

Background colored column headers in a pdf apex page without using pageblocktable

I have a requirement to show colored backgrounds for column headers of tables. Can someone suggest a way out without using pageblocktable? Please find my controller class here. public class ...
1
vote
2answers
44 views

Do not Show Image while Printing?

I have a Visualforce Page( Header with Logo-Image + Content) which is rendered as Pdf. This Vf page will be Emailed via Custom Controller Scenerio : When Email is Forwarded I want to Have ...
0
votes
0answers
22 views

How to restrict the data according to the dimension of a table in VF page rendered as PDF

Please consider the following scenario and help me with a probable solution: I am rendering a VF page into a pdf. At a pre-defined location on the page, there is a (using apex:repeat) with specific ...
0
votes
0answers
58 views

Salesforce1 on Iphone6 does not show attachments

One of our users has an iPhone 6 and when using Salesforce1 the attachments on for example an Opportunity cannot be opened. The screen shows the pdf's title, that's all. Is there way to solve this? ...
0
votes
1answer
97 views

PDF editing within Apex/Visualforce

I want to edit a PDF file in the Salesforce Document folder to add some text or background image to it, and then save the changes in a new PDF document. I tried to include the PDF in a Visualforce ...
0
votes
1answer
65 views

can we use single controller in two VF pages?

Here is a scenario where i have a search page for users to select and display the search results. I also have a button to generate the pdf. I have a list of account in the controller which displays ...
1
vote
1answer
93 views

Display limited repeat values in one pdf page [duplicate]

Is there any way of limiting the displayed repeat values in one page? Ex: Display first two values in first page, next two values in the next page etc ? I tried to find a way of doing this but I ...
1
vote
1answer
103 views

Limit number of tables displayed in one page (When using Apex:Repeat), when redering as pdf to avoid page/table breaks

I have the following VF page, but when I render it as pdf the Apex:repeat tables break in the middle to the next page. I'm thinking of limiting the tables displayed in each page to avoid table breaks. ...
0
votes
0answers
100 views

How to use Salesforce PDF Viewer for custom object similar to quote pdf (including save and send email button)?

Need to use custom vf pdf and display that in custom object in salesforce pdf viewer similar to standard quote pdf
4
votes
1answer
195 views

Long Text Area not rendering correctly when rendered as pdf

I have an issue where I have a VF page containing a long text area field. The field and data displays correctly when it's a standard VF page. I have an option to view the page as a PDF and when ...
0
votes
2answers
53 views

PDF rendering Issue when Break Tag Is Used

I am getting this Issues in Vf Page when rendered as PDF "To" is Taking Spaces This is my HTML Tag <b>To,</b><br/> <b>ABC XYZ Ltd</b> when I Use the ...
4
votes
2answers
406 views

Custom Fonts in Visualforce Page (renderas=“pdf”)

Trying to use a custom font in my visualforce page (rendered as pdf). I have looked at many conflicting articles saying that the only option are the "limited" fonts supported, whereas others say that ...
0
votes
2answers
66 views

SOQL returns outdated records in Visualforce PDF

I appear to have a very weird error. I have a business case where I have a button on an opportunity which generates 2 records (related to that opportunity via master-detail). After those records were ...
1
vote
1answer
54 views

Nested repeats + table + if + pdf = frustration

I have a table on a VF page that allows the users to filter, sort and choose which columns are visible. I accomplish the column visibility by using javascript to change the style to display:none. ...
2
votes
2answers
72 views

Search Text in a PDF file (Attachments)

I am not able to search text in a pdf file tied to attachments(Notes and Attachments) using apex.Here is my apex code. Pdf file contains 'County' text but it doesn't goes into if loop. ...
2
votes
2answers
277 views

Making PDF viewable but not downloadable on customer community

I'm looking for recommendations for the best way to make PDF documents viewable on customer community but not downloadable. I know that Salesforce Content can be restricted that way but I wasn't sure ...
0
votes
0answers
17 views

How to replace standard quote template for visualforce page [duplicate]

I created a Visualforce page in que will be the new model of quote (pdf). How do substitituir to the standard model for this in Visualforce page? I would keep the same features as standard, view the ...
2
votes
2answers
613 views

How to Use below code in apex class PageReference Method

I have a requirement to generate invoices(PDF Files) in my application. So i installed app exchange app "S-Docs" to get it done. But the problem is every time i need to click on the button to ...
1
vote
1answer
81 views

Combine multiple PDF's together and attach them in a mail?

As of now , all i have is a VF page which renders as a PDF and it needs Account ID to be passed to generate a PDF . Is there a way wherein i can group all the PDF's into a single PDF ? Should i change ...
3
votes
1answer
85 views

Sending a PDF from Salesforce through a REST call

How do I send a pdf through REST call out of Salesforce? Should we use sites? Any idea?
3
votes
2answers
349 views

Remove Last Page from the PDF

I have created PDF of Multipage, where in VF page I am using <apex:repeat .......> ///////// some code <div style="page-break-before:always;"/> </apex:repeat> But it adds a ...
2
votes
1answer
199 views

Problem in Calling VF Page as PDF in Salesforce1

visualforce page cannot be called to salesforce1 We have created a visualforce page on a custom object (invoices) that is rendered as PDF to issue the invoice. Our code is <apex:page ...
0
votes
1answer
74 views

Create a multi-page PDF containing detail page views for each record — Give me any example

I want to show all record in one PDF, I have gone this far, I dont know what to do now ! GeneratePDF : is a VF page, which create a one single PDF with a single records detail on one page So, Here ...
1
vote
2answers
79 views

when rendering as pdf some of the image type attachment is not properly displayed whereas rest are fine

when rendering as pdf some of the image type attachment is not properly displayed whereas rest are fine. Please find my code here : <apex:page controller="Attachments_11" renderas="pdf" > ...
4
votes
1answer
197 views

PDF has no file extension .pdf when generated with visualforce

I am generating a pdf invoice with visualforce, but when it downloads there is no file extension. I have read other questions on SE and tried to simplify the content. Right now the code is simplified ...
1
vote
0answers
68 views

Chatter Feed Item: PDF Preview not working

I have created a feed item through apex with PDF as an attachment. Now the issue is the PDF does not previewed in the default preview option and getting a message in the preview window as given below ...
2
votes
1answer
208 views

Scaling Images in Visualforce PDFs

In our org, users are able to create PDFs with a logo in the header. We're using renderAs="pdf" to achieve this. The problem is we can't control the dimensions of the logos, so we need to scale them ...
8
votes
1answer
113 views

PDF using Static Resource generated from REST doesn't display My Image

I have different ways in my organization to generate my invoice pdf and attach it to my records. My PDF includes a logo stored in a public StaticResource. It works perfectly everywhere except when I ...
1
vote
1answer
149 views

Want to display values in proper order on PDF Document

I am getting the Equipment/Service Level Detail Table values but it"s not proper order. Want to display X1,X2,X3,Y1,Y2,Y3....here displaying X1,X2,Y1,X3,Y2,Y3 in PDF , could you help me? VF page : ...