LibreOffice Module svgio (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svgio::svgreader::SvgStyleAttributes Class Reference

#include <svgstyleattributes.hxx>

Collaboration diagram for svgio::svgreader::SvgStyleAttributes:
[legend]

Public Member Functions

void parseStyleAttribute (SVGToken aSVGToken, const OUString &rContent)
 local attribute scanner More...
 
void add_text (drawinglayer::primitive2d::Primitive2DContainer &rTarget, drawinglayer::primitive2d::Primitive2DContainer &&rSource) const
 helper which does the necessary with a given path More...
 
void add_path (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const basegfx::utils::PointIndexSet *pHelpPointIndices) const
 
void add_postProcess (drawinglayer::primitive2d::Primitive2DContainer &rTarget, drawinglayer::primitive2d::Primitive2DContainer &&rSource, const std::optional< basegfx::B2DHomMatrix > &pTransform) const
 
void setCssStyleParent (const SvgStyleAttributes *pNew)
 helper to set mpCssStyleParent temporarily for CSS style hierarchies More...
 
const SvgStyleAttributesgetCssStyleParent () const
 
void readCssStyle (std::u16string_view rCandidate)
 scan helpers More...
 
const SvgStyleAttributesgetParentStyle () const
 
 SvgStyleAttributes (SvgNode &rOwner)
 
 ~SvgStyleAttributes ()
 
bool isFillSet () const
 fill content More...
 
const basegfx::BColorgetFill () const
 
void setFill (const SvgPaint &rFill)
 
const basegfx::BColorgetStroke () const
 stroke content More...
 
const basegfx::BColorgetStopColor () const
 stop color content More...
 
SvgNumber getStrokeWidth () const
 stroke-width content More...
 
SvgNumber getStopOpacity () const
 stop opacity content More...
 
const SvgGradientNodegetSvgGradientNodeFill () const
 access to evtl. set fill gradient More...
 
const SvgPatternNodegetSvgPatternNodeFill () const
 access to evtl. set fill pattern More...
 
const SvgGradientNodegetSvgGradientNodeStroke () const
 access to evtl. set stroke gradient More...
 
const SvgPatternNodegetSvgPatternNodeStroke () const
 access to evtl. set stroke pattern More...
 
SvgNumber getFillOpacity () const
 fill opacity content More...
 
FillRule getFillRule () const
 fill rule content More...
 
FillRule getClipRule () const
 clip rule content More...
 
const SvgNumberVectorgetStrokeDasharray () const
 fill StrokeDasharray content More...
 
SvgNumber getStrokeDashOffset () const
 StrokeDashOffset content. More...
 
StrokeLinecap getStrokeLinecap () const
 StrokeLinecap content. More...
 
void setStrokeLinecap (const StrokeLinecap aStrokeLinecap)
 
StrokeLinejoin getStrokeLinejoin () const
 StrokeLinejoin content. More...
 
void setStrokeLinejoin (const StrokeLinejoin aStrokeLinejoin)
 
SvgNumber getStrokeMiterLimit () const
 StrokeMiterLimit content. More...
 
SvgNumber getStrokeOpacity () const
 StrokeOpacity content. More...
 
const SvgStringVectorgetFontFamily () const
 Font content. More...
 
void setFontSize (const FontSize aFontSize)
 FontSize content. More...
 
SvgNumber getFontSizeNumber () const
 
FontStretch getFontStretch () const
 FontStretch content. More...
 
void setFontStretch (const FontStretch aFontStretch)
 
FontStyle getFontStyle () const
 FontStyle content. More...
 
void setFontStyle (const FontStyle aFontStyle)
 
FontWeight getFontWeight () const
 FontWeight content. More...
 
void setFontWeight (const FontWeight aFontWeight)
 
TextAlign getTextAlign () const
 TextAlign content. More...
 
void setTextAlign (const TextAlign aTextAlign)
 
const SvgStyleAttributesgetTextDecorationDefiningSvgStyleAttributes () const
 TextDecoration content. More...
 
TextDecoration getTextDecoration () const
 
void setTextDecoration (const TextDecoration aTextDecoration)
 
TextAnchor getTextAnchor () const
 TextAnchor content. More...
 
void setTextAnchor (const TextAnchor aTextAnchor)
 
const basegfx::BColorgetColor () const
 Color content. More...
 
const basegfx::BColorgetCurrentColor () const
 Resolve current color (defaults to black if no color is specified) More...
 
SvgNumber getOpacity () const
 Opacity content. More...
 
void setOpacity (const SvgNumber &rOpacity)
 
Visibility getVisibility () const
 Visibility. More...
 
void setVisibility (const Visibility aVisibility)
 
const OUString & getTitle () const
 
const OUString & getDesc () const
 
OUString getClipPathXLink () const
 
const SvgClipPathNodeaccessClipPathXLink () const
 
OUString getFilterXLink () const
 
const SvgFilterNodeaccessFilterXLink () const
 
OUString getMaskXLink () const
 
const SvgMaskNodeaccessMaskXLink () const
 
OUString getMarkerStartXLink () const
 
const SvgMarkerNodeaccessMarkerStartXLink () const
 
OUString getMarkerMidXLink () const
 
const SvgMarkerNodeaccessMarkerMidXLink () const
 
OUString getMarkerEndXLink () const
 
const SvgMarkerNodeaccessMarkerEndXLink () const
 
void setBaselineShift (const BaselineShift aBaselineShift)
 
BaselineShift getBaselineShift () const
 
SvgNumber getBaselineShiftNumber () const
 

Private Member Functions

void add_fillGradient (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const SvgGradientNode &rFillGradient, const basegfx::B2DRange &rGeoRange) const
 internal helpers More...
 
void add_fillPatternTransform (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const SvgPatternNode &rFillGradient, const basegfx::B2DRange &rGeoRange) const
 
void add_fillPattern (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const SvgPatternNode &rFillGradient, const basegfx::B2DRange &rGeoRange) const
 
void add_fill (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const basegfx::B2DRange &rGeoRange) const
 
void add_stroke (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const basegfx::B2DRange &rGeoRange) const
 
bool prepare_singleMarker (drawinglayer::primitive2d::Primitive2DContainer &rMarkerPrimitives, basegfx::B2DHomMatrix &rMarkerTransform, basegfx::B2DRange &rClipRange, const SvgMarkerNode &rMarker) const
 
void add_markers (const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const basegfx::utils::PointIndexSet *pHelpPointIndices) const
 

Private Attributes

SvgNodemrOwner
 
const SvgStyleAttributesmpCssStyleParent
 
SvgPaint maFill
 
SvgPaint maStroke
 
SvgPaint maStopColor
 
SvgNumber maStrokeWidth
 
SvgNumber maStopOpacity
 
SvgNumber maFillOpacity
 
SvgNumberVector maStrokeDasharray
 
SvgNumber maStrokeDashOffset
 
StrokeLinecap maStrokeLinecap
 
StrokeLinejoin maStrokeLinejoin
 
SvgNumber maStrokeMiterLimit
 
SvgNumber maStrokeOpacity
 
SvgStringVector maFontFamily
 
FontSize maFontSize
 
SvgNumber maFontSizeNumber
 
FontStretch maFontStretch
 
FontStyle maFontStyle
 
FontWeight maFontWeight
 
TextAlign maTextAlign
 
TextDecoration maTextDecoration
 
TextAnchor maTextAnchor
 
SvgPaint maColor
 
SvgNumber maOpacity
 
Visibility maVisibility
 
OUString maTitle
 
OUString maDesc
 
OUString maClipPathXLink
 link to content. If set, the node can be fetched on demand More...
 
OUString maFilterXLink
 
OUString maMaskXLink
 
OUString maMarkerStartXLink
 link to markers. If set, the node can be fetched on demand More...
 
OUString maMarkerMidXLink
 
OUString maMarkerEndXLink
 
FillRule maFillRule
 fill rule More...
 
FillRule maClipRule
 
BaselineShift maBaselineShift
 
SvgNumber maBaselineShiftNumber
 
std::vector< sal_uInt16 > maResolvingParent
 
bool mbIsClipPathContent: 1
 
bool mbStrokeDasharraySet: 1
 
OUString maNodeFillURL
 
OUString maNodeStrokeURL
 

Detailed Description

Definition at line 174 of file svgstyleattributes.hxx.

Constructor & Destructor Documentation

◆ SvgStyleAttributes()

svgio::svgreader::SvgStyleAttributes::SvgStyleAttributes ( SvgNode rOwner)

◆ ~SvgStyleAttributes()

svgio::svgreader::SvgStyleAttributes::~SvgStyleAttributes ( )

Definition at line 1302 of file svgstyleattributes.cxx.

Member Function Documentation

◆ accessClipPathXLink()

const SvgClipPathNode * svgio::svgreader::SvgStyleAttributes::accessClipPathXLink ( ) const

◆ accessFilterXLink()

const SvgFilterNode * svgio::svgreader::SvgStyleAttributes::accessFilterXLink ( ) const

◆ accessMarkerEndXLink()

const SvgMarkerNode * svgio::svgreader::SvgStyleAttributes::accessMarkerEndXLink ( ) const

◆ accessMarkerMidXLink()

const SvgMarkerNode * svgio::svgreader::SvgStyleAttributes::accessMarkerMidXLink ( ) const

◆ accessMarkerStartXLink()

const SvgMarkerNode * svgio::svgreader::SvgStyleAttributes::accessMarkerStartXLink ( ) const

◆ accessMaskXLink()

const SvgMaskNode * svgio::svgreader::SvgStyleAttributes::accessMaskXLink ( ) const

◆ add_fill()

void svgio::svgreader::SvgStyleAttributes::add_fill ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const basegfx::B2DRange rGeoRange 
) const
private

