Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Updated Wiki: ExcelXML

$
0
0

38209 ExcelXML

Convert a Table or a Grid control into a Microsoft Excel XML Spreadsheet file.

38236

Project Manager: Rodrigo Bruscain

The ExcelXML project is designed to bring to the Visual FoxPro the possibility to generate a Excel file converting 99% of all visual caracteristics from a Grid. However, there is the possibility to generate a file without a Grid.

GOALS
  • Excel files with over 65,535 rows.
  • Convert a Grid Control into a Excel XML file considering 99% of the visual characteristics.
  • It is possible to use Grid Dynamics properties.
  • Based in all Grid visual properties.
  • It is possible to convert a table without a Grid Control as well.
  • Easy to implement and it is not necessary to change your code.
  • Compatible with Microsoft Excel 2003 or higher.
  • The files can be opened by OpenOffice reducing conversion errors.
  • Open the file by Excel and save in other formats to reduce the size without loose the information.
  • It is not necessary to have the Microsoft Excel installed.

vfpxreleasesmall.pngDownload Latest Release of ExcelXML
See the samples included in the file


Properties and Methods Description
property_vs.bmp ColumnCountReturns the number of columns included in the Excel file.
property_vs.bmp FileInform the name of Excel file. If you don't inform the name with the extension, the XML extension will be included. The default file name is "Book1"
property_vs.bmp GridObjectInform the Grid control object to convert a Grid control in an Excel XML file.
property_vs.bmp HasFilter.T. Includes the option Filter in all columns in the generated file.
property_vs.bmp LockHeader.T. locks the header in the generated file. This option in Excel is called by Freeze Top Row.
property_vs.bmp OpenAfferSaving.T. to open the file after saving it.
property_vs.bmp RowCountReturns the number of rows included in the Excel file.
property_vs.bmp SetStyles.T. to define that the Excel file will have the Grid visual characteristics transported.
property_vs.bmp SheetNameExcel sheet name. The default name is "Sheet1"
property_vs.bmp xmlEncodingXML encoding type used to set the code that defines special characters. Default code is "iso-8859-1".
property_vs.bmp VersionObject that contains the information about this class.
method_vs.bmp AboutAbout ExcelXML class
method_vs.bmp ProgressMethod used to show the percentage processed.
method_vs.bmp SaveCreates the Excel XML file.


38236

Sample 01
sample01.png

sample01_excel.png


Sample 02
sample02.png

sample02_excel.png


Sample 03
sample03.png

sample03_excel.png


Sample 04 - No Grid control
sample04.png

sample04_excel.png

Viewing all articles
Browse latest Browse all 3798

Trending Articles



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