• Fabien Schiettecatte
  • NEWBIE
  • -2 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
When I used page-break-inside: avoid; on a <div> contianer in a Visualforce renderAs="pdf" page, it doesn't work as expected. It doesn't have any effect.

What I want to achieve is, when an element is spread out between 2 pages of the pdf, it is automatically put on the next page of the pdf, as if it would have page-break-before: always;.

Does anyone know of this bug, is there a workaround or did someone have good results using page-break-inside: avoid;?
1. Is it possible to fetch all the picklist field names along with the picklist field values available in Salesforce? Is there any object available in salesforce to query picklist values? Eg: Select Name From Picklist_Table ?
 
2. Using SOQL query is it possible to fetch the picklist values? instead of using getDescribe().getPicklistValues() through apex ?