You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
512 B
C++

#pragma once
#include "item.h"
namespace NItem
{
#define ITEM_ALIGN_LEFT 1
#define ITEM_ALIGN_TOP 2
#define ITEM_ALIGN_RIGHT 3
#define ITEM_ALIGN_BOTTOM 4
#define ITEM_ALIGN_CENTER_H 5
#define ITEM_ALIGN_CENTER_V 6
#define ITEM_ALIGN_ROW_AND_COLUMN 7
class CItemAlign : public CItem
{
public:
CItemAlign(CSigmaDoc* ppDoc);
virtual ~CItemAlign(void);
int Align(CPositionList& list, int nMode);
int Align(int nMode);
int AlignRowAndColumn(CSize size);
};
};