Add some documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16581 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-01-07 17:58:36 +00:00
parent 16b2b8e6bc
commit 0011cad000
2 changed files with 10 additions and 0 deletions

View File

@ -907,6 +907,12 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf,
style = layout();
}
// Current base font for all inherited font changes, without any
// change caused by an individual character, except for the language:
// It is set to the language of the first character.
// As long as we are in the label, this font is the base font of the
// label. Before the first bpdy character it is set to the base font
// of the body.
LyXFont basefont;
LaTeXFeatures features(buf, bparams, runparams);

View File

@ -67,6 +67,10 @@ bool isFirstInSequence(pit_type par, ParagraphList const & plist);
proof environment */
int getEndLabel(pit_type par, ParagraphList const & plist);
/**
* Get the font of the "environment" of paragraph \p par_offset in \p pars.
* All font changes of the paragraph are relative to this font.
*/
LyXFont const outerFont(pit_type par_offset, ParagraphList const & pars);
/// return the number of InsetOptArg in a paragraph