mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
20 lines
537 B
C++
20 lines
537 B
C++
#pragma once
|
|
|
|
#include "FileInformationBlock.h"
|
|
#include "VirtualStreamReader.h"
|
|
|
|
namespace DocFileFormat
|
|
{
|
|
class AnnotationOwnerList: public vector<wstring>
|
|
{
|
|
public:
|
|
AnnotationOwnerList(FileInformationBlock* fib, POLE::Stream* tableStream) : std::vector<wstring>()
|
|
{
|
|
VirtualStreamReader reader(tableStream, fib->m_FibWord97.fcGrpXstAtnOwners);
|
|
while (reader.GetPosition() < (fib->m_FibWord97.fcGrpXstAtnOwners + fib->m_FibWord97.lcbGrpXstAtnOwners))
|
|
{
|
|
push_back(reader.ReadXst());
|
|
}
|
|
}
|
|
};
|
|
} |