[Libreoffice-bugs] [Bug 137367] New: [FILEOPEN PPTX] hyperlink color is lost on import

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 9 10:17:30 UTC 2020


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

            Bug ID: 137367
           Summary: [FILEOPEN PPTX] hyperlink color is lost on import
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: pablo.platt at gmail.com

Description:
The attached PPTX has two hyperlinks. The first link uses the theme color and
should be blue. The second link color was changed to red. Impress show both
links as blue.

PowerPoint has a way to change hyperlink color throughout a presentation [1].
Beginning with PowerPoint 2016, is is also possible to change the color of an
individual hyperlink by directly using the text color control [2]

[1]
https://support.microsoft.com/en-us/office/change-the-color-of-hyperlink-text-throughout-a-presentation-77c55b2d-3b2e-4ec4-924c-3165972e1bfa
[2]
https://support.microsoft.com/en-us/office/change-the-color-of-your-hyperlinks-988ed94c-82e9-4e2c-96a1-7ffd2c382ce8

The second link has additional element in the XML:
<a:solidFill>
  <a:srgbClr val="FF0000"/>
</a:solidFill>

The XML of the first hyperlink (default theme color):
<a:p>
  <a:pPr marL="0" indent="0">
    <a:buNone/>
  </a:pPr>
  <a:r>
    <a:rPr lang="en-US" dirty="0">
      <a:hlinkClick r:id="rId2"/>
    </a:rPr>
    <a:t>Link 1</a:t>
  </a:r>
  <a:endParaRPr lang="en-US" dirty="0"/>
</a:p>

The XML of the second hyperlink (individual red color):
<a:p>
  <a:pPr marL="0" indent="0">
    <a:buNone/>
  </a:pPr>
  <a:r>
    <a:rPr lang="en-US" dirty="0">
      <a:solidFill>
        <a:srgbClr val="FF0000"/>
      </a:solidFill>
      <a:hlinkClick r:id="rId2">
        <a:extLst>
          <a:ext uri="{A12FA001-AC4F-418D-AE19-62706E023703}">
            <ahyp:hlinkClr
xmlns:ahyp="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor"
val="tx"/>
          </a:ext>
        </a:extLst>
      </a:hlinkClick>
    </a:rPr>
    <a:t>Link 2</a:t>
  </a:r>
  <a:endParaRPr lang="en-US" dirty="0">
    <a:solidFill>
      <a:srgbClr val="FF0000"/>
    </a:solidFill>
  </a:endParaRPr>
</a:p>

Steps to Reproduce:
1. Open the attached PPTX in Impress

Actual Results:
Both links are blue.

Expected Results:
The second link should be red.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+
Build ID: 75030b3a2d4336c494fbe799fb809a37ed7e582f
CPU threads: 1; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2020-10-08_21:40:22
Calc: threaded

-- 
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/20201009/455a257d/attachment.htm>


More information about the Libreoffice-bugs mailing list