]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Cmake export tests: Created sub-labels manuals, examples, templates, mathmacros,...
[lyx.git] / src / Buffer.h
index b50d5f408a7251c717f238595a2bccf9aa39b464..74507909df231224445ac5b0b0bd105363839613 100644 (file)
@@ -267,6 +267,8 @@ private:
        /// of the temporary file to be read
        ReadStatus convertLyXFormat(support::FileName const & fn,
                support::FileName & tmpfile, int from_format);
+       /// get appropriate name for backing up files from older versions
+       support::FileName getBackupName() const;
        //@}
 
 public:
@@ -618,9 +620,10 @@ public:
 
        /// get source code (latex/docbook) for some paragraphs, or all paragraphs
        /// including preamble
-       void getSourceCode(odocstream & os, std::string const & format,
-                          pit_type par_begin, pit_type par_end, OutputWhat output,
-                          bool master) const;
+       /// returns NULL if Id to Row conversion is unsupported
+       std::auto_ptr<TexRow> getSourceCode(odocstream & os,
+                       std::string const & format, pit_type par_begin,
+                       pit_type par_end, OutputWhat output, bool master) const;
 
        /// Access to error list.
        /// This method is used only for GUI visualisation of Buffer related