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

#include <fillproperties.hxx>

Inheritance diagram for oox::drawingml::FillProperties:
[legend]
Collaboration diagram for oox::drawingml::FillProperties:
[legend]

Public Member Functions

void assignUsed (const FillProperties &rSourceProps)
 Properties for bitmap fills. More...
 
Color getBestSolidColor () const
 Tries to resolve current settings to a solid color, e.g. More...
 
void pushToPropMap (ShapePropertyMap &rPropMap, const GraphicHelper &rGraphicHelper, sal_Int32 nShapeRotation=0, ::Color nPhClr=API_RGB_TRANSPARENT, sal_Int16 nPhClrTheme=-1, bool bFlipH=false, bool bFlipV=false, bool bIsCustomShape=false) const
 Writes the properties to the passed property map. More...
 

Public Attributes

std::optional< sal_Int32 > moFillType
 
Color maFillColor
 Fill type (OOXML token). More...
 
std::optional< bool > moUseBgFill
 Solid fill color and transparence. More...
 
GradientFillProperties maGradientProps
 Whether the background is used as fill type. More...
 
PatternFillProperties maPatternProps
 Properties for gradient fills. More...
 
BlipFillProperties maBlipProps
 Properties for pattern fills. More...
 

Detailed Description

Definition at line 128 of file fillproperties.hxx.

Member Function Documentation

◆ assignUsed()

void oox::drawingml::FillProperties::assignUsed ( const FillProperties rSourceProps)

◆ getBestSolidColor()

Color oox::drawingml::FillProperties::getBestSolidColor ( ) const

◆ pushToPropMap()

void oox::drawingml::FillProperties::pushToPropMap ( ShapePropertyMap rPropMap,
const GraphicHelper rGraphicHelper,
sal_Int32  nShapeRotation = 0,
::Color  nPhClr = API_RGB_TRANSPARENT,
sal_Int16  nPhClrTheme = -1,
bool  bFlipH = false,
bool  bFlipV = false,
bool  bIsCustomShape = false 
) const

Writes the properties to the passed property map.

Definition at line 425 of file fillproperties.cxx.

References createHatch(), oox::drawingml::FillBackground, oox::drawingml::FillBitmap, oox::drawingml::FillBitmapMode, oox::drawingml::FillBitmapName, oox::drawingml::FillBitmapOffsetX, oox::drawingml::FillBitmapOffsetY, oox::drawingml::FillBitmapRectanglePoint, oox::drawingml::FillBitmapSizeX, oox::drawingml::FillBitmapSizeY, oox::drawingml::FillColor, oox::drawingml::FillGradient, oox::drawingml::FillHatch, FillStyle, oox::drawingml::FillStyle, oox::drawingml::FillTransparency, oox::drawingml::FillUseSlideBackground, oox::drawingml::Color::getColor(), oox::drawingml::Color::getLumMod(), oox::drawingml::Color::getLumOff(), oox::GraphicHelper::getOriginalSize(), oox::drawingml::Color::getSchemeColorIndex(), oox::drawingml::Color::getTintOrShade(), oox::drawingml::Color::getTransparency(), oox::drawingml::GradientTransparency, oox::drawingml::Color::hasTransparency(), oox::drawingml::Color::isUsed(), maBlipProps, maFillColor, maGradientProps, oox::drawingml::GradientFillProperties::maGradientStops, oox::drawingml::PatternFillProperties::maPattBgColor, maPatternProps, oox::drawingml::PatternFillProperties::maPattFgColor, oox::drawingml::MAX_PERCENT, oox::drawingml::BlipFillProperties::moAlphaModFix, oox::drawingml::BlipFillProperties::moBitmapMode, oox::drawingml::BlipFillProperties::moColorEffect, oox::drawingml::BlipFillProperties::moFillRect, oox::drawingml::GradientFillProperties::moFillToRect, moFillType, oox::drawingml::GradientFillProperties::moGradientPath, oox::drawingml::PatternFillProperties::moPattPreset, oox::drawingml::GradientFillProperties::moRotateWithShape, oox::drawingml::GradientFillProperties::moShadeAngle, oox::drawingml::BlipFillProperties::moTileAlign, oox::drawingml::BlipFillProperties::moTileOffsetX, oox::drawingml::BlipFillProperties::moTileOffsetY, oox::drawingml::BlipFillProperties::moTileScaleX, oox::drawingml::BlipFillProperties::moTileScaleY, moUseBgFill, oox::drawingml::BlipFillProperties::mxFillGraphic, nBorder, nIndex, oox::drawingml::PER_DEGREE, oox::drawingml::PER_PERCENT, SAL_INFO, SAL_MAX_INT32, oox::drawingml::ShapePropertyMap::setProperty(), oox::drawingml::ShapePropertyMap::supportsProperty(), and XML_TOKEN_INVALID.

Referenced by oox::drawingml::Shape::createAndInsert(), and oox::drawingml::table::TableCell::pushToXCell().

Member Data Documentation

◆ maBlipProps

BlipFillProperties oox::drawingml::FillProperties::maBlipProps

Properties for pattern fills.

Definition at line 135 of file fillproperties.hxx.

Referenced by assignUsed(), oox::drawingml::FillPropertiesContext::createFillContext(), and pushToPropMap().

◆ maFillColor

Color oox::drawingml::FillProperties::maFillColor

◆ maGradientProps

GradientFillProperties oox::drawingml::FillProperties::maGradientProps

◆ maPatternProps

PatternFillProperties oox::drawingml::FillProperties::maPatternProps

Properties for gradient fills.

Definition at line 134 of file fillproperties.hxx.

Referenced by assignUsed(), oox::drawingml::FillPropertiesContext::createFillContext(), getBestSolidColor(), and pushToPropMap().

◆ moFillType

std::optional< sal_Int32 > oox::drawingml::FillProperties::moFillType

◆ moUseBgFill

std::optional< bool > oox::drawingml::FillProperties::moUseBgFill

Solid fill color and transparence.

Definition at line 132 of file fillproperties.hxx.

Referenced by assignUsed(), and pushToPropMap().


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