diff options
author | PriyankaGaikwad <priyanka.gaikwad@synerzip.com> | 2015-04-24 18:25:11 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-09 19:56:54 +0000 |
commit | 24be7ef5887ec3598b3b34cb4fccff17ed6e1106 (patch) | |
tree | c1b3b103d595a1da307de7fef6efaee3bf1cc947 /oox/source/export | |
parent | 3e4d2043e99201ec542186039e3be34d3c226111 (diff) |
tdf#90828 FILESAVE:XLSX export of underline color for text inside textbox
Problem Description:
Unable to save .xlsx with underline color for text inside textbox.
Current behavior:
After RT text underline color was not exported
Expected behaviour:
After RT text underline color should export
Added export support for <a:uFill>
Change-Id: If8ffeb07f2f5e0b768689647e480792ea9c8540a
Reviewed-on: https://gerrit.libreoffice.org/15514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox/source/export')
-rw-r--r-- | oox/source/export/drawingml.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 9ede46300ce4..d2691cc24853 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1362,6 +1362,15 @@ void DrawingML::WriteRunProperties( Reference< XPropertySet > rRun, bool bIsFiel WriteSolidFill( color ); } + if( GETAD( CharUnderlineColor ) ) + { + sal_uInt32 color = *static_cast<sal_uInt32 const *>(mAny.getValue()); + + mpFS->startElementNS( XML_a, XML_uFill,FSEND); + WriteSolidFill( color ); + mpFS->endElementNS( XML_a, XML_uFill ); + } + if( GETA( CharFontName ) ) { const char* pitch = NULL; |