]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Shortcut for LyX HTML output. (Makes my life easier!)
[lyx.git] / src / Paragraph.h
index 426783afd35562d877f1c0223c55a244950700c1..94a139ab5edcf9c790a06bd365e8c8896fa256e5 100644 (file)
@@ -51,6 +51,7 @@ class ParagraphParameters;
 class TexRow;
 class Toc;
 class WordLangTuple;
+class XHTMLStream;
 
 class FontSpan {
 public:
@@ -151,7 +152,7 @@ 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,
@@ -162,7 +163,7 @@ public:
        /// \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,
                                 pos_type initial = 0) const;
@@ -178,10 +179,6 @@ public:
        ///
        Inset const & inInset() const;
        ///
-       InsetCode ownerCode() const;
-       ///
-       bool forcePlainLayout() const;
-       ///
        bool allowParagraphCustomization() const;
        ///
        bool usePlainLayout() const;