[Libreoffice-bugs] [Bug 108064] [FILESAVE DOCX] Border Line Style property of the data series not preserved when saved as DOCX

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 6 07:37:57 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=108064

--- Comment #13 from Adam Kovacs <christo161 at gmail.com> ---
One question. Why are these properties in if-else relation? If something has a
color property it cant have a linestyle property?

if (aStyleProperties.hasElements())
619          {
620              for (sal_Int32 i=0; i < aStyleProperties.getLength(); ++i)
621              {
622                  if( aStyleProperties[i].Name == "Color" )
623                      aStyleProperties[i].Value >>= nStyleColor;
624                  else if( aStyleProperties[i].Name == "LineStyle" )
625                      aStyleProperties[i].Value >>= aStyleLineStyle;
626                  else if( aStyleProperties[i].Name == "LineJoint" )
627                      aStyleProperties[i].Value >>= aStyleLineJoint;
628                  else if( aStyleProperties[i].Name == "LineWidth" )
629                      aStyleProperties[i].Value >>= nStyleLineWidth;
630              }
631          }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180806/52201076/attachment.html>


More information about the Libreoffice-bugs mailing list