void draw_path::xlsx_convert(oox::xlsx_conversion_context & Context) { reset_svg_path(); /////////////////////////////////////////////////////////////////////// Context.get_drawing_context().start_shape(6); common_xlsx_convert(Context); Context.get_drawing_context().end_shape(); Context.get_drawing_context().clear(); }
void draw_path::serialize(std::wostream & _Wostream) { sub_type_ = 6; reset_svg_path(); CP_XML_WRITER(_Wostream) { CP_XML_NODE_SIMPLE() { draw_shape::serialize_attlist(CP_GET_XML_NODE()); draw_path_attlist_.serialize(CP_GET_XML_NODE()); draw_shape::serialize(CP_XML_STREAM()); } } }
void draw_connector::xlsx_convert(oox::xlsx_conversion_context & Context) { if (draw_connector_attlist_.draw_type_) { if (*draw_connector_attlist_.draw_type_ == L"curve") { sub_type_ = 11; } } reset_svg_attributes(); reset_svg_path(); /////////////////////////////////////////////////////////////////////// Context.get_drawing_context().start_shape(6); common_xlsx_convert(Context); Context.get_drawing_context().end_shape(); Context.get_drawing_context().clear(); }