◆ add_fillGradient()

void svgio::svgreader::SvgStyleAttributes::add_fillGradient ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const SvgGradientNode rFillGradient,
const basegfx::B2DRange rGeoRange 
) const
private

internal helpers

Definition at line 338 of file svgstyleattributes.cxx.

References svgio::svgreader::SvgGradientNode::collectGradientEntries(), svgio::svgreader::Cx, svgio::svgreader::Cy, svgio::svgreader::SvgGradientNode::getCx(), svgio::svgreader::SvgGradientNode::getCy(), svgio::svgreader::SvgGradientNode::getFx(), svgio::svgreader::SvgGradientNode::getFy(), svgio::svgreader::SvgGradientNode::getGradientTransform(), svgio::svgreader::SvgGradientNode::getGradientUnits(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), getLength(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), svgio::svgreader::SvgNumber::getNumber(), svgio::svgreader::SvgGradientNode::getR(), svgio::svgreader::SvgGradientNode::getSpreadMethod(), svgio::svgreader::SvgNode::getType(), svgio::svgreader::SvgNumber::getUnit(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), basegfx::Tuple2D< typename TYPE >::getX(), svgio::svgreader::SvgGradientNode::getX1(), svgio::svgreader::SvgGradientNode::getX2(), basegfx::Tuple2D< typename TYPE >::getY(), svgio::svgreader::SvgGradientNode::getY1(), svgio::svgreader::SvgGradientNode::getY2(), basegfx::B2DHomMatrix::isIdentity(), svgio::svgreader::LinearGradient, mrOwner, svgio::svgreader::percent, R, rTarget, basegfx::B2DHomMatrix::scale(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), svgio::svgreader::SvgNumber::solve(), basegfx::B2DHomMatrix::translate(), svgio::svgreader::userSpaceOnUse, svgio::svgreader::X1, svgio::svgreader::X2, svgio::svgreader::xcoordinate, svgio::svgreader::Y1, svgio::svgreader::Y2, and svgio::svgreader::ycoordinate.

