X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=9d7e5f1d4c86063c990994a60f3c2c87302bdbd1;hb=96007ce5ac7944bbb30366e21730979498ef296c;hp=06318200c92aa0720111828ee95c270386b6b301;hpb=237c713046fd59ce7364cd73b26b40291f3c5dbb;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index 06318200c9..9d7e5f1d4c 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -78,7 +78,8 @@ enum AsStringParameter { AS_STR_NONE = 0, ///< No option, only printable characters. AS_STR_LABEL = 1, ///< Prefix with paragraph label. - AS_STR_INSETS = 2 ///< Go into insets. + AS_STR_INSETS = 2, ///< Go into insets. + AS_STR_NEWLINES = 4 ///< Get also newline characters. }; @@ -253,10 +254,10 @@ public: between the characters font and the layoutfont. This is what is stored in the fonttable */ - Font const + Font const & getFontSettings(BufferParams const &, pos_type pos) const; /// - Font const getFirstFontSettings(BufferParams const &) const; + Font const & getFirstFontSettings(BufferParams const &) const; /** Get fully instantiated font. If pos == -1, use the layout font attached to this paragraph.