30 maSvgStyleAttributes(*this),
31 mbDecomposingSvgNode(false)
151 if(aNewTarget.empty())
void translate(double fX, double fY)
const SvgNode * findSvgNodeById(const OUString &rStr) const
find a node by its Id
void setAlternativeParent(const SvgNode *pAlternativeParent=nullptr)
alternative parent
Display getDisplay() const
Display access #i121656#.
virtual void decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer &rTarget, bool bReferenced) const
const SvgStyleAttributes * checkForCssStyle(const SvgStyleAttributes &rOriginal) const
helper to evtl. link to css style
virtual void parseAttribute(const OUString &rTokenName, SVGToken aSVGToken, const OUString &aContent)
void readLocalCssStyle(std::u16string_view aContent)
scan helper to read and interpret a local CssStyle to mpLocalCssStyle
const SvgDocument & getDocument() const
double solve(const InfoProvider &rInfoProvider, NumberType aNumberType=NumberType::length) const
void add_postProcess(drawinglayer::primitive2d::Primitive2DContainer &rTarget, drawinglayer::primitive2d::Primitive2DContainer &&rSource, const std::optional< basegfx::B2DHomMatrix > &pTransform) const
void parseStyleAttribute(SVGToken aSVGToken, const OUString &rContent)
local attribute scanner
OUString maXLink
link to content. If maXLink is set, the node can be fetched
virtual ~SvgUseNode() override
SvgStyleAttributes maSvgStyleAttributes
use styles
const SvgNumber & getX() const
x content
virtual void parseAttribute(const OUString &rTokenName, SVGToken aSVGToken, const OUString &aContent) override
virtual const SvgStyleAttributes * getSvgStyleAttributes() const override
void setTransform(const std::optional< basegfx::B2DHomMatrix > &pMatrix)
const SvgNumber & getY() const
y content
const std::optional< basegfx::B2DHomMatrix > & getTransform() const
transform content
SvgUseNode(SvgDocument &rDocument, SvgNode *pParent)
virtual void decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer &rTarget, bool bReferenced) const override
bool mbDecomposingSvgNode
detect if maXLink causes a loop to ourself during decomposing
bool readLocalLink(std::u16string_view rCandidate, OUString &rURL)
bool readSingleNumber(std::u16string_view rCandidate, SvgNumber &aNum)
basegfx::B2DHomMatrix readTransform(std::u16string_view rCandidate, InfoProvider const &rInfoProvider)