mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-13 15:23:55 +08:00
38 lines
613 B
C++
38 lines
613 B
C++
#pragma once
|
|
#include "../Common/FontManager.h"
|
|
|
|
namespace NSEBook
|
|
{
|
|
using namespace NSCommon;
|
|
|
|
class ILogicItem
|
|
{
|
|
public:
|
|
enum ELogicItemType
|
|
{
|
|
elitTextLine = 0,
|
|
elitTable = 1,
|
|
elitGraphic = 2,
|
|
elitTextParagraph = 3
|
|
};
|
|
|
|
ELogicItemType m_eType;
|
|
CDoubleRect m_rcBounds;
|
|
bool m_bIsPageBreakAfter;
|
|
|
|
public:
|
|
ILogicItem()
|
|
{
|
|
m_eType = elitTextLine;
|
|
m_bIsPageBreakAfter = false;
|
|
}
|
|
virtual ~ILogicItem()
|
|
{
|
|
}
|
|
|
|
virtual double GetPositionY() = 0;
|
|
virtual double GetPositionX() = 0;
|
|
};
|
|
|
|
const long g_lNewNoJustifySpace = 5;
|
|
} |