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, const css::awt::Size &rSize={}, 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 129 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,
const css::awt::Size &  rSize = {},
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 403 of file fillproperties.cxx.

References model::convertToThemeColorType(), createHatch(), model::color::createXComplexColor(), 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, basegfx::BGradient::getAsGradient2(), oox::drawingml::Color::getColor(), oox::drawingml::Color::getComplexColor(), basegfx::BGradient::GetGradientStyle(), oox::GraphicHelper::getOriginalSize(), oox::drawingml::Color::getTransparency(), basegfx::BGradient::GetXOffset(), basegfx::BGradient::GetYOffset(), 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, oox::drawingml::PER_DEGREE, oox::drawingml::PER_PERCENT, PROP_FillComplexColor, PROP_GraphicCrop, basegfx::BColorStops::reverseColorStops(), SAL_MAX_INT32, basegfx::BGradient::SetAngle(), basegfx::BGradient::SetColorStops(), basegfx::BGradient::SetGradientStyle(), oox::drawingml::ShapePropertyMap::setProperty(), model::ComplexColor::setSchemeColor(), basegfx::BGradient::SetXOffset(), basegfx::BGradient::SetYOffset(), oox::drawingml::ShapePropertyMap::supportsProperty(), basegfx::BGradient::tryToRecreateBorder(), and XML_TOKEN_INVALID.

Referenced by oox::drawingml::Shape::createAndInsert(), oox::drawingml::lcl_copyCharPropsToShape(), oox::shape::WpsContext::onEndElement(), and oox::drawingml::table::TableCell::pushToXCell().

Member Data Documentation

◆ maBlipProps

BlipFillProperties oox::drawingml::FillProperties::maBlipProps

Properties for pattern fills.

Definition at line 136 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 135 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 133 of file fillproperties.hxx.

Referenced by assignUsed(), and pushToPropMap().


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