2020 年 8 月 30 日更新:如何在任何操作系统(Windows、Mac、Linux)中安装 LibreOffice 5.2 经典调色板:

2020 年 8 月 30 日更新:如何在任何操作系统(Windows、Mac、Linux)中安装 LibreOffice 5.2 经典调色板:

2017 年左右(见此处:https://design.blog.documentfoundation.org/2017/04/10/new-standard-color-palette/),LibreOffice 决定放弃 LibreOffice 4.3 调色板,例如我非常喜欢的漂亮明亮的绿色(“绿色 1”、“绿色 2”和“绿色 3”),他们用新调色板取而代之。我认为他们放弃旧调色板而不是添加新调色板是一个悲剧,但他们就是这么做的。无论如何,我怀念 4.3 模板。

经过一年半多的时间,我都不知道该如何找回旧模板,现在我终于找到了答案。我将把这个作为答案发布出来与大家分享,因为我已经看到了一些其他论坛和人们想知道的事情。

在此处输入图片描述

答案1

2020 年 8 月 30 日更新:如何在任何操作系统(Windows、Mac、Linux)中安装 LibreOffice 5.2 经典调色板:

在 Ubuntu 20.04 中的 LibreOffice 6.4.5.2 中测试。

只需点击此处:https://extensions.libreoffice.org/en/extensions/show/libreoffice-5-2-color-palette--> 单击“下载”按钮(直接链接在这里)。 保存 ”libo-5-2-调色板.oxt“扩展安装文件位于某处。双击它以运行并安装它。就是这样!完美运行!

现在,只需从菜单中选择此调色板!它被称为LibreOffice 5.2, 如下所示:

在此处输入图片描述

啊,好多了!

在此处输入图片描述

“绿色 2” 是我最喜欢的高光颜色之一:

在此处输入图片描述


旧的/过时的答案:

Linux 说明:

这是取自:的旧 Libreoffice 4.3standard.soc调色板文件~/.config/libreoffice/4/user/config/standard.soc,位于最初装有 LibreOffice 4 的 Ubuntu 14.04 笔记本电脑上:

<?xml version="1.0" encoding="UTF-8"?>
<ooo:color-table xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ooo="http://openoffice.org/2004/office"><draw:color draw:name="Black" draw:color="#000000"/><draw:color draw:name="White" draw:color="#ffffff"/><draw:color draw:name="Gray 1" draw:color="#eeeeee"/><draw:color draw:name="Gray 2" draw:color="#dddddd"/><draw:color draw:name="Gray 3" draw:color="#cccccc"/><draw:color draw:name="Gray 4" draw:color="#b2b2b2"/><draw:color draw:name="Gray 5" draw:color="#999999"/><draw:color draw:name="Gray 6" draw:color="#808080"/><draw:color draw:name="Gray 7" draw:color="#666666"/><draw:color draw:name="Gray 8" draw:color="#333333"/><draw:color draw:name="Gray 9" draw:color="#1c1c1c"/><draw:color draw:name="Gray 10" draw:color="#111111"/><draw:color draw:name="Yellow" draw:color="#ffff99"/><draw:color draw:name="Orange" draw:color="#ff6600"/><draw:color draw:name="Red" draw:color="#ff3333"/><draw:color draw:name="Pink" draw:color="#ff00cc"/><draw:color draw:name="Magenta" draw:color="#ff33ff"/><draw:color draw:name="Purple" draw:color="#9900ff"/><draw:color draw:name="Blue" draw:color="#6666ff"/><draw:color draw:name="Sky blue" draw:color="#00ccff"/><draw:color draw:name="Cyan" draw:color="#66ffff"/><draw:color draw:name="Turquoise" draw:color="#33ff99"/><draw:color draw:name="Green" draw:color="#99ff66"/><draw:color draw:name="Yellow green" draw:color="#ccff00"/><draw:color draw:name="Yellow 1" draw:color="#ffff66"/><draw:color draw:name="Orange 1" draw:color="#ffcc00"/><draw:color draw:name="Red 1" draw:color="#ff9999"/><draw:color draw:name="Pink 1" draw:color="#ff66cc"/><draw:color draw:name="Magenta 1" draw:color="#ff99ff"/><draw:color draw:name="Purple 1" draw:color="#cc66ff"/><draw:color draw:name="Blue 1" draw:color="#9999ff"/><draw:color draw:name="Sky blue 1" draw:color="#9999ff"/><draw:color draw:name="Cyan 1" draw:color="#99ffff"/><draw:color draw:name="Turquoise 1" draw:color="#66ff99"/><draw:color draw:name="Green 1" draw:color="#99ff99"/><draw:color draw:name="Yellow green 1" draw:color="#ccff66"/><draw:color draw:name="Yellow 2" draw:color="#ffff00"/><draw:color draw:name="Orange 2" draw:color="#ff9900"/><draw:color draw:name="Red 2" draw:color="#ff6666"/><draw:color draw:name="Pink 2" draw:color="#ff3399"/><draw:color draw:name="Magenta 2" draw:color="#ff66ff"/><draw:color draw:name="Purple 2" draw:color="#9933ff"/><draw:color draw:name="Blue 2" draw:color="#3333ff"/><draw:color draw:name="Sky blue 2" draw:color="#3399ff"/><draw:color draw:name="Cyan 2" draw:color="#00ffff"/><draw:color draw:name="Turquoise 2" draw:color="#00ff66"/><draw:color draw:name="Green 2" draw:color="#66ff66"/><draw:color draw:name="Yellow green 2" draw:color="#99ff33"/><draw:color draw:name="Yellow 3" draw:color="#cc9900"/><draw:color draw:name="Orange 3" draw:color="#ff3300"/><draw:color draw:name="Red 3" draw:color="#ff0000"/><draw:color draw:name="Pink 3" draw:color="#ff0066"/><draw:color draw:name="Magenta 3" draw:color="#ff00ff"/><draw:color draw:name="Purple 3" draw:color="#6600ff"/><draw:color draw:name="Blue 3" draw:color="#0000ff"/><draw:color draw:name="Sky blue 3" draw:color="#0066ff"/><draw:color draw:name="Cyan 3" draw:color="#00cccc"/><draw:color draw:name="Turquoise 3" draw:color="#00cc33"/><draw:color draw:name="Green 3" draw:color="#00cc00"/><draw:color draw:name="Yellow green 3" draw:color="#66ff00"/><draw:color draw:name="Yellow 4" draw:color="#996600"/><draw:color draw:name="Orange 4" draw:color="#cc3300"/><draw:color draw:name="Red 4" draw:color="#cc0000"/><draw:color draw:name="Pink 4" draw:color="#cc0066"/><draw:color draw:name="Magenta 4" draw:color="#cc00cc"/><draw:color draw:name="Purple 4" draw:color="#6600cc"/><draw:color draw:name="Blue 4" draw:color="#0000cc"/><draw:color draw:name="Sky blue 4" draw:color="#0066cc"/><draw:color draw:name="Cyan 4" draw:color="#009999"/><draw:color draw:name="Turquoise 4" draw:color="#009933"/><draw:color draw:name="Green 4" draw:color="#009900"/><draw:color draw:name="Yellow green 4" draw:color="#66cc00"/><draw:color draw:name="Yellow 5" draw:color="#663300"/><draw:color draw:name="Orange 5" draw:color="#801900"/><draw:color draw:name="Red 5" draw:color="#990000"/><draw:color draw:name="Pink 5" draw:color="#990066"/><draw:color draw:name="Magenta 5" draw:color="#990099"/><draw:color draw:name="Purple 5" draw:color="#330099"/><draw:color draw:name="Blue 5" draw:color="#000099"/><draw:color draw:name="Sky blue 5" draw:color="#006699"/><draw:color draw:name="Cyan 5" draw:color="#006666"/><draw:color draw:name="Turquoise 5" draw:color="#007826"/><draw:color draw:name="Green 5" draw:color="#006600"/><draw:color draw:name="Yellow green 5" draw:color="#669900"/><draw:color draw:name="Yellow 6" draw:color="#333300"/><draw:color draw:name="Orange 6" draw:color="#461900"/><draw:color draw:name="Red 6" draw:color="#330000"/><draw:color draw:name="Pink 6" draw:color="#330033"/><draw:color draw:name="Magenta 6" draw:color="#660066"/><draw:color draw:name="Purple 6" draw:color="#000033"/><draw:color draw:name="Blue 6" draw:color="#000066"/><draw:color draw:name="Sky blue 6" draw:color="#000080"/><draw:color draw:name="Cyan 6" draw:color="#003333"/><draw:color draw:name="Turquoise 6" draw:color="#00331a"/><draw:color draw:name="Green 6" draw:color="#003300"/><draw:color draw:name="Yellow green 6" draw:color="#193300"/><draw:color draw:name="Yellow 7" draw:color="#666633"/><draw:color draw:name="Orange 7" draw:color="#661900"/><draw:color draw:name="Red 7" draw:color="#663333"/><draw:color draw:name="Pink 7" draw:color="#660033"/><draw:color draw:name="Magenta 7" draw:color="#663366"/><draw:color draw:name="Purple 7" draw:color="#330066"/><draw:color draw:name="Blue 7" draw:color="#333366"/><draw:color draw:name="Sky blue 7" draw:color="#003366"/><draw:color draw:name="Cyan 7" draw:color="#336666"/><draw:color draw:name="Turquoise 7" draw:color="#006633"/><draw:color draw:name="Green 7" draw:color="#336633"/><draw:color draw:name="Yellow green 7" draw:color="#336600"/><draw:color draw:name="Yellow 8" draw:color="#999966"/><draw:color draw:name="Orange 8" draw:color="#996633"/><draw:color draw:name="Red 8" draw:color="#996666"/><draw:color draw:name="Pink 8" draw:color="#993366"/><draw:color draw:name="Magenta 8" draw:color="#996699"/><draw:color draw:name="Purple 8" draw:color="#663399"/><draw:color draw:name="Blue 8" draw:color="#666699"/><draw:color draw:name="Sky blue 8" draw:color="#336699"/><draw:color draw:name="Cyan 8" draw:color="#669999"/><draw:color draw:name="Turquoise 8" draw:color="#339966"/><draw:color draw:name="Green 8" draw:color="#669966"/><draw:color draw:name="Yellow green 8" draw:color="#669933"/><draw:color draw:name="Yellow 9" draw:color="#cccc99"/><draw:color draw:name="Orange 9" draw:color="#cc9966"/><draw:color draw:name="Red 9" draw:color="#cc9999"/><draw:color draw:name="Pink 9" draw:color="#cc6699"/><draw:color draw:name="Magenta 9" draw:color="#cc99cc"/><draw:color draw:name="Purple 9" draw:color="#9966cc"/><draw:color draw:name="Blue 9" draw:color="#9999cc"/><draw:color draw:name="Sky blue 9" draw:color="#6699cc"/><draw:color draw:name="Cyan 9" draw:color="#99cccc"/><draw:color draw:name="Turquoise 9" draw:color="#66cc99"/><draw:color draw:name="Green 9" draw:color="#99cc99"/><draw:color draw:name="Yellow green 9" draw:color="#99cc66"/><draw:color draw:name="Yellow 10" draw:color="#ffffcc"/><draw:color draw:name="Orange 10" draw:color="#ffcc99"/><draw:color draw:name="Red 10" draw:color="#ffcccc"/><draw:color draw:name="Pink 10" draw:color="#ff99cc"/><draw:color draw:name="Magenta 10" draw:color="#ffccff"/><draw:color draw:name="Purple 10" draw:color="#cc99ff"/><draw:color draw:name="Blue 10" draw:color="#ccccff"/><draw:color draw:name="Sky blue 10" draw:color="#99ccff"/><draw:color draw:name="Cyan 10" draw:color="#ccffff"/><draw:color draw:name="Turquoise 10" draw:color="#99ffcc"/><draw:color draw:name="Green 10" draw:color="#ccffcc"/><draw:color draw:name="Yellow green 10" draw:color="#ccff99"/><draw:color draw:name="Blue gray" draw:color="#e6e6ff"/><draw:color draw:name="Blue classic" draw:color="#cfe7f5"/><draw:color draw:name="Violet" draw:color="#9999ff"/><draw:color draw:name="Bordeaux" draw:color="#993366"/><draw:color draw:name="Pale yellow" draw:color="#ffffcc"/><draw:color draw:name="Pale green" draw:color="#ccffcc"/><draw:color draw:name="Dark violet" draw:color="#660066"/><draw:color draw:name="Salmon" draw:color="#ff8080"/><draw:color draw:name="Sea blue" draw:color="#0066cc"/><draw:color draw:name="Chart 1" draw:color="#004586"/><draw:color draw:name="Chart 2" draw:color="#ff420e"/><draw:color draw:name="Chart 3" draw:color="#ffd320"/><draw:color draw:name="Chart 4" draw:color="#579d1c"/><draw:color draw:name="Chart 5" draw:color="#7e0021"/><draw:color draw:name="Chart 6" draw:color="#83caff"/><draw:color draw:name="Chart 7" draw:color="#314004"/><draw:color draw:name="Chart 8" draw:color="#aecf00"/><draw:color draw:name="Chart 9" draw:color="#4b1f6f"/><draw:color draw:name="Chart 10" draw:color="#ff950e"/><draw:color draw:name="Chart 11" draw:color="#c5000b"/><draw:color draw:name="Chart 12" draw:color="#0084d1"/><draw:color draw:name="Tango: Sky Blue 1" draw:color="#729fcf"/><draw:color draw:name="Tango: Sky Blue 2" draw:color="#3465a4"/><draw:color draw:name="Ubuntu Orange" draw:color="#dd4814"/><draw:color draw:name="Ubuntu Warm Grey" draw:color="#aea79f"/><draw:color draw:name="Ubuntu Cool Grey" draw:color="#333333"/><draw:color draw:name="Ubuntu Light Aubergine" draw:color="#77216f"/><draw:color draw:name="Ubuntu Mid Aubergine" draw:color="#5e2750"/><draw:color draw:name="Ubuntu Dark Aubergine" draw:color="#2c001e"/><draw:color draw:name="Canonical Aubergine" draw:color="#772953"/></ooo:color-table>

忘记它奇怪的单行 XML 格式:这就是 LibreOffice 喜欢的。

LibreOffice 内部如下所示:

在此处输入图片描述

请注意我非常喜欢的那个美丽、明亮的“绿色 2”色调,他们愚蠢地将它从 LibreOffice 5 和 6 中删除了。

只需将上面的“standard.soc”XML 内容复制并粘贴到文本文件中,然后将其保存为standard_old.soc

现在,在你的新电脑上(例如:在 Ubuntu 18.04 中运行 LibreOffice 6)找到你的调色板*.soc文件的位置:

cd / && find | grep libreoffice.*\.soc

您可能会得到类似这样的结果。这表明您的新 Libreoffice 调色板存储的位置是“/usr/lib/libreoffice/share/palette/”。您需要知道此目录才能完成下一部分。

./usr/lib/libreoffice/share/palette/standard.soc
./usr/lib/libreoffice/share/palette/html.soc
./usr/lib/libreoffice/share/palette/freecolour-hlc.soc
./usr/lib/libreoffice/share/palette/tonal.soc
./usr/lib/libreoffice/share/palette/libreoffice.soc
./usr/lib/libreoffice/share/palette/chart-palettes.soc

最后,将旧的颜色模板standard_old.soc(您刚刚在上面制作的)复制到您刚刚在上面发现的文件夹中:

sudo cp path/to/standard_old.soc /usr/lib/libreoffice/share/palette/standard_old.soc

完成!关闭并重新打开 LibreOffice,当您选择颜色时,这个最美丽、最珍贵的调色板将作为“standard_old”从调色板下拉菜单中提供。

Windows 说明:

未知,但可能与上述过程类似。欢迎参与并发表评论或回答,以展示如何在 Windows 中执行此操作。

答案2

相关内容