mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 03:08:28 +08:00
39 lines
767 B
C++
39 lines
767 B
C++
#pragma once
|
|
|
|
#include "DateAndTime.h"
|
|
#include "CharacterPropertyExceptions.h"
|
|
|
|
namespace DocFileFormat
|
|
{
|
|
typedef enum _RevisionType
|
|
{
|
|
NoRevision,
|
|
Inserted,
|
|
Deleted,
|
|
Changed
|
|
} RevisionType;
|
|
|
|
class RevisionData
|
|
{
|
|
friend class CharacterPropertiesMapping;
|
|
friend class DocumentMapping;
|
|
friend class ParagraphPropertiesMapping;
|
|
friend class StyleSheetMapping;
|
|
friend class TableRowPropertiesMapping;
|
|
|
|
public:
|
|
virtual ~RevisionData();
|
|
RevisionData();
|
|
/// Collects the revision data of a CHPX
|
|
RevisionData(CharacterPropertyExceptions* chpx);
|
|
|
|
private:
|
|
DateAndTime Dttm;
|
|
short Isbt;
|
|
RevisionType Type;
|
|
std::list<SinglePropertyModifier>* Changes;
|
|
int RsidDel;
|
|
int RsidProp;
|
|
int Rsid;
|
|
};
|
|
} |