Files
ElyOffice/patches/libreoffice/0013-lok-author-option.patch
T
ZacharyZhang-NY b7fca0146d Ely Office: six offline-first desktop apps in Rust and GPUI
ElyDoc, ElyTable, ElyShow (LibreOfficeKit), ElyPDF (MuPDF), ElyTree (Git),
ElyMark (Milkdown and CodeMirror in CEF). ElyMail and ElyAgent follow.
2026-10-08 21:20:08 -04:00

17 lines
593 B
Diff

--- a/desktop/source/lib/init.cxx 2026-10-04 16:16:09
+++ b/desktop/source/lib/init.cxx 2026-10-04 16:16:09
@@ -5351,6 +5351,13 @@
{
updateConfig(OUString(pValue, strlen(pValue), RTL_TEXTENCODING_UTF8));
}
+ else if (strcmp(pOption, "author") == 0)
+ {
+ // The name new comments and tracked changes carry.
+ SvtUserOptions aOptions;
+ aOptions.SetToken(UserOptToken::FirstName, OUString::fromUtf8(pValue));
+ aOptions.SetToken(UserOptToken::LastName, OUString());
+ }
#ifdef LINUX
else if (strcmp(pOption, "addfont") == 0)
{