]> git.lyx.org Git - features.git/blobdiff - src/insets/insettabular.C
Paragraph iterators
[features.git] / src / insets / insettabular.C
index f54ef6e196c6ec9ba6610c384219a86db1e87be8..0da1e92eb0c97dc19f884282fe4dbcb41665be14 100644 (file)
@@ -2458,6 +2458,14 @@ Paragraph * InsetTabular::firstParagraph() const
 }
 
 
+Paragraph * InsetTabular::getFirstParagraph(int i) const
+{
+       return (i < tabular->GetNumberOfCells())
+               ? tabular->GetCellInset(i)->getFirstParagraph(0)
+               : 0;
+}
+
+
 LyXCursor const & InsetTabular::cursor(BufferView * bv) const
 {
        if (the_locking_inset)