X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=aecf76b9813f9754a548962e9137a83c484b16b6;hb=84050268ee98453ebe0a8fe8dc55fae2c91e7fd5;hp=a0e0d459f3460652b6f74834becd762bbdec06a0;hpb=8021c0b0dcf588527eeb183ca52e4900ffbf7527;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index a0e0d459f3..aecf76b981 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -15,6 +15,7 @@ #ifndef BUFFERPARAMS_H #define BUFFERPARAMS_H +#include "Author.h" #include "Citation.h" #include "DocumentClassPtr.h" #include "Format.h" @@ -33,7 +34,6 @@ namespace lyx { namespace support { class FileName; } -class AuthorList; class BranchList; class Bullet; class DocumentClass; @@ -42,7 +42,6 @@ class Font; class HSpace; class IndicesList; class Language; -class LatexFeatures; class LayoutFile; class LayoutFileIndex; class Lexer; @@ -279,6 +278,8 @@ public: int fontsTypewriterScale() const { return fonts_typewriter_scale[useNonTeXFonts]; } /// the font used by the CJK command std::string fonts_cjk; + /// use LaTeX microtype package + bool use_microtype; /// Spacing & spacing(); Spacing const & spacing() const; @@ -381,11 +382,14 @@ public: bool use_bibtopic; /// Split the index? bool use_indices; - /// revision tracking for this buffer ? + /// Save transient properties? + bool save_transient_properties; + /// revision tracking for this buffer ? (this is a transient property) bool track_changes; /** This param decides whether change tracking marks should be used * in output (irrespective of how these marks are actually defined; * for instance, they may differ for DVI and PDF generation) + * This is a transient property. */ bool output_changes; /// @@ -394,10 +398,12 @@ public: /// the author list for the document AuthorList & authors(); AuthorList const & authors() const; + void addAuthor(Author a); /// map of the file's author IDs to AuthorList indexes typedef std::map AuthorMap; - AuthorMap author_map; + AuthorMap author_map_; + /// the buffer's active font encoding std::string const font_encoding() const; /// all font encodings requested by the prefs/document/main language.