From b905d1160ea1ccee08011b53111bdb096f7a4a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sat, 11 Dec 2010 14:50:03 +0000 Subject: [PATCH] * 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 --- lib/configure.py | 8 +++++--- status.16x | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index 5d323eb2c5..441f93ad25 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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" ''') diff --git a/status.16x b/status.16x index 96cd87f349..65538dd65f 100644 --- a/status.16x +++ b/status.16x @@ -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