]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphParameters.h
Fix 3188, update the labels at each Caption insertion.
[lyx.git] / src / ParagraphParameters.h
index 73fce34030e0e8e4234f5cd98d4bac3e0a0dee32..a432a05e555eab947185da7b6da98c92b019e757 100644 (file)
@@ -24,6 +24,9 @@
 #include <iosfwd>
 #include <string>
 
+
+namespace lyx {
+
 class BufferView;
 class LyXLength;
 class LyXLex;
@@ -53,8 +56,6 @@ public:
        ///
        void align(LyXAlignment);
        ///
-       typedef lyx::depth_type depth_type;
-       ///
        depth_type depth() const;
        ///
        void depth(depth_type);
@@ -67,13 +68,13 @@ public:
        ///
        void appendix(bool);
        ///
-       lyx::docstring const & labelString() const;
+       docstring const & labelString() const;
        ///
-       void labelString(lyx::docstring const &);
+       void labelString(docstring const &);
        ///
-       lyx::docstring const & labelWidthString() const;
+       docstring const & labelWidthString() const;
        ///
-       void labelWidthString(lyx::docstring const &);
+       void labelWidthString(docstring const &);
        ///
        LyXLength const & leftIndent() const;
        ///
@@ -102,9 +103,9 @@ private:
        ///
        depth_type depth_;
        ///
-       lyx::docstring labelstring_;
+       docstring labelstring_;
        ///
-       lyx::docstring labelwidthstring_;
+       docstring labelwidthstring_;
        ///
        LyXLength leftindent_;
 };
@@ -117,4 +118,7 @@ private:
  */
 void params2string(Paragraph const & par, std::string & data);
 
+
+} // namespace lyx
+
 #endif