view MoinMoin/filter/application_vnd_ms_powerpoint.py @ 6124:cf8f1f2a852e

bump version to 1.9.9
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 31 Oct 2016 20:50:01 +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