X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_xhtml.h;h=76f7bd98de7dc3e9653b0f52be7b6d634f350a57;hb=ca6fba31fbc44e4b4ed6457b16f3f0d2ee28b7f0;hp=d5fabf97a00a203db2cc561ff1cd057ca97841a1;hpb=b383d04e078f23553cefcd82851b037f54a7d1c8;p=lyx.git diff --git a/src/output_xhtml.h b/src/output_xhtml.h index d5fabf97a0..76f7bd98de 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. @@ -45,7 +45,7 @@ struct StartTag bool keepempty = false) : tag_(tag), attr_(attr), keepempty_(keepempty) {} /// - ~StartTag() {} + virtual ~StartTag() {} /// virtual docstring writeTag() const; /// @@ -146,8 +146,20 @@ enum FontTypes { // families FT_ROMAN, FT_SANS, - FT_TYPE - // 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 };