diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-08-22 12:34:37 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-08-23 21:01:38 +0200 |
commit | fa94ca9a84e12128fcd4a5aea1823ca5fd5b997a (patch) | |
tree | 51a15b106b9ca54adc06cfef2fe84485238f4b6d /xmloff | |
parent | 16f637dab3c1b5f7ac9eacf2c57347800d3fdf09 (diff) |
ODF export/import of fine dashed border style
Change-Id: Ia81385dd9952e90cd5ebb3d1bba38aff6f84d079
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/style/bordrhdl.cxx | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index ac3d0956b62b..92701ba2d3d3 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -767,6 +767,7 @@ namespace xmloff { namespace token { TOKEN( "filter-options", XML_FILTER_OPTIONS ), TOKEN( "filter-or", XML_FILTER_OR ), TOKEN( "filter-set-item", XML_FILTER_SET_ITEM ), + TOKEN( "fine-dashed", XML_FINE_DASHED ), TOKEN( "first-date-time", XML_FIRST_DATE_TIME ), TOKEN( "first-page", XML_FIRST_PAGE ), TOKEN( "first-page-number", XML_FIRST_PAGE_NUMBER ), diff --git a/xmloff/source/style/bordrhdl.cxx b/xmloff/source/style/bordrhdl.cxx index 530441e720c4..4e96eb09807e 100644 --- a/xmloff/source/style/bordrhdl.cxx +++ b/xmloff/source/style/bordrhdl.cxx @@ -42,6 +42,7 @@ const sal_uInt16 API_LINE_EMBOSSED = 10; const sal_uInt16 API_LINE_ENGRAVED = 11; const sal_uInt16 API_LINE_OUTSET = 12; const sal_uInt16 API_LINE_INSET = 13; +const sal_uInt16 API_LINE_FINE_DASHED = 14; const sal_uInt16 API_LINE_NONE = USHRT_MAX; #define DEF_LINE_WIDTH_0 1 @@ -64,6 +65,7 @@ SvXMLEnumMapEntry pXML_BorderStyles[] = { XML_RIDGE, API_LINE_EMBOSSED }, { XML_INSET, API_LINE_INSET }, { XML_OUTSET, API_LINE_OUTSET }, + { XML_FINE_DASHED, API_LINE_FINE_DASHED }, { XML_TOKEN_INVALID, 0 } }; @@ -334,6 +336,9 @@ sal_Bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue case API_LINE_INSET: eStyleToken = XML_INSET; break; + case API_LINE_FINE_DASHED: + eStyleToken = XML_FINE_DASHED; + break; case API_LINE_SOLID: default: break; |