コード例 #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;
}
コード例 #2
0
ファイル: XlfServices.cpp プロジェクト: quant911/xlw518
 void Cell_t::SetFontSize(const XlfOper& ref, double newFontSize)
 {
     setFontProperties(ref, XlfOper(), newFontSize);
 }
コード例 #3
0
ファイル: XlfServices.cpp プロジェクト: quant911/xlw518
 void Cell_t::SetFont(const XlfOper& ref, const std::string& newFont)
 {
     setFontProperties(ref, newFont, XlfOper());
 }