#ifndef PARAGRAPHPARAMETERS_H
#define PARAGRAPHPARAMETERS_H
-#include "support/std_string.h"
-#include "ShareContainer.h"
#include "layout.h"
+#include "ShareContainer.h"
-#include "ParameterStruct.h"
+#include "support/types.h"
#include <iosfwd>
+#include <string>
-class VSpace;
-class Spacing;
+class BufferView;
+class LyXLength;
class LyXLex;
class Paragraph;
-
+class ParameterStruct;
+class Spacing;
+class VSpace;
///
class ParagraphParameters {
///
void appendix(bool);
///
- string const & labelString() const;
+ std::string const & labelString() const;
///
- void labelString(string const &);
+ void labelString(std::string const &);
///
- string const & labelWidthString() const;
+ std::string const & labelWidthString() const;
///
- void labelWidthString(string const &);
+ void labelWidthString(std::string const &);
///
LyXLength const & leftIndent() const;
///
};
-inline
-ParagraphParameters::depth_type ParagraphParameters::depth() const
-{
- return param->depth;
-}
-
-
/** Generate a string \param data from \param par's ParagraphParameters.
The function also generates some additional info needed by the
Paragraph dialog.
*/
-void params2string(Paragraph const & par, string & data);
+void params2string(Paragraph const & par, std::string & data);
/** Given \param data, an encoding of the ParagraphParameters generated
in the Paragraph dialog, this function sets the current paragraph
appropriately.
*/
-void setParagraphParams(BufferView & bv, string const & data);
+void setParagraphParams(BufferView & bv, std::string const & data);
#endif