Calligra 单词:~/.kde/share/config/wordsrc 中使用了什么语法?

Calligra 单词:~/.kde/share/config/wordsrc 中使用了什么语法?

我有 Calligra Words,版本 2.9.7,使​​用来自 Kubuntu 16.04 标准仓库的 KDE 开发平台 4.14.22。

我正在查看~/.kde/share/config/wordsrc并看到了这样的条目: ko_geometry=AdnQywABAAD////6AAAANQAABRAAAALLAAAAAAAAAFoAAAUKAAACxQAAAAAAAA==

下一行与上面代码中的ko_windowstate内容相关且更长但类似。ko_geometry=

ko_windowstate=AAAA/wAAAAD9AAAAAgAAAAEAAAULAAACKvwCAAAADPsAAAAOAFQAbwBvAGwAQgBvAHgBAAAAGAAAAGMAAAAAAAAAAPsAAAAgAHMAaABhAHIAZQBkAHQAbwBvAGwAZABvAGMAawBlAHIAAAAAQgAAAGIAAABiAQAAA/sAAAAqAFMAaABhAHAAZQBDAG8AbABsAGUAYwB0AGkAbwBuAEQAbwBjAGsAZQByAAAAAEIAAAJ0AAAAHAAAABz7AAAAIgBTAHQAcgBvAGsAZQAgAFAAcgBvAHAAZQByAHQAaQBlAHMAAAAAAP////8AAAAAAAAAAPsAAAAWAFMAdAB5AGwAZQBEAG8AYwBrAGUAcgAAAAKSAAAAcAAAAAAAAAAA+wAAACAAUwBoAGEAcABlACAAUAByAG8AcABlAHIAdABpAGUAcwAAAAAA/////wAAABwBAAAD+wAAACIAUwBoAGEAZABvAHcAIABQAHIAbwBwAGUAcgB0AGkAZQBzAAAAAAD/////AAAAAAAAAAD7AAAAFABTAHQAYQB0AGkAcwB0AGkAYwBzAAAAAAD/////AAAA7gEAAAP7AAAABgBSAGQAZgAAAAAA/////wAAAGgBAAAD+wAAABQATgBhAHYAaQBnAGEAdABpAG8AbgAAAAAA/////wAAAGgBAAAD+wAAACgAUwBuAGEAcABHAHUAaQBkAGUAIABQAHIAbwBwAGUAcgB0AGkAZQBzAAAAAAD/////AAAAHAEAAAP7AAAADgBNAG8AZABlAEIAbwB4AQAAAEIAAAIqAAAAqQAIABsAAAACAAAAAAAAAAD8AQAAAAH7AAAAGgBUAG8AbwBsAEIAYQByAEQAbwBjAGsAZQByAAAAAAD/////AAAAAAAAAAAAAAAAAAACBQAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAABAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAA==

这些字符串里包含什么样的信息?

答案1

KDE 配置文件

先前的 AskUubntu:KDE 应用程序中的配置文件

现在 KDE Frameworks KConfig:https://api.kde.org/frameworks/kconfig/html/

Calligra 2.9.7

...calligra-2.9.7/libs/main/KoMainWindow.cpp 第 444 行:

KConfigGroup cfg(KGlobal::config(), "MainWindow");
cfg.writeEntry("ko_geometry", saveGeometry().toBase64());
cfg.writeEntry("ko_windowstate", saveState().toBase64());

Calligra 正在将窗口几何形状和窗口状态(打开了哪些小部件以及它们在哪里等等)以 base 64 格式保存到 rc 文件中:https://en.wikipedia.org/wiki/Base64

解码您的 ko_windowstate 片段 -https://www.base64decode.org

在此处输入图片描述

相关内容