|
static bool | Xml2Csv (XmlDocument ADoc, string AOutCSVFile) |
| format the XML into CSV so that it can be opened as a spreadsheet; this only works for quite simple files; hierarchical structures are flattened (using childOf column) More...
|
|
static string | Xml2CsvString (XmlDocument ADoc) |
| format the XML into CSV so that it can be opened as a spreadsheet; this only works for quite simple files; hierarchical structures are flattened (using childOf column) More...
|
|
static bool | Xml2ExcelStream (XmlDocument ADoc, Stream AStream, bool AWithHashInCaption=true) |
| store the data into Excel format, Open Office XML, .xlsx More...
|
|
static bool | Xml2ExcelStream (SortedList< string, XmlDocument >ADocs, MemoryStream AStream, bool AWithHashInCaption=true) |
| store the data into Excel format, Open Office XML, .xlsx this overload stores several worksheets More...
|
|
static bool | DataTable2ExcelStream (DataTable table, MemoryStream AStream, bool AWithHashInCaption=true) |
| save a generic DataTable to an Excel file More...
|
|
static bool | CSV2ExcelStream (string ACSVData, MemoryStream AStream, string ASeparator=",", string ATableName="data") |
| save a generic CSV string to an Excel file More...
|
|
static DataTable | ParseExcelWorkbook2DataTable (Stream AStream, bool AHasHeader=false, int AWorksheetID=0, List< string >AColumnsToImport=null) |
| Load an xlsx Excel file into a datatable More...
|
|
static XmlDocument | ParseCSVFile2Xml (string ACSVFilename, string ASeparator=null, Encoding AFallbackEncoding=null) |
| convert a CSV file to an XmlDocument. the first line is expected to contain the column names/captions, in quotes. from the header line, the separator can be determined, if the parameter ASeparator is empty More...
|
|
static XmlDocument | ParseCSVContent2Xml (string AFileContent, string ASeparator=null) |
| convert the content of a CSV file to an XmlDocument. the first line is expected to contain the column names/captions, in quotes. from the header line, the separator can be determined, if the parameter ASeparator is empty More...
|
|
static XmlDocument | ParseCSV2Xml (TextReader AReader, string ASeparator=null) |
| convert a CSV file to an XmlDocument. the first line is expected to contain the column names/captions, in quotes. from the header line, the separator can be determined, if the parameter ASeparator is empty More...
|
|
static XmlDocument | ParseCSV2Xml (List< string >ALines, string ASeparator, out List< string > AAllAttributes) |
| convert a CSV file to an XmlDocument. the first line is expected to contain the column names/captions, in quotes. from the header line, the separator can be determined, if the parameter ASeparator is empty More...
|
|
static DataTable | ParseCSV2DataTable (List< string >ALines, string ASeparator) |
| convert a CSV file to a DataTable. the first line is expected to contain the column names/captions, in quotes. from the header line, the separator can be determined, if the parameter ASeparator is empty More...
|
|
provides methods for converting CSV file to and from XML; this helps with adding values, rearranging columns etc; expects a header line with column names