- /// Extract only the explicitly visible text (without any formatting),
- /// descending into insets
- docstring stringify(pos_type beg, pos_type end, int options, OutputParams & runparams) const;
+ /// Convert the paragraph to a string.
+ /// \note If options includes AS_STR_PLAINTEXT, then runparams must be != 0
+ docstring asString(pos_type beg, pos_type end,
+ int options = AS_STR_NONE,
+ const OutputParams *runparams = 0) const;
+ ///
+ void forOutliner(docstring &, size_t maxlen, bool shorten = true,
+ bool label = true) const;