Example #1
0
void Datapicker::printPreview() const {
	Spreadsheet* s = currentSpreadsheet();
	if (s) {
		s->printPreview();
	} else {
		m_image->printPreview();
	}
}
Example #2
0
bool Datapicker::printPreview() const {
	Spreadsheet* s = currentSpreadsheet();
    bool ret;
	if (s) {
        ret = s->printPreview();
	} else {
        ret = m_image->printPreview();
	}
    return ret;
}