Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I currently have an application written in C#, which performs some calculations on electrical lines sag and tensions.

The program has only the option of exporting a .doc file, or printing to PDF.
As it stands, I cannot save it into a format that allows me to change any data, as it is already in Word, or pdf.

I need some help to setup an intermediary file format,(something simple) that allows editing of the file, while retaining the ability to export the project file to Word or PDF.

The solution has to be simple because the project will be non-commercial, and hence not a lot of resources are available for it.

Thank you in advance.
Posted
Comments
BillWoodruff 2-Dec-14 20:50pm    
Have you considered the "old war horse," CSV ? I read ... but have not tried it myself ... that you can save CSV to PDF using:

http://sourceforge.net/projects/itextsharp/

Use XML: it's flexible, easy to use and even (relatively) human readable: http://msdn.microsoft.com/en-us/library/ms950721.aspx[^]
 
Share this answer
 
Comments
Maciej Los 2-Dec-14 5:46am    
+5!
In addition to soultion 1 by OrginalGriff, i'd like to say, you can use xsl formatting[^] to display a data in a human-readible form.
See: Rendering XML Data as HTML using XSL Transformation and ASP.NET XML Control[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900