PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

Images or shapes inside cell?

Open Vishwaas opened this issue 7 years ago • 13 comments

@gitbrent Is it possible to insert images or shapes in a cell. Say there is a number 13 with a small Apple or circle next to it, is it possible?

Vishwaas avatar Jun 07 '17 20:06 Vishwaas

Hi @Vishwaas ,

Thanks for the question.

No, it's not possible to add shapes/images into table cells as of yet.

gitbrent avatar Jun 08 '17 03:06 gitbrent

@gitbrent thanks, figured out another solution.

One more question, how to set scaleHeight and scaleWidth of BLOCK_ARC shape? I believe that option doesn't exist as of now?

Vishwaas avatar Jun 09 '17 17:06 Vishwaas

Hi @Vishwaas ,

Correct, those options don't exist.

gitbrent avatar Jun 09 '17 18:06 gitbrent

@gitbrent thanks, great job btw, all the best with it.

Vishwaas avatar Jun 09 '17 18:06 Vishwaas

Thanks! :-)

gitbrent avatar Jun 10 '17 19:06 gitbrent

hey there, just checking on this issue again, is it still not possible to add shapes nor images to cells?

thitemple avatar Jun 13 '19 15:06 thitemple

Hi @thitemple

Correct - support for adding shapes into table cells has yet to be added.

I'll re-open this issue and flag it as an enhancement request.

gitbrent avatar Jun 13 '19 23:06 gitbrent

Hello @Vishwaas

What is your solution / workaround in order to put images in a table ?

Thank you

bourados avatar Nov 26 '19 10:11 bourados

Hi there, checking yet again if support for shapes in table cells has been added? Thank you!

Oliviu27 avatar Apr 08 '20 14:04 Oliviu27

I have a workaround since this library supports Unicode special characters so I added special character instead of actual shape https://www.w3schools.com/charsets/ref_utf_geometric.asp

akshaygoyal88 avatar Apr 29 '20 14:04 akshaygoyal88

I have a workaround since this library supports Unicode special characters so I added special character instead of actual shape https://www.w3schools.com/charsets/ref_utf_geometric.asp

Hi akshaygoyal88. Could you please share your code snippet how you achieved it. I am trying but I dont see the symbol when ppt is downloaded. I see it as a string. Thanks

harshapenikalapati avatar Sep 08 '20 16:09 harshapenikalapati

Hi there, checking yet again if support for shapes in table cells has been added? If there are any other alternate approach then please suggest.

meet2sujit avatar Nov 11 '20 09:11 meet2sujit

Hi, Checking if adding images inside table cells have been added? Thank you

ranzis avatar Jan 04 '22 14:01 ranzis