[Workaround] Change default highlighting color

Discuss the word processor
Post Reply
AntonSamokat
Posts: 2
Joined: Sun Mar 17, 2024 2:39 pm

[Workaround] Change default highlighting color

Post by AntonSamokat »

I'm using dark scheme for the documents. Text highlighted (marked) with default yellow color is badly seen. How to change default color to, for example, orange and save (persist) it? In such a way that after reopening (closing and opening) a document highlighting color was not reset to default yellow.

As work around it is possible to create two custom styles: one with orange background, another one without any settings at all to clear orange background. But this approach is not convenient because:
  • Second style does not revert highlighting, but applies custom style. It is not the same as remove normal highlighting marks.
  • Custom styles need to be carried manually from one document to others.
Last edited by MrProgrammer on Tue Apr 30, 2024 9:17 pm, edited 1 time in total.
Reason: Tagged ✓ [Workaround] -- MrProgrammer, forum moderator
Open Office 4.1.13 on Ubuntu 20.04
AntonSamokat
Posts: 2
Joined: Sun Mar 17, 2024 2:39 pm

Re: How to change default highlighting color Writer?

Post by AntonSamokat »

Seems that it is not possible now - https://ask.libreoffice.org/t/how-to-ch ... iter/21996

So work around with custom styles must be used.
Open Office 4.1.13 on Ubuntu 20.04
JeJe
Volunteer
Posts: 2791
Joined: Wed Mar 09, 2016 2:40 pm

Re: How to change default highlighting color Writer?

Post by JeJe »

Are you using LibreOffice or OpenOffice. That LibreOffice thread is old, it now has an expert configuration where a lot of values can be set but I don't know enough to know whether that is one of them

Another way is with a macro. The attached document has one (mostly made with the macro recorder) to set the color on the document opening event for that document.

You could put the same macro in your installation macros and set the document opening and new document events to run it so it works with all documents.
Attachments
Orange highlight.odt
(10.43 KiB) Downloaded 9 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply