Hey,
On Thu, Dec 19, 2013 at 1:29 AM, Thorsten Behrens <
thb@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
'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',
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.