Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating spreadsheet file with images from report
Message
De
06/11/2016 12:04:26
 
 
À
06/11/2016 07:36:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01642788
Message ID:
01642805
Vues:
54
Hi!

>I believe that there is a constraint on the .ods format that requires that an uncompressed file - mimetype? - leads the package, in order to be identifiable by mimemagic processors. I don't know if the zip command you're planning respects that or not, but you may have a try.

I have created ods files using info-zip zip exe and windows send to compressed folder (*.zip)
They open in Excel and LibeOffice without issues.
So there is no such constraint. Where is such constraint specified ?

In my knowledge all files in ods file are compressed and can appear in any order.
Probably image files needs to be declared in manifest.xml also so it shoudl also created.

>I didn't check on differences between 2003-xml and content.xml, but if you say that it's just a matter of changing tag names, then I would say it would at least worth the try. You can also leave Alejandro's library unchanged, and perform the transformation on the resulting XML (if you're confident with XSLT or other XML transformation language).

Problably it requires a bit more changes than only chaning tag names. I have less knowledge about xslt transformation. XSLT transformation requires MSXML parser to be installed so application distribution will require administrator privileges to install it.
I can create new method in ExcelListener and call it from listender AfterReport if ods output is required.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform