#include "inset.h"
+#include "gettext.h"
namespace lyx {
InsetBase::Code lyxCode() const { return InsetBase::LINE_CODE; }
- void metrics(MetricsInfo &, Dimension &) const;
+ bool metrics(MetricsInfo &, Dimension &) const;
void draw(PainterInfo & pi, int x, int y) const;
bool display() const { return true; }
- virtual std::string insetLabel() const { return "Page Break"; }
+ virtual docstring insetLabel() const { return _("Page Break"); }
virtual std::string getCmdName() const { return "\\newpage"; }
public:
InsetClearPage() {}
- std::string insetLabel() const { return "Clear Page"; }
+ docstring insetLabel() const { return _("Clear Page"); }
std::string getCmdName() const { return "\\clearpage"; }
public:
InsetClearDoublePage() {}
- std::string insetLabel() const { return "Clear Double Page"; }
+ docstring insetLabel() const { return _("Clear Double Page"); }
std::string getCmdName() const { return "\\cleardoublepage"; }
} // namespace lyx
-#endif // INSET_NEWLINE_H
+#endif // INSET_PAGEBREAK_H