svgtspannode.cxx (e2bf1e9d) | svgtspannode.cxx (9d56236f) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40 } 41 42 SvgTspanNode::~SvgTspanNode() 43 { 44 } 45 46 const SvgStyleAttributes* SvgTspanNode::getSvgStyleAttributes() const 47 { | 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 --- 31 unchanged lines hidden (view full) --- 40 } 41 42 SvgTspanNode::~SvgTspanNode() 43 { 44 } 45 46 const SvgStyleAttributes* SvgTspanNode::getSvgStyleAttributes() const 47 { |
48 return &maSvgStyleAttributes; | 48 // #125293# Need to support CssStyles in tspan text sections 49 static rtl::OUString aClassStr(rtl::OUString::createFromAscii("tspan")); 50 51 return checkForCssStyle(aClassStr, maSvgStyleAttributes); |
49 } 50 51 void SvgTspanNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent) 52 { 53 // call parent 54 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); 55 56 // read style attributes --- 25 unchanged lines hidden --- | 52 } 53 54 void SvgTspanNode::parseAttribute(const rtl::OUString& rTokenName, SVGToken aSVGToken, const rtl::OUString& aContent) 55 { 56 // call parent 57 SvgNode::parseAttribute(rTokenName, aSVGToken, aContent); 58 59 // read style attributes --- 25 unchanged lines hidden --- |