void draw_line::serialize(std::wostream & _Wostream) { sub_type_ = 5; CP_XML_WRITER(_Wostream) { CP_XML_NODE_SIMPLE() { draw_shape::serialize_attlist(CP_GET_XML_NODE()); draw_line_attlist_.serialize(CP_GET_XML_NODE()); draw_shape::serialize(CP_XML_STREAM()); } } }
void draw_rect::serialize(std::wostream & _Wostream) { sub_type_ = 2;//todooo перекинуть CP_XML_WRITER(_Wostream) { CP_XML_NODE_SIMPLE() { draw_shape::serialize_attlist(CP_GET_XML_NODE()); draw_rect_attlist_.serialize(CP_GET_XML_NODE()); draw_shape::serialize(CP_XML_STREAM()); } } }
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()); } } }
void table_linked_source_attlist::serialize(CP_ATTR_NODE) { common_xlink_attlist_.serialize(CP_GET_XML_NODE()); CP_XML_ATTR_OPT(L"table:filter-name", table_filter_name_); CP_XML_ATTR_OPT(L"table:filter-options", table_filter_options_); CP_XML_ATTR_OPT(L"table:refresh-delay", table_refresh_delay_); }
CP_XML_NODE_SIMPLE() { CP_XML_ATTR_OPT(L"style:column-width", style_column_width_); CP_XML_ATTR_OPT(L"style:rel-column-width", style_rel_column_width_); CP_XML_ATTR_OPT(L"style:use-optimal-column-width", style_use_optimal_column_width_); common_break_attlist_.serialize(CP_GET_XML_NODE()); }
void draw_custom_shape::serialize(std::wostream & _Wostream) { sub_type_ = 7; CP_XML_WRITER(_Wostream) { CP_XML_NODE_SIMPLE() { draw_shape::serialize_attlist(CP_GET_XML_NODE()); if (draw_enhanced_geometry_)draw_enhanced_geometry_->serialize(CP_XML_STREAM()); draw_shape::serialize(CP_XML_STREAM()); } } }
CP_XML_NODE_SIMPLE() { draw_handle_attlist_.serialize(CP_GET_XML_NODE()); }
CP_XML_NODE_SIMPLE() { table_table_source_attlist_.serialize(CP_GET_XML_NODE()); table_linked_source_attlist_.serialize(CP_GET_XML_NODE()); }
CP_XML_NODE_SIMPLE() { office_annotation_attr_.serialize(CP_GET_XML_NODE()); }