svgstyleattributes.cxx (ae8097f3) svgstyleattributes.cxx (025b0597)
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

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

1188 maFontStyle(FontStyle_notset),
1189 maFontVariant(FontVariant_notset),
1190 maFontWeight(FontWeight_notset),
1191 maTextAlign(TextAlign_notset),
1192 maTextDecoration(TextDecoration_notset),
1193 maTextAnchor(TextAnchor_notset),
1194 maColor(),
1195 maOpacity(1.0),
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

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

1188 maFontStyle(FontStyle_notset),
1189 maFontVariant(FontVariant_notset),
1190 maFontWeight(FontWeight_notset),
1191 maTextAlign(TextAlign_notset),
1192 maTextDecoration(TextDecoration_notset),
1193 maTextAnchor(TextAnchor_notset),
1194 maColor(),
1195 maOpacity(1.0),
1196 maTitle(),
1197 maDesc(),
1196 maClipPathXLink(),
1197 maMaskXLink(),
1198 maMarkerStartXLink(),
1199 mpMarkerStartXLink(0),
1200 maMarkerMidXLink(),
1201 mpMarkerMidXLink(0),
1202 maMarkerEndXLink(),
1203 mpMarkerEndXLink(0),

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

1757 SvgNumber aNum;
1758
1759 if(readSingleNumber(aContent, aNum))
1760 {
1761 setOpacity(SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet()));
1762 }
1763 break;
1764 }
1198 maClipPathXLink(),
1199 maMaskXLink(),
1200 maMarkerStartXLink(),
1201 mpMarkerStartXLink(0),
1202 maMarkerMidXLink(),
1203 mpMarkerMidXLink(0),
1204 maMarkerEndXLink(),
1205 mpMarkerEndXLink(0),

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

1759 SvgNumber aNum;
1760
1761 if(readSingleNumber(aContent, aNum))
1762 {
1763 setOpacity(SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet()));
1764 }
1765 break;
1766 }
1767 case SVGTokenTitle:
1768 {
1769 setTitle(aContent);
1770 break;
1771 }
1772 case SVGTokenDesc:
1773 {
1774 setDesc(aContent);
1775 break;
1776 }
1765 case SVGTokenClipPathProperty:
1766 {
1767 readLocalUrl(aContent, maClipPathXLink);
1768 break;
1769 }
1770 case SVGTokenMask:
1771 {
1772 readLocalUrl(aContent, maMaskXLink);

--- 720 unchanged lines hidden ---
1777 case SVGTokenClipPathProperty:
1778 {
1779 readLocalUrl(aContent, maClipPathXLink);
1780 break;
1781 }
1782 case SVGTokenMask:
1783 {
1784 readLocalUrl(aContent, maMaskXLink);

--- 720 unchanged lines hidden ---