mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 23:25:17 +08:00
15 lines
339 B
C++
15 lines
339 B
C++
#include "stdafx.h"
|
|
#include "./../Converter.h"
|
|
|
|
namespace PPTX2EditorSimple
|
|
{
|
|
WORD Converter::GetFontAlignFromStr(const CString& str)
|
|
{
|
|
if (str == _T("auto")) return 0;
|
|
if (str == _T("base")) return 0;
|
|
if (str == _T("t")) return 1;
|
|
if (str == _T("ctr")) return 2;
|
|
if (str == _T("b")) return 3;
|
|
return 0;
|
|
}
|
|
} |