Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
cloudooo
Commits
aeb38b12
Commit
aeb38b12
authored
Nov 05, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
writer_jpg_Export seems not working from cloudooo in LibreOffice 4.3.3.2.
parent
2fae7fa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
cloudooo/handler/ooo/mimemapper.py
cloudooo/handler/ooo/mimemapper.py
+3
-6
cloudooo/handler/ooo/tests/testOooMimemapper.py
cloudooo/handler/ooo/tests/testOooMimemapper.py
+1
-1
No files found.
cloudooo/handler/ooo/mimemapper.py
View file @
aeb38b12
...
@@ -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
...
...
cloudooo/handler/ooo/tests/testOooMimemapper.py
View file @
aeb38b12
...
@@ -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'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment