git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@52214 954022d7-b5bf-4e40-9824-e11837661b57

This commit is contained in:
Sergey.Kirillov
2013-11-19 15:44:09 +00:00
committed by Alexander Trofimov
parent 1608662c28
commit a13d9da261
435 changed files with 1 additions and 1 deletions

View File

@ -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 );
};
}