Referenced by add_fill(), and add_stroke().

◆ add_fillPattern()

void svgio::svgreader::SvgStyleAttributes::add_fillPattern ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const SvgPatternNode rFillGradient,
const basegfx::B2DRange rGeoRange 
) const
private

◆ add_fillPatternTransform()

void svgio::svgreader::SvgStyleAttributes::add_fillPatternTransform ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const SvgPatternNode rFillGradient,
const basegfx::B2DRange rGeoRange 
) const
private

◆ add_markers()

void svgio::svgreader::SvgStyleAttributes::add_markers ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const basegfx::utils::PointIndexSet pHelpPointIndices 
) const
private

◆ add_path()

void svgio::svgreader::SvgStyleAttributes::add_path ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const basegfx::utils::PointIndexSet pHelpPointIndices 
) const

◆ add_postProcess()

void svgio::svgreader::SvgStyleAttributes::add_postProcess ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
drawinglayer::primitive2d::Primitive2DContainer &&  rSource,
const std::optional< basegfx::B2DHomMatrix > &  pTransform 
) const

◆ add_stroke()

void svgio::svgreader::SvgStyleAttributes::add_stroke ( const basegfx::B2DPolyPolygon rPath,
drawinglayer::primitive2d::Primitive2DContainer rTarget,
const basegfx::B2DRange rGeoRange 
) const
private

◆ add_text()

void svgio::svgreader::SvgStyleAttributes::add_text ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
drawinglayer::primitive2d::Primitive2DContainer &&  rSource 
) const

◆ getBaselineShift()

BaselineShift svgio::svgreader::SvgStyleAttributes::getBaselineShift ( ) const
inline

◆ getBaselineShiftNumber()

SvgNumber svgio::svgreader::SvgStyleAttributes::getBaselineShiftNumber ( ) const

◆ getClipPathXLink()

OUString svgio::svgreader::SvgStyleAttributes::getClipPathXLink ( ) const

◆ getClipRule()

FillRule svgio::svgreader::SvgStyleAttributes::getClipRule ( ) const

◆ getColor()

const basegfx::BColor * svgio::svgreader::SvgStyleAttributes::getColor ( ) const

◆ getCssStyleParent()

const SvgStyleAttributes * svgio::svgreader::SvgStyleAttributes::getCssStyleParent ( ) const
inline

Definition at line 294 of file svgstyleattributes.hxx.

References mpCssStyleParent.

Referenced by getParentStyle().

◆ getCurrentColor()

const basegfx::BColor * svgio::svgreader::SvgStyleAttributes::getCurrentColor ( ) const

Resolve current color (defaults to black if no color is specified)

Definition at line 1982 of file svgstyleattributes.cxx.

References getColor().

Referenced by getFill(), getStopColor(), and getStroke().

◆ getDesc()

const OUString & svgio::svgreader::SvgStyleAttributes::getDesc ( ) const
inline

Definition at line 411 of file svgstyleattributes.hxx.

References maDesc.

Referenced by svgio::svgreader::SvgNode::decomposeSvgNode().

◆ getFill()

const basegfx::BColor * svgio::svgreader::SvgStyleAttributes::getFill ( ) const

◆ getFillOpacity()

SvgNumber svgio::svgreader::SvgStyleAttributes::getFillOpacity ( ) const

◆ getFillRule()

FillRule svgio::svgreader::SvgStyleAttributes::getFillRule ( ) const

◆ getFilterXLink()

OUString svgio::svgreader::SvgStyleAttributes::getFilterXLink ( ) const

◆ getFontFamily()

const SvgStringVector & svgio::svgreader::SvgStyleAttributes::getFontFamily ( ) const

◆ getFontSizeNumber()

SvgNumber svgio::svgreader::SvgStyleAttributes::getFontSizeNumber ( ) const

◆ getFontStretch()

FontStretch svgio::svgreader::SvgStyleAttributes::getFontStretch ( ) const

◆ getFontStyle()

FontStyle svgio::svgreader::SvgStyleAttributes::getFontStyle ( ) const

◆ getFontWeight()

FontWeight svgio::svgreader::SvgStyleAttributes::getFontWeight ( ) const

◆ getMarkerEndXLink()

OUString svgio::svgreader::SvgStyleAttributes::getMarkerEndXLink ( ) const

◆ getMarkerMidXLink()

OUString svgio::svgreader::SvgStyleAttributes::getMarkerMidXLink ( ) const

◆ getMarkerStartXLink()

OUString svgio::svgreader::SvgStyleAttributes::getMarkerStartXLink ( ) const

◆ getMaskXLink()

OUString svgio::svgreader::SvgStyleAttributes::getMaskXLink ( ) const

◆ getOpacity()

SvgNumber svgio::svgreader::SvgStyleAttributes::getOpacity ( ) const

◆ getParentStyle()

const SvgStyleAttributes * svgio::svgreader::SvgStyleAttributes::getParentStyle ( ) const

◆ getStopColor()

const basegfx::BColor & svgio::svgreader::SvgStyleAttributes::getStopColor ( ) const

◆ getStopOpacity()

SvgNumber svgio::svgreader::SvgStyleAttributes::getStopOpacity ( ) const

◆ getStroke()

const basegfx::BColor * svgio::svgreader::SvgStyleAttributes::getStroke ( ) const

◆ getStrokeDasharray()

const SvgNumberVector & svgio::svgreader::SvgStyleAttributes::getStrokeDasharray ( ) const

◆ getStrokeDashOffset()

SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeDashOffset ( ) const

◆ getStrokeLinecap()

StrokeLinecap svgio::svgreader::SvgStyleAttributes::getStrokeLinecap ( ) const

◆ getStrokeLinejoin()

StrokeLinejoin svgio::svgreader::SvgStyleAttributes::getStrokeLinejoin ( ) const

◆ getStrokeMiterLimit()

SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeMiterLimit ( ) const

◆ getStrokeOpacity()

SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeOpacity ( ) const

◆ getStrokeWidth()

SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeWidth ( ) const

◆ getSvgGradientNodeFill()

const SvgGradientNode * svgio::svgreader::SvgStyleAttributes::getSvgGradientNodeFill ( ) const

◆ getSvgGradientNodeStroke()

const SvgGradientNode * svgio::svgreader::SvgStyleAttributes::getSvgGradientNodeStroke ( ) const

◆ getSvgPatternNodeFill()

const SvgPatternNode * svgio::svgreader::SvgStyleAttributes::getSvgPatternNodeFill ( ) const

◆ getSvgPatternNodeStroke()

const SvgPatternNode * svgio::svgreader::SvgStyleAttributes::getSvgPatternNodeStroke ( ) const

◆ getTextAlign()

TextAlign svgio::svgreader::SvgStyleAttributes::getTextAlign ( ) const

◆ getTextAnchor()

TextAnchor svgio::svgreader::SvgStyleAttributes::getTextAnchor ( ) const

◆ getTextDecoration()

TextDecoration svgio::svgreader::SvgStyleAttributes::getTextDecoration ( ) const

◆ getTextDecorationDefiningSvgStyleAttributes()

const SvgStyleAttributes * svgio::svgreader::SvgStyleAttributes::getTextDecorationDefiningSvgStyleAttributes ( ) const

◆ getTitle()

const OUString & svgio::svgreader::SvgStyleAttributes::getTitle ( ) const
inline

Definition at line 408 of file svgstyleattributes.hxx.

References maTitle.

Referenced by svgio::svgreader::SvgNode::decomposeSvgNode().

◆ getVisibility()

Visibility svgio::svgreader::SvgStyleAttributes::getVisibility ( ) const

◆ isFillSet()

bool svgio::svgreader::SvgStyleAttributes::isFillSet ( ) const

◆ parseStyleAttribute()

void svgio::svgreader::SvgStyleAttributes::parseStyleAttribute ( SVGToken  aSVGToken,
const OUString &  rContent 
)

local attribute scanner

Definition at line 1306 of file svgstyleattributes.cxx.

