class TexRow;
class Toc;
class WordLangTuple;
+class XHTMLStream;
class FontSpan {
public:
pos_type firstWordDocBook(odocstream & os, OutputParams const & runparams) const;
/// Output the first word of a paragraph, return the position where it left.
- pos_type firstWordLyXHTML(odocstream & os, OutputParams const & runparams) const;
+ pos_type firstWordLyXHTML(XHTMLStream & xs, OutputParams const & runparams) const;
/// 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,
- odocstream &,
+ XHTMLStream & xs,
OutputParams const & runparams,
Font const & outerfont,
+ bool fortoc = false,
pos_type initial = 0) const;
///
///
Inset const & inInset() const;
///
- InsetCode ownerCode() const;
- ///
- bool forcePlainLayout() const;
- ///
bool allowParagraphCustomization() const;
///
bool usePlainLayout() const;
/// is there a deletion at the given pos ?
bool isDeleted(pos_type pos) const;
/// is the whole paragraph deleted ?
- bool isFullyDeleted(pos_type start, pos_type end) const;
+ bool isDeleted(pos_type start, pos_type end) const;
/// will the paragraph be physically merged with the next
/// one if the imaginary end-of-par character is logically deleted?
/// Spellcheck word at position \p pos.
/// \return true if pointed word is misspelled.
bool isMisspelled(pos_type pos) const;
+ /// an automatically generated identifying label for this paragraph.
+ /// presently used only in the XHTML output routines.
+ std::string magicLabel() const;
private:
///