[Solved] Is manually editing standard.soc file a problem?

Discuss the word processor
Post Reply
PeaceByJesus
Posts: 88
Joined: Mon Dec 24, 2007 7:38 pm

[Solved] Is manually editing standard.soc file a problem?

Post by PeaceByJesus »

I have often created custom colors (too many!) via Tools?Option>Open Office>Colors, but I find that when updating to a new version then OO loses some and renames others to Chart.... In addition, there is no way to rearrange/organize the order of colors in the chart. So I edited the C:\Users\UserName\AppData\Roaming\OpenOffice\4\user\config\standard.soc file, and though it took a while it is now organized, and OO loads and show the color chart fine, but would this create any problem? Why does OO rename custom colors to Chart?
32529599545_49657693bb.jpg
32529599545_49657693bb.jpg (41.23 KiB) Viewed 4119 times
Last edited by Hagar Delest on Sat Jan 27, 2018 10:44 pm, edited 1 time in total.
Reason: tagged [Solved].
Windows 11 Pro, Ryzen 3 3200G CPU; 64GB RAM
Grace and peace thru Jesus the Lord. peacebyjesus.net (pages created in Open office)
User avatar
Hagar Delest
Moderator
Posts: 32657
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Will manually editing standard.soc colors file be a prob

Post by Hagar Delest »

See: [Solved] Smooth colors in OpenOffice.
There are some hints about file location for the palette and so on. Just keep a copy of your custom palette somewhere and replace the one installed by default when you upgrade.

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the edit button if your issue has been fixed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
PeaceByJesus
Posts: 88
Joined: Mon Dec 24, 2007 7:38 pm

Re: Will manually editing standard.soc colors file be a prob

Post by PeaceByJesus »

Thanks! This one in particular looked better than mine, and I quickly replaced it (OO must be shutdown, including QuickStarter I presume). I forgot the Rule #1 in posting, which is to search (Google site search is best) the forums, and I see that I am not the first one to lose custom colors during an upgrade (likely very few users have such).

However, I have many custom colors in documents (like in font colors) and which OO does not add to the color palette when I load it. I guess I would have to open the file up in a text editor or (better) use Color Detector to use get the code to each one and code that into the standard.soc file. It would be nice if AOO enabled toggling btwn more than one color palette.

In addition, do you know how and why OO adds colors named "Chart," and what the sun-color.soc file is for (I searched).

Edit: I also found that making even the slightest edit via Tools>Option>Open Office>Colors changes the structure of standard.soc file so that the paragraph breaks are all removed, and it becomes one continuous body of text, making organization harder.
Last edited by PeaceByJesus on Thu Jan 26, 2017 4:24 pm, edited 1 time in total.
Windows 11 Pro, Ryzen 3 3200G CPU; 64GB RAM
Grace and peace thru Jesus the Lord. peacebyjesus.net (pages created in Open office)
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Will manually editing standard.soc colors file be a prob

Post by John_Ha »

See Choosing and defining colors - page 178 in the Getting Started Guide (Full Book).
Choosing and defining colors
Color Bar
To display the Color Bar, use View > Toolbars > Color Bar. The toolbar then appears at the bottom of the workspace.
This toolbar lets you rapidly choose the color of the objects in your drawing. The first box in the panel corresponds to transparency (no color).
You can access several specialized color palettes in Draw, as well as change individual colors to your own taste. To do this, choose Format > Area or the pouring can icon on the Line and Filling toolbar. This opens the Area dialog. Choose the Colors tab.

To load another palette, click on the Load Color List button (circled). The file selector dialog asks you to choose one of the standard OOo palettes (files bearing the file extension *.soc). For example, web.soc is a color palette that is particularly adapted to creating drawings that are going to appear in Web pages. The colors will correctly display on workstations with screens displaying at least 256 colors. The color selection box also lets you individually change any color by modifying the numerical values in the fields provided to the right of the color palette. You can use the color schemes known as CMYK (Cyan, Magenta, Yellow, Black), and RGB (Red, Green, Blue).

Changing the color palette
Click on the Edit button to open the Color dialog, where you can set individual colors. See “Color options” in Chapter 2 (Setting Up OpenOffice.org) of this book.
Many more input possibilities are available in this dialog. For a more detailed description of color palettes and their options, see Chapter 8 (Tips and Tricks) in the Draw Guide
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
PeaceByJesus
Posts: 88
Joined: Mon Dec 24, 2007 7:38 pm

Re: Will manually editing standard.soc colors file be a prob

Post by PeaceByJesus »

Thanks, but I am dealing with documents, and there is no View > Toolbars > Color Bar. At least not in AOO 4.1.3
Last edited by PeaceByJesus on Thu Jan 26, 2017 11:35 pm, edited 1 time in total.
Windows 11 Pro, Ryzen 3 3200G CPU; 64GB RAM
Grace and peace thru Jesus the Lord. peacebyjesus.net (pages created in Open office)
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Will manually editing standard.soc colors file be a prob

Post by RoryOF »

I think John_Ha was referring to using Draw to define the colours for the palette.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Denise51
Posts: 14
Joined: Mon Apr 08, 2013 4:55 pm

Re: Will manually editing standard.soc colors file be a prob

Post by Denise51 »

I cannot find the standard.soc file on that path there are a few standard files but not standard.soc

I would like to back up my format cells colours for when OO updates so which files is it to back up?
OpenOffice 3.4.1 on Windows 7
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Will manually editing standard.soc colors file be a prob

Post by RoryOF »

Try looking again; you possibly have overlooked it. I've just checked on two different computers, one using Windows, one using Xubuntu, and it is in the profile in the config folder.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Denise51
Posts: 14
Joined: Mon Apr 08, 2013 4:55 pm

Re: Will manually editing standard.soc colors file be a prob

Post by Denise51 »

Thats a screen shot of my config folder
X6HuLQ5TQR62mP0bD4udEA.png
OpenOffice 3.4.1 on Windows 7
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Will manually editing standard.soc colors file be a prob

Post by RoryOF »

At operating system level turn on viewing of file extensions.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Denise51
Posts: 14
Joined: Mon Apr 08, 2013 4:55 pm

Re: Will manually editing standard.soc colors file be a prob

Post by Denise51 »

Thank you got it so that is the one to backup Format Cells on Calc for colors standard.soc brilliant thank you.
OpenOffice 3.4.1 on Windows 7
PeaceByJesus
Posts: 88
Joined: Mon Dec 24, 2007 7:38 pm

Re: Will manually editing standard.soc colors file be a prob

Post by PeaceByJesus »

Denise51 wrote:I cannot find the standard.soc file on that path there are a few standard files but not standard.soc

I would like to back up my format cells colours for when OO updates so which files is it to back up?
My experience with that last upgrade (to 4.1.4) is that the OO updater retained such files as these, but as said, you need to enable viewing of file extensions to see the file extensions. One of the first things I do with a new OS install of Windows is to go Folder Options, or as its called in the Window 10 Control Panel, File explorer options, and uncheck anything marked Hide... but you only need to uncheck Hide extensions.... I also check Show hidden, but for PCs with multiple users that may not be wise.
Windows 11 Pro, Ryzen 3 3200G CPU; 64GB RAM
Grace and peace thru Jesus the Lord. peacebyjesus.net (pages created in Open office)
Post Reply