diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2012-11-30 22:10:37 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-07 19:39:46 +0100 |
commit | f1043aaed082824ca423eee10be5802873e058f3 (patch) | |
tree | f92d244908693c39f865a9db046e90baec8bd302 /xmloff | |
parent | b3a1909a792956ce3a6ab52675017304969d7a66 (diff) |
added token for handling of svg:linearGradient and svg:radialGradient
Change-Id: I38014a8d9e21359cb943f813484478293360a2e6
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmltoken.hxx | 7 | ||||
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/xmloff/inc/xmloff/xmltoken.hxx b/xmloff/inc/xmloff/xmltoken.hxx index 6559b454728e..41acb781bbe9 100644 --- a/xmloff/inc/xmloff/xmltoken.hxx +++ b/xmloff/inc/xmloff/xmltoken.hxx @@ -878,6 +878,8 @@ namespace xmloff { namespace token { XML_FULL, XML_FULL_SCREEN, XML_FUNCTION, + XML_FX, + XML_FY, XML_G, XML_GAMMA, XML_GAP, @@ -897,6 +899,7 @@ namespace xmloff { namespace token { XML_GRADIENTSTYLE_RADIAL, XML_GRADIENTSTYLE_RECTANGULAR, XML_GRADIENTSTYLE_SQUARE, + XML_GRADIENTTRANSFORM, XML_GRAND_TOTAL, XML_GRAPHIC, XML_GRAY, @@ -1666,6 +1669,7 @@ namespace xmloff { namespace token { XML_SPLIT_POSITION, XML_SPLIT_ROW, XML_SPREADSHEET, + XML_SPREADMETHOD, XML_SQL_STATEMENT, XML_STACKED, XML_STAGGER_EVEN, @@ -1701,6 +1705,8 @@ namespace xmloff { namespace token { 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 @@ namespace xmloff { namespace token { 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 975349d18a43..d7ebd2f9f21d 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -882,6 +882,8 @@ namespace xmloff { namespace token { 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 @@ namespace xmloff { namespace token { 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 @@ namespace xmloff { namespace token { 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 @@ namespace xmloff { namespace token { 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 @@ namespace xmloff { namespace token { 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 @@ namespace xmloff { namespace token { 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; } |