LibreOffice Module oox (master) 1
|
The fill model structure contains all shape fill properties. More...
#include <vmlformatting.hxx>
Public Member Functions | |
void | assignUsed (const FillModel &rSource) |
void | pushToPropMap (::oox::drawingml::ShapePropertyMap &rPropMap, const GraphicHelper &rGraphicHelper) const |
Writes the properties to the passed property map. More... | |
Public Attributes | |
std::optional< bool > | moFilled |
Shape fill on/off. More... | |
std::optional< OUString > | moColor |
Solid fill color. More... | |
std::optional< double > | moOpacity |
Solid fill color opacity. More... | |
std::optional< OUString > | moColor2 |
End color of gradient. More... | |
std::optional< double > | moOpacity2 |
End color opacity of gradient. More... | |
std::optional< sal_Int32 > | moType |
Fill type. More... | |
std::optional< sal_Int32 > | moAngle |
Gradient rotation angle. More... | |
std::optional< double > | moFocus |
Linear gradient focus of second color. More... | |
std::optional< DoublePair > | moFocusPos |
Rectangular gradient focus position of second color. More... | |
std::optional< DoublePair > | moFocusSize |
Rectangular gradient focus size of second color. More... | |
std::optional< OUString > | moBitmapPath |
Path to fill bitmap fragment. More... | |
std::optional< bool > | moRotate |
True = rotate gradient/bitmap with shape. More... | |
The fill model structure contains all shape fill properties.
Definition at line 228 of file vmlformatting.hxx.
void oox::vml::FillModel::assignUsed | ( | const FillModel & | rSource | ) |
Definition at line 723 of file vmlformatting.cxx.
References oox::assignIfUsed(), moAngle, moBitmapPath, moColor, moColor2, moFilled, moFocus, moFocusPos, moFocusSize, moOpacity, moOpacity2, moRotate, and moType.
Referenced by oox::vml::ShapeTypeModel::assignUsed(), and oox::vml::ShapeBase::finalizeFragmentImport().
void oox::vml::FillModel::pushToPropMap | ( | ::oox::drawingml::ShapePropertyMap & | rPropMap, |
const GraphicHelper & | rGraphicHelper | ||
) | const |
Writes the properties to the passed property map.
Definition at line 748 of file vmlformatting.cxx.
References oox::API_RGB_WHITE, oox::vml::ConversionHelper::decodeColor(), oox::GraphicHelper::importEmbeddedGraphic(), oox::vml::lcl_setGradientStop(), oox::drawingml::MAX_PERCENT, moAngle, moBitmapPath, moColor, moColor2, moFilled, moFocus, moFocusPos, moFocusSize, moOpacity, moOpacity2, moRotate, moType, and oox::drawingml::PER_DEGREE.
Referenced by oox::vml::ShapeBase::convertShapeProperties(), and oox::vml::ComplexShape::implConvertAndInsert().
std::optional< sal_Int32 > oox::vml::FillModel::moAngle |
Gradient rotation angle.
Definition at line 236 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< OUString > oox::vml::FillModel::moBitmapPath |
Path to fill bitmap fragment.
Definition at line 240 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< OUString > oox::vml::FillModel::moColor |
Solid fill color.
Definition at line 231 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), pushToPropMap(), and oox::vml::ShapeTypeContext::ShapeTypeContext().
std::optional< OUString > oox::vml::FillModel::moColor2 |
End color of gradient.
Definition at line 233 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< bool > oox::vml::FillModel::moFilled |
Shape fill on/off.
Definition at line 230 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), pushToPropMap(), and oox::vml::ShapeTypeContext::ShapeTypeContext().
std::optional< double > oox::vml::FillModel::moFocus |
Linear gradient focus of second color.
Definition at line 237 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< DoublePair > oox::vml::FillModel::moFocusPos |
Rectangular gradient focus position of second color.
Definition at line 238 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< DoublePair > oox::vml::FillModel::moFocusSize |
Rectangular gradient focus size of second color.
Definition at line 239 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< double > oox::vml::FillModel::moOpacity |
Solid fill color opacity.
Definition at line 232 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< double > oox::vml::FillModel::moOpacity2 |
End color opacity of gradient.
Definition at line 234 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< bool > oox::vml::FillModel::moRotate |
True = rotate gradient/bitmap with shape.
Definition at line 241 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< sal_Int32 > oox::vml::FillModel::moType |
Fill type.
Definition at line 235 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().