References svgio::svgreader::commonStrings::aStrEvenOdd, svgio::svgreader::commonStrings::aStrNonzero, aURL, svgio::svgreader::Baseline, svgio::svgreader::BaselineShift, svgio::svgreader::bevel, svgio::svgreader::blink, svgio::svgreader::bolder, svgio::svgreader::butt, svgio::svgreader::center, svgio::svgreader::ClipPathProperty, svgio::svgreader::ClipRule, svgio::svgreader::collapse, svgio::svgreader::Color, svgio::svgreader::condensed, svgio::svgreader::Desc, svgio::svgreader::Direction, svgio::svgreader::Display, svgio::svgreader::end, o3tl::equalsIgnoreAsciiCase(), svgio::svgreader::evenodd, svgio::svgreader::expanded, svgio::svgreader::extra_condensed, svgio::svgreader::extra_expanded, svgio::svgreader::Fill, svgio::svgreader::FillOpacity, svgio::svgreader::FillRule, svgio::svgreader::Filter, svgio::svgreader::Font, svgio::svgreader::FontFamily, svgio::svgreader::FontSize, svgio::svgreader::FontSizeAdjust, svgio::svgreader::FontStretch, svgio::svgreader::FontStyle, svgio::svgreader::FontVariant, svgio::svgreader::FontWeight, svgio::svgreader::getDisplayFromContent(), svgio::svgreader::SvgNumber::getNumber(), svgio::svgreader::SvgNode::getType(), svgio::svgreader::SvgNumber::getUnit(), svgio::svgreader::hidden, svgio::svgreader::inherit, svgio::svgreader::initial, svgio::svgreader::SvgNumber::isPositive(), svgio::svgreader::SvgNumber::isSet(), svgio::svgreader::italic, svgio::svgreader::justify, svgio::svgreader::large, svgio::svgreader::larger, svgio::svgreader::left, svgio::svgreader::Length, svgio::svgreader::LetterSpacing, svgio::svgreader::lighter, svgio::svgreader::line_through, maBaselineShiftNumber, maClipPathXLink, maClipRule, maColor, maDesc, maFillOpacity, maFillRule, maFilterXLink, maFontFamily, maFontSizeNumber, maMarkerEndXLink, maMarkerMidXLink, maMarkerStartXLink, maMaskXLink, maNodeFillURL, maNodeStrokeURL, svgio::svgreader::Marker, svgio::svgreader::MarkerEnd, svgio::svgreader::MarkerMid, svgio::svgreader::MarkerStart, svgio::svgreader::Mask, maStopColor, maStopOpacity, maStroke, maStrokeDasharray, maStrokeDashOffset, maStrokeMiterLimit, maStrokeOpacity, maStrokeWidth, maTitle, mbStrokeDasharraySet, svgio::svgreader::medium, svgio::svgreader::middle, svgio::svgreader::miter, basegfx::fTools::moreOrEqual(), mrOwner, svgio::svgreader::N100, svgio::svgreader::N200, svgio::svgreader::N300, svgio::svgreader::N400, svgio::svgreader::N500, svgio::svgreader::N600, svgio::svgreader::N700, svgio::svgreader::N800, svgio::svgreader::N900, svgio::svgreader::narrower, svgio::svgreader::none, svgio::svgreader::nonzero, svgio::svgreader::normal, svgio::svgreader::oblique, svgio::svgreader::Opacity, svgio::svgreader::overline, svgio::svgreader::percent, svgio::svgreader::Percentage, svgio::svgreader::readLocalUrl(), svgio::svgreader::readSingleNumber(), svgio::svgreader::readSvgNumberVector(), svgio::svgreader::readSvgPaint(), svgio::svgreader::readSvgStringVector(), svgio::svgreader::right, svgio::svgreader::round, svgio::svgreader::semi_condensed, svgio::svgreader::semi_expanded, setBaselineShift(), svgio::svgreader::SvgNode::setDisplay(), setFill(), setFontSize(), setFontStretch(), setFontStyle(), setFontWeight(), setOpacity(), setStrokeLinecap(), setStrokeLinejoin(), setTextAlign(), setTextAnchor(), setTextDecoration(), setVisibility(), svgio::svgreader::small, svgio::svgreader::smaller, svgio::svgreader::square, svgio::svgreader::start, svgio::svgreader::StopColor, svgio::svgreader::StopOpacity, svgio::svgreader::Stroke, svgio::svgreader::StrokeDasharray, svgio::svgreader::StrokeDashoffset, svgio::svgreader::StrokeLinecap, svgio::svgreader::StrokeLinejoin, svgio::svgreader::StrokeMiterlimit, svgio::svgreader::StrokeOpacity, svgio::svgreader::StrokeWidth, svgio::svgreader::Style, svgio::svgreader::Sub, svgio::svgreader::Super, svgio::svgreader::TextAlign, svgio::svgreader::TextAnchor, svgio::svgreader::TextDecoration, svgio::svgreader::Title, o3tl::trim(), u, svgio::svgreader::ultra_condensed, svgio::svgreader::ultra_expanded, svgio::svgreader::underline, svgio::svgreader::UnicodeBidi, svgio::svgreader::Visibility, svgio::svgreader::visible, svgio::svgreader::wider, svgio::svgreader::WordSpacing, svgio::svgreader::x_large, svgio::svgreader::x_small, svgio::svgreader::xx_large, and svgio::svgreader::xx_small.

