mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 18:16:39 +08:00
13 lines
268 B
C++
13 lines
268 B
C++
#include "stdafx.h"
|
|
#include "./../Converter.h"
|
|
|
|
namespace PPTX2EditorSimple
|
|
{
|
|
WORD Converter::GetTextAnchorFromStr(const CString& str)
|
|
{
|
|
if (str == _T("t")) return 0;
|
|
if (str == _T("ctr")) return 1;
|
|
if (str == _T("b")) return 2;
|
|
return 0;
|
|
}
|
|
} |