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

Free Support Forum - aspose.com

How to indentify or get soft return or line break inside of a run

I'm having trouble trying to indentify soft returns or breaks insides a word document.

Can someone help me with this.

<!ā€“[if gte mso 10]> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0pt 5.4pt 0pt 5.4pt; mso-para-margin:0pt; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:SimSun; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi;}

<![endif]ā€“>

Hi

Thanks for your inquiry. Line break is ā€˜\vā€™ character. Please see ControlChar enum for more information:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/com/aspose/words/controlchar.html#LINE_BREAK

So you need to search for this character in text.

Please let me know if you need more assistance, I will be glad to help you.

Best regards,