You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2009/07/08 00:39:30 UTC

DO NOT REPLY [Bug 47491] New: Export SVG to PowerPoint using POI library

https://issues.apache.org/bugzilla/show_bug.cgi?id=47491

           Summary: Export SVG to PowerPoint using POI library
           Product: Batik
           Version: 1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: (RFE) Request For Extension
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: herve.girod@club-internet.fr
                CC: herve.girod@club-internet.fr


RFE #33348 asks to be able to convert SVG to WMF or EMF. 

This RFE asks to be able to convert SVG to PowerPoint documents. Basically a
SVG document would become one slide in a PPT document. This capability would
also allow as some cool side effects:
- being able to get WMF and EMF images (because PowerPoint allows conversion to
EMF and WMF)
- being able to create "natively" a PPT document from a SVG image for eople who
want to use EMF and WMF just to get a PowerPoint document at the end
- interoperate with programs such as OpenOffice which are able to read
PowerPoint documents

I (Hervé Girod) have a working copy of a SVG => PowerPoint transcoder, using
Apache POI HSLF classes in scratchpad (last POI Beta version). I could not use
the PPGraphics2D which comes with the HSLF package; however using this class
fired no exceptions, but the result was very incorrect, though I don't know if
it comes from the maturity of this class, the way I used it, or even specific
Graphics2D features that were heavily used by my (rather complex) SVG examples
and not supported yet. It turned out I created a new PPTranscoder class,
associated with a PPTGraphics2D (of course).

I have no problem to give this code to Apache (I already filed a contributor
agreement some time ago and sent a lot of patches for the WMF => SVG
conversion), as it can be useful to others, but apart from the fact that I
surely have to perform more tests, I really don't know how to integrate it in
Batik (it uses a part of POI).

POI is under Apache 2.0 like Batik. The problem is I don't know what is the
best way to 'integrate" POI library with Batik in order to provide this
functionality without making Batik dependent from POI at the end (and even if
this is really possible to do this cleanly)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 47491] Export SVG to PowerPoint using POI library

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47491

--- Comment #1 from Florian Sesser <fl...@gmail.com> 2009-11-18 01:28:43 UTC ---
Hello Hervé!

How well does the Conversion to Powerpoint work? In a recent project of mine I
need a usable converter from (EPS or) SVG to EMF. (This is very related to
#33348). Your approach sounds promising. Could you post your code so we can
have a look?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org