mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Added OpenOffice drawing file-format.
Now you can: -) include in LyX OpenOffice drawings (.odg or old .sxd files) -) preview them on the screen -) view them in the final .ps/.pdf output -) edit them externally via libreoffice, ooffice, oodraw or soffice (whatever is detected). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39706 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b4f97b61cf
commit
1024e43069
@ -488,6 +488,9 @@ def checkFormatEntries(dtl_tools):
|
||||
checkViewerEditor('a Dia viewer and editor', ['dia'],
|
||||
rc_entry = [r'\Format dia dia DIA "" "%%" "%%" "vector,zipped=native"'])
|
||||
#
|
||||
checkViewerEditor('an OpenOffice drawing viewer and editor', ['libreoffice', 'ooffice', 'oodraw', 'soffice'],
|
||||
rc_entry = [r'\Format odg "odg, sxd" "OpenOffice drawing" "" "%%" "%%" "vector,zipped=native"'])
|
||||
#
|
||||
checkViewerEditor('a Grace viewer and editor', ['xmgrace'],
|
||||
rc_entry = [r'\Format agr agr Grace "" "%%" "%%" "vector"'])
|
||||
#
|
||||
@ -816,6 +819,9 @@ def checkConverterEntries():
|
||||
checkProg('a Dia -> EPS converter', ['dia -e $$o -t eps $$i'],
|
||||
rc_entry = [ r'\converter dia eps "%%" ""'])
|
||||
#
|
||||
checkProg('an OpenOffice -> EPS converter', ['libreoffice'],
|
||||
rc_entry = [ r'\converter odg eps "python -tt $$s/scripts/libreoffice2eps.py $$i $$o" ""'])
|
||||
#
|
||||
checkProg('a SVG -> PDF converter', ['rsvg-convert -f pdf -o $$o $$i', 'inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o'],
|
||||
rc_entry = [ r'\converter svg pdf "%%" ""'])
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user