]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
This is the first of a series of commits that will make InsetLayout a real class.
[lyx.git] / src / Paragraph.h
index d59753decec9ac77799a633cad6b8e9f88165974..e00f644f15b74305cf0d8d48443d46fe4f1b3935 100644 (file)
@@ -23,9 +23,6 @@
 
 #include "support/strfwd.h"
 #include "support/types.h"
-// FIXME: would be nice to forward declare odocstream instead of
-// including this:
-#include "support/docstream.h"
 
 namespace lyx {
 
@@ -148,8 +145,11 @@ public:
        ///
        InsetCode ownerCode() const;
        ///
-       bool forceDefaultParagraphs() const;
-
+       bool forceEmptyLayout() const;
+       ///
+       bool allowParagraphCustomization() const;
+       ///
+       bool useEmptyLayout() const;
        ///
        pos_type size() const;
        ///
@@ -347,22 +347,13 @@ public:
        /// was previously past that position. Return 0 otherwise.
        int checkBiblio(bool track_changes);
 
-       /// To resolve macros properly the paragraphs are numbered.
-       /// Every macro definition is stored with its paragraph number
-       /// as well. Only those macros with a smaller number become 
-       /// visible in a paragraph (plus those in the same paragraph, but
-       /// in an earlier inset.
-       unsigned int macrocontextPosition() const;
-       ///
-       void setMacrocontextPosition(unsigned int pos);
-
        /// For each author, set 'used' to true if there is a change
        /// by this author in the paragraph.
        void checkAuthors(AuthorList const & authorList);
 
        ///
        void changeCase(BufferParams const & bparams, pos_type pos,
-               pos_type right, TextCase action);
+               pos_type right, TextCase action);
 
        /// find \param str string inside Paragraph.
        /// \return true if the specified string is at the specified position