Referenced by svgio::svgreader::SvgANode::parseAttribute(), svgio::svgreader::SvgCircleNode::parseAttribute(), svgio::svgreader::SvgClipPathNode::parseAttribute(), svgio::svgreader::SvgEllipseNode::parseAttribute(), svgio::svgreader::SvgGNode::parseAttribute(), svgio::svgreader::SvgGradientNode::parseAttribute(), svgio::svgreader::SvgGradientStopNode::parseAttribute(), svgio::svgreader::SvgImageNode::parseAttribute(), svgio::svgreader::SvgLineNode::parseAttribute(), svgio::svgreader::SvgMarkerNode::parseAttribute(), svgio::svgreader::SvgMaskNode::parseAttribute(), svgio::svgreader::SvgPathNode::parseAttribute(), svgio::svgreader::SvgPatternNode::parseAttribute(), svgio::svgreader::SvgPolyNode::parseAttribute(), svgio::svgreader::SvgRectNode::parseAttribute(), svgio::svgreader::SvgSvgNode::parseAttribute(), svgio::svgreader::SvgSymbolNode::parseAttribute(), svgio::svgreader::SvgTextNode::parseAttribute(), svgio::svgreader::SvgTextPathNode::parseAttribute(), svgio::svgreader::SvgTrefNode::parseAttribute(), svgio::svgreader::SvgTspanNode::parseAttribute(), svgio::svgreader::SvgUseNode::parseAttribute(), and readCssStyle().

◆ prepare_singleMarker()

bool svgio::svgreader::SvgStyleAttributes::prepare_singleMarker ( drawinglayer::primitive2d::Primitive2DContainer rMarkerPrimitives,
basegfx::B2DHomMatrix rMarkerTransform,
basegfx::B2DRange rClipRange,
const SvgMarkerNode rMarker 
) const
private

◆ readCssStyle()

void svgio::svgreader::SvgStyleAttributes::readCssStyle ( std::u16string_view  rCandidate)

◆ setBaselineShift()

void svgio::svgreader::SvgStyleAttributes::setBaselineShift ( const BaselineShift  aBaselineShift)
inline

Definition at line 438 of file svgstyleattributes.hxx.

References maBaselineShift.

Referenced by parseStyleAttribute().

◆ setCssStyleParent()

void svgio::svgreader::SvgStyleAttributes::setCssStyleParent ( const SvgStyleAttributes pNew)
inline

helper to set mpCssStyleParent temporarily for CSS style hierarchies

Definition at line 293 of file svgstyleattributes.hxx.

References mpCssStyleParent.

Referenced by svgio::svgreader::SvgNode::checkForCssStyle().

◆ setFill()

void svgio::svgreader::SvgStyleAttributes::setFill ( const SvgPaint rFill)
inline

◆ setFontSize()

void svgio::svgreader::SvgStyleAttributes::setFontSize ( const FontSize  aFontSize)
inline

FontSize content.

Definition at line 365 of file svgstyleattributes.hxx.

References maFontSize.

Referenced by parseStyleAttribute().

◆ setFontStretch()

void svgio::svgreader::SvgStyleAttributes::setFontStretch ( const FontStretch  aFontStretch)
inline

Definition at line 370 of file svgstyleattributes.hxx.

References maFontStretch.

Referenced by parseStyleAttribute().

◆ setFontStyle()

void svgio::svgreader::SvgStyleAttributes::setFontStyle ( const FontStyle  aFontStyle)
inline

Definition at line 374 of file svgstyleattributes.hxx.

References maFontStyle.

Referenced by parseStyleAttribute().

◆ setFontWeight()

void svgio::svgreader::SvgStyleAttributes::setFontWeight ( const FontWeight  aFontWeight)
inline

Definition at line 378 of file svgstyleattributes.hxx.

References maFontWeight.

Referenced by parseStyleAttribute().

◆ setOpacity()

void svgio::svgreader::SvgStyleAttributes::setOpacity ( const SvgNumber rOpacity)
inline

Definition at line 401 of file svgstyleattributes.hxx.

References maOpacity.

Referenced by parseStyleAttribute().

◆ setStrokeLinecap()

void svgio::svgreader::SvgStyleAttributes::setStrokeLinecap ( const StrokeLinecap  aStrokeLinecap)
inline

Definition at line 349 of file svgstyleattributes.hxx.

References maStrokeLinecap.

Referenced by parseStyleAttribute().

◆ setStrokeLinejoin()

void svgio::svgreader::SvgStyleAttributes::setStrokeLinejoin ( const StrokeLinejoin  aStrokeLinejoin)
inline

Definition at line 353 of file svgstyleattributes.hxx.

References maStrokeLinejoin.

Referenced by parseStyleAttribute().

◆ setTextAlign()

void svgio::svgreader::SvgStyleAttributes::setTextAlign ( const TextAlign  aTextAlign)
inline

Definition at line 382 of file svgstyleattributes.hxx.

References maTextAlign.

Referenced by parseStyleAttribute().

◆ setTextAnchor()

void svgio::svgreader::SvgStyleAttributes::setTextAnchor ( const TextAnchor  aTextAnchor)
inline

Definition at line 391 of file svgstyleattributes.hxx.

References maTextAnchor.

Referenced by parseStyleAttribute().

◆ setTextDecoration()

