mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@52214 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
1608662c28
commit
a13d9da261
@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
#include "ByteStructure.h"
|
||||
|
||||
namespace DocFileFormat
|
||||
{
|
||||
class AnnotationReferenceDescriptor: public ByteStructure
|
||||
{
|
||||
private:
|
||||
/// The initials of the user who left the annotation.
|
||||
wstring UserInitials;
|
||||
/// An index into the string table of comment author names.
|
||||
unsigned short AuthorIndex;
|
||||
/// Identifies a bookmark.
|
||||
int BookmarkId;
|
||||
|
||||
public:
|
||||
static const int STRUCTURE_SIZE = 30;
|
||||
|
||||
wstring GetUserInitials() const
|
||||
{
|
||||
return UserInitials;
|
||||
}
|
||||
|
||||
unsigned short GetAuthorIndex() const
|
||||
{
|
||||
return AuthorIndex;
|
||||
}
|
||||
|
||||
int GetBookmarkId() const
|
||||
{
|
||||
return BookmarkId;
|
||||
}
|
||||
|
||||
AnnotationReferenceDescriptor():
|
||||
UserInitials( _T( "" ) ), AuthorIndex(0), BookmarkId(0)
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~AnnotationReferenceDescriptor()
|
||||
{
|
||||
}
|
||||
|
||||
virtual ByteStructure* ConstructObject( VirtualStreamReader* reader, int length );
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user