LibreOffice Module oox (master) 1
|
The stroke model structure contains all shape border properties. More...
#include <vmlformatting.hxx>
Public Member Functions | |
void | assignUsed (const StrokeModel &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 > | moStroked |
Shape border line on/off. More... | |
StrokeArrowModel | maStartArrow |
Start line arrow style. More... | |
StrokeArrowModel | maEndArrow |
End line arrow style. More... | |
std::optional< OUString > | moColor |
Solid line color. More... | |
std::optional< double > | moOpacity |
Solid line color opacity. More... | |
std::optional< OUString > | moWeight |
Line width. More... | |
std::optional< OUString > | moDashStyle |
Line dash (predefined or manually). More... | |
std::optional< sal_Int32 > | moLineStyle |
Line style (single, double, ...). More... | |
std::optional< sal_Int32 > | moEndCap |
Type of line end cap. More... | |
std::optional< sal_Int32 > | moJoinStyle |
Type of line join. More... | |
The stroke model structure contains all shape border properties.
Definition at line 205 of file vmlformatting.hxx.
void oox::vml::StrokeModel::assignUsed | ( | const StrokeModel & | rSource | ) |
Definition at line 683 of file vmlformatting.cxx.
References oox::assignIfUsed(), oox::vml::StrokeArrowModel::assignUsed(), maEndArrow, maStartArrow, moColor, moDashStyle, moEndCap, moJoinStyle, moLineStyle, moOpacity, moStroked, and moWeight.
Referenced by oox::vml::ShapeTypeModel::assignUsed(), and oox::vml::ShapeBase::finalizeFragmentImport().
void oox::vml::StrokeModel::pushToPropMap | ( | ::oox::drawingml::ShapePropertyMap & | rPropMap, |
const GraphicHelper & | rGraphicHelper | ||
) | const |
Writes the properties to the passed property map.
Definition at line 697 of file vmlformatting.cxx.
References oox::API_RGB_BLACK, oox::vml::ConversionHelper::decodeColor(), LineProperties, maEndArrow, maStartArrow, moColor, moDashStyle, moEndCap, moJoinStyle, moLineStyle, moOpacity, moStroked, moWeight, and SAL_MAX_INT32.
Referenced by oox::vml::ShapeBase::convertShapeProperties(), and oox::vml::ComplexShape::implConvertAndInsert().
StrokeArrowModel oox::vml::StrokeModel::maEndArrow |
End line arrow style.
Definition at line 209 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
StrokeArrowModel oox::vml::StrokeModel::maStartArrow |
Start line arrow style.
Definition at line 208 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< OUString > oox::vml::StrokeModel::moColor |
Solid line color.
Definition at line 210 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), pushToPropMap(), and oox::vml::ShapeTypeContext::ShapeTypeContext().
std::optional< OUString > oox::vml::StrokeModel::moDashStyle |
Line dash (predefined or manually).
Definition at line 213 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< sal_Int32 > oox::vml::StrokeModel::moEndCap |
Type of line end cap.
Definition at line 215 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< sal_Int32 > oox::vml::StrokeModel::moJoinStyle |
Type of line join.
Definition at line 216 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< sal_Int32 > oox::vml::StrokeModel::moLineStyle |
Line style (single, double, ...).
Definition at line 214 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< double > oox::vml::StrokeModel::moOpacity |
Solid line color opacity.
Definition at line 211 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), and pushToPropMap().
std::optional< bool > oox::vml::StrokeModel::moStroked |
Shape border line on/off.
Definition at line 207 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeTypeContext::onCreateContext(), pushToPropMap(), and oox::vml::ShapeTypeContext::ShapeTypeContext().
std::optional< OUString > oox::vml::StrokeModel::moWeight |
Line width.
Definition at line 212 of file vmlformatting.hxx.
Referenced by assignUsed(), oox::vml::ShapeBase::convertShapeProperties(), oox::vml::ShapeTypeContext::onCreateContext(), pushToPropMap(), and oox::vml::ShapeTypeContext::ShapeTypeContext().