void svgio::svgreader::SvgStyleAttributes::setTextDecoration ( const TextDecoration  aTextDecoration)
inline

Definition at line 387 of file svgstyleattributes.hxx.

References maTextDecoration.

Referenced by parseStyleAttribute().

◆ setVisibility()

void svgio::svgreader::SvgStyleAttributes::setVisibility ( const Visibility  aVisibility)
inline

Definition at line 405 of file svgstyleattributes.hxx.

References maVisibility.

Referenced by parseStyleAttribute().

Member Data Documentation

◆ maBaselineShift

BaselineShift svgio::svgreader::SvgStyleAttributes::maBaselineShift
private

Definition at line 223 of file svgstyleattributes.hxx.

Referenced by getBaselineShift(), and setBaselineShift().

◆ maBaselineShiftNumber

SvgNumber svgio::svgreader::SvgStyleAttributes::maBaselineShiftNumber
private

Definition at line 224 of file svgstyleattributes.hxx.

Referenced by getBaselineShiftNumber(), and parseStyleAttribute().

◆ maClipPathXLink

OUString svgio::svgreader::SvgStyleAttributes::maClipPathXLink
private

link to content. If set, the node can be fetched on demand

Definition at line 207 of file svgstyleattributes.hxx.

Referenced by getClipPathXLink(), and parseStyleAttribute().

◆ maClipRule

FillRule svgio::svgreader::SvgStyleAttributes::maClipRule
private

Definition at line 220 of file svgstyleattributes.hxx.

Referenced by getClipRule(), and parseStyleAttribute().

◆ maColor

SvgPaint svgio::svgreader::SvgStyleAttributes::maColor
private

Definition at line 200 of file svgstyleattributes.hxx.

Referenced by getColor(), and parseStyleAttribute().

◆ maDesc

OUString svgio::svgreader::SvgStyleAttributes::maDesc
private

Definition at line 204 of file svgstyleattributes.hxx.

Referenced by getDesc(), and parseStyleAttribute().

◆ maFill

SvgPaint svgio::svgreader::SvgStyleAttributes::maFill
private

◆ maFillOpacity

SvgNumber svgio::svgreader::SvgStyleAttributes::maFillOpacity
private

Definition at line 184 of file svgstyleattributes.hxx.

Referenced by getFillOpacity(), and parseStyleAttribute().

◆ maFillRule

FillRule svgio::svgreader::SvgStyleAttributes::maFillRule
private

fill rule

Definition at line 217 of file svgstyleattributes.hxx.

Referenced by getFillRule(), and parseStyleAttribute().

◆ maFilterXLink

OUString svgio::svgreader::SvgStyleAttributes::maFilterXLink
private

Definition at line 208 of file svgstyleattributes.hxx.

Referenced by getFilterXLink(), and parseStyleAttribute().

◆ maFontFamily

SvgStringVector svgio::svgreader::SvgStyleAttributes::maFontFamily
private

Definition at line 191 of file svgstyleattributes.hxx.

Referenced by getFontFamily(), and parseStyleAttribute().

◆ maFontSize

FontSize svgio::svgreader::SvgStyleAttributes::maFontSize
private

Definition at line 192 of file svgstyleattributes.hxx.

Referenced by getFontSizeNumber(), and setFontSize().

◆ maFontSizeNumber

SvgNumber svgio::svgreader::SvgStyleAttributes::maFontSizeNumber
private

Definition at line 193 of file svgstyleattributes.hxx.

Referenced by getFontSizeNumber(), and parseStyleAttribute().

◆ maFontStretch

FontStretch svgio::svgreader::SvgStyleAttributes::maFontStretch
private

Definition at line 194 of file svgstyleattributes.hxx.

Referenced by getFontStretch(), and setFontStretch().

◆ maFontStyle

FontStyle svgio::svgreader::SvgStyleAttributes::maFontStyle
private

Definition at line 195 of file svgstyleattributes.hxx.

Referenced by getFontStyle(), and setFontStyle().

◆ maFontWeight

FontWeight svgio::svgreader::SvgStyleAttributes::maFontWeight
private

Definition at line 196 of file svgstyleattributes.hxx.

Referenced by getFontWeight(), and setFontWeight().

◆ maMarkerEndXLink

OUString svgio::svgreader::SvgStyleAttributes::maMarkerEndXLink
private

Definition at line 214 of file svgstyleattributes.hxx.

Referenced by getMarkerEndXLink(), and parseStyleAttribute().

◆ maMarkerMidXLink

OUString svgio::svgreader::SvgStyleAttributes::maMarkerMidXLink
private

Definition at line 213 of file svgstyleattributes.hxx.

Referenced by getMarkerMidXLink(), and parseStyleAttribute().

◆ maMarkerStartXLink

OUString svgio::svgreader::SvgStyleAttributes::maMarkerStartXLink
private

link to markers. If set, the node can be fetched on demand

Definition at line 212 of file svgstyleattributes.hxx.

Referenced by getMarkerStartXLink(), and parseStyleAttribute().

◆ maMaskXLink

OUString svgio::svgreader::SvgStyleAttributes::maMaskXLink
private

