X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_xhtml.h;h=ac405cdebd00a880a052d7cb38248ca70e1772d1;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=c825a4d805f509e0be1898402639ae00b672b587;hpb=5cadeed4d7a2c8e7d64f1e774d6dea5621382539;p=lyx.git diff --git a/src/output_xhtml.h b/src/output_xhtml.h index c825a4d805..ac405cdebd 100644 --- a/src/output_xhtml.h +++ b/src/output_xhtml.h @@ -31,8 +31,8 @@ class Text; namespace html { -class FontTag; -class EndFontTag; +struct FontTag; +struct EndFontTag; /// Attributes will be escaped automatically and so should NOT /// be escaped before being passed to the constructor. @@ -129,20 +129,37 @@ struct ParTag : public StartTag /// enum FontTypes { + // ranges FT_EMPH, - FT_BOLD, FT_NOUN, FT_UBAR, FT_DBAR, - FT_SOUT, FT_WAVE, + FT_SOUT, + // bold + FT_BOLD, + // shapes + FT_UPRIGHT, FT_ITALIC, FT_SLANTED, FT_SMALLCAPS, + // families FT_ROMAN, FT_SANS, - FT_TYPER - // SIZES? + FT_TYPE, + // sizes + FT_SIZE_TINY, + FT_SIZE_SCRIPT, + FT_SIZE_FOOTNOTE, + FT_SIZE_SMALL, + FT_SIZE_NORMAL, + FT_SIZE_LARGE, + FT_SIZE_LARGER, + FT_SIZE_LARGEST, + FT_SIZE_HUGE, + FT_SIZE_HUGER, + FT_SIZE_INCREASE, + FT_SIZE_DECREASE };