mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 07:41:12 +08:00
34 lines
709 B
C++
34 lines
709 B
C++
#pragma once
|
|
|
|
namespace DocFileFormat
|
|
{
|
|
typedef enum FKPType
|
|
{
|
|
Character,
|
|
Paragraph
|
|
} FKPType;
|
|
|
|
class FormattedDiskPage
|
|
{
|
|
friend class FormattedDiskPageCHPX;
|
|
friend class FormattedDiskPagePAPX;
|
|
friend class WordDocument;
|
|
|
|
private:
|
|
/// Specifies the type of the FKP
|
|
FKPType Type;
|
|
/// The WordDocument stream
|
|
IStream* WordStream;
|
|
/// Count of runs for that FKP
|
|
byte crun;
|
|
/// Each value is the limit of a paragraph or run of exception text
|
|
int* rgfc;
|
|
unsigned int rgfcSize;
|
|
|
|
public:
|
|
FormattedDiskPage(): Type(Character), WordStream(NULL), crun(0), rgfc(NULL), rgfcSize(0)
|
|
{
|
|
}
|
|
};
|
|
}
|