1999-09-27 18:44:28 +00:00
|
|
|
|
// -*- C++ -*-
|
2003-08-23 00:17:00 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file tex-strings.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:27:08 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
* \author Jean-Marc Lasgouttes
|
2002-03-21 17:27:08 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
1999-11-15 12:01:38 +00:00
|
|
|
|
#ifndef TEX_STRINGS
|
|
|
|
|
#define TEX_STRINGS
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
namespace lyx {
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const string_paragraph_separation[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const string_quotes_language[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const string_papersize[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const string_orientation[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const string_footnotekinds[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const string_align[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
// The following was moved from tex-defs.h to here, because tex-defs.h is
|
2002-03-21 17:27:08 +00:00
|
|
|
|
// used all over. As it happens, that meant that these strings were included
|
1999-09-27 18:44:28 +00:00
|
|
|
|
// 27 times in the object file. (Asger)
|
|
|
|
|
|
|
|
|
|
///
|
2004-06-27 13:14:08 +00:00
|
|
|
|
extern char const * const tex_graphics[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
///
|
The Grand Font Selection Redesign:
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).
* lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).
* lib/chkconfig.ltx: Test for newly supported font packages
* lib/doc/LaTeXConfig.lyx.in: document newly supported font packages
* lib/doc/UserGuide.lyx: document new UI.
* lib/doc/Extended.lyx: update PostScript font documentation
* development/FORMAT: document file format change 246->247.
* src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans,
tex_fonts_monospaced (with GUI equivalents).
* src/buffer.C: Format up to 247.
* src/bufferparams.C:
new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,
fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
(LyXFont const BufferParams::getFont): consider switch of default family.
(string const BufferParams::loadFonts): new method to get all the LaTeX
font stuff done.
* src/paragraph.C
(LyXFont const Paragraph::getFont):
(LyXFont const Paragraph::getLabelFont):
(LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's
default font
* src/text.C
(int LyXText::leftMargin):
(int LyXText::rightMargin): user buffer's not textclass's default font
* src/text2.C
(LyXFont LyXText::getFont):
(LyXFont LyXText::getLayoutFont):
(LyXFont LyXText::getLabelFont): check if the family of the default document
font has been customized.
* src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).
* src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM).
* src/frontends/qt3/Makefile.dialogs: add new FontModuleBase
* src/frontends/qt3/ui/FontModuleBase.ui: new File
* src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets
* src/frontends/qt3/QDocument.C
* src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/Makefile.dialogs: add new FontUi
* src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/ui/FontUi.ui: new File
* src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets
* src/frontends/qt4/ui/compile_uic.sh: add new FontUi
* src/frontends/xforms/FormDocument.[Ch]: implement new font ui
* src/frontends/xforms/forms/form_document.fd: add new font tab.
* src/frontends/controllers/ControlDocument.[Ch]
(char ControlDocument::fontfamilies):
(char ControlDocument::fontfamilies_gui):
(bool ControlDocument::isFontAvailable):
(bool ControlDocument::providesSC):
(bool ControlDocument::providesOSF):
(bool ControlDocument::providesScale): new methods, providing font info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
|
|
|
|
extern char const * const tex_fonts_roman[];
|
|
|
|
|
///
|
|
|
|
|
extern char const * tex_fonts_roman_gui[];
|
|
|
|
|
///
|
|
|
|
|
extern char const * const tex_fonts_sans[];
|
|
|
|
|
///
|
|
|
|
|
extern char const * tex_fonts_sans_gui[];
|
|
|
|
|
///
|
|
|
|
|
extern char const * const tex_fonts_monospaced[];
|
|
|
|
|
///
|
|
|
|
|
extern char const * tex_fonts_monospaced_gui[];
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
#endif
|