]> git.lyx.org Git - features.git/blobdiff - src/insets/insettext.C
Jose's DocBook tables patch; Angus latest preference patch.
[features.git] / src / insets / insettext.C
index 3938da614a4f5d9f3dd0e6b7f23851362d05f478..e4094c7c8709fb2045a82e0e75f827af0be19017 100644 (file)
@@ -1091,6 +1091,22 @@ int InsetText::Ascii(Buffer const * buf, ostream & os, int linelen) const
 }
 
 
+int InsetText::DocBook(Buffer const * buf, ostream & os) const
+{
+    LyXParagraph * p = par;
+    unsigned int lines = 0;
+    int desc=0;
+    
+    string tmp;
+    while (p) {
+       buf->SimpleDocBookOnePar(os,tmp,p,desc,0);
+       p = p->next;
+    }
+    
+    return lines;
+}
+
+
 void InsetText::Validate(LaTeXFeatures & features) const
 {
     LyXParagraph * p = par;