I need some help to improve the crash testing

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Dec 18 16:46:21 PST 2013


Hey,


On Thu, Dec 19, 2013 at 1:29 AM, Thorsten Behrens <
thb at documentfoundation.org> wrote:

> Markus Mohrhard wrote:
> > Please write me the format and the name of the export filter as needed by
> > storeToURL. I'll add that to the script and will hopefully soon be able
> to
> > provide results for a first full scale import/export testing run.
> >
> Can look into that for Impress, can you point me to the script?
>
> -- Thorsten
>

Attached is the list of unhandled mimetypes. Additionally bewlow is the
part of the existing mapping.

validCalcFileExtensions = [ ".xlsx", ".xltx", ".xls", ".ods", ".ots",
".sxc", ".stc", ".fods", ".xlsb", ".xlsm", ".xltm", ".csv", ".slk", ".wks",
".sdc", ".sdc5" ]
validWriterFileExtensions = [ ".docx" , ".rtf", ".odt", ".fodt", ".doc",
".odm", ".ott", ".oth", ".sxw", ".sxg", ".stw", ".dotx", ".lwp", ".wpd",
".wps", ".abw", ".hwp", ".docm", ".dotm", ".sdw", ".sdw5", ".sgl5" ]
validImpressFileExtensions = [ ".ppt", ".pptx", ".odp", ".fodp", ".otp",
".sxi", ".sti", ".pptm", ".sldm", ".ppsm", ".potm", ".ppotx", ".ppsx",
".sldx", ".key", ".sdd_i", ".sdd5", ".sdp5" ]
validDrawFileExtensions = [ ".odg", ".fodg", ".otg", ".sxd", ".std",
".vsd", ".vdx", ".pub", ".cdr", ".sda5", ".sdd_d" ]
validBaseFileExtensions = [ ".odb" ]
validMathFileExtensions = [ ".odf", ".otf", ".sxm", ".mml", ".smf", ".smf5"
]


I plan to push the code soon to the repository but <i#m currently still
eliminating embarrassing crashes in the script ;)

If you see any errors please shout. Below is also a list of the export
mapping that I currently use. If you want to see another format in there
please tell me.

Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131219/8163f013/attachment.html>
-------------- next part --------------

    'application/vnd.oasis.opendocument.chart': 'odc',
    'application/vnd.oasis.opendocument.chart-template': 'otc',
,
# OOo XML
    'application/vnd.sun.xml.chart': 'sxs',

# MSO

# W3C
    'application/xhtml+xml': 'xhtml',
    'text/html': 'html',
    'application/docbook+xml': 'docbook',
# misc
    'application/x-dbase': 'dbf',
    'application/clarisworks' : 'cwk',
    'application/macwriteii' : 'mw',
    'application/x-hwp': 'hwp',
    'application/x-aportisdoc': 'pdb',
    'application/prs.plucker' : 'pdb_plucker',
    'application/vnd.palm' : 'pdb_palm',
    'application/x-sony-bbeb' : 'lrf',
    'application/x-pocket-word': 'psw',
    'application/x-t602': '602',
    'application/x-fictionbook+xml': 'fb2',

# binfilter
    'application/x-starchart': 'sds',
    'application/vnd.stardivision.chart': 'sds5',

# relatively uncommon image mimetypes
    'image/x-freehand': 'fh',
    'image/cgm': 'cgm',
    'image/tiff': 'tiff',
    'image/vnd.dxf': 'dxf',
    'image/x-emf': 'emf',
    'image/x-targa': 'tga',
    'image/x-sgf': 'sgf',
    'image/x-svm': 'svm',
    'image/x-wmf': 'wmf',
    'image/x-pict': 'pict',
    'image/x-cmx': 'cmx',
    'image/svg+xml': 'svg',
    'image/x-MS-bmp': 'bmp',
    'image/x-wpg': 'wpg',
    'image/x-eps': 'eps',
    'image/x-met': 'met',
    'image/x-portable-bitmap': 'pbm',
    'image/x-photo-cd': 'pcd',
    'image/x-pcx': 'pcx',
    'image/x-portable-graymap': 'pgm',
    'image/x-portable-pixmap': 'ppm',
    'image/vnd.adobe.photoshop': 'psd',
    'image/x-cmu-raster': 'ras',
    'image/x-xbitmap': 'xbm',
    'image/x-xpixmap': 'xpm',


More information about the LibreOffice mailing list