Commit aeb38b12 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

writer_jpg_Export seems not working from cloudooo in LibreOffice 4.3.3.2.

parent 2fae7fa8
...@@ -134,12 +134,9 @@ class MimeMapper(object): ...@@ -134,12 +134,9 @@ class MimeMapper(object):
raise ValueError(stdout) raise ValueError(stdout)
filter_dict, type_dict = json.loads(stdout) filter_dict, type_dict = json.loads(stdout)
ooo_disable_filter_list = kw.get("ooo_disable_filter_list") or [] ooo_disable_filter_list = kw.get("ooo_disable_filter_list") or [] + [
# The following two export filters seem not working from cloudooo 'writer_jpg_Export', # Seems not working from cloudooo in Libre Office 4.3.3.2
# in Libre Office 4.2.0.4 but works fine in Libre Office 4.3.0.4. ]
# 'writer_jpg_Export',
# 'writer_png_Export',
ooo_disable_filter_name_list = kw.get("ooo_disable_filter_name_list") or [] + [ ooo_disable_filter_name_list = kw.get("ooo_disable_filter_name_list") or [] + [
'Text', # Use 'Text - Choose Encoding' instead 'Text', # Use 'Text - Choose Encoding' instead
'Text (StarWriter/Web)', # Use 'Text - Choose Encoding (Writer/Web)' instead 'Text (StarWriter/Web)', # Use 'Text - Choose Encoding (Writer/Web)' instead
......
...@@ -36,7 +36,7 @@ text_expected_tuple = ( ...@@ -36,7 +36,7 @@ text_expected_tuple = (
('docx', 'Office Open XML Text'), ('docx', 'Office Open XML Text'),
('fodt', 'Flat XML ODF Text Document'), ('fodt', 'Flat XML ODF Text Document'),
('html', 'HTML Document (Writer)'), ('html', 'HTML Document (Writer)'),
('jpg', 'JPEG - Joint Photographic Experts Group'), # ('jpg', 'JPEG - Joint Photographic Experts Group'),
('odt', 'ODF Text Document'), ('odt', 'ODF Text Document'),
('pdf', 'PDF - Portable Document Format'), ('pdf', 'PDF - Portable Document Format'),
('png', 'PNG - Portable Network Graphic'), ('png', 'PNG - Portable Network Graphic'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment