LibreOffice Module oox (master) 1
Public Member Functions | Public Attributes | List of all members
oox::vml::FillModel Struct Reference

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< DoublePairmoFocusPos
 Rectangular gradient focus position of second color. More...
 
std::optional< DoublePairmoFocusSize
 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...
 

Detailed Description

The fill model structure contains all shape fill properties.

Definition at line 228 of file vmlformatting.hxx.

Member Function Documentation

◆ assignUsed()

void oox::vml::FillModel::assignUsed ( const FillModel rSource)

◆ pushToPropMap()

void oox::vml::FillModel::pushToPropMap ( ::oox::drawingml::ShapePropertyMap rPropMap,
const GraphicHelper rGraphicHelper 
) const

Member Data Documentation

◆ moAngle

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().

◆ moBitmapPath

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().

◆ moColor

std::optional< OUString > oox::vml::FillModel::moColor

◆ moColor2

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().

◆ moFilled

std::optional< bool > oox::vml::FillModel::moFilled

◆ moFocus

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().

◆ moFocusPos

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().

◆ moFocusSize

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().

◆ moOpacity

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().

◆ moOpacity2

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().

◆ moRotate

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().

◆ moType

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().


The documentation for this struct was generated from the following files: