Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Marco Cecchetti wrote:
A nice screencast, or demo svg with ~all the features would be cool
as well - that would complement the weekly logs quite wonderfully.

Well, there are all the presentation samples I created on GSoC
http://users.freedesktop.org:8080/~mcecchetti/svg-export/samples/
Do you like I create a single presentation summarizing all of them ?

That would be ideal - let's say 5-10 slides with some eye-catching
effects.

Ok, I already tried to investigate a bit, but I don't know how
I can get the image embedded into the XShape instance, check
its mime type, and in case is of type "image/svg" extract
the svg document.

SVG is currently transported as an embedded payload in the graphic's
metafile - see GDIMetaFile::ImplDelegate2PluggableRenderer for how
this is implemented in vcl (a MetaCommentAction with a magic name,
followed by some stringly typed raw data stream).

Or you follow the slideshow way (importShapeGraphic there, in
shapeimporter.cxx), GraphicObject->GetGraphic()->GetLink() gives you
the raw data stream if needed.

HTH,

-- 
Thorsten Behrens, Director, Deputy Chairman of the Board
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: http://www.documentfoundation.org/imprint

Attachment: pgpPr6cQqoVi7.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.