#pragma once #include #include #include #include #include "office_elements_create.h" #include "style_ref.h" namespace cpdoccore { namespace odf_writer { /// \brief style:map class style_map : public office_element_impl { public: static const wchar_t * ns; static const wchar_t * name; static const xml::NodeType xml_type = xml::typeElement; static const ElementType type = typeStyleMap; CPDOCCORE_DEFINE_VISITABLE() virtual void create_child_element( const ::std::wstring & Ns, const ::std::wstring & Name); virtual void serialize(std::wostream & strm){} std::wstring style_condition_; odf_types::style_ref style_name_; std::wstring style_base_cell_address_; odf_types::style_ref style_apply_style_name_; }; CP_REGISTER_OFFICE_ELEMENT2(style_map) } }