view MoinMoin/filter/application_vnd_ms_powerpoint.py @ 5952:f6a74810da73

updated CHANGES
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 10 Mar 2013 15:28:04 +0100
parents 63af53510576
children
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - mspowerpoint filter

    Depends on: "catppt" command from "catdoc" package

    @copyright: 2009 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.
"""

from MoinMoin.filter import execfilter

def execute(indexobj, filename):
    data = execfilter("catppt -dutf-8 %s", filename)
    return data