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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
cloudooo
Commits
974e5f17
Commit
974e5f17
authored
Nov 12, 2014
by
Florian Ajir
Committed by
Gabriel Monnerat
Mar 15, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modification to export PDF/A-1 instead of PDF 1.4
parent
dd2da7cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
cloudooo/handler/ooo/helper/unoconverter.py
cloudooo/handler/ooo/helper/unoconverter.py
+7
-1
No files found.
cloudooo/handler/ooo/helper/unoconverter.py
View file @
974e5f17
...
@@ -108,7 +108,12 @@ class UnoConverter(object):
...
@@ -108,7 +108,12 @@ class UnoConverter(object):
elif
filter_name
==
"impress_pdf_Export"
:
elif
filter_name
==
"impress_pdf_Export"
:
property
=
PropertyValue
(
'FilterData'
,
0
,
property
=
PropertyValue
(
'FilterData'
,
0
,
uno
.
Any
(
'[]com.sun.star.beans.PropertyValue'
,
uno
.
Any
(
'[]com.sun.star.beans.PropertyValue'
,
(
PropertyValue
(
'ExportNotesPages'
,
0
,
True
,
0
),),),
0
)
(
PropertyValue
(
'ExportNotesPages'
,
0
,
True
,
0
),
PropertyValue
(
'SelectPdfVersion'
,
0
,
1
,
0
),),),
0
)
elif
"pdf_Export"
in
filter_name
:
property
=
PropertyValue
(
'FilterData'
,
0
,
uno
.
Any
(
'[]com.sun.star.beans.PropertyValue'
,
(
PropertyValue
(
'SelectPdfVersion'
,
0
,
1
,
0
),),),
0
)
elif
filter_name
in
(
"draw_html_Export"
,
"HTML (StarCalc)"
):
elif
filter_name
in
(
"draw_html_Export"
,
"HTML (StarCalc)"
):
property
=
PropertyValue
(
'FilterData'
,
0
,
property
=
PropertyValue
(
'FilterData'
,
0
,
uno
.
Any
(
'[]com.sun.star.beans.PropertyValue'
,
uno
.
Any
(
'[]com.sun.star.beans.PropertyValue'
,
...
@@ -135,6 +140,7 @@ class UnoConverter(object):
...
@@ -135,6 +140,7 @@ class UnoConverter(object):
property
=
self
.
_createProperty
(
"FilterName"
,
filter_name
)
property
=
self
.
_createProperty
(
"FilterName"
,
filter_name
)
property_list
.
append
(
property
)
property_list
.
append
(
property
)
property_list
.
extend
(
self
.
_createSpecificProperty
(
filter_name
))
property_list
.
extend
(
self
.
_createSpecificProperty
(
filter_name
))
return
property_list
return
property_list
else
:
else
:
return
()
return
()
...
...
Kirill Smelkov
@kirr
mentioned in merge request
!4 (closed)
·
Mar 15, 2016
mentioned in merge request
!4 (closed)
mentioned in merge request !4
Toggle commit list
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