bool RS_Block::saveAs(const QString& filename, RS2::FormatType type, bool force) { RS_Graphic* g = getGraphic(); if (g) { return g->saveAs(filename, type, force); } else { return false; } }