The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home GuiPack RepList Class TReportListView Methods WriteToOpenXMLFile | |||||||||||||||||||||||||||||
See also: CheckIfValidReplist, DataID, LoadFromXMLFile, LoadLinesFromFile (ReportListView), LoadLinesFromFile (RLData), OnPercentDone, ReadFromOpenXMLFile, ReadFromXMLStream, ReadFromXMLString (ReportListView), ReadFromXMLString (RLData), SaveAsXMLFile, TRepListXmlTag, WriteToXMLStream, OnPercentDone (DataTable) | |||||||||||||||||||||||||||||
WriteToOpenXMLFile |
|||||||||||||||||||||||||||||
The method WriteToOpenXMLFile writes the contents of the report listview to an open text file OutFile using XML syntax. If the parameter CreateHeader is TRUE a minimum XML header is generated. CreateHeader should be set to a FALSE value if the report listview data is to be appended to an existing XML file. The parameter DataID holds a unique identifier which is stored as the attribute "id " of the <replist> tag. If the parameter DataID is empty, the value of the property DataID is used instead of an empty string. Please note that the data of the report listview is stored using the current sort order (which may differ from the original one). Thus it is recommended to perform an UnSort before saving the data. WriteToOpenXMLFile generates the following tags:
|