Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExcelListener class placed in downloads
Message
De
02/01/2007 12:55:01
 
 
À
01/01/2007 21:40:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01180997
Message ID:
01181469
Vues:
25
I'm sorry, I did'nt test my changes carefully.
With my changes Excel show each character as two characters and Openoffice 2 hangs. To fix this
I changed xml_file_header to
TEXT TO lcRetVal TEXTMERGE NOSHOW PRETEXT 2
<?xml version="1.0" encoding="Windows-<<TRANSFORM(CPCURRENT())>>"?>
<?mso-application progid="Excel.Sheet"?>
ENDTEXT
and conversion in .Render() to
cContents = ;
STRCONV(strt(strt(strt(cContentsToBeRendered,'&','&amp;'),'>','&gt;' ),'<','&lt;'),6)
However, this does not allow to implement fontcharset.
Any idea how to create xml file which has UTF-8, UTF-16 or similar encoding?

Empty line is shown between each detail line.
How to remove those empty lines ?

>Later I'll extract the default code in ApplyExcelStyle which really should be outside the class because it is specific to my situation.

I changed the code so it works without Excel installed, just creates file. Openoffice can open generated files also.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform