Recent

Author Topic: FPSpreadsheet can not read image in xlsx file?  (Read 1602 times)

GreenForest

  • Newbie
  • Posts: 3
FPSpreadsheet can not read image in xlsx file?
« on: June 21, 2022, 04:14:39 pm »
FPSpreadsheet can write image to xlsx file,but can't read image in xlsx?

Red_prig

  • Full Member
  • ***
  • Posts: 143
Re: FPSpreadsheet can not read image in xlsx file?
« Reply #1 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

wp

  • Hero Member
  • *****
  • Posts: 11853
Re: FPSpreadsheet can not read image in xlsx file?
« Reply #2 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.
« Last Edit: June 24, 2022, 12:06:04 pm by wp »

GreenForest

  • Newbie
  • Posts: 3
Re: FPSpreadsheet can not read image in xlsx file?
« Reply #3 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

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.

rvk

  • Hero Member
  • *****
  • Posts: 6110
Re: FPSpreadsheet can not read image in xlsx file?
« Reply #4 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.

GreenForest

  • Newbie
  • Posts: 3
Re: FPSpreadsheet can not read image in xlsx file?
« Reply #5 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.

wp

  • Hero Member
  • *****
  • Posts: 11853
Re: FPSpreadsheet can not read image in xlsx file?
« Reply #6 on: June 26, 2022, 05:17:34 pm »
Added a basic image reader to the XLSX format (far from complete).

 

TinyPortal © 2005-2018