Back to index

moin  1.9.0~rc2
application_vnd_ms_powerpoint.py
Go to the documentation of this file.
00001 # -*- coding: iso-8859-1 -*-
00002 """
00003     MoinMoin - mspowerpoint filter
00004 
00005     Depends on: "catppt" command from "catdoc" package
00006 
00007     @copyright: 2009 MoinMoin:ThomasWaldmann
00008     @license: GNU GPL, see COPYING for details.
00009 """
00010 
00011 from MoinMoin.filter import execfilter
00012 
00013 def execute(indexobj, filename):
00014     data = execfilter("catppt -dutf-8 %s", filename)
00015     return data
00016