]> git.lyx.org Git - features.git/blobdiff - src/TocBackend.cpp
CALS tables: base implementation of row separators on the new code from XHTML.
[features.git] / src / TocBackend.cpp
index b3a36f1dd2f6100ba08d6827147bdedf702cf7ba..859e6e86e8e306ec35600e448754ac503f581e17 100644 (file)
@@ -43,8 +43,8 @@ namespace lyx {
 ///////////////////////////////////////////////////////////////////////////
 
 TocItem::TocItem(DocIterator const & dit, int d, docstring const & s,
-                 bool output_active, FuncRequest const & action)
-       : dit_(dit), depth_(d), str_(s), output_(output_active),
+                 bool output_active, bool missing, FuncRequest const & action)
+       : dit_(dit), depth_(d), str_(s), output_(output_active), missing_(missing),
          action_(action)
 {
 }
@@ -65,6 +65,9 @@ docstring const TocItem::asString() const
                prefix += cross;
                prefix += thin;
        }
+       if (missing_) {
+               prefix += _("MISSING: ");
+       }
        return prefix + str_;
 }