Lazarus

Programming => Packages and Libraries => FPSpreadsheet => Topic started by: GreenForest on June 21, 2022, 04:14:39 pm

Title: FPSpreadsheet can not read image in xlsx file?
Post by: GreenForest on June 21, 2022, 04:14:39 pm
FPSpreadsheet can write image to xlsx file,but can't read image in xlsx?
Title: Re: FPSpreadsheet can not read image in xlsx file?
Post by: Red_prig on June 21, 2022, 06:47:35 pm
Why not, it may well, carefully read the wiki and then you will understand which module you need to add to "uses"

https://wiki.freepascal.org/FPSpreadsheet (https://wiki.freepascal.org/FPSpreadsheet)
Title: Re: FPSpreadsheet can not read image in xlsx file?
Post by: wp on June 21, 2022, 07:09:00 pm
FPSpreadsheet can write image to xlsx file,but can't read image in xlsx?
I'm afraid, it can't... I remember that writing images already was unnecessarily complicated and lost motivation to restart with reading.
Title: Re: FPSpreadsheet can not read image in xlsx file?
Post by: GreenForest on June 24, 2022, 05:12:13 am
Why not, it may well, carefully read the wiki and then you will understand which module you need to add to "uses"

https://wiki.freepascal.org/FPSpreadsheet (https://wiki.freepascal.org/FPSpreadsheet)

I have writen "uses xlsxooxml", but No image can be accessed.
In xlsxooxml.pas, there is a methord  named "WriteMedia" in TsSpreadOOXMLWriter, but, No corresponding "ReadMedia" in TsSpreadOOXMLReader.
Title: Re: FPSpreadsheet can not read image in xlsx file?
Post by: rvk on June 24, 2022, 11:21:27 am
https://wiki.freepascal.org/FPSpreadsheet#Current_Progress


Excel OOXML = Writing only
OpenDocument = Working (+++)

(+++) Only very basic image support: no transformations, no cropping, no image manipulation.
Title: Re: FPSpreadsheet can not read image in xlsx file?
Post by: GreenForest on June 25, 2022, 03:13:24 am
https://wiki.freepascal.org/FPSpreadsheet#Current_Progress


Excel OOXML = Writing only
OpenDocument = Working (+++)

(+++) Only very basic image support: no transformations, no cropping, no image manipulation.

oh, it is Writing only in OOXML, thx.
I wish it can read image in the future.
Title: Re: FPSpreadsheet can not read image in xlsx file?
Post by: wp on June 26, 2022, 05:17:34 pm
Added a basic image reader to the XLSX format (far from complete).
TinyPortal © 2005-2018