Files
core/ASCOfficeOdtFile/Source/Common/Position.h
Elen.Subbotina 6138139c4e исправлен проект - подключен "старый" DocxFormat (тот который с AVS - без вытирания буста)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:37:54 +03:00

43 lines
676 B
C++

#pragma once
#ifndef COMMON_POSITION_INCLUDE_H_
#define COMMON_POSITION_INCLUDE_H_
namespace Common
{
class Position
{
public:
Position();
enum Type
{
background,
foreground
};
public:
const Type type() const;
public:
static const Position Background();
static const Position Foreground();
public:
const bool isBackground() const;
const bool isForeground() const;
public:
void setBackground();
void setForeground();
protected:
Type m_type;
protected:
Position(const Type type);
void fromBase(const Position& position);
};
} // namespace Common
#endif // COMMON_POSITION_INCLUDE_H_