Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating spreadsheet file with images from report
Message
From
06/11/2016 14:50:24
 
 
To
06/11/2016 12:04:26
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01642788
Message ID:
01642807
Views:
57
>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 ?

Point 17.4 of the OASIS Open Document Format.

>
>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.

Windows comes with MSXML6, so no big deal, but if you feel uncomfortable with XSLT, it's probably better to work on the listener.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform