Skip to main content
Tweeted twitter.com/#!/StackSalesforce/status/435679338357604352
deleted 13 characters in body; edited tags; edited title
Source Link
Matt and Neil
  • 33.1k
  • 7
  • 107
  • 189

Does Vf pdf support How do I make a Visualforce PDF respect new line characters?

I have a VFVisualforce page where I need to show the chatter posts in pdfa PDF. The chatter post is made ofgenerated by apex code and inside chatter post there is acontains new line charactercharacters. I am querying the character posts and displaying them inside a pdf. The

The chatter post format in VF pdfthe Visualforce PDF is different from than original post by the new lines. PdfThe PDF shows the post as a continuescontinuous text, and is not allowing the lines to breakline breaks according toto the \n\n used inside post by apex code. Is there any way to acheciveachieve this? OrOr is the adobe pdf isPDF format not supporting \n\n inside?

Does Vf pdf support new line characters

I have a VF page where I need to show the chatter posts in pdf. The chatter post is made of apex code and inside chatter post there is a new line character. I am querying the character posts and displaying inside a pdf. The chatter post format in VF pdf is different than original post by the new lines. Pdf shows the post as a continues text and not allowing the lines to break according to the \n used inside post by apex code. Is there any way to achecive this? Or is the adobe pdf is not supporting \n inside?

How do I make a Visualforce PDF respect new line characters?

I have a Visualforce page where I need to show the chatter posts in a PDF. The chatter post is generated by apex code and contains new line characters. I am querying the posts and displaying them inside a pdf.

The chatter post format in the Visualforce PDF is different from than original post by the new lines. The PDF shows the post as continuous text, and is not allowing the line breaks according to the \n used. Is there any way to achieve this? Or is the PDF format not supporting \n inside?

Source Link
Shebin Mathew
  • 3.2k
  • 6
  • 38
  • 48

Does Vf pdf support new line characters

I have a VF page where I need to show the chatter posts in pdf. The chatter post is made of apex code and inside chatter post there is a new line character. I am querying the character posts and displaying inside a pdf. The chatter post format in VF pdf is different than original post by the new lines. Pdf shows the post as a continues text and not allowing the lines to break according to the \n used inside post by apex code. Is there any way to achecive this? Or is the adobe pdf is not supporting \n inside?