X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=67f41ddb8d4cbfbdfe355880bc9b95f532f8d890;hb=472953dbe14b9d0fad8f50e9ca80e114bf30b946;hp=597a10b764b606f094b8ea6511bf69f260e7b720;hpb=968f7e8cacac366fe86466c1ed74a3cd5fe3387c;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index 597a10b764..67f41ddb8d 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -16,7 +16,6 @@ #ifndef PARAGRAPH_H #define PARAGRAPH_H -#include "FontEnums.h" #include "LayoutEnums.h" #include "SpellChecker.h" @@ -32,22 +31,16 @@ class AuthorList; class Buffer; class BufferParams; class Change; -class Counters; -class Cursor; -class CursorSlice; class DocIterator; class docstring_list; class DocumentClass; class Inset; -class InsetBibitem; class LaTeXFeatures; class InsetList; class Language; class Layout; class Font; -class MetricsInfo; class OutputParams; -class PainterInfo; class ParagraphParameters; class TocBackend; class WordLangTuple; @@ -130,7 +123,8 @@ enum AsStringParameter AS_STR_INSETS = 2, ///< Go into insets. AS_STR_NEWLINES = 4, ///< Get also newline characters. AS_STR_SKIPDELETE = 8, ///< Skip deleted text in change tracking. - AS_STR_PLAINTEXT = 16 ///< Don't export formatting when descending into insets. + AS_STR_PLAINTEXT = 16, ///< Don't export formatting when descending into insets. + AS_STR_MATHED = 32 ///< Use a format suitable for mathed (eg. for InsetRef). }; @@ -210,7 +204,8 @@ public: pos_type firstWordLyXHTML(XMLStream & xs, OutputParams const & runparams) const; /// Outputs to stream the DocBook representation, one element per paragraph. - std::vector simpleDocBookOnePar(Buffer const & buf, + std::tuple, std::vector, std::vector> + simpleDocBookOnePar(Buffer const & buf, OutputParams const & runparams, Font const & outerfont, pos_type initial = 0,