Definition at line 209 of file svgstyleattributes.hxx.

Referenced by getMaskXLink(), and parseStyleAttribute().

◆ maNodeFillURL

OUString svgio::svgreader::SvgStyleAttributes::maNodeFillURL
private

◆ maNodeStrokeURL

OUString svgio::svgreader::SvgStyleAttributes::maNodeStrokeURL
private

◆ maOpacity

SvgNumber svgio::svgreader::SvgStyleAttributes::maOpacity
private

Definition at line 201 of file svgstyleattributes.hxx.

Referenced by getOpacity(), and setOpacity().

◆ maResolvingParent

std::vector<sal_uInt16> svgio::svgreader::SvgStyleAttributes::maResolvingParent
mutableprivate

◆ maStopColor

SvgPaint svgio::svgreader::SvgStyleAttributes::maStopColor
private

Definition at line 181 of file svgstyleattributes.hxx.

Referenced by getStopColor(), and parseStyleAttribute().

◆ maStopOpacity

SvgNumber svgio::svgreader::SvgStyleAttributes::maStopOpacity
private

Definition at line 183 of file svgstyleattributes.hxx.

Referenced by getStopOpacity(), and parseStyleAttribute().

◆ maStroke

SvgPaint svgio::svgreader::SvgStyleAttributes::maStroke
private

◆ maStrokeDasharray

SvgNumberVector svgio::svgreader::SvgStyleAttributes::maStrokeDasharray
private

Definition at line 185 of file svgstyleattributes.hxx.

Referenced by getStrokeDasharray(), and parseStyleAttribute().

◆ maStrokeDashOffset

SvgNumber svgio::svgreader::SvgStyleAttributes::maStrokeDashOffset
private

Definition at line 186 of file svgstyleattributes.hxx.

Referenced by getStrokeDashOffset(), and parseStyleAttribute().

◆ maStrokeLinecap

StrokeLinecap svgio::svgreader::SvgStyleAttributes::maStrokeLinecap
private

Definition at line 187 of file svgstyleattributes.hxx.

Referenced by getStrokeLinecap(), and setStrokeLinecap().

◆ maStrokeLinejoin

StrokeLinejoin svgio::svgreader::SvgStyleAttributes::maStrokeLinejoin
private

Definition at line 188 of file svgstyleattributes.hxx.

Referenced by getStrokeLinejoin(), and setStrokeLinejoin().

◆ maStrokeMiterLimit

SvgNumber svgio::svgreader::SvgStyleAttributes::maStrokeMiterLimit
private

Definition at line 189 of file svgstyleattributes.hxx.

Referenced by getStrokeMiterLimit(), and parseStyleAttribute().

◆ maStrokeOpacity

SvgNumber svgio::svgreader::SvgStyleAttributes::maStrokeOpacity
private

Definition at line 190 of file svgstyleattributes.hxx.

Referenced by getStrokeOpacity(), and parseStyleAttribute().

◆ maStrokeWidth

SvgNumber svgio::svgreader::SvgStyleAttributes::maStrokeWidth
private

Definition at line 182 of file svgstyleattributes.hxx.

Referenced by getStrokeWidth(), and parseStyleAttribute().

◆ maTextAlign

TextAlign svgio::svgreader::SvgStyleAttributes::maTextAlign
private

Definition at line 197 of file svgstyleattributes.hxx.

Referenced by getTextAlign(), and setTextAlign().

◆ maTextAnchor

TextAnchor svgio::svgreader::SvgStyleAttributes::maTextAnchor
private

Definition at line 199 of file svgstyleattributes.hxx.

Referenced by getTextAnchor(), and setTextAnchor().

◆ maTextDecoration

TextDecoration svgio::svgreader::SvgStyleAttributes::maTextDecoration
private

◆ maTitle

OUString svgio::svgreader::SvgStyleAttributes::maTitle
private

Definition at line 203 of file svgstyleattributes.hxx.

Referenced by getTitle(), and parseStyleAttribute().

◆ maVisibility

Visibility svgio::svgreader::SvgStyleAttributes::maVisibility
private

Definition at line 202 of file svgstyleattributes.hxx.

Referenced by getVisibility(), and setVisibility().

◆ mbIsClipPathContent

bool svgio::svgreader::SvgStyleAttributes::mbIsClipPathContent
private

Definition at line 231 of file svgstyleattributes.hxx.

Referenced by getFill(), getStrokeWidth(), isFillSet(), and SvgStyleAttributes().

◆ mbStrokeDasharraySet

bool svgio::svgreader::SvgStyleAttributes::mbStrokeDasharraySet
private

Definition at line 234 of file svgstyleattributes.hxx.

Referenced by getStrokeDasharray(), and parseStyleAttribute().

◆ mpCssStyleParent

const SvgStyleAttributes* svgio::svgreader::SvgStyleAttributes::mpCssStyleParent
private

Definition at line 178 of file svgstyleattributes.hxx.

Referenced by getCssStyleParent(), and setCssStyleParent().

◆ mrOwner

SvgNode& svgio::svgreader::SvgStyleAttributes::mrOwner
private

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