#include "insets/InsetCode.h"
#include "support/strfwd.h"
#include "support/types.h"
#include "insets/InsetCode.h"
#include "support/strfwd.h"
#include "support/types.h"
Paragraph(Paragraph const &);
/// Partial copy constructor.
/// Copy the Paragraph contents from \p beg to \p end (without end).
Paragraph(Paragraph const &);
/// Partial copy constructor.
/// Copy the Paragraph contents from \p beg to \p end (without end).
Language const * from, Language const * to);
///
bool isMultiLingual(BufferParams const &) const;
Language const * from, Language const * to);
///
bool isMultiLingual(BufferParams const &) const;
/// Convert the paragraph to a string.
/// \param AsStringParameter options. This can contain any combination of
/// Convert the paragraph to a string.
/// \param AsStringParameter options. This can contain any combination of
- ///
- bool latex(BufferParams const &, Font const & outerfont, odocstream &,
+ /// \param force means: output even if layout.inpreamble is true.
+ void latex(BufferParams const &, Font const & outerfont, odocstream &,
pos_type firstWordDocBook(odocstream & os, OutputParams const & runparams) const;
/// Output the first word of a paragraph, return the position where it left.
pos_type firstWordDocBook(odocstream & os, OutputParams const & runparams) const;
/// Output the first word of a paragraph, return the position where it left.
/// Writes to stream the docbook representation
void simpleDocBookOnePar(Buffer const & buf,
/// Writes to stream the docbook representation
void simpleDocBookOnePar(Buffer const & buf,
/// \return any material that has had to be deferred until after the
/// paragraph has closed.
docstring simpleLyXHTMLOnePar(Buffer const & buf,
/// \return any material that has had to be deferred until after the
/// paragraph has closed.
docstring simpleLyXHTMLOnePar(Buffer const & buf,
OutputParams const & runparams,
Font const & outerfont,
pos_type initial = 0) const;
OutputParams const & runparams,
Font const & outerfont,
pos_type initial = 0) const;
/// is there a deletion at the given pos ?
bool isDeleted(pos_type pos) const;
/// is the whole paragraph deleted ?
/// is there a deletion at the given pos ?
bool isDeleted(pos_type pos) const;
/// is the whole paragraph deleted ?
/// will the paragraph be physically merged with the next
/// one if the imaginary end-of-par character is logically deleted?
/// will the paragraph be physically merged with the next
/// one if the imaginary end-of-par character is logically deleted?
/// the next two functions are for the manual labels
docstring const getLabelWidthString() const;
/// Set label width string.
void setLabelWidthString(docstring const & s);
/// the next two functions are for the manual labels
docstring const getLabelWidthString() const;
/// Set label width string.
void setLabelWidthString(docstring const & s);
/// Spellcheck word at position \p pos.
/// \return true if pointed word is misspelled.
bool isMisspelled(pos_type pos) const;
/// Spellcheck word at position \p pos.
/// \return true if pointed word is misspelled.
bool isMisspelled(pos_type pos) const;