Example #1
0
QFont KviConfigurationFile::readFontEntry(const QString & szKey,const QFont &fnt)
{
	QFont font(fnt);
	KviConfigurationFileGroup * p_group = getCurrentGroup();
	QString * p_str       = p_group->find(szKey);
	if(p_str)
	{
		//FontEntry=Arial,12,9,0,100,italic,underline,strikeout,
		KviCString str(*p_str);
		str.stripLeftWhiteSpace();
		setFontProperties(str,&font);
	}
	return font;
}
Example #2
0
 void Cell_t::SetFontSize(const XlfOper& ref, double newFontSize)
 {
     setFontProperties(ref, XlfOper(), newFontSize);
 }
Example #3
0
 void Cell_t::SetFont(const XlfOper& ref, const std::string& newFont)
 {
     setFontProperties(ref, newFont, XlfOper());
 }