# Private class members and static file members will be hidden unless
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
-EXTRACT_ALL = NO
+EXTRACT_ALL = YES
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
# will be included in the documentation.
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
# be generated. Documented entities will be cross-referenced with these sources.
-SOURCE_BROWSER = NO
+SOURCE_BROWSER = YES
# Setting the INLINE_SOURCES tag to YES will include the body
# of functions and classes directly in the documentation.
-INLINE_SOURCES = NO
+INLINE_SOURCES = YES
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
# doxygen to hide any special comment blocks from generated source code
# of all compounds will be generated. Enable this if the project
# contains a lot of classes, structs, unions or interfaces.
-ALPHABETICAL_INDEX = NO
+ALPHABETICAL_INDEX = YES
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)
-HAVE_DOT = NO
+HAVE_DOT = YES
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# the specified constraint. Beware that most browsers cannot cope with very
# large images.
-MAX_DOT_GRAPH_WIDTH = 1024
+MAX_DOT_GRAPH_WIDTH = 1280
# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
# the specified constraint. Beware that most browsers cannot cope with very
# large images.
-MAX_DOT_GRAPH_HEIGHT = 1024
+MAX_DOT_GRAPH_HEIGHT = 2000
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#include "language.h"
#include "gettext.h"
#include "undo_funcs.h"
+#include "debug.h"
extern BufferList bufferlist;
#include "LyXView.h"
#include "commandtags.h"
#include "lyxfunc.h"
+#include "debug.h"
#include "font.h"
#include "bufferview_funcs.h"
#include "TextCache.h"
#include "lyxrc.h"
#include "intl.h"
#include "support/LAssert.h"
+#include "support/lstrings.h"
#include "frontends/Dialogs.h"
#include "insets/insetbib.h"
#include "insets/insettext.h"
#endif
#include "Bullet.h"
+#include "support/LAssert.h"
/** The four LaTeX itemize environment default bullets
*/
}
+
+Bullet::Bullet(string const & t)
+ : font(MIN), character(MIN), size(MIN), user_text(1), text(t)
+{
+#ifdef ENABLE_ASSERTIONS
+ testInvariant();
+#endif
+}
+
+
+void Bullet::setCharacter(int c)
+{
+ if (c < MIN || c >= CHARMAX) {
+ character = MIN;
+ } else {
+ character = c;
+ }
+ user_text = 0;
+#ifdef ENABLE_ASSERTIONS
+ testInvariant();
+#endif
+}
+
+
+void Bullet::setFont(int f)
+{
+ if (f < MIN || f >= FONTMAX) {
+ font = MIN;
+ } else {
+ font = f;
+ }
+ user_text = 0;
+#ifdef ENABLE_ASSERTIONS
+ testInvariant();
+#endif
+}
+
+
+void Bullet::setSize(int s)
+{
+ if (s < MIN || s >= SIZEMAX) {
+ size = MIN;
+ } else {
+ size = s;
+ }
+ user_text = 0;
+#ifdef ENABLE_ASSERTIONS
+ testInvariant();
+#endif
+}
+
+
+void Bullet::setText(string const & t)
+{
+ font = character = size = MIN;
+ user_text = 1;
+ text = t;
+#ifdef ENABLE_ASSERTIONS
+ testInvariant();
+#endif
+}
+
+
+int Bullet::getCharacter() const
+{
+ return character;
+}
+
+
+int Bullet::getFont() const
+{
+ return font;
+}
+
+
+int Bullet::getSize() const
+{
+ return size;
+}
+
+
+Bullet & Bullet::operator=(Bullet const & b)
+{
+#ifdef ENABLE_ASSERTIONS
+ b.testInvariant();
+#endif
+ font = b.font;
+ character = b.character;
+ size = b.size;
+ user_text = b.user_text;
+ text = b.text;
+#ifdef ENABLE_ASSERTIONS
+ this->testInvariant();
+#endif
+ return *this;
+}
+
+
string const & Bullet::getText() const
{
if (user_text == 0) {
return BulletPanels[f][c];
}
+
+#ifdef ENABLE_ASSERTIONS
+void Bullet::testInvariant() const {
+ lyx::Assert(font >= MIN);
+ lyx::Assert(font < FONTMAX);
+ lyx::Assert(character >= MIN);
+ lyx::Assert(character < CHARMAX);
+ lyx::Assert(size >= MIN);
+ lyx::Assert(size < SIZEMAX);
+ lyx::Assert(user_text >= -1);
+ lyx::Assert(user_text <= 1);
+ // now some relational/operational tests
+ if (user_text == 1) {
+ lyx::Assert(font == -1 && (character == -1 && size == -1));
+ // Assert(!text.empty()); // this isn't necessarily an error
+ }
+ // else if (user_text == -1) {
+ // Assert(!text.empty()); // this also isn't necessarily an error
+ // }
+ // else {
+ // // user_text == 0
+ // Assert(text.empty()); // not usually true
+ // }
+}
+#endif
#include "LString.h"
-#include "support/LAssert.h"
-
///
class Bullet {
public:
protected:
#ifdef ENABLE_ASSERTIONS
///
- void testInvariant() const {
- lyx::Assert(font >= MIN);
- lyx::Assert(font < FONTMAX);
- lyx::Assert(character >= MIN);
- lyx::Assert(character < CHARMAX);
- lyx::Assert(size >= MIN);
- lyx::Assert(size < SIZEMAX);
- lyx::Assert(user_text >= -1);
- lyx::Assert(user_text <= 1);
- // now some relational/operational tests
- if (user_text == 1) {
- lyx::Assert(font == -1 && (character == -1 && size == -1));
- // Assert(!text.empty()); // this isn't necessarily an error
- }
- // else if (user_text == -1) {
- // Assert(!text.empty()); // this also isn't necessarily an error
- // }
- // else {
- // // user_text == 0
- // Assert(text.empty()); // not usually true
- // }
- }
+ void testInvariant() const;
#endif
private:
/**
};
-/*----------------Inline Bullet Member Functions------------------*/
-
-inline
-Bullet::Bullet(string const & t)
- : font(MIN), character(MIN), size(MIN), user_text(1), text(t)
-{
-#ifdef ENABLE_ASSERTIONS
- testInvariant();
-#endif
-}
-
-
-inline
-void Bullet::setCharacter(int c)
-{
- if (c < MIN || c >= CHARMAX) {
- character = MIN;
- } else {
- character = c;
- }
- user_text = 0;
-#ifdef ENABLE_ASSERTIONS
- testInvariant();
-#endif
-}
-
-
-inline
-void Bullet::setFont(int f)
-{
- if (f < MIN || f >= FONTMAX) {
- font = MIN;
- } else {
- font = f;
- }
- user_text = 0;
-#ifdef ENABLE_ASSERTIONS
- testInvariant();
-#endif
-}
-
-
-inline
-void Bullet::setSize(int s)
-{
- if (s < MIN || s >= SIZEMAX) {
- size = MIN;
- } else {
- size = s;
- }
- user_text = 0;
-#ifdef ENABLE_ASSERTIONS
- testInvariant();
-#endif
-}
-
-
-inline
-void Bullet::setText(string const & t)
-{
- font = character = size = MIN;
- user_text = 1;
- text = t;
-#ifdef ENABLE_ASSERTIONS
- testInvariant();
-#endif
-}
-
-
-inline
-int Bullet::getCharacter() const
-{
- return character;
-}
-
-
-inline
-int Bullet::getFont() const
-{
- return font;
-}
-
-
-inline
-int Bullet::getSize() const
-{
- return size;
-}
-
-
-inline
-Bullet & Bullet::operator=(Bullet const & b)
-{
-#ifdef ENABLE_ASSERTIONS
- b.testInvariant();
-#endif
- font = b.font;
- character = b.character;
- size = b.size;
- user_text = b.user_text;
- text = b.text;
-#ifdef ENABLE_ASSERTIONS
- this->testInvariant();
-#endif
- return *this;
-}
-
-/*-----------------End Bullet Member Functions-----------------*/
-
inline
bool operator!=(Bullet const & b1, Bullet const & b2)
{
+2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
+
+ * *: Reduced header file dependencies all over.
+
2001-07-30 Baruch Even <baruch@lyx.org>
* buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
#include "support/lyxlib.h"
#include "support/filetools.h"
#include <fstream>
+#include "debug.h"
using std::make_pair;
using std::ofstream;
#include "debug.h"
#include "lyxrc.h" // lyxrc.use_scalable_fonts
#include "support/lstrings.h"
+#include "support/lyxlib.h"
#include "frontends/GUIRunTime.h"
using std::endl;
#include <map>
#include "LString.h"
-#include <boost/utility.hpp>
/**
This is a stateless class.
#include "buffer.h"
#include "lyx_gui_misc.h"
#include "support/syscall.h"
+#include "support/lstrings.h"
#include "gettext.h"
#include "bufferview_funcs.h"
#include "exporter.h"
#include "LString.h"
#include "frontends/Timeout.h"
-#include "layout.h"
+#include "layout.h" // Just for LyXTextClass::size_type (sic)
class Buffer;
class Toolbar;
#pragma implementation
#endif
+#include <algorithm>
#include "MenuBackend.h"
#include "lyxlex.h"
#include "LyXAction.h"
#include "TextCache.h"
#include "buffer.h"
#include "bufferlist.h"
+#include "debug.h"
using std::ostream;
using std::for_each;
#include "support/filetools.h"
#include "support/lyxmanip.h"
#include "support/lyxfunctional.h"
+#include "support/LAssert.h"
#include "lyx_gui_misc.h"
#include "lastfiles.h"
#include "debug.h"
#pragma interface
#endif
-#include "buffer.h"
-#include "debug.h"
+class Buffer;
+class UpdatableInset;
+#include <vector>
#include <boost/utility.hpp>
/** A class to hold all the buffers in a structure
#include <iosfwd>
-#if 1
-// For NO_LATEX
-#include "lyxfont.h"
-#endif
-
/** These are all the lyxfunctions (as enums).
Please add new functions at the end of the enum, right
before LFUN_LASTACTION.
#include "support/lyxfunctional.h"
#include "gettext.h"
#include "BufferView.h"
+#include "debug.h"
using std::vector;
using std::queue;
#include "LyXView.h"
-#include "BufferView.h"
template <class Base>
ControlDialog<Base>::ControlDialog(LyXView & lv, Dialogs & d)
#include "Liason.h"
#include "LyXView.h"
#include "support/filetools.h"
+#include "support/lstrings.h"
#include "frontends/FileDialog.h"
#include "lyx_gui_misc.h" // WriteAlert
#include "gettext.h"
#include "Liason.h"
#include "gettext.h"
#include "BufferView.h"
+#include "support/LAssert.h"
ControlPreamble::ControlPreamble(LyXView & lv, Dialogs & d)
: ControlDialog<ControlConnectBD>(lv, d),
#include "LyXView.h"
#include "Dialogs.h"
#include "lyxrc.h"
+#include "support/lyxlib.h"
using SigC::slot;
using std::endl;
#endif
#include "Dialogs.h"
+#include "BufferView.h"
#include "xformsBC.h"
#include "CutAndPaste.h"
#include "bufferview_funcs.h"
#include "xforms_helpers.h"
+#include "debug.h"
using Liason::setMinibuffer;
using SigC::slot;
#include "lyx_gui_misc.h" // for WriteFSAlert
#include "support/FileInfo.h"
#include "support/lyxlib.h"
+#include "support/lstrings.h"
#include "gettext.h"
#include "frontends/Dialogs.h"
#include "combox.h"
#include "debug.h"
#include "support/filetools.h"
+#include "support/LAssert.h"
#include "lyx_gui_misc.h" // idex, scex
#include "lyxlex.h"
#include "input_validators.h"
#endif
#include <config.h>
+#include "debug.h"
#include "ImageLoader.h"
#include "frontends/support/LyXImage.h"
#include <cstdlib>
#include <cctype>
#include <cmath>
+#include <cerrno>
#include "figinset.h"
#include "lyx_main.h"
#include "debug.h"
#include "lyxtext.h"
#include "font.h"
+#include "lyxlex.h"
class LyXText;
#include "support/path.h"
#include "support/syscall.h"
#include "gettext.h"
+#include "debug.h"
using std::endl;
#include "support/lstrings.h"
#include "debug.h"
#include "gettext.h"
+#include "lyxlex.h"
using std::ostream;
using std::endl;
#include "BufferView.h"
#include "Painter.h"
#include "font.h"
+#include "lyxlex.h"
using std::ostream;
using std::max;
#include "language.h"
#include "BufferView.h"
#include "undo_funcs.h"
+#include "support/LAssert.h"
using std::ostream;
using std::ifstream;
#pragma interface
#endif
-#include "lyxlex.h"
+class LyXLeX;
#include "lyxfont.h"
#include "Spacing.h"
#include <boost/utility.hpp>
#include "lyx_cb.h"
#include "lyx_gui_misc.h"
#include "lyx_main.h"
+#include "buffer.h"
#include "bufferlist.h"
#include "bufferview_funcs.h"
+#include "debug.h"
#include "lastfiles.h"
#include "LyXView.h"
#include "lyxrc.h"
#include <config.h>
#include <cstdlib>
+#include <fcntl.h>
#ifdef __GNUG__
#pragma implementation
#include FORMS_H_LOCATION
#include "support/filetools.h"
#include "support/os.h"
+#include "support/lyxlib.h"
#include "figure_form.h"
#include "print_form.h"
#include "tex-strings.h"
#include "bufferview_funcs.h"
#include "support/filetools.h"
#include "lyxrc.h"
+#include "debug.h"
using std::pair;
using std::make_pair;
#include "lyxrc.h"
#include "support/path.h"
#include "support/filetools.h"
+#include "buffer.h"
#include "bufferlist.h"
#include "debug.h"
#include "support/FileInfo.h"
#endif
#include "support/lyxalgo.h"
+#include "support/LAssert.h"
#include "version.h"
#include "kbmap.h"
#include "lyxfunc.h"
#include "lyxlex.h"
#include "lyxlex_pimpl.h"
+#include "debug.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#pragma interface
#endif
-#include "bufferparams.h"
-#include <boost/utility.hpp>
+#include "bufferparams.h" // Just to get the enum BufferParams::PAPER_SIZE (sic)
+
+// #include <boost/utility.hpp>
/// This contains the runtime configuration of LyX
class LyXRC //: public noncopyable {
#include "support/LOstream.h"
#include "debug.h"
#include "lyxlex.h"
+#include "lyxfont.h"
using std::ostream;
#include "support/lyxalgo.h"
#include "support/filetools.h"
+#include "support/lstrings.h"
#include "LyXView.h"
#include "XFormsView.h"
#include "gettext.h"
#include <vector>
-#include "insets/inset.h"
+#include "insets/inset.h" // Just for Inset::Code
#include "layout.h"
class ParagraphParameters;
std::ostream &, TexRow & texrow);
///
bool hasSameLayout(Paragraph const * par) const;
-
+
///
void makeSameLayout(Paragraph const * par);
#include "encoding.h"
#include "lyxrc.h"
#include "debug.h"
+#include "support/LAssert.h"
extern int tex_code_break_column;
#pragma implementation "filetools.h"
#endif
+#include <cstdlib>
+#include <fcntl.h>
+#include <cerrno>
+#include "debug.h"
+#include "support/lstrings.h"
+
#include "filetools.h"
#include "LSubstring.h"
#include "lyx_gui_misc.h"
#pragma interface
#endif
-#include <cstdlib>
-#include <fcntl.h>
-#include <cerrno>
-
#include <vector>
-
-#include "debug.h"
#include "LString.h"
-#include "support/lstrings.h"
///
#include "os.h"
#include "support/filetools.h"
+#include "support/lstrings.h"
string os::binpath_ = string();
string os::binname_ = string();
#include "LaTeXFeatures.h"
#include "support/lstrings.h"
#include "support/lyxmanip.h"
+#include "support/LAssert.h"
#include "insets/insettabular.h"
#include "insets/insettext.h"
#include "gettext.h"
#include "layout.h"
#include "paragraph.h"
#include "support/textutils.h"
+#include "support/LAssert.h"
#include "insets/insetbib.h"
#include "insets/insettext.h"
#include "insets/insetspecialchar.h"
#include "buffer.h"
#include "insets/inset.h"
#include "debug.h"
+#include "support/LAssert.h"
/// the flag used by FinishUndo();
bool undo_finished;