* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author John Levon
- * \author André Pönitz
- * \author Jürgen Vigna
+ * \author André Pönitz
+ * \author Jürgen Vigna
*
* Full author contact details are available in file CREDITS.
*/
docstring asString(pos_type beg, pos_type end,
int options = AS_STR_NONE) const;
+ /// 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;
+
///
void write(std::ostream &, BufferParams const &,
depth_type & depth) const;
///
bool latex(BufferParams const &, Font const & outerfont, odocstream &,
- TexRow & texrow, OutputParams const &) const;
+ TexRow & texrow, OutputParams const &,
+ int start_pos = 0, int end_pos = -1) const;
/// Can we drop the standard paragraph wrapper?
bool emptyTag() const;
void setLayout(Layout const & layout);
///
void setPlainOrDefaultLayout(DocumentClass const & tc);
+ ///
+ void setDefaultLayout(DocumentClass const & tc);
+ ///
+ void setPlainLayout(DocumentClass const & tc);
/// This is the item depth, only used by enumerate and itemize
signed char itemdepth;
pos_type pos, ///< start from here.
bool del = true) const;
+ void locateWord(pos_type & from, pos_type & to,
+ word_location const loc) const;
///
- void updateWords(CursorSlice const & sl);
+ void updateWords();
private:
///
void deregisterWords();
///
- void collectWords(CursorSlice const & sl);
+ void collectWords();
///
void registerWords();