You need to sign in to do that
Don't have an account?
harshasfdc
Generating pdf for static calculated values
Hi All,
I have a require ment i have to generate the pdf file after performing some calculations where we perform calculations for static values .i want to save this as a pdf after performing the operation is this possible .please help in this.
Thanks,
Harsha
Page:
Component:
Controller:
the generate PDF link call the page like this in your VF page:
In your controller:
ya we can do that without object creation. By using {get;set;} property we can get the values from VF page to controller and save it as a record. from that we can also fetch the data to generate PDF.
these links will helps you:
Getter and setter methods are used to pass data from your visualforce page to your controller and vice versa..
http://www.forcetree.com/2009/07/getter-and-setter-methods-what-are-they.html
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_custom_settings.htm
http://www.salesforce.com/docs/developer/cookbook/Content/apex_properties.htm
http://blog.jeffdouglas.com/2010/07/16/create-and-email-a-pdf-with-salesforce-com/