void office_annotation::create_child_element(const std::wstring & Ns, const std::wstring & Name) { if (Ns==L"dc" && Name == L"date") { CP_CREATE_ELEMENT(dc_date_); } else if (Ns==L"dc" && Name == L"creator") { CP_CREATE_ELEMENT(dc_creator_); } else { CP_CREATE_ELEMENT(content_); } }
void style_tab_stops::add_child_element( xml::sax * Reader, const ::std::wstring & Ns, const ::std::wstring & Name) { if (L"style" == Ns && L"tab-stop" == Name) CP_CREATE_ELEMENT(style_tab_stops_); else { CP_NOT_APPLICABLE_ELM(); } }
void style_background_image::add_child_element( xml::sax * Reader, const ::std::wstring & Ns, const ::std::wstring & Name) { if (L"office" == Ns && L"binary-data" == Name) CP_CREATE_ELEMENT(office_binary_data_); else { CP_NOT_APPLICABLE_ELM(); } }
void loext_graphic_properties::add_child_element( xml::sax * Reader, const std::wstring & Ns, const std::wstring & Name) { if (L"style" == Ns && L"background-image" == Name) { CP_CREATE_ELEMENT(content_.style_background_image_); } //if (CP_CHECK_NAME(L"text", L"list-style") // styles_.add_child_element(Reader, Ns, Name, getContext()); он тут и не нужен по сути... описание есть и в другом сместе }
///////////////////////////////////////////////////////////////////////////////////////////////////////// /// draw-a-attlist void draw_a::add_child_element( xml::sax * Reader, const std::wstring & Ns, const std::wstring & Name) { CP_CREATE_ELEMENT(content_); }
void style_drawing_page_properties::add_child_element( xml::sax * Reader, const std::wstring & Ns, const std::wstring & Name) { if CP_CHECK_NAME(L"presentation", L"sound") CP_CREATE_ELEMENT(drawing_page_properties_.presentation_sound_); else
void calcext_conditional_formats::create_child_element(const ::std::wstring & Ns, const ::std::wstring & Name) { CP_CREATE_ELEMENT(content_); }
void office_script::add_child_element( xml::sax * Reader, const ::std::wstring & Ns, const ::std::wstring & Name) { CP_CREATE_ELEMENT(content_); }
void math_msub::add_child_element( xml::sax * Reader, const std::wstring & Ns, const std::wstring & Name) { //<msub> base subscript </msub> CP_CREATE_ELEMENT(content_); }
void math_munderover::add_child_element( xml::sax * Reader, const std::wstring & Ns, const std::wstring & Name) { CP_CREATE_ELEMENT(content_); }