mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62634 954022d7-b5bf-4e40-9824-e11837661b57
35 lines
516 B
C++
35 lines
516 B
C++
#pragma once
|
|
|
|
#include "..\ap_AggPlusTypes.h"
|
|
#include "..\ap_AggPlusEnums.h"
|
|
|
|
namespace Aggplus
|
|
{
|
|
|
|
class CStringFormat
|
|
{
|
|
public:
|
|
CStringFormat(LONG formatFlags = 0, LANGID language = LANG_NEUTRAL)
|
|
{
|
|
m_alignment = StringAlignmentNear;
|
|
}
|
|
virtual ~CStringFormat()
|
|
{
|
|
}
|
|
|
|
Status SetAlignment(StringAlignment align)
|
|
{
|
|
m_alignment = align;
|
|
return Ok;
|
|
}
|
|
|
|
StringAlignment GetAlignment() const
|
|
{
|
|
return m_alignment;
|
|
}
|
|
|
|
protected:
|
|
StringAlignment m_alignment;
|
|
};
|
|
|
|
} |