HHi Guillaume, well you should be able to use Java String operations to extract the last 4 chars from the filename. I think there are even places in the Upload-Servlets that do that too. However you will have to make your own version of the convertImage method too. I think you noticed that there is no possibility to enter a slide number in the function?
Sebastian 2011/6/17 Guillaume <[email protected]> > Hi Sebastian, > > I have a question about the responsible function of conversion (image) in > GenerateImage.java. > > This is : public HashMap<String, HashMap<String, Object>> convertImage( > String current_dir, String fileName, String fileExt, > String roomName, String fileNameShort, boolean fullProcessing) > throws Exception. > > I'll use this function in WhiteboardMapToSVG in order to convert an image > out of the PDF and include the image in the SVG. > > I want to know if it possible to get filename of object swf > (graphobject.get(3) ) without the extension .swf => because filename in the > function convertImage must be without extension. > > This is also this string filename which will be use for the name of image > resulting after the conversion (filename + ".jpg") if i understood well. > > Thanks in advance > > Guillaume > > -- > You received this message because you are subscribed to the Google Groups > "OpenMeetings User" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/openmeetings-user/-/IcQbGhAnBHkJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/openmeetings-user?hl=en. > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.wagner-sebastian.com [email protected] -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
