mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63540 954022d7-b5bf-4e40-9824-e11837661b57
34 lines
711 B
C++
34 lines
711 B
C++
#pragma once
|
|
|
|
#include "Biff_records/BiffRecord.h"
|
|
|
|
namespace XLS
|
|
{;
|
|
|
|
class CFStreamCacheReader;
|
|
|
|
// Logical representation of a record in BIFF8
|
|
class AnyObject: public BiffRecord
|
|
{
|
|
BIFF_RECORD_DEFINE_TYPE_INFO(ANY_TYPE)
|
|
BASE_OBJECT_DEFINE_CLASS_NAME(ANY_TYPE)
|
|
public:
|
|
AnyObject();
|
|
~AnyObject();
|
|
|
|
BaseObjectPtr clone();
|
|
virtual void writeFields(CFRecord& record);
|
|
virtual void readFields(CFRecord& record);
|
|
|
|
std::string tag_name;
|
|
boost::shared_ptr<char> raw_data;
|
|
size_t raw_data_size;
|
|
|
|
static const ElementType type = typeAnyObject;
|
|
|
|
|
|
//Log::info("<" + tag_name + ">" + STR::bin2str(raw_data.get(), raw_data_size) + "</" + tag_name + ">");
|
|
};
|
|
|
|
} // namespace XLS
|