mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 01:11:43 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62950 954022d7-b5bf-4e40-9824-e11837661b57
40 lines
946 B
C++
40 lines
946 B
C++
#pragma once
|
|
|
|
#include <iosfwd>
|
|
#include <cpdoccore/CPOptional.h>
|
|
#include <cpdoccore/xml/xmlelement.h>
|
|
#include <cpdoccore/xml/nodetype.h>
|
|
|
|
#include "office_elements_create.h"
|
|
|
|
#include "style_ref.h"
|
|
|
|
namespace cpdoccore {
|
|
namespace odf_writer {
|
|
|
|
|
|
/// \brief style:map
|
|
class style_map : public office_element_impl<style_map>
|
|
{
|
|
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)
|
|
|
|
}
|
|
}
|