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"
23 void InsetCaption::Write(Buffer const * buf, ostream & os) const
26 WriteParagraphData(buf, os);
31 void InsetCaption::Read(Buffer const * buf, LyXLex & lex)
33 string token = lex.GetString();
34 if (token != "Caption") {
35 lyxerr << "InsetCaption::Read: consistency check failed."
38 InsetText::Read(buf, lex);