Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1527
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/27/1527/1
added token for handling of svg:linearGradient and svg:radialGradient
Change-Id: I38014a8d9e21359cb943f813484478293360a2e6
---
M xmloff/inc/xmloff/xmltoken.hxx
M xmloff/source/core/xmltoken.cxx
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/xmloff/inc/xmloff/xmltoken.hxx b/xmloff/inc/xmloff/xmltoken.hxx
index 6559b45..41acb78 100644
--- a/xmloff/inc/xmloff/xmltoken.hxx
+++ b/xmloff/inc/xmloff/xmltoken.hxx
@@ -878,6 +878,8 @@
XML_FULL,
XML_FULL_SCREEN,
XML_FUNCTION,
+ XML_FX,
+ XML_FY,
XML_G,
XML_GAMMA,
XML_GAP,
@@ -897,6 +899,7 @@
XML_GRADIENTSTYLE_RADIAL,
XML_GRADIENTSTYLE_RECTANGULAR,
XML_GRADIENTSTYLE_SQUARE,
+ XML_GRADIENTTRANSFORM,
XML_GRAND_TOTAL,
XML_GRAPHIC,
XML_GRAY,
@@ -1666,6 +1669,7 @@
XML_SPLIT_POSITION,
XML_SPLIT_ROW,
XML_SPREADSHEET,
+ XML_SPREADMETHOD,
XML_SQL_STATEMENT,
XML_STACKED,
XML_STAGGER_EVEN,
@@ -1701,6 +1705,8 @@
XML_STOCK_UPDOWN_BARS,
XML_STOCK_WITH_VOLUME,
XML_STOP,
+ XML_STOPCOLOR,
+ XML_STOPOPACITY,
XML_STRETCH,
XML_STRETCH_FROM_BOTTOM,
XML_STRETCH_FROM_LEFT,
@@ -1734,6 +1740,7 @@
XML_SUBTOTAL_RULES,
XML_SUFFIX,
XML_SUM,
+ XML_SVGLINEARGRADIENT,
XML_SWISS,
XML_SYMBOL,
XML_SYMBOL_HEIGHT,
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 975349d..d7ebd2f 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -882,6 +882,8 @@
TOKEN( "full", XML_FULL ),
TOKEN( "full-screen", XML_FULL_SCREEN ),
TOKEN( "function", XML_FUNCTION ),
+ TOKEN( "fx", XML_FX ),
+ TOKEN( "fy", XML_FY ),
TOKEN( "g", XML_G ),
TOKEN( "gamma", XML_GAMMA ),
TOKEN( "gap", XML_GAP ),
@@ -901,6 +903,7 @@
TOKEN( "radial", XML_GRADIENTSTYLE_RADIAL ),
TOKEN( "rectangular", XML_GRADIENTSTYLE_RECTANGULAR ),
TOKEN( "square", XML_GRADIENTSTYLE_SQUARE ),
+ TOKEN( "gradientTransform", XML_GRADIENTTRANSFORM ),
TOKEN( "grand-total", XML_GRAND_TOTAL ),
TOKEN( "graphic", XML_GRAPHIC ),
TOKEN( "gray", XML_GRAY ),
@@ -1671,6 +1674,7 @@
TOKEN( "split-position", XML_SPLIT_POSITION ),
TOKEN( "split-row", XML_SPLIT_ROW ),
TOKEN( "spreadsheet", XML_SPREADSHEET ),
+ TOKEN( "spreadMethod", XML_SPREADMETHOD ),
TOKEN( "sql-statement", XML_SQL_STATEMENT ),
TOKEN( "stacked", XML_STACKED ),
TOKEN( "stagger-even", XML_STAGGER_EVEN ),
@@ -1706,6 +1710,8 @@
TOKEN( "stock-updown-bars", XML_STOCK_UPDOWN_BARS ),
TOKEN( "stock-with-volume", XML_STOCK_WITH_VOLUME ),
TOKEN( "stop", XML_STOP ),
+ TOKEN( "stop-color", XML_STOPCOLOR ),
+ TOKEN( "stop-opacity", XML_STOPOPACITY ),
TOKEN( "stretch", XML_STRETCH ),
TOKEN( "stretch-from-bottom", XML_STRETCH_FROM_BOTTOM ),
TOKEN( "stretch-from-left", XML_STRETCH_FROM_LEFT ),
@@ -1739,6 +1745,7 @@
TOKEN( "subtotal-rules", XML_SUBTOTAL_RULES ),
TOKEN( "suffix", XML_SUFFIX ),
TOKEN( "sum", XML_SUM ),
+ TOKEN( "linearGradient", XML_SVGLINEARGRADIENT ),
TOKEN( "swiss", XML_SWISS ),
TOKEN( "symbol", XML_SYMBOL ),
TOKEN( "symbol-height", XML_SYMBOL_HEIGHT ),
@@ -3194,8 +3201,8 @@
XMLTokenEntry* pToken = &aTokenList[(sal_uInt16)eToken];
if (!pToken->pOUString)
- pToken->pOUString = new OUString( pToken->pChar, pToken->nLength,
- RTL_TEXTENCODING_ASCII_US );
+ pToken->pOUString = new OUString( pToken->pChar, pToken->nLength,
+ RTL_TEXTENCODING_ASCII_US );
return *pToken->pOUString;
}
--
To view, visit https://gerrit.libreoffice.org/1527
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38014a8d9e21359cb943f813484478293360a2e6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christina Roßmanith <ChrRossmanith@web.de>
Context
- [PATCH] added token for handling of svg:linearGradient and svg:radia... · via Code Review
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.