LibreOffice Module svgio (master) 1
|
#include <svgnode.hxx>
Public Member Functions | |
SvgNode (SVGToken aType, SvgDocument &rDocument, SvgNode *pParent) | |
virtual | ~SvgNode () override |
SvgNode (const SvgNode &)=delete | |
SvgNode & | operator= (const SvgNode &)=delete |
void | accept (Visitor &rVisitor) |
void | readLocalCssStyle (std::u16string_view aContent) |
scan helper to read and interpret a local CssStyle to mpLocalCssStyle More... | |
void | parseAttributes (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) |
style helpers More... | |
virtual const SvgStyleAttributes * | getSvgStyleAttributes () const |
virtual void | parseAttribute (const OUString &rTokenName, SVGToken aSVGToken, const OUString &aContent) |
virtual void | decomposeSvgNode (drawinglayer::primitive2d::Primitive2DContainer &rTarget, bool bReferenced) const |
virtual bool | supportsParentStyle () const |
#i125258# tell if this node is allowed to have a parent style (e.g. defs do not) More... | |
SVGToken | getType () const |
basic data read access More... | |
const SvgDocument & | getDocument () const |
const SvgNode * | getParent () const |
const std::vector< std::unique_ptr< SvgNode > > & | getChildren () const |
virtual basegfx::B2DRange | getCurrentViewPort () const override |
InfoProvider support for %, em and ex values. More... | |
virtual double | getCurrentFontSizeInherited () const override |
return font size of node inherited from parents More... | |
virtual double | getCurrentXHeightInherited () const override |
return xheight of node inherited from parents More... | |
double | getCurrentFontSize () const |
double | getCurrentXHeight () const |
std::optional< OUString > const & | getId () const |
Id access. More... | |
void | setId (OUString const &) |
std::optional< OUString > const & | getClass () const |
Class access. More... | |
void | setClass (OUString const &) |
XmlSpace | getXmlSpace () const |
XmlSpace access. More... | |
void | setXmlSpace (XmlSpace eXmlSpace) |
Display | getDisplay () const |
Display access #i121656#. More... | |
void | setDisplay (Display eDisplay) |
void | setAlternativeParent (const SvgNode *pAlternativeParent=nullptr) |
alternative parent More... | |
bool | hasLocalCssStyle () |
Check if there is a local css style. More... | |
Public Member Functions inherited from svgio::svgreader::InfoProvider | |
virtual | ~InfoProvider () |
virtual basegfx::B2DRange | getCurrentViewPort () const =0 |
virtual double | getCurrentFontSizeInherited () const =0 |
return font size of node inherited from parents More... | |
virtual double | getCurrentXHeightInherited () const =0 |
return xheight of node inherited from parents More... | |
Protected Member Functions | |
const SvgStyleAttributes * | checkForCssStyle (const SvgStyleAttributes &rOriginal) const |
helper to evtl. link to css style More... | |
void | fillCssStyleVector (const SvgStyleAttributes &rOriginal) |
helper for filling the CssStyle vector once dependent on mbCssStyleVectorBuilt More... | |
void | addCssStyle (const SvgDocument &rDocument, const OUString &aConcatenated) |
void | fillCssStyleVectorUsingHierarchyAndSelectors (const SvgNode &rCurrent, const OUString &aConcatenated) |
void | fillCssStyleVectorUsingParent (const SvgNode &rCurrent) |
Private Attributes | |
SVGToken | maType |
basic data, Type, document we belong to and parent (if not root) More... | |
SvgDocument & | mrDocument |
const SvgNode * | mpParent |
const SvgNode * | mpAlternativeParent |
std::vector< std::unique_ptr< SvgNode > > | maChildren |
sub hierarchy More... | |
std::optional< OUString > | mpId |
Id svan value. More... | |
std::optional< OUString > | mpClass |
Class svan value. More... | |
XmlSpace | maXmlSpace |
XmlSpace value. More... | |
Display | maDisplay |
Display value #i121656#. More... | |
::std::vector< const SvgStyleAttributes * > | maCssStyleVector |
std::unique_ptr< SvgStyleAttributes > | mpLocalCssStyle |
possible local CssStyle, e.g. style="fill:red; stroke:red;" More... | |
bool | mbDecomposing |
bool | mbCssStyleVectorBuilt: 1 |
Definition at line 80 of file svgnode.hxx.
svgio::svgreader::SvgNode::SvgNode | ( | SVGToken | aType, |
SvgDocument & | rDocument, | ||
SvgNode * | pParent | ||
) |
Definition at line 385 of file svgnode.cxx.
References svgio::svgreader::SvgDocument::addOrphanNode(), getType(), svgio::svgreader::Inline, maChildren, maType, mpParent, mrDocument, svgio::svgreader::NotSet, and svgio::svgreader::Unknown.
|
overridevirtual |
Definition at line 408 of file svgnode.cxx.
|
delete |
void svgio::svgreader::SvgNode::accept | ( | Visitor & | rVisitor | ) |
Definition at line 795 of file svgnode.cxx.
References svgio::svgreader::Visitor::visit().
|
protected |
Definition at line 42 of file svgnode.cxx.
References svgio::svgreader::SvgDocument::findGlobalCssStyleAttributes(), and maCssStyleVector.
Referenced by fillCssStyleVectorUsingHierarchyAndSelectors(), and fillCssStyleVectorUsingParent().
|
protected |
helper to evtl. link to css style
Definition at line 335 of file svgnode.cxx.
References a, fillCssStyleVector(), maCssStyleVector, mbCssStyleVectorBuilt, and svgio::svgreader::SvgStyleAttributes::setCssStyleParent().
Referenced by svgio::svgreader::SvgANode::getSvgStyleAttributes(), svgio::svgreader::SvgCircleNode::getSvgStyleAttributes(), svgio::svgreader::SvgEllipseNode::getSvgStyleAttributes(), svgio::svgreader::SvgGNode::getSvgStyleAttributes(), svgio::svgreader::SvgGradientNode::getSvgStyleAttributes(), svgio::svgreader::SvgGradientStopNode::getSvgStyleAttributes(), svgio::svgreader::SvgImageNode::getSvgStyleAttributes(), svgio::svgreader::SvgLineNode::getSvgStyleAttributes(), svgio::svgreader::SvgMarkerNode::getSvgStyleAttributes(), svgio::svgreader::SvgPathNode::getSvgStyleAttributes(), svgio::svgreader::SvgPatternNode::getSvgStyleAttributes(), svgio::svgreader::SvgPolyNode::getSvgStyleAttributes(), svgio::svgreader::SvgRectNode::getSvgStyleAttributes(), svgio::svgreader::SvgSvgNode::getSvgStyleAttributes(), svgio::svgreader::SvgTextNode::getSvgStyleAttributes(), svgio::svgreader::SvgTspanNode::getSvgStyleAttributes(), and svgio::svgreader::SvgUseNode::getSvgStyleAttributes().
|
virtual |
Reimplemented in svgio::svgreader::SvgANode, svgio::svgreader::SvgCircleNode, svgio::svgreader::SvgClipPathNode, svgio::svgreader::SvgEllipseNode, svgio::svgreader::SvgGNode, svgio::svgreader::SvgImageNode, svgio::svgreader::SvgLineNode, svgio::svgreader::SvgMaskNode, svgio::svgreader::SvgPathNode, svgio::svgreader::SvgPolyNode, svgio::svgreader::SvgRectNode, svgio::svgreader::SvgSvgNode, svgio::svgreader::SvgTextNode, and svgio::svgreader::SvgUseNode.
Definition at line 584 of file svgnode.cxx.
References a, aURL, svgio::svgreader::ClipPathNode, decomposeSvgNode(), svgio::svgreader::Defs, svgio::svgreader::SvgDocument::getAbsolutePath(), getChildren(), svgio::svgreader::SvgStyleAttributes::getDesc(), getDisplay(), getDocument(), getSvgStyleAttributes(), svgio::svgreader::SvgStyleAttributes::getTitle(), getType(), svgio::svgreader::SvgStyleAttributes::getVisibility(), INetURLObject::LAST_SEGMENT, svgio::svgreader::Marker, svgio::svgreader::Mask, mbDecomposing, nCount, svgio::svgreader::None, svgio::svgreader::Pattern, rTarget, svgio::svgreader::Svg, svgio::svgreader::Symbol, svgio::svgreader::visible, and INetURLObject::WithCharset.
Referenced by decomposeSvgNode(), svgio::svgreader::SvgANode::decomposeSvgNode(), svgio::svgreader::SvgClipPathNode::decomposeSvgNode(), svgio::svgreader::SvgGNode::decomposeSvgNode(), svgio::svgreader::SvgImageNode::decomposeSvgNode(), svgio::svgreader::SvgMaskNode::decomposeSvgNode(), svgio::svgreader::SvgSvgNode::decomposeSvgNode(), svgio::svgreader::SvgUseNode::decomposeSvgNode(), svgio::svgreader::SvgMarkerNode::getMarkerPrimitives(), and svgio::svgreader::SvgPatternNode::getPatternPrimitives().
|
protected |
helper for filling the CssStyle vector once dependent on mbCssStyleVectorBuilt
Definition at line 281 of file svgnode.cxx.
References fillCssStyleVectorUsingHierarchyAndSelectors(), fillCssStyleVectorUsingParent(), svgio::svgreader::SvgDocument::findGlobalCssStyleAttributes(), getDocument(), getParent(), getType(), maCssStyleVector, mbCssStyleVectorBuilt, mpLocalCssStyle, and svgio::svgreader::Svg.
Referenced by checkForCssStyle().
|
protected |
Definition at line 95 of file svgnode.cxx.
References addCssStyle(), fillCssStyleVectorUsingHierarchyAndSelectors(), getClass(), getDocument(), getId(), getParent(), getType(), svgio::svgreader::SvgDocument::hasGlobalCssStyleAttributes(), and svgio::svgreader::SVGTokenToStr().
Referenced by fillCssStyleVector(), and fillCssStyleVectorUsingHierarchyAndSelectors().
|
protected |
Definition at line 187 of file svgnode.cxx.
References addCssStyle(), getDocument(), getId(), getParent(), getType(), svgio::svgreader::SvgDocument::hasGlobalCssStyleAttributes(), and svgio::svgreader::SVGTokenToStr().
Referenced by fillCssStyleVector().
|
inline |
Definition at line 159 of file svgnode.hxx.
References maChildren.
Referenced by svgio::svgreader::SvgFilterNode::apply(), svgio::svgreader::SvgDocHdl::characters(), svgio::svgreader::SvgGradientNode::collectGradientEntries(), svgio::svgreader::SvgTextNode::DecomposeChild(), decomposeSvgNode(), svgio::svgreader::SvgTextNode::decomposeSvgNode(), and svgio::svgreader::SvgDrawVisitor::goToChildren().
|
inline |
Class access.
Definition at line 174 of file svgnode.hxx.
References mpClass.
Referenced by svgio::svgreader::SvgStyleAttributes::add_postProcess(), fillCssStyleVectorUsingHierarchyAndSelectors(), and svgio::svgreader::SvgStyleAttributes::getVisibility().
double svgio::svgreader::SvgNode::getCurrentFontSize | ( | ) | const |
Definition at line 726 of file svgnode.cxx.
References getCurrentFontSizeInherited(), svgio::svgreader::SvgStyleAttributes::getFontSizeNumber(), getSvgStyleAttributes(), svgio::svgreader::SvgNumber::solve(), and svgio::svgreader::xcoordinate.
Referenced by getCurrentFontSizeInherited().
|
overridevirtual |
return font size of node inherited from parents
Implements svgio::svgreader::InfoProvider.
Definition at line 714 of file svgnode.cxx.
References getCurrentFontSize(), and getParent().
Referenced by getCurrentFontSize(), and svgio::svgreader::SvgTspanNode::getCurrentFontSize().
|
overridevirtual |
InfoProvider support for %, em and ex values.
Implements svgio::svgreader::InfoProvider.
Reimplemented in svgio::svgreader::SvgMarkerNode, svgio::svgreader::SvgPatternNode, and svgio::svgreader::SvgSvgNode.
Definition at line 702 of file svgnode.cxx.
References getCurrentViewPort(), and getParent().
Referenced by svgio::svgreader::SvgMarkerNode::getCurrentViewPort(), getCurrentViewPort(), svgio::svgreader::SvgPatternNode::getCurrentViewPort(), and svgio::svgreader::SvgSvgNode::getCurrentViewPort().
double svgio::svgreader::SvgNode::getCurrentXHeight | ( | ) | const |
Definition at line 746 of file svgnode.cxx.
References getCurrentXHeightInherited(), svgio::svgreader::SvgStyleAttributes::getFontSizeNumber(), getSvgStyleAttributes(), svgio::svgreader::SvgNumber::solve(), and svgio::svgreader::ycoordinate.
Referenced by getCurrentXHeightInherited().
|
overridevirtual |
return xheight of node inherited from parents
Implements svgio::svgreader::InfoProvider.
Definition at line 734 of file svgnode.cxx.
References getCurrentXHeight(), and getParent().
Referenced by getCurrentXHeight().
|
inline |
Display access #i121656#.
Definition at line 182 of file svgnode.hxx.
References maDisplay.
Referenced by svgio::svgreader::SvgClipPathNode::apply(), svgio::svgreader::SvgMaskNode::apply(), decomposeSvgNode(), svgio::svgreader::SvgANode::decomposeSvgNode(), svgio::svgreader::SvgImageNode::decomposeSvgNode(), svgio::svgreader::SvgUseNode::decomposeSvgNode(), svgio::svgreader::SvgMarkerNode::getMarkerPrimitives(), and svgio::svgreader::SvgPatternNode::getPatternPrimitives().
|
inline |
Definition at line 157 of file svgnode.hxx.
References mrDocument.
Referenced by svgio::svgreader::SvgStyleAttributes::accessClipPathXLink(), svgio::svgreader::SvgStyleAttributes::accessFilterXLink(), svgio::svgreader::SvgStyleAttributes::accessMarkerEndXLink(), svgio::svgreader::SvgStyleAttributes::accessMarkerMidXLink(), svgio::svgreader::SvgStyleAttributes::accessMarkerStartXLink(), svgio::svgreader::SvgStyleAttributes::accessMaskXLink(), svgio::svgreader::SvgStyleNode::addCssStyleSheet(), svgio::svgreader::SvgFeImageNode::apply(), svgio::svgreader::SvgTextPathNode::decomposePathNode(), decomposeSvgNode(), svgio::svgreader::SvgImageNode::decomposeSvgNode(), svgio::svgreader::SvgSvgNode::decomposeSvgNode(), svgio::svgreader::SvgUseNode::decomposeSvgNode(), fillCssStyleVector(), fillCssStyleVectorUsingHierarchyAndSelectors(), fillCssStyleVectorUsingParent(), svgio::svgreader::SvgTrefNode::getReferencedSvgTextNode(), svgio::svgreader::SvgStyleAttributes::getSvgGradientNodeFill(), svgio::svgreader::SvgStyleAttributes::getSvgGradientNodeStroke(), svgio::svgreader::SvgStyleAttributes::getSvgPatternNodeFill(), svgio::svgreader::SvgStyleAttributes::getSvgPatternNodeStroke(), svgio::svgreader::SvgStyleAttributes::getVisibility(), svgio::svgreader::SvgTextPathNode::isValid(), svgio::svgreader::SvgGradientNode::tryToFindLink(), and svgio::svgreader::SvgPatternNode::tryToFindLink().
|
inline |
Id access.
Definition at line 170 of file svgnode.hxx.
References mpId.
Referenced by fillCssStyleVectorUsingHierarchyAndSelectors(), and fillCssStyleVectorUsingParent().
|
inline |
Definition at line 158 of file svgnode.hxx.
References mpAlternativeParent, and mpParent.
Referenced by svgio::svgreader::SvgStyleAttributes::add_postProcess(), svgio::svgreader::SvgSvgNode::decomposeSvgNode(), svgio::svgreader::SvgDocHdl::endElement(), fillCssStyleVector(), fillCssStyleVectorUsingHierarchyAndSelectors(), fillCssStyleVectorUsingParent(), getCurrentFontSizeInherited(), getCurrentViewPort(), svgio::svgreader::SvgSvgNode::getCurrentViewPort(), getCurrentXHeightInherited(), svgio::svgreader::SvgStyleAttributes::getParentStyle(), svgio::svgreader::SvgCharacterNode::getSvgStyleAttributes(), svgio::svgreader::SvgStyleAttributes::getVisibility(), getXmlSpace(), svgio::svgreader::SvgSvgNode::initializeStyleAttributes(), svgio::svgreader::SvgSvgNode::seekReferenceHeight(), svgio::svgreader::SvgSvgNode::seekReferenceWidth(), and svgio::svgreader::SvgDocHdl::~SvgDocHdl().
|
virtual |
Reimplemented in svgio::svgreader::SvgANode, svgio::svgreader::SvgCharacterNode, svgio::svgreader::SvgCircleNode, svgio::svgreader::SvgClipPathNode, svgio::svgreader::SvgEllipseNode, svgio::svgreader::SvgGNode, svgio::svgreader::SvgGradientNode, svgio::svgreader::SvgGradientStopNode, svgio::svgreader::SvgImageNode, svgio::svgreader::SvgLineNode, svgio::svgreader::SvgMarkerNode, svgio::svgreader::SvgMaskNode, svgio::svgreader::SvgPathNode, svgio::svgreader::SvgPatternNode, svgio::svgreader::SvgPolyNode, svgio::svgreader::SvgRectNode, svgio::svgreader::SvgSvgNode, svgio::svgreader::SvgSymbolNode, svgio::svgreader::SvgTextNode, svgio::svgreader::SvgTextPathNode, svgio::svgreader::SvgTrefNode, svgio::svgreader::SvgTspanNode, and svgio::svgreader::SvgUseNode.
Definition at line 37 of file svgnode.cxx.
Referenced by svgio::svgreader::SvgTextNode::addTextPrimitives(), decomposeSvgNode(), getCurrentFontSize(), getCurrentXHeight(), svgio::svgreader::SvgStyleAttributes::getParentStyle(), and svgio::svgreader::SvgCharacterNode::getSvgStyleAttributes().
|
inline |
basic data read access
Definition at line 156 of file svgnode.hxx.
References maType.
Referenced by svgio::svgreader::SvgStyleAttributes::add_fillGradient(), svgio::svgreader::SvgStyleAttributes::add_path(), svgio::svgreader::SvgStyleAttributes::add_postProcess(), svgio::svgreader::SvgDocHdl::characters(), svgio::svgreader::SvgTextNode::DecomposeChild(), decomposeSvgNode(), svgio::svgreader::SvgGNode::decomposeSvgNode(), fillCssStyleVector(), fillCssStyleVectorUsingHierarchyAndSelectors(), fillCssStyleVectorUsingParent(), svgio::svgreader::SvgStyleAttributes::getSvgGradientNodeFill(), svgio::svgreader::SvgStyleAttributes::getSvgGradientNodeStroke(), svgio::svgreader::SvgStyleAttributes::getSvgPatternNodeFill(), svgio::svgreader::SvgStyleAttributes::getSvgPatternNodeStroke(), svgio::svgreader::SvgStyleAttributes::getVisibility(), svgio::svgreader::SvgPolyNode::parseAttribute(), svgio::svgreader::SvgStyleAttributes::parseStyleAttribute(), SvgNode(), and svgio::svgreader::SvgDrawVisitor::visit().
XmlSpace svgio::svgreader::SvgNode::getXmlSpace | ( | ) | const |
XmlSpace access.
Definition at line 779 of file svgnode.cxx.
References svgio::svgreader::Default, getParent(), getXmlSpace(), maXmlSpace, and svgio::svgreader::NotSet.
Referenced by getXmlSpace(), and svgio::svgreader::SvgCharacterNode::whiteSpaceHandling().
|
inline |
Check if there is a local css style.
Definition at line 189 of file svgnode.hxx.
References mpLocalCssStyle.
Referenced by svgio::svgreader::SvgStyleAttributes::getClipPathXLink(), svgio::svgreader::SvgStyleAttributes::getFilterXLink(), svgio::svgreader::SvgStyleAttributes::getMaskXLink(), and svgio::svgreader::SvgStyleAttributes::getOpacity().
|
virtual |
Reimplemented in svgio::svgreader::SvgANode, svgio::svgreader::SvgCircleNode, svgio::svgreader::SvgClipPathNode, svgio::svgreader::SvgEllipseNode, svgio::svgreader::SvgFeColorMatrixNode, svgio::svgreader::SvgFeDropShadowNode, svgio::svgreader::SvgFeFloodNode, svgio::svgreader::SvgFeGaussianBlurNode, svgio::svgreader::SvgFeImageNode, svgio::svgreader::SvgFeOffsetNode, svgio::svgreader::SvgGNode, svgio::svgreader::SvgGradientNode, svgio::svgreader::SvgGradientStopNode, svgio::svgreader::SvgImageNode, svgio::svgreader::SvgLineNode, svgio::svgreader::SvgMarkerNode, svgio::svgreader::SvgMaskNode, svgio::svgreader::SvgPathNode, svgio::svgreader::SvgPatternNode, svgio::svgreader::SvgPolyNode, svgio::svgreader::SvgRectNode, svgio::svgreader::SvgStyleNode, svgio::svgreader::SvgSvgNode, svgio::svgreader::SvgSymbolNode, svgio::svgreader::SvgTextNode, svgio::svgreader::SvgTextPathNode, svgio::svgreader::SvgTrefNode, svgio::svgreader::SvgTspanNode, and svgio::svgreader::SvgUseNode.
Definition at line 534 of file svgnode.cxx.
References svgio::svgreader::Class, svgio::svgreader::Default, svgio::svgreader::Display, o3tl::equalsIgnoreAsciiCase(), svgio::svgreader::getDisplayFromContent(), svgio::svgreader::Id, svgio::svgreader::Preserve, setClass(), setDisplay(), setId(), setXmlSpace(), o3tl::trim(), u, and svgio::svgreader::XmlSpace.
Referenced by svgio::svgreader::SvgDocHdl::endElement(), 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::SvgStyleNode::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 parseAttributes().
void svgio::svgreader::SvgNode::parseAttributes | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | xAttribs | ) |
style helpers
Definition at line 436 of file svgnode.cxx.
References a, nAttributes, parseAttribute(), and svgio::svgreader::StrToSVGToken().
Referenced by svgio::svgreader::SvgDocHdl::startElement().
void svgio::svgreader::SvgNode::readLocalCssStyle | ( | std::u16string_view | aContent | ) |
scan helper to read and interpret a local CssStyle to mpLocalCssStyle
Definition at line 412 of file svgnode.cxx.
References mpLocalCssStyle.
Referenced by svgio::svgreader::SvgANode::parseAttribute(), svgio::svgreader::SvgCircleNode::parseAttribute(), svgio::svgreader::SvgClipPathNode::parseAttribute(), svgio::svgreader::SvgEllipseNode::parseAttribute(), svgio::svgreader::SvgFeDropShadowNode::parseAttribute(), svgio::svgreader::SvgFeFloodNode::parseAttribute(), svgio::svgreader::SvgFeImageNode::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(), and svgio::svgreader::SvgUseNode::parseAttribute().
|
inline |
alternative parent
Definition at line 186 of file svgnode.hxx.
References mpAlternativeParent.
Referenced by svgio::svgreader::SvgTextNode::DecomposeChild(), and svgio::svgreader::SvgUseNode::decomposeSvgNode().
void svgio::svgreader::SvgNode::setClass | ( | OUString const & | rClass | ) |
Definition at line 767 of file svgnode.cxx.
References svgio::svgreader::SvgDocument::addSvgNodeToMapper(), mpClass, mrDocument, and svgio::svgreader::SvgDocument::removeSvgNodeFromMapper().
Referenced by parseAttribute().
|
inline |
Definition at line 183 of file svgnode.hxx.
References maDisplay.
Referenced by parseAttribute(), and svgio::svgreader::SvgStyleAttributes::parseStyleAttribute().
void svgio::svgreader::SvgNode::setId | ( | OUString const & | rId | ) |
Definition at line 755 of file svgnode.cxx.
References svgio::svgreader::SvgDocument::addSvgNodeToMapper(), mpId, mrDocument, and svgio::svgreader::SvgDocument::removeSvgNodeFromMapper().
Referenced by parseAttribute().
|
inline |
|
virtual |
#i125258# tell if this node is allowed to have a parent style (e.g. defs do not)
#i125258#
Reimplemented in svgio::svgreader::SvgStyleNode.
Definition at line 32 of file svgnode.cxx.
Referenced by svgio::svgreader::SvgStyleAttributes::getParentStyle(), and svgio::svgreader::SvgStyleNode::supportsParentStyle().
|
private |
sub hierarchy
Definition at line 90 of file svgnode.hxx.
Referenced by getChildren(), and SvgNode().
|
private |
Definition at line 107 of file svgnode.hxx.
Referenced by addCssStyle(), checkForCssStyle(), and fillCssStyleVector().
|
private |
Display value #i121656#.
Definition at line 102 of file svgnode.hxx.
Referenced by getDisplay(), and setDisplay().
|
private |
basic data, Type, document we belong to and parent (if not root)
Definition at line 84 of file svgnode.hxx.
Referenced by getType().
|
private |
XmlSpace value.
Definition at line 99 of file svgnode.hxx.
Referenced by getXmlSpace(), and setXmlSpace().
|
private |
Definition at line 115 of file svgnode.hxx.
Referenced by checkForCssStyle(), and fillCssStyleVector().
|
mutableprivate |
Definition at line 112 of file svgnode.hxx.
Referenced by decomposeSvgNode().
|
private |
Definition at line 87 of file svgnode.hxx.
Referenced by getParent(), and setAlternativeParent().
|
private |
Class svan value.
Definition at line 96 of file svgnode.hxx.
Referenced by getClass(), and setClass().
|
private |
|
private |
possible local CssStyle, e.g. style="fill:red; stroke:red;"
Definition at line 110 of file svgnode.hxx.
Referenced by fillCssStyleVector(), hasLocalCssStyle(), and readLocalCssStyle().
|
private |
Definition at line 86 of file svgnode.hxx.
Referenced by getParent().
|
private |
Definition at line 85 of file svgnode.hxx.
Referenced by getDocument(), setClass(), setId(), and SvgNode().