Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

Copy Word Document content in a table to Excel with Paragraph formatting using OpenXML

$
0
0

Hi,

I have a word document(.docx) which contains a table. The user can enter the information in a paragraph style. In each cell they can add 1 or more paragraph information. I would like to read the contents in each cell and create a excel SpreadSheet. Each cell text content in excel needs to be copied to the new Excel file. 

I used OpenXML and I can read the contents using InnerText. But the Paragraph formatting(space between two paragraph) are missing. When I copied to the Excel cell, all the paragraph text are merged in to single. How to copy with the Paragraph style to the Excel cell.

Thanks in advance


R.Mani | http://rmanimaran.wordpress.com


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>