#include "insets/insetfloat.h"
#include "debug.h"
#include "gettext.h"
+#include "support/lstrings.h"
using std::ostream;
using std::endl;
int InsetCaption::ascii(Buffer const * /*buf*/,
ostream & /*os*/, int /*linelen*/) const
{
-#ifdef WITH_WARNINGS
-#warning Implement me!
-#endif
+ // FIX: Implement me!
return 0;
}
-int InsetCaption::docBook(Buffer const * /*buf*/, ostream & /*os*/) const
+int InsetCaption::docbook(Buffer const * buf, ostream & os) const
{
-#ifdef WITH_WARNINGS
-#warning Implement me!
-#endif
- return 0;
+ int ret;
+ os << "<title>";
+ ret = InsetText::docbook(buf, os);
+ os << "</title>\n";
+ return ret;
}