Incorrect Font Color Returned by MS Office API #4620
Labels
Area: Word
Issue related to Word add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Description:
When using the MS Office API to retrieve font color, the API returns the color as black (
#000000
) even though the actual color is white (#FFFFFF
). This issue occurs consistently and affects the accuracy of the retrieved document styling.Environment:
Expected behavior:
The API should return the correct font color value, which in this case is white (
#FFFFFF
).Current behavior:
The API incorrectly returns the font color as black (
#000000
).Steps to reproduce:
#FFFFFF
).#000000
) instead of white (#FFFFFF
).Document and Code:
![image](https://private-user-images.githubusercontent.com/95617525/344141847-176ab892-c255-4284-b597-a52b84707690.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNDU0NjMsIm5iZiI6MTcyMzI0NTE2MywicGF0aCI6Ii85NTYxNzUyNS8zNDQxNDE4NDctMTc2YWI4OTItYzI1NS00Mjg0LWI1OTctYTUyYjg0NzA3NjkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA5VDIzMTI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5MDBiY2Q5NzE3MGNiNWI1YTc2OWZkNzUyZTNjN2Y1MDE4YjZhZDZhY2YzODIwMTMxMjUwZTNkNjhiZjRmZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HWITB5z2vDy5b8yCa7dCmWC-_7w_SIT0D9VKJAJPGzY)
Screenshot:
Attached Document:
font-issue-doc-author-removed.docx
Code Snippet:
The text was updated successfully, but these errors were encountered: