Re: Colors in Options

Ariel Constenla-Haile <[email protected]>
Newsgroups gmane.comp.openoffice.questions
Message-ID <20110917221735.GA24436@localhost>
Hello Eustace,

On Wed, Sep 14, 2011 at 01:44:39AM -0400, Eustace wrote:
> 2 questions on colors:
> 
> (1) In the Options > OpenOffice.org > Appearance > Custom colors,
> some elements have a check box in front and other do not have one.
> What's the difference? 

You can see the difference with the following example:

* create a new text document
* select Tools - Options - OpenOffice.org - Appearance
* in the General category, change the Text boundaries options as
* follows:
** change the color setting from Automatic to Blue
* press Ok to confirm your changes

Now, back to the text document, the text boundaries are blue.

Then go back to the Tools - Options dialog, and uncheck the check box in front of
the Text boundaries option.
Confirm your changes.
Back to the document, it has NO text boundaries, because unchecking that
options turns them off.

Go back to the Tools - Options dialog, check that option again, and text
boundaries are blue again.

> Does unchecking an element that you have
> changed makes the color setting automatic? 

no unchecking an element turns the setting off (that's the meaning of
that column "On", checking turns the element on, uncheching turns it
off).

> In that case, if an
> element is set to automatic, it shouldn't matter if the checkbox is
> checked or not, right?

No. If the element color is set to automatic, but the element is off (=
unchecked), the element won't be displayed: 
* if text boundaries are off, no text boundaries are displayed
* if Field shading is off, fields won't be highlighted with a color shade
* etc.
 
> (2) Since I use white on blue color scheme in my system, the title
> lines in the same dialog (eg. General, Text Document, HTML Document)
> have a gray background (132, 132, 132) which makes the white text
> difficult to read. What is the element that I should change to make
> the title line background darker?


Looking at the code
http://hg.services.openoffice.org/OOO340/file/12fa3ee3d107/cui/source/options/optcolor.cxx#l847
it seems the background color of the categories is hard-coded to
COL_LIGHTGRAY, that is
http://hg.services.openoffice.org/OOO340/file/12fa3ee3d107/tools/inc/tools/color.hxx#l72
RGB( 0xC0, 0xC0, 0xC0) in hex, or (192, 192, 192) in decimal (I have no idea why it
gives you 132, 132, 132).

So the answer is no, you can't change that. You'll have to submit a bug
report.


Finally, please notice that OpenOffice.org is now a project incubating
at Apache, and this mailing list may soon be shut down, so you should
subscribe to the new mailing list at Apache:

To subscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIbBAEBCAAGBQJOdRx/AAoJEMjP1bm45QNWv2gP93dx7rFZtWEzJd7KdAW6XchR
QnE1T4MmHWKKrcJWhyWO/MjLl90nInsGjiy1QfGPLPKzK8N9RxdoqETwJO70vRWI
0cfmZbReTGuTVxFRYLJZ489xDjhXk0LFA1hHWWgltdaD+XXikKcaxd4Dts2k7UXU
gfbPeMCoKhCwcewYbS3zvLt8BQx/437X8Dak3WzMYCj/VJYkk3QLFQj7LIIdohIm
uvdidIT0NjSlcRoqj+5XeY4I8B33vHSSZCUVqq1uF88WH7prMPyim/KgUb61vvkG
gDuKI5Psezt4NemRdxMtcABk5T1wlI7icJxuZBy0mSUcwf96CeGe3fF+9iogFCEG
jGXK/RYKeu3+c/d+c3WzCdmVMMSqVY17VOEFlz+zQRuaofBr2NpML7p22T27hEli
pTHeITTJL3MO5znHNlhjN57CIMzxzmU/qbhGZdYR+6rLovr/wVV4ClxVG9Z4gpCj
FwMZM5n4yaAuvcLqyxEpvyuM5+bE1tTgrWpcAT/fqofe4ZXGOJZca9AfqGK4241L
htrFNbu4WxTlXlqYBqY6+c4VW/9k3WQRjaflbUviR3g1ol9R7mDBoDCxPaqYQBzb
LI2yruUpEdvrCisJx3ImNhzmEqT39ttpOVzAGwd4krnk+MopweZluv/rxQI3uyKK
yPYMxEDWMChVhEbjjAo=
=MquY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.