svgimagenode.cxx (e2bf1e9d) svgimagenode.cxx (50b37974)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 56 unchanged lines hidden (view full) ---

65 SvgImageNode::~SvgImageNode()
66 {
67 if(mpaTransform) delete mpaTransform;
68 }
69
70 const SvgStyleAttributes* SvgImageNode::getSvgStyleAttributes() const
71 {
72 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("image"));
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 56 unchanged lines hidden (view full) ---

65 SvgImageNode::~SvgImageNode()
66 {
67 if(mpaTransform) delete mpaTransform;
68 }
69
70 const SvgStyleAttributes* SvgImageNode::getSvgStyleAttributes() const
71 {
72 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("image"));
73 maSvgStyleAttributes.checkForCssStyle(aClassStr);
74
73
75 return &maSvgStyleAttributes;
74 return checkForCssStyle(aClassStr, maSvgStyleAttributes);
76 }
77
78 void SvgImageNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)
79 {
80 // call parent
81 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
82
83 // read style attributes

--- 274 unchanged lines hidden ---
75 }
76
77 void SvgImageNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent)
78 {
79 // call parent
80 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent);
81
82 // read style attributes

--- 274 unchanged lines hidden ---