void chart_build::xlsx_convert(oox::xlsx_conversion_context & Context) { if (object_type_ == 1) { Context.start_chart(L""); oox::oox_chart_context & chart = Context.current_chart(); oox_convert(chart); Context.end_chart(); } else if (object_type_ == 2 && office_text_) { office_text_->xlsx_convert(Context); } else if (object_type_ == 3 && office_math_) { office_math_->xlsx_convert(Context); } }