* check for rtf and doc viewers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36826 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-12-11 14:50:03 +00:00
parent 4f72d59fc4
commit b905d1160e
2 changed files with 7 additions and 3 deletions

View File

@ -345,8 +345,12 @@ def checkFormatEntries(dtl_tools):
#
checkViewer('an OpenDocument viewer', ['swriter', 'oowriter'],
rc_entry = [r'\Format odt odt OpenDocument "" "%%" "%%" "document,vector"'])
#
checkViewer('a Rich Text and Word viewer', ['swriter', 'oowriter', 'abiword'],
rc_entry = [r'''\Format rtf rtf "Rich Text Format" "" "%%" "%%" "document,vector"
\Format word doc "MS Word" W "%%" "%%" "document,vector"'''])
#
# entried that do not need checkProg
# entries that do not need checkProg
addToRC(r'''\Format date "" "date command" "" "" "" ""
\Format csv csv "Table (CSV)" "" "" "" "document"
\Format fax "" Fax "" "" "" "document"
@ -362,11 +366,9 @@ def checkFormatEntries(dtl_tools):
\Format pdftex pdftex_t PDFTEX "" "" "" ""
\Format program "" Program "" "" "" ""
\Format pstex pstex_t PSTEX "" "" "" ""
\Format rtf rtf "Rich Text Format" "" "" "" "document,vector"
\Format sxw sxw "OpenOffice.Org (sxw)" "" "" "" "document,vector"
\Format wmf wmf "Windows Metafile" "" "" "" "vector"
\Format emf emf "Enhanced Metafile" "" "" "" "vector"
\Format word doc "MS Word" W "" "" "document,vector"
\Format wordhtml html "HTML (MS Word)" "" "" "" "document"
''')

View File

@ -57,6 +57,8 @@ What's new
- Do not output PDF settings if these are disabled in the document
settings (bug 7052).
- Correctly check for RTF and DOC viewers.
* USER INTERFACE