/** Overwrites all members that are explicitly set in rSourceProps. */ void assignUsed( const PatternFillProperties& rSourceProps );
};
struct ArtisticEffectProperties
{
OUString msName;
std::map< OUString, css::uno::Any >
maAttribs;
::oox::ole::OleObjectInfo mrOleObjectInfo; /// The original graphic as embedded object.
bool isEmpty() const;
/** Returns the struct as a PropertyValue with Name = msName and
* Value = maAttribs as a Sequence< PropertyValue >. */
css::beans::PropertyValue getEffect();
/** Overwrites all members that are explicitly set in rSourceProps. */ void assignUsed( const ArtisticEffectProperties& rSourceProps );
struct BlipFillProperties
{
css::uno::Reference<css::graphic::XGraphic> mxFillGraphic; /// The fill graphic.
std::optional< sal_Int32 > moBitmapMode; /// Bitmap tile or stretch.
std::optional< css::geometry::IntegerRectangle2D >
moFillRect; /// Stretch fill offsets.
std::optional< css::geometry::IntegerRectangle2D >
moClipRect;
std::optional< sal_Int32 > moTileOffsetX; /// Width of bitmap tiles (EMUs).
std::optional< sal_Int32 > moTileOffsetY; /// Height of bitmap tiles (EMUs).
std::optional< sal_Int32 > moTileScaleX; /// Horizontal scaling of bitmap tiles (1/1000 percent).
std::optional< sal_Int32 > moTileScaleY; /// Vertical scaling of bitmap tiles (1/1000 percent).
std::optional< sal_Int32 > moTileAlign; /// Anchor point inside bitmap.
std::optional< sal_Int32 > moTileFlip; /// Flip mode of bitmap tiles.
std::optional< bool > moRotateWithShape; /// True = rotate bitmap with shape. // effects
std::optional< sal_Int32 > moColorEffect; /// XML token for a color effect.
std::optional< sal_Int32 > moBrightness; /// Brightness in the range [-100000,100000].
std::optional< sal_Int32 > moContrast; /// Contrast in the range [-100000,100000].
std::optional< sal_Int32 > moBiLevelThreshold; /// Bi-Level (Black/White) effect threshold (1/1000 percent)
Color maColorChangeFrom; /// Start color of color transformation.
Color maColorChangeTo; /// Destination color of color transformation.
Color maDuotoneColors[2]; /// Duotone Colors
ArtisticEffectProperties maEffect; /// Artistic effect, not supported by core.
std::optional<sal_Int32> moAlphaModFix; ///< Alpha Modulate Fixed Effect.
/** Overwrites all members that are explicitly set in rSourceProps. */ void assignUsed( const BlipFillProperties& rSourceProps );
};
struct FillProperties
{
std::optional< sal_Int32 > moFillType; /// Fill type (OOXML token).
Color maFillColor; /// Solid fill color and transparence.
std::optional< bool > moUseBgFill; /// Whether the background is used as fill type
GradientFillProperties maGradientProps; /// Properties for gradient fills.
PatternFillProperties maPatternProps; /// Properties for pattern fills.
BlipFillProperties maBlipProps; /// Properties for bitmap fills.
/** Overwrites all members that are explicitly set in rSourceProps. */ void assignUsed( const FillProperties& rSourceProps );
/** Tries to resolve current settings to a solid color, e.g. returns the
start color of a gradient. */
Color getBestSolidColor() const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.