X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=caae01dfec15535e847429326491d15cfbc5e7df;hb=08afc52c4cc5fe8740722d7715fd66baa3dd9ffa;hp=6b2bb47b899a05bfa0c44a07c23da6ed93614869;hpb=2fc430d5aede9287da57d9d5273af060e9f52f08;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index 6b2bb47b89..caae01dfec 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; @@ -314,6 +314,8 @@ public: std::string inputenc; /// The main encoding used by this buffer for LaTeX output. /// Individual pieces of text can use different encodings. + /// Output for XeTeX with 8-bit TeX fonts uses ASCII (set at runtime) + /// instead of the value returned by this function. Encoding const & encoding() const; /// std::string origin; @@ -379,11 +381,14 @@ public: bool use_bibtopic; /// Split the index? bool use_indices; - /// revision tracking for this buffer ? + /// Save trensient 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; /// @@ -392,10 +397,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.