mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 09:24:40 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62950 954022d7-b5bf-4e40-9824-e11837661b57
34 lines
781 B
C++
34 lines
781 B
C++
#pragma once
|
|
|
|
#include "office_elements_create.h"
|
|
|
|
namespace cpdoccore {
|
|
namespace odf_writer {
|
|
|
|
class abstract_xml : public office_element_impl<abstract_xml>
|
|
{
|
|
public:
|
|
static const wchar_t * ns;
|
|
static const wchar_t * name;
|
|
static const xml::NodeType xml_type = xml::typeElement;
|
|
static const ElementType type = type_AbstractXml;
|
|
CPDOCCORE_DEFINE_VISITABLE()
|
|
|
|
public:
|
|
abstract_xml() {}
|
|
|
|
private:
|
|
virtual void create_child_element( const std::wstring & Ns, const std::wstring & Name);
|
|
virtual void add_child_element( const office_element_ptr & child_element);
|
|
|
|
virtual void serialize(std::wostream & strm);
|
|
|
|
private:
|
|
//office_element_ptr_array xml_content_;
|
|
};
|
|
|
|
CP_REGISTER_OFFICE_ELEMENT2(abstract_xml)
|
|
|
|
}
|
|
}
|