X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fparagraph_funcs.h;h=067ba94ba1e115c76ada49bd422638d34413e2b6;hb=70a24259f8e3eb75677178ef5e28ecbb51c2935b;hp=fa9aba20786f2c4794fbb1418de7cb4a5a50753d;hpb=f05504f5ef438eef9ecf52cd989148d8f6209b00;p=lyx.git diff --git a/src/paragraph_funcs.h b/src/paragraph_funcs.h index fa9aba2078..067ba94ba1 100644 --- a/src/paragraph_funcs.h +++ b/src/paragraph_funcs.h @@ -12,6 +12,7 @@ #ifndef PARAGRAPH_FUNCS_H #define PARAGRAPH_FUNCS_H +#include "support/strfwd.h" #include "support/types.h" @@ -60,6 +61,11 @@ pit_type outerHook(pit_type par, ParagraphList const & plist); /// Is it the first par with same depth and layout? bool isFirstInSequence(pit_type par, ParagraphList const & plist); +/** Set Label Width string to all paragraphs of the same layout + and depth in a sequence */ +void setLabelWidthStringToSequence(pit_type par_offset, + ParagraphList & pars, docstring const & s); + /** Check if the current paragraph is the last paragraph in a proof environment */ int getEndLabel(pit_type par, ParagraphList const & plist);