class Language;
class Messages;
class ParIterator;
+class PosIterator;
class ParConstIterator;
class TeXErrors;
class TexRow;
bool writeFile(std::string const &) const;
///
- void writeFileAscii(std::string const &, int);
+ void writeFileAscii(std::string const &, LatexRunParams const &);
///
- void writeFileAscii(std::ostream &, int);
- ///
- std::string const asciiParagraph(Paragraph const &, unsigned int linelen,
- bool noparbreak = false) const;
+ void writeFileAscii(std::ostream &, LatexRunParams const &);
/// Just a wrapper for the method below, first creating the ofstream.
void makeLaTeXFile(std::string const & filename,
std::string const & original_path,
bool output_preamble = true,
bool output_body = true);
///
- void simpleDocBookOnePar(std::ostream &,
- ParagraphList::iterator par,
- int & desc_on,
- lyx::depth_type depth) const;
- ///
- void simpleLinuxDocOnePar(std::ostream & os,
- ParagraphList::iterator par,
- lyx::depth_type depth) const;
- ///
void makeLinuxDocFile(std::string const & filename,
- bool nice, bool only_body = false);
+ LatexRunParams const & runparams_in,
+ bool only_body = false);
///
void makeDocBookFile(std::string const & filename,
- bool nice, bool only_body = false);
+ LatexRunParams const & runparams_in,
+ bool only_body = false);
/// returns the main language for the buffer (document)
Language const * getLanguage() const;
/// get l10n translated to the buffers language
/// return the const end of all *top-level* insets in the buffer
inset_iterator inset_const_iterator_end() const;
+ ///
+ PosIterator pos_iterator_begin();
+ ///
+ PosIterator pos_iterator_end();
///
ParIterator par_iterator_begin();
///
///
ParConstIterator par_iterator_end() const;
- ///
- InsetOld * getInsetFromID(int id_arg) const;
-
/** \returns true only when the file is fully loaded.
* Used to prevent the premature generation of previews
* and by the citation inset.
*/
bool fully_loaded() const;
+ /// Set by buffer_funcs' newFile.
+ void fully_loaded(bool);
private:
/** Inserts a file into a document