예제 #1
0
파일: format.cpp 프로젝트: JanX2/xlslib
format_t::format_t(CGlobalRecords& gRecords, const std::string& fmtstr) :
	formatstr(),
	index(0),
	m_usage_counter(0),
	m_GlobalRecords(gRecords)
{
	gRecords.char2str16(fmtstr, formatstr);
}
예제 #2
0
xlslib_core::label_t::label_t(CGlobalRecords& gRecords,
							  unsigned32_t rowval, unsigned32_t colval, const std::string& labelstrval, xf_t* pxfval) :
	cell_t(gRecords, rowval, colval, pxfval),
	strLabel(),
	inSST(false)
{
	gRecords.char2str16(labelstrval, strLabel);
	setType();
}
예제 #3
0
파일: note.cpp 프로젝트: GerHobbelt/xlslib
/*
 *********************************
 *  note_t class implementation
 *********************************
 */
note_t::note_t(CGlobalRecords& gRecords, unsigned32_t rowval, unsigned32_t colval, const std::string& msg, const std::string& auth, xf_t* pxfval) :
	cell_t(gRecords, rowval, colval, pxfval)
{
	gRecords.char2str16(msg, this->text);
	gRecords.char2str16(auth, this->author);
}