We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

New Record for Each Row

I am code written in Coldfusion and all I am trying to do is to show a list of records in a table cell using setText(#list#). However, I want each record starting in a new row. Currently, there is no carriage return. What is the best way to approach this? In addition, based on a certain criteria, how can I apply font color to each text. thanks in advance.

My Code:

Dear John

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Actually, you will need to add Paragraph object in TextFrame.Paragraphs or TextHolder.Paragraphs collection for each new line.

And when you want to bold/italicized/underline/color some/all of the text inside the paragraph, you would need to add Portion object in Paragraph.Portions collection.

In Java, you can access the above properties and add objects in this way.







For code example, please see this post.


Also see these two threads.

<A href="https://forum.aspose.com/t/107633</FONT></A> </P>