Files
core/ASCOfficePPTXFile/PPTXFormat/Limit/SideDirectionVal.h

36 lines
663 B
C++

#pragma once
#ifndef PPTX_LIMIT_SIDEDIRECTIONVAL_INCLUDE_H_
#define PPTX_LIMIT_SIDEDIRECTIONVAL_INCLUDE_H_
#include "BaseLimit.h"
namespace PPTX
{
namespace Limit
{
class SideDirectionVal : public BaseLimit
{
public:
SideDirectionVal()
{
m_strValue = _T("l");
}
_USE_STRING_OPERATOR
virtual void set(const CString& strValue)
{
if ((_T("d") == strValue) ||
(_T("l") == strValue) ||
(_T("r") == strValue) ||
(_T("u") == strValue))
{
m_strValue = strValue;
}
}
};
} // namespace Limit
} // namespace PPTX
#endif // PPTX_LIMIT_SIDEDIRECTIONVAL_INCLUDE_H_