mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-21 01:10:35 +08:00
27 lines
595 B
C++
27 lines
595 B
C++
#pragma once
|
|
|
|
namespace DocFileFormat
|
|
{
|
|
// 2.3.13.23 Shadow Style Boolean Properties - [MS-ODRAW] — v20130726
|
|
|
|
class ShadowStyleBooleanProperties
|
|
{
|
|
public:
|
|
ShadowStyleBooleanProperties(unsigned int op)
|
|
{
|
|
fshadowObscured = FormatUtils::BitmaskToBool(op, 0x1);
|
|
fShadow = FormatUtils::BitmaskToBool(op, 0x1 << 1);
|
|
|
|
fUsefshadowObscured = FormatUtils::BitmaskToBool(op, 0x1 << 16);
|
|
fUsefShadow = FormatUtils::BitmaskToBool(op, 0x1 << 17);
|
|
}
|
|
|
|
public:
|
|
|
|
bool fUsefShadow;
|
|
bool fUsefshadowObscured;
|
|
|
|
bool fShadow;
|
|
bool fshadowObscured;
|
|
};
|
|
} |