LibreOffice Module oox (master) 1
|
The shadow model structure contains all shape shadow properties. More...
#include <vmlformatting.hxx>
Public Member Functions | |
ShadowModel () | |
void | pushToPropMap (oox::drawingml::ShapePropertyMap &rPropMap, const GraphicHelper &rGraphicHelper) const |
Writes the properties to the passed property map. More... | |
Public Attributes | |
bool | mbHasShadow |
Is a v:shadow element seen? More... | |
std::optional< bool > | moShadowOn |
Is the element turned on? More... | |
std::optional< OUString > | moColor |
Specifies the color of the shadow. More... | |
std::optional< OUString > | moOffset |
Specifies the shadow's offset from the shape's location. More... | |
std::optional< double > | moOpacity |
Specifies the opacity of the shadow. More... | |
The shadow model structure contains all shape shadow properties.
Definition at line 253 of file vmlformatting.hxx.
oox::vml::ShadowModel::ShadowModel | ( | ) |
Definition at line 871 of file vmlformatting.cxx.
void oox::vml::ShadowModel::pushToPropMap | ( | oox::drawingml::ShapePropertyMap & | rPropMap, |
const GraphicHelper & | rGraphicHelper | ||
) | const |
Writes the properties to the passed property map.
Definition at line 876 of file vmlformatting.cxx.
References oox::API_RGB_GRAY, oox::vml::ConversionHelper::decodeColor(), oox::vml::ConversionHelper::decodeMeasureToHmm(), oox::drawingml::Color::getColor(), mbHasShadow, moColor, moOffset, moOpacity, moShadowOn, PROP_ShadowFormat, and oox::vml::ConversionHelper::separatePair().
Referenced by oox::vml::ShapeBase::convertShapeProperties().
bool oox::vml::ShadowModel::mbHasShadow |
Is a v:shadow element seen?
Definition at line 255 of file vmlformatting.hxx.
Referenced by oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional<OUString> oox::vml::ShadowModel::moColor |
Specifies the color of the shadow.
Definition at line 257 of file vmlformatting.hxx.
Referenced by oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional<OUString> oox::vml::ShadowModel::moOffset |
Specifies the shadow's offset from the shape's location.
Definition at line 258 of file vmlformatting.hxx.
Referenced by oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional<double> oox::vml::ShadowModel::moOpacity |
Specifies the opacity of the shadow.
Definition at line 259 of file vmlformatting.hxx.
Referenced by oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional<bool> oox::vml::ShadowModel::moShadowOn |
Is the element turned on?
Definition at line 256 of file vmlformatting.hxx.
Referenced by oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().