1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2000 The LyX Team.
8 * ======================================================
14 #pragma implementation
17 #include "insetcaption.h"
20 void InsetCaption::Write(Buffer const * buf, ostream & os) const
23 WriteParagraphData(buf, os);
28 void InsetCaption::Read(Buffer const * buf, LyXLex & lex)
30 string token = lex.GetString();
31 if (token != "Caption") {
32 lyxerr << "InsetCaption::Read: consistency check failed."
35 InsetText::Read(buf, lex);