Bug 68701 - setFontColor not works with XSLFHyperlink
Summary: setFontColor not works with XSLFHyperlink
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: unspecified
Hardware: PC other
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-03 20:07 UTC by Mustaque Ahmed
Modified: 2024-03-03 20:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mustaque Ahmed 2024-03-03 20:07:51 UTC
Hi there, 

Thank you for maintaining the POI package, I encountered an issue with the package when I was trying to create a hyperlink and after that, I changed the font colour of the text. It is not happening and seems to be a bug.  


Here is the repo link to the repo that contains minimal steps to reproduce the bug. Github repo link: https://github.com/amustaque97/hyperlink-font-color/tree/main


How to run the project: I'm not well-versed in the Java system. So cannot write the whole steps clearly but you need to run the `org.example.Main` path.

IT will generate an `output.pptx` file. I have already added the same file for investigation purposes. 

Expectation: Text font colour should change to red. 
Actual Behaviour: The font colour is changed to something different but not red.


my machine is: MacOs 14.3.1


Thank you!