void draw_polygon::xlsx_convert(oox::xlsx_conversion_context & Context) { reset_polygon_path(); /////////////////////////////////////////////////////////////////////// Context.get_drawing_context().start_shape(8); common_xlsx_convert(Context); Context.get_drawing_context().end_shape(); Context.get_drawing_context().clear(); }
void draw_polygon::serialize(std::wostream & _Wostream) { sub_type_ = 8; reset_polygon_path(); CP_XML_WRITER(_Wostream) { CP_XML_NODE_SIMPLE() { draw_shape::serialize_attlist(CP_GET_XML_NODE()); draw_polygon_attlist_.serialize(CP_GET_XML_NODE()); draw_shape::serialize(CP_XML_STREAM()); } } }