* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author José Matos
+ * \author José Matos
*
* Full author contact details are available in file CREDITS.
*/
#include "InsetRef.h"
#include "Buffer.h"
-#include "buffer_funcs.h"
#include "Cursor.h"
#include "DispatchResult.h"
#include "FuncRequest.h"
{}
-void InsetRef::initView()
-{
- // We need an update of the Buffer reference cache. This is achieved by
- // updateLabel().
- lyx::updateLabels(buffer());
-}
-
-
bool InsetRef::isCompatibleCommand(string const & s) {
//FIXME This is likely not the best way to handle this.
//But this stuff is hardcoded elsewhere already.
}
-void InsetRef::textString(odocstream & os) const
+void InsetRef::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
}
}
-void InsetRef::addToToc(ParConstIterator const & cpit) const
+void InsetRef::addToToc(DocIterator const & cpit)
{
docstring const & label = getParam("reference");
if (buffer().insetLabel(label))