Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving SVG content to the clipboard?
Message
De
23/12/2018 09:42:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/12/2018 02:42:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
01664827
Message ID:
01664847
Vues:
55
>Hi all of you,
>
>We recently discovered we could produce clean svg from a good old VFP application via external party. Yes REALLY sharp, compact and good-looking stuff, crisp vector-based images making use of recent SVG features. I have attached a sample - a pretty plain one. But it includes most of the svg tricks we like to implement.
>
>The resource is available as both as PNG and SVG. Great! We can now integrate SVG material in recent MS-Office versions. I have tested it. Yep it works pretty well in both MS-Excel and PPT.You can easily load the SVG resource as a file:-)
>
>The SVG file is smarter since it is vector-based. That's nice. But I'd really like to offer a seamless integration i-e via clipboard as we have offered for ages for png formatted content.
>
>Any one has a clue on how to deliver SVG clipboard content on Windows platform. I understand that Windows clipboard formats include SVG: CFSTR_MIME_SVG_XML ie TEXT("image/svg+xml") MIME type. Would be fine to test the trick and paste SVG content from clipboard. Would be an achievement!

The easiest way would be to say _cliptext=lcSvgContent - because svg, just like any other markup, is just text. Now to force Windows to recognize it as a special MIME type is a completely different matter.

BTW happy to see that I'm not the only one who played with this. Looking at my last attempt (which is just lying there because we couldn't decide where to put it - it worked great), it's january 2012 :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform