-// -*- C++ -*-
/* This file is part of*
* ======================================================
*
* LyX, The Document Processor
*
- * Copyright 2000 The LyX Team.
+ * Copyright 2000-2001 The LyX Team.
*
* ====================================================== */
#include "frontends/Dialogs.h"
#include "support/lstrings.h"
-InsetCitation::InsetCitation(InsetCommandParams const & p)
+InsetCitation::InsetCitation(InsetCommandParams const & p, bool)
: InsetCommand(p)
{}
}
-void InsetCitation::Edit(BufferView * bv, int, int, unsigned int)
+void InsetCitation::edit(BufferView * bv, int, int, unsigned int)
{
bv->owner()->getDialogs()->showCitation(this);
}
+
+int InsetCitation::ascii(Buffer const *, std::ostream & os, int) const
+{
+ os << "[" << getContents() << "]";
+ return 0;
+}