Will TRichView support \shp ?

General TRichView support forum. Please post your questions here
Post Reply
TPerson
Posts: 4
Joined: Thu Mar 04, 2021 1:03 pm

Will TRichView support \shp ?

Post by TPerson »

When creating a new rtf file in LibreOffice images are stored within \shp instead of \shppict. Those images are not visible when opening the file with TRichView. From what I can see there isn't that big difference. I've made a minimal rtf example of both cases containing just a small single colored square.

{\rtf1\ansi\deff3\adeflang1025
{\shp{\*\shpinst{\sp{\sn pib}{\sv {\pict\picscalex122\picscaley122\piccropl0\piccropr0\piccropt0\piccropb0\picw32\pich32\picwgoal480\pichgoal480\pngblip
89504e470d0a1a0a0000000d494844520000000a0000000a0802000000025058ea0000001449444154189563fccff09f013760c2233782a50173080212509422
440000000049454e44ae426082}}}}}}

versus

{\rtf1\ansi\deff3\adeflang1025
{\*\shppict{\pict\picscalex122\picscaley122\piccropl0\piccropr0\piccropt0\piccropb0\picw32\pich32\picwgoal480\pichgoal480\pngblip
89504e470d0a1a0a0000000d494844520000000a0000000a0802000000025058ea0000001449444154189563fccff09f013760c2233782a50173080212509422
440000000049454e44ae426082}}}

I can spend some time writing a small utility that converts \shp to \shppict. But I suppose \shp is used for other things too, and I might mess something up?
Sergey Tkachenko
Site Admin
Posts: 17805
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Will TRichView support \shp ?

Post by Sergey Tkachenko »

Planned, but not for near future
Post Reply