A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.
Write and Tables, Keep my work for Windows apps, loading splashes, and more fixes
Dancad3493a9997
diff --git a/build-iso.sh b/build-iso.shindex 8e0b9bf..cef3be9 100644--- a/build-iso.sh+++ b/build-iso.sh@@ -2,11 +2,51 @@# Builds the Wild OS ISO into ./out using the builder container.# --incremental reuses the last build (see build/incremental.sh).# WILDOS_CACHE names the volume or directory kept between builds.-# WILDOS_WORK names the scratch volume: one per worktree lets several builds-# run at once without wiping each other's work.+# WILDOS_WORK names the scratch volume: one per worktree, so a build never+# wipes another worktree's work.+#+# --packages builds only the packages this checkout changed from main+# (committed or not), never all of them by accident: a full package build+# takes every core for many minutes, and with several sessions at once it froze+# the PC. WILDOS_ONLY="a b" names them instead; WILDOS_ALL=1 builds everything+# (publishing with --full, and CI).+# Patched Debian rebuilds and the compiler cache are shared by every build on+# the PC (wildos-rebuilds, wildos-ccache), so a new worktree starts warm.+# WILDOS_BUILD_MEMORY caps one build (10g by default): a build that needs more+# fails on its own instead of freezing every other build and VM.+#+# Builds on one PC take turns; WILDOS_BUILD_SLOTS lets that many run at once+# (one by default). WILDOS_PUBLISH=1 marks a publish, which has a slot of its+# own and so never waits behind a development build.set -euo pipefailcd "$(dirname "$0")"+if [ "${1:-}" = --packages ] && [ -z "${WILDOS_ONLY+set}" ] && [ "${WILDOS_ALL:-}" != 1 ]; then+ base=$(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD main)+ # branding/ is copied into wildos-branding when it builds.+ WILDOS_ONLY=$({ git diff --name-only "$base" -- packages branding; git ls-files --others --exclude-standard -- packages branding; } |+ awk -F/ '$1 == "branding" { print "wildos-branding"; next } NF > 2 { print $2 }' | sort -u | tr '\n' ' ')+ WILDOS_ONLY=${WILDOS_ONLY% }+ export WILDOS_ONLY+ if [ -z "$WILDOS_ONLY" ]; then+ echo "No Wild OS package differs from main here, so there is nothing to build."+ echo "Name packages with WILDOS_ONLY=\"wildos-mail ...\", or set WILDOS_ALL=1 for every package."+ exit 0+ fi+ echo "Building only what changed from main: $WILDOS_ONLY"+fi+if [ "${WILDOS_ALL:-}" = 1 ]; then unset WILDOS_ONLY; fi++# One cache for every build on this PC: the Debian packages Wild OS patches+# (Calamares, KDE libraries) take many minutes to compile and are kept there by+# recipe, so a cache per worktree compiled them again for every agent. A path+# (CI's directory) is still honoured.+cache=${WILDOS_CACHE:-wildos-cache}+case "$cache" in+ /*|./*|[A-Za-z]:*) ;;+ *) [ "$cache" = wildos-cache ] || echo "Using the shared wildos-cache volume, not $cache"; cache=wildos-cache ;;+esac+docker build -t wildos-builder buildmkdir -p out@@ -19,11 +59,17 @@ for dir in build/patches/*/; dodonedocker run --rm --privileged \+ --memory "${WILDOS_BUILD_MEMORY:-10g}" --memory-swap "${WILDOS_BUILD_MEMORY:-10g}" \-e WILDOS_REVISION="${WILDOS_REVISION:-}" \-e WILDOS_PATCH_COUNTS="$patch_counts" \-e WILDOS_ONLY \+ -e WILDOS_PUBLISH \+ -e WILDOS_BUILD_SLOTS \+ -e WILDOS_CHECKOUT="$PWD" \-v "$PWD":/src:ro \-v "$PWD/out":/out \-v "${WILDOS_WORK:-wildos-work}":/work \- -v "${WILDOS_CACHE:-wildos-cache}":/cache \+ -v "$cache":/cache \+ -v wildos-rebuilds:/rebuilds \+ -v wildos-ccache:/ccache \wildos-builder bash /src/build/build.sh "$@"diff --git a/build/Dockerfile b/build/Dockerfileindex 76c3967..a8e7fe8 100644--- a/build/Dockerfile+++ b/build/Dockerfile@@ -112,3 +112,22 @@ RUN apt-get update \RUN apt-get update \&& apt-get install -y --no-install-recommends qml6-module-qtquick-pdf qml6-module-qtmultimedia \&& rm -rf /var/lib/apt/lists/*++# wildos-setup's wallet key service checks the account's password with PAM+# before it keeps a key for automatic sign-in.+RUN apt-get update \+ && apt-get install -y --no-install-recommends libpam0g-dev \+ && rm -rf /var/lib/apt/lists/*++# The repacked security-misc-shared ships emerg-shutdown and fm-shim-backend+# compiled here (build.sh); fm-shim-backend links D-Bus and libsystemd and+# finds them with pkg-config.+RUN apt-get update \+ && apt-get install -y --no-install-recommends libdbus-1-dev libsystemd-dev pkgconf \+ && rm -rf /var/lib/apt/lists/*++# Compiles go through ccache (a volume shared by every build, see+# build-iso.sh), so a package whose code barely changed rebuilds in seconds.+RUN apt-get update \+ && apt-get install -y --no-install-recommends ccache \+ && rm -rf /var/lib/apt/lists/*diff --git a/build/build.sh b/build/build.shindex 68dea3e..494b0bc 100644--- a/build/build.sh+++ b/build/build.sh@@ -30,6 +30,24 @@ fiSRC=/tmp/srcWORK=/workCACHE=/cache/apt+# Patched Debian rebuilds (Calamares, KIO, Kvantum and the rest) are shared by+# every build on this PC when build-iso.sh mounts /rebuilds, so a new+# worktree's build doesn't spend most of an hour making them again.+REBUILDS=/rebuilds+[ -d "$REBUILDS" ] || REBUILDS=/cache+# Compiles go through ccache, shared the same way, so a package whose code+# barely changed recompiles in seconds.+if [ -d /ccache ] && [ -d /usr/lib/ccache ]; then+ export PATH="/usr/lib/ccache:$PATH" CCACHE_DIR=/ccache CCACHE_BASEDIR=/work CCACHE_MAXSIZE=25G CCACHE_COMPILERCHECK=content+fi+# Compiler processes in all, by memory as well as cores: a Qt compile can+# take over a gigabyte, so cores alone would run out of memory first.+mem_kib=$(awk '/MemTotal/ {print $2}' /proc/meminfo)+limit=$(cat /sys/fs/cgroup/memory.max 2>/dev/null || echo max)+[ "$limit" != max ] && [ $(( limit / 1024 )) -lt "$mem_kib" ] && mem_kib=$(( limit / 1024 ))+BUILD_THREADS=$(( mem_kib / 1572864 ))+[ "$BUILD_THREADS" -gt "$(nproc)" ] && BUILD_THREADS=$(nproc)+[ "$BUILD_THREADS" -lt 2 ] && BUILD_THREADS=2OUT=/outSUITE=trixieVOLID=WILDOS@@ -50,6 +68,45 @@ if [ "${1:-}" = --incremental ]; thenROOTFS=$INC/rootfsfi+# Builds take turns, one at a time on this PC unless WILDOS_BUILD_SLOTS allows+# more. The cache is shared by every build, so locks in it make a further+# build wait instead of slowing every build and starving the test VMs of+# memory. A publish (WILDOS_PUBLISH=1) has a slot of its own, so an update+# never queues behind work in progress; publishes take turns with each other.+mkdir -p /cache+if [ "${WILDOS_PUBLISH:-}" = 1 ]; then+ slots=(.publish-lock)+else+ slots=(.build-lock)+ for ((n = 2; n <= ${WILDOS_BUILD_SLOTS:-1}; n++)); do slots+=(".build-lock-$n"); done+fi+slot=+while [ -z "$slot" ]; do+ for try in "${slots[@]}"; do+ exec 9>"/cache/$try"+ if flock -n 9; then slot=$try; break; fi+ exec 9>&-+ done+ [ -n "$slot" ] && break+ if [ -z "${waited:-}" ]; then+ log "Waiting for a build slot. Building now:"+ for try in "${slots[@]}"; do sed 's/^/ /' "/cache/$try.who" 2>/dev/null || true; done+ waited=1+ fi+ # With one slot, wait on its lock itself rather than asking again and again.+ if [ "${#slots[@]}" = 1 ]; then+ exec 9>"/cache/${slots[0]}"+ flock 9+ slot=${slots[0]}+ else+ sleep 5+ fi+done+echo "${WILDOS_ONLY:-every package} from ${WILDOS_CHECKOUT:-a checkout}, since $(date +%T)" > "/cache/$slot.who"+# Which checkout this scratch volume belongs to, so volumes left behind by+# deleted worktrees can be found and removed.+[ -n "${WILDOS_CHECKOUT:-}" ] && echo "$WILDOS_CHECKOUT" > "$WORK/.checkout"+log "Wild OS $VERSION"rm -rf "$WORK/pkgsrc" "$WORK/repo" "$WORK/rootfs" "$WORK/iso"mkdir -p "$WORK/pkgsrc" "$WORK/repo" "$WORK/iso" "$CACHE" "$OUT"@@ -112,6 +169,18 @@ else# build carry on before the packages were made.max_jobs=$(( $(nproc) / 4 ))[ "$max_jobs" -lt 2 ] && max_jobs=2+ # BUILD_THREADS (cores and memory) is shared out between the packages+ # building at once, not handed to each one in full: 6 packages each told+ # to use all 24 cores asked for 144 compilers at a time.+ todo=0+ for pkg in "$WORK"/pkgsrc/*/; do+ [ -e "$pkg/NOT-READY" ] && continue+ if [ -n "${WILDOS_ONLY+set}" ] && [[ " $WILDOS_ONLY " != *" $(basename "$pkg") "* ]]; then continue; fi+ todo=$((todo + 1))+ done+ if [ "$todo" -gt 0 ] && [ "$todo" -lt "$max_jobs" ]; then max_jobs=$todo; fi+ threads=$(( BUILD_THREADS / max_jobs ))+ [ "$threads" -lt 1 ] && threads=1failed=0running=0built=()@@ -129,7 +198,7 @@ elsefiname=$(basename "$pkg")built+=("$name")- (cd "$pkg" && DEB_BUILD_OPTIONS="parallel=$(nproc)" dpkg-buildpackage -us -uc -b -d -tc >"$WORK/build-$name.log" 2>&1 \+ (cd "$pkg" && DEB_BUILD_OPTIONS="parallel=$threads" dpkg-buildpackage -us -uc -b -d -tc >"$WORK/build-$name.log" 2>&1 \|| { echo "ERROR: $name failed to build:" >&2; tail -40 "$WORK/build-$name.log" >&2; exit 1; }) &running=$((running + 1))done@@ -179,7 +248,7 @@ donecd "$WORK"version=$(apt-cache policy calamares | sed -n 's/^ Candidate: //p')stamp=$(cat "$SRC"/build/patches/calamares/*.patch | sha256sum | cut -c1-12)- cached="/cache/calamares/$version$(wildos_suffix calamares)-$stamp"+ cached="$REBUILDS/calamares/$version$(wildos_suffix calamares)-$stamp"if [ ! -d "$cached" ]; thenlog "Building patched Calamares $version"echo "deb-src http://deb.debian.org/debian $SUITE main" > /etc/apt/sources.list.d/wildos-src.list@@ -200,10 +269,13 @@ donecat debian/changelog} > debian/changelog.newmv debian/changelog.new debian/changelog- DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" dpkg-buildpackage -us -uc -b >/dev/null- mkdir -p "$cached"- cp ../calamares_*+wildos*_*.deb "$cached/"+ DEB_BUILD_OPTIONS="nocheck parallel=$BUILD_THREADS" dpkg-buildpackage -us -uc -b >/dev/null+ fill="$cached.part.$BASHPID"+ rm -rf "$fill" && mkdir -p "$fill"+ cp ../calamares_*+wildos*_*.deb "$fill/"cd "$WORK" && rm -rf calamares-src+ # Another build may have made the same one meanwhile; either copy is good.+ mv -T "$fill" "$cached" 2>/dev/null || rm -rf "$fill"ficp "$cached"/*.deb "$WORK/repo/")@@ -218,7 +290,7 @@ doneversion=$(apt-cache policy qt-style-kvantum | sed -n 's/^ Candidate: //p')fistamp=$(cat "$SRC"/build/patches/kvantum/*.patch | sha256sum | cut -c1-12)- cached="/cache/kvantum/$version$(wildos_suffix kvantum)-$stamp"+ cached="$REBUILDS/kvantum/$version$(wildos_suffix kvantum)-$stamp"if [ ! -d "$cached" ]; thenlog "Building patched Kvantum $version"echo "deb-src http://deb.debian.org/debian $SUITE main" > /etc/apt/sources.list.d/wildos-src.list@@ -239,11 +311,14 @@ donecat debian/changelog} > debian/changelog.newmv debian/changelog.new debian/changelog- DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" dpkg-buildpackage -us -uc -b >/dev/null- mkdir -p "$cached"- cp ../*+wildos[0-9]*_*.deb "$cached/"- rm -f "$cached"/*dbgsym*+ DEB_BUILD_OPTIONS="nocheck parallel=$BUILD_THREADS" dpkg-buildpackage -us -uc -b >/dev/null+ fill="$cached.part.$BASHPID"+ rm -rf "$fill" && mkdir -p "$fill"+ cp ../*+wildos[0-9]*_*.deb "$fill/"+ rm -f "$fill"/*dbgsym*cd "$WORK" && rm -rf kvantum-src+ # Another build may have made the same one meanwhile; either copy is good.+ mv -T "$fill" "$cached" 2>/dev/null || rm -rf "$fill"ficp "$cached"/*.deb "$WORK/repo/")@@ -260,7 +335,7 @@ doneversion=$(apt-cache policy libkf6kiocore6 | sed -n 's/^ Candidate: //p')fistamp=$(cat "$SRC"/build/patches/kio/*.patch | sha256sum | cut -c1-12)- cached="/cache/kio/$version$(wildos_suffix kio)-$stamp"+ cached="$REBUILDS/kio/$version$(wildos_suffix kio)-$stamp"if [ ! -d "$cached" ]; thenlog "Building patched KIO $version"echo "deb-src http://deb.debian.org/debian $SUITE main" > /etc/apt/sources.list.d/wildos-src.list@@ -281,11 +356,14 @@ donecat debian/changelog} > debian/changelog.newmv debian/changelog.new debian/changelog- DEB_BUILD_OPTIONS="nocheck nodoc parallel=$(nproc)" dpkg-buildpackage -us -uc -b >/dev/null- mkdir -p "$cached"- cp ../*+wildos[0-9]*_*.deb "$cached/"- rm -f "$cached"/*dbgsym*+ DEB_BUILD_OPTIONS="nocheck nodoc parallel=$BUILD_THREADS" dpkg-buildpackage -us -uc -b >/dev/null+ fill="$cached.part.$BASHPID"+ rm -rf "$fill" && mkdir -p "$fill"+ cp ../*+wildos[0-9]*_*.deb "$fill/"+ rm -f "$fill"/*dbgsym*cd "$WORK" && rm -rf kio-src+ # Another build may have made the same one meanwhile; either copy is good.+ mv -T "$fill" "$cached" 2>/dev/null || rm -rf "$fill"ficp "$cached"/*.deb "$WORK/repo/")@@ -300,7 +378,7 @@ doneversion=$(apt-cache policy libkf6xmlgui6 | sed -n 's/^ Candidate: //p')fistamp=$(cat "$SRC"/build/patches/kxmlgui/*.patch | sha256sum | cut -c1-12)- cached="/cache/kxmlgui/$version$(wildos_suffix kxmlgui)-$stamp"+ cached="$REBUILDS/kxmlgui/$version$(wildos_suffix kxmlgui)-$stamp"if [ ! -d "$cached" ]; thenlog "Building patched KXmlGui $version"echo "deb-src http://deb.debian.org/debian $SUITE main" > /etc/apt/sources.list.d/wildos-src.list@@ -321,11 +399,59 @@ donecat debian/changelog} > debian/changelog.newmv debian/changelog.new debian/changelog- DEB_BUILD_OPTIONS="nocheck nodoc parallel=$(nproc)" dpkg-buildpackage -us -uc -b >/dev/null- mkdir -p "$cached"- cp ../*+wildos[0-9]*_*.deb "$cached/"- rm -f "$cached"/*dbgsym*+ DEB_BUILD_OPTIONS="nocheck nodoc parallel=$BUILD_THREADS" dpkg-buildpackage -us -uc -b >/dev/null+ fill="$cached.part.$BASHPID"+ rm -rf "$fill" && mkdir -p "$fill"+ cp ../*+wildos[0-9]*_*.deb "$fill/"+ rm -f "$fill"/*dbgsym*cd "$WORK" && rm -rf kxmlgui-src+ # Another build may have made the same one meanwhile; either copy is good.+ mv -T "$fill" "$cached" 2>/dev/null || rm -rf "$fill"+ fi+ cp "$cached"/*.deb "$WORK/repo/"+)+# KWallet with the patch from build/patches/kwallet: kwalletd can change the+# key a wallet opens with when the account's password changes, without its+# own dialog, so Settings keeps the wallet opening at sign-in after a+# password change. Republished +wildos1 like KIO, since its packages require+# each other's exact version.+(+ cd "$WORK"+ version=$(apt-cache policy kwallet6 | sed -n 's/^ Candidate: //p')+ if [ -z "$version" ] || [ "$version" = "(none)" ]; then+ apt-get update -qq+ version=$(apt-cache policy kwallet6 | sed -n 's/^ Candidate: //p')+ fi+ stamp=$(cat "$SRC"/build/patches/kwallet/*.patch | sha256sum | cut -c1-12)+ cached="$REBUILDS/kwallet/$version$(wildos_suffix kwallet)-$stamp"+ if [ ! -d "$cached" ]; then+ log "Building patched KWallet $version"+ echo "deb-src http://deb.debian.org/debian $SUITE main" > /etc/apt/sources.list.d/wildos-src.list+ apt-get update -qq+ DEBIAN_FRONTEND=noninteractive apt-get build-dep -y -qq "kf6-kwallet=$version" >/dev/null+ rm -rf kwallet-src && mkdir kwallet-src && cd kwallet-src+ apt-get source -qq "kf6-kwallet=$version" >/dev/null+ cd kf6-kwallet-*/+ mkdir -p debian/patches+ for patch in "$SRC"/build/patches/kwallet/*.patch; do+ cp "$patch" debian/patches/+ basename "$patch" >> debian/patches/series+ done+ {+ printf 'kf6-kwallet (%s%s) %s; urgency=medium\n\n' "$version" "$(wildos_suffix kwallet)" "$SUITE"+ printf ' * Wild OS patches: %s\n\n' "$(cd "$SRC/build/patches/kwallet" && ls *.patch | tr '\n' ' ')"+ printf ' -- Wild OS Developers <[email protected]> %s\n\n' "$(date -R)"+ cat debian/changelog+ } > debian/changelog.new+ mv debian/changelog.new debian/changelog+ DEB_BUILD_OPTIONS="nocheck nodoc parallel=$BUILD_THREADS" dpkg-buildpackage -us -uc -b >/dev/null+ fill="$cached.part.$BASHPID"+ rm -rf "$fill" && mkdir -p "$fill"+ cp ../*+wildos[0-9]*_*.deb "$fill/"+ rm -f "$fill"/*dbgsym*+ cd "$WORK" && rm -rf kwallet-src+ # Another build may have made the same one meanwhile; either copy is good.+ mv -T "$fill" "$cached" 2>/dev/null || rm -rf "$fill"ficp "$cached"/*.deb "$WORK/repo/")@@ -347,7 +473,7 @@ doneversion=$(apt-cache policy libcamel-1.2-64t64 | sed -n 's/^ Candidate: //p')fistamp=$(sed -n '/^# evolution-data-server with Camel/,/^)$/p' "$SRC/build/build.sh" | sha256sum | cut -c1-12)- cached="/cache/eds/$version$(wildos_suffix eds)-$stamp"+ cached="$REBUILDS/eds/$version$(wildos_suffix eds)-$stamp"if [ ! -d "$cached" ]; thenlog "Building evolution-data-server $version with the Camel providers split out"echo "deb-src http://deb.debian.org/debian $SUITE main" > /etc/apt/sources.list.d/wildos-src.list@@ -450,18 +576,162 @@ STANZAcat debian/changelog} > debian/changelog.newmv debian/changelog.new debian/changelog- DEB_BUILD_OPTIONS="nocheck nodoc parallel=$(nproc)" dpkg-buildpackage -us -uc -b >/dev/null- mkdir -p "$cached"- cp ../*+wildos[0-9]*_*.deb "$cached/"- rm -f "$cached"/*dbgsym* "$cached"/*-tests_* "$cached"/*-doc_*+ DEB_BUILD_OPTIONS="nocheck nodoc parallel=$BUILD_THREADS" dpkg-buildpackage -us -uc -b >/dev/null+ fill="$cached.part.$BASHPID"+ rm -rf "$fill" && mkdir -p "$fill"+ cp ../*+wildos[0-9]*_*.deb "$fill/"+ rm -f "$fill"/*dbgsym* "$fill"/*-tests_* "$fill"/*-doc_*cd "$WORK" && rm -rf eds-src+ # Another build may have made the same one meanwhile; either copy is good.+ mv -T "$fill" "$cached" 2>/dev/null || rm -rf "$fill"ficp "$cached"/*.deb "$WORK/repo/")+# Six Kicksecure packages hard-depend on a compiler toolchain (gcc, make,+# binutils, the C library headers, dkms, and equivs with debhelper), about+# 260 MB of the image that nothing on a Wild OS computer uses. They are+# republished without those dependencies, +wildos1 so apt prefers them, like+# plymouth: Kicksecure's own updates to them reach computers when the next+# update build picks them up, and its other packages keep coming from its+# repository. NVIDIA's driver still installs from Settings+# (settings-graphics-driver): dkms brings make and binutils, and the kernel+# headers installed with it bring gcc.+#+# Two of them compiled small programs while they installed. Those are+# compiled here instead, by the package's own build files with its own+# hardening flags, and shipped in the package, which then depends on the+# libraries they link rather than on a compiler.+KS_APT=$WORK/ks-apt+rm -rf "$KS_APT"+mkdir -p "$KS_APT/etc/apt/apt.conf.d" "$KS_APT/etc/apt/preferences.d" "$KS_APT/var/lib/apt/lists/partial" \+ "$KS_APT/var/cache/apt/archives/partial" "$KS_APT/var/lib/dpkg"+: > "$KS_APT/var/lib/dpkg/status"+echo "deb [signed-by=$SRC/build/keys/kicksecure.asc] https://deb.kicksecure.com $SUITE main contrib non-free" \+ > "$KS_APT/etc/apt/sources.list"+cat > "$KS_APT/apt.conf" <<EOF+Dir "$KS_APT/";+Dir::State::status "$KS_APT/var/lib/dpkg/status";+APT::Architecture "amd64";+APT::Sandbox::User "root";+EOF+ks_apt() { APT_CONFIG=$KS_APT/apt.conf "$@"; }+ks_apt apt-get update -qq+REPACK=$WORK/ks-repack+repack_fail() {+ echo "ERROR: Kicksecure's $1 changed shape; update its repack in build.sh" >&2+ exit 1+}+# Unpacks Kicksecure's newest <package> into $REPACK/pkg with the named+# dependencies taken out, each of which has to be there.+repack_open() {+ local name=$1 version control deps dep kept+ shift+ version=$(ks_apt apt-cache policy "$name" | sed -n 's/^ Candidate: //p')+ [ -n "$version" ] && [ "$version" != "(none)" ] || { echo "ERROR: Kicksecure no longer publishes $name; drop its repack" >&2; exit 1; }+ rm -rf "$REPACK" && mkdir -p "$REPACK"+ (cd "$REPACK" && ks_apt apt-get download -qq "$name=$version")+ dpkg-deb -R "$REPACK/${name}_"*.deb "$REPACK/pkg"+ control=$REPACK/pkg/DEBIAN/control+ # The edit below works on a Depends written on one line.+ [ "$(grep -c '^Depends: ' "$control")" = 1 ] || repack_fail "$name"+ ! sed -n '/^Depends: /{n;p}' "$control" | grep -q '^[[:space:]]' || repack_fail "$name"+ deps=$(sed -n 's/^Depends: //p' "$control" | sed 's/, */\n/g')+ for dep in "$@"; do+ grep -qxF "$dep" <<<"$deps" || repack_fail "$name"+ done+ kept=$(grep -vxF -f <(printf '%s\n' "$@") <<<"$deps" | paste -sd, | sed 's/,/, /g')+ sed -i -e "s/^Depends: .*/Depends: $kept/" -e 's/^Version: \(.*\)$/Version: \1+wildos1/' "$control"+}+# Adds programs compiled into $REPACK/pkg to the package: it becomes amd64+# and depends on the libraries they link.+repack_ship() {+ local pkg=$REPACK/pkg control f size linked=() libs=+ control=$pkg/DEBIAN/control+ grep -qx 'Architecture: all' "$control" || repack_fail "$(sed -n 's/^Package: //p' "$control")"+ size=$(sed -n 's/^Installed-Size: //p' "$control")+ for f in "$@"; do+ chmod 0755 "$pkg/$f"+ size=$((size + ($(stat -c %s "$pkg/$f") + 1023) / 1024))+ (cd "$pkg" && md5sum "$f" >> DEBIAN/md5sums)+ # A static program (emerg-shutdown) links nothing to depend on.+ objdump -p "$pkg/$f" | grep -q NEEDED && linked+=("$pkg/$f")+ done+ if [ ${#linked[@]} -gt 0 ]; then+ # dpkg-shlibdeps reads the package name from a debian/control.+ mkdir -p "$REPACK/shlibs/debian"+ printf 'Source: shlibs\n\nPackage: shlibs\nArchitecture: any\n' > "$REPACK/shlibs/debian/control"+ libs=$(cd "$REPACK/shlibs" && dpkg-shlibdeps -O "${linked[@]}" | sed -n 's/^shlibs:Depends=//p')+ fi+ sed -i -e 's/^Architecture: all$/Architecture: amd64/' -e "s/^Installed-Size: .*/Installed-Size: $size/" "$control"+ [ -z "$libs" ] || sed -i "s/^Depends: .*/&, $libs/" "$control"+}+repack_close() {+ dpkg-deb -b "$REPACK/pkg" "$WORK/repo/" >/dev/null+ rm -rf "$REPACK"+}++# security-misc-shared compiled emerg-shutdown (powers off at once when the+# boot drive is pulled out) and fm-shim-backend (its org.freedesktop.FileManager1+# service) in its postinst. emerg-shutdown would also compile at run time,+# but only when its program is missing.+repack_open security-misc-shared build-essential libdbus-1-dev libsystemd-dev pkgconf+(+ cd "$REPACK/pkg"+ [ "$(grep -cxE ' build_(fm_shim_backend|emerg_shutdown)' DEBIAN/postinst)" = 2 ] || repack_fail security-misc-shared+ sed -i -E '/^ build_(fm_shim_backend|emerg_shutdown)$/d' DEBIAN/postinst+ for program in emerg-shutdown fm-shim-backend; do+ bash "usr/libexec/security-misc/compile-$program" "usr/src/security-misc/$program.c" "usr/bin/$program"+ done+)+repack_ship usr/bin/emerg-shutdown usr/bin/fm-shim-backend+repack_close++# sdwdate, the time sync, built sclockadj (moves the clock gradually) with+# make and gcc in its postinst.+repack_open sdwdate gcc libc6-dev+(+ cd "$REPACK/pkg"+ start=' ## Build sclockadj program.'+ end=' popd >/dev/null'+ [ "$(grep -cxF "$start" DEBIAN/postinst)" = 1 ] && [ "$(grep -cxF "$end" DEBIAN/postinst)" = 1 ] || repack_fail sdwdate+ sed -i "\|^$start\$|,\|^$end\$|d" DEBIAN/postinst+ ! grep -qwE 'make|gcc' DEBIAN/postinst || repack_fail sdwdate+ make -s -C usr/src/sdwdate+ mv usr/src/sdwdate/sclockadj usr/libexec/sdwdate/sclockadj+)+repack_ship usr/libexec/sdwdate/sclockadj+repack_close++# usability-misc depends on dkms so modules (VirtualBox's, for Kicksecure)+# can be built; nothing in it builds one.+repack_open usability-misc dkms+! grep -qE 'dkms|gcc' "$REPACK"/pkg/DEBIAN/p* || repack_fail usability-misc+repack_close++# dist-base-files depends on dpkg-dev (which brings make and binutils) for+# dpkg-parsechangelog, which its postinst runs once to record its version+# and carries on without.+repack_open dist-base-files dpkg-dev+[ "$(grep -c 'dpkg-parsechangelog .*|| true$' "$REPACK/pkg/DEBIAN/postinst")" = 1 ] || repack_fail dist-base-files+! grep -qE 'dpkg-(parsechangelog|architecture|buildflags|vendor|source)' "$REPACK"/pkg/DEBIAN/{preinst,prerm,postrm} 2>/dev/null \+ || repack_fail dist-base-files+repack_close++# helper-scripts and dist-general-cli depend on equivs, which builds+# placeholder packages and brings debhelper, autotools, libtool and gcc. Its+# only user is helper-scripts' dummy-dependency command, which Kicksecure's+# release upgrade runs on Qubes alone; nothing on Wild OS runs it.+for name in helper-scripts dist-general-cli; do+ repack_open "$name" equivs+ ! grep -rlw 'equivs' "$REPACK/pkg" --exclude=control --exclude=md5sums --exclude-dir=doc \+ | grep -vx "$REPACK/pkg/usr/bin/dummy-dependency" | grep -q . || repack_fail "$name"+ repack_close+done+rm -rf "$KS_APT"(cd "$WORK/repo" && apt-ftparchive packages . > Packages)ls -1 "$WORK/repo"/*.deb-# What the update repository publishes: the Wild-# OS packages and the Debian packages rebuilt with Wild OS changes, without+# What the update repository publishes: the Wild OS packages and the Debian+# and Kicksecure packages rebuilt or repacked with Wild OS changes, without# debug symbols.rm -rf "$OUT/debs" && mkdir -p "$OUT/debs"find "$WORK/repo" -maxdepth 1 \( -name 'wildos-*.deb' -o -name '*+wildos[0-9]*.deb' \) ! -name '*-dbgsym_*' \diff --git a/build/patches/kwallet/wildos-pam-change-hash.patch b/build/patches/kwallet/wildos-pam-change-hash.patchnew file mode 100644index 0000000..bc95eba--- /dev/null+++ b/build/patches/kwallet/wildos-pam-change-hash.patch@@ -0,0 +1,154 @@+Description: Wild OS: change a wallet's PAM key without a dialog+ pam_kwallet opens the wallet with a key made from the sign-in password,+ but does nothing when the password changes, so after a change the wallet+ never opens at sign-in again and the first app that needs a secret gets+ a prompt for the old password. kwalletd's own changePassword always shows+ a dialog. pamChangeHash re-encrypts the wallet from the key made from the+ old password to the key made from the new one, both made the way+ pam_kwallet makes them, and refuses if the old key does not open it.+ Wild OS Settings calls it after changing the account's password.+Author: Wild OS Developers <[email protected]>+Forwarded: not-needed++diff -ru a/src/api/KWallet/org.kde.KWallet.nodeprecated.xml b/src/api/KWallet/org.kde.KWallet.nodeprecated.xml+--- a/src/api/KWallet/org.kde.KWallet.nodeprecated.xml++++ b/src/api/KWallet/org.kde.KWallet.nodeprecated.xml+@@ -269,5 +269,11 @@+ <arg name="sessionTimeout" type="i" direction="in"/>+ <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>+ </method>++ <method name="pamChangeHash">++ <arg type="i" direction="out"/>++ <arg name="wallet" type="s" direction="in"/>++ <arg name="oldHash" type="ay" direction="in"/>++ <arg name="newHash" type="ay" direction="in"/>++ </method>+ </interface>+ </node>+diff -ru a/src/api/KWallet/org.kde.KWallet.xml b/src/api/KWallet/org.kde.KWallet.xml+--- a/src/api/KWallet/org.kde.KWallet.xml++++ b/src/api/KWallet/org.kde.KWallet.xml+@@ -301,5 +301,11 @@+ <arg name="sessionTimeout" type="i" direction="in"/>+ <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>+ </method>++ <method name="pamChangeHash">++ <arg type="i" direction="out"/>++ <arg name="wallet" type="s" direction="in"/>++ <arg name="oldHash" type="ay" direction="in"/>++ <arg name="newHash" type="ay" direction="in"/>++ </method>+ </interface>+ </node>+diff -ru a/src/runtime/kwalletd/autotests/mockkwalletd.cpp b/src/runtime/kwalletd/autotests/mockkwalletd.cpp+--- a/src/runtime/kwalletd/autotests/mockkwalletd.cpp++++ b/src/runtime/kwalletd/autotests/mockkwalletd.cpp+@@ -114,6 +114,7 @@+ MOCK_FUNCTION(KWalletD, networkWallet, 0, );+ MOCK_FUNCTION(KWalletD, localWallet, 0, );+ MOCK_FUNCTION(KWalletD, pamOpen, 3, );++MOCK_FUNCTION(KWalletD, pamChangeHash, 3, );+ MOCK_FUNCTION(KWalletD, sync, 2, );+ MOCK_FUNCTION(KWalletD, changePassword, 3, );+ MOCK_FUNCTION(KWalletD, reconfigure, 0, );+diff -ru a/src/runtime/kwalletd/backend/kwalletbackend.cc b/src/runtime/kwalletd/backend/kwalletbackend.cc+--- a/src/runtime/kwalletd/backend/kwalletbackend.cc++++ b/src/runtime/kwalletd/backend/kwalletbackend.cc+@@ -335,6 +335,29 @@+ return openInternal();+ }+++int Backend::changePreHashed(const QByteArray &oldHash, const QByteArray &newHash)++{++ if (!_open) {++ return -255;++ }++ if (_cipherType != BACKEND_CIPHER_BLOWFISH || newHash.size() != 56) {++ return -42; // unsupported encryption scheme++ }++ // Opening swaps the modern hash in, so both hold the key in use.++ if (!_useNewHash || _newPassHash != oldHash) {++ return -9; // incorrect password++ }++++ _passhash = newHash;++ _newPassHash = newHash;++ const int rc = sync(0);++ if (rc != 0) {++ _passhash = oldHash;++ _newPassHash = oldHash;++ }++ return rc;++}+++ int Backend::openInternal(WId w)+ {+ // No wallet existed. Let's create it.+diff -ru a/src/runtime/kwalletd/backend/kwalletbackend.h b/src/runtime/kwalletd/backend/kwalletbackend.h+--- a/src/runtime/kwalletd/backend/kwalletbackend.h++++ b/src/runtime/kwalletd/backend/kwalletbackend.h+@@ -86,6 +86,10 @@+ // If opening fails, the password's hash will be cleared.+ int openPreHashed(const QByteArray &passwordHash);+++ // Re-encrypt an open wallet with another pre-hashed password, but only++ // if it was opened with oldHash. On failure the wallet keeps oldHash.++ int changePreHashed(const QByteArray &oldHash, const QByteArray &newHash);+++ // Close the wallet, losing any changes.+ // if save is true, the wallet is saved prior to closing it.+ int close(bool save = false);+diff -ru a/src/runtime/kwalletd/kwalletd.cpp b/src/runtime/kwalletd/kwalletd.cpp+--- a/src/runtime/kwalletd/kwalletd.cpp++++ b/src/runtime/kwalletd/kwalletd.cpp+@@ -1921,6 +1921,33 @@+ return handle;+ }+++int KWalletD::pamChangeHash(const QString &wallet, const QByteArray &oldHash, const QByteArray &newHash)++{++ if (_processing) {++ return -1;++ }++++ // An open wallet is changed in place, so every app keeps its handle.++ const QPair<int, KWallet::Backend *> walletInfo = findWallet(wallet);++ if (walletInfo.second) {++ return walletInfo.second->changePreHashed(oldHash, newHash);++ }++ // openPreHashed would create a missing wallet.++ if (!wallets().contains(wallet)) {++ return 1;++ }++++ KWallet::Backend b(wallet);++ int rc = b.openPreHashed(oldHash);++ if (rc == 0 && b.isOpen()) {++ rc = b.changePreHashed(oldHash, newHash);++ }++ if (b.isOpen()) {++ b.close(false);++ }++ return rc;++}+++ // vim: tw=220:ts=4++ #include "moc_kwalletd.cpp"+diff -ru a/src/runtime/kwalletd/kwalletd.h b/src/runtime/kwalletd/kwalletd.h+--- a/src/runtime/kwalletd/kwalletd.h++++ b/src/runtime/kwalletd/kwalletd.h+@@ -171,6 +171,13 @@+ // password as the password hash is transmitted using D-Bus.+ int pamOpen(const QString &wallet, const QByteArray &passwordHash, int sessionTimeout);+++ // Re-encrypt a wallet that opens with oldHash so that it opens with++ // newHash, both made the way the kwallet PAM module makes them. Used++ // when the account's password changes, so the wallet keeps opening at++ // sign-in. The wallet stays as it was (open or closed). Returns 0 on++ // success, 1 when there is no such wallet, or a Backend error.++ int pamChangeHash(const QString &wallet, const QByteArray &oldHash, const QByteArray &newHash);+++ Q_SIGNALS:+ void walletAsyncOpened(int id, int handle); // used to notify KWallet::Wallet+ void walletListDirty();diff --git a/packages/wildos-appbridge/data/alternatives.json b/packages/wildos-appbridge/data/alternatives.jsonindex ff386c2..d2be5cf 100644--- a/packages/wildos-appbridge/data/alternatives.json+++ b/packages/wildos-appbridge/data/alternatives.json@@ -7,14 +7,14 @@{ "match": ["zoominstaller", "zoom video", "zoomus"], "name": "Zoom", "storeId": "us.zoom.Zoom", "calls": true, "native": "Zoom has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["slacksetup", "slack technologies"], "name": "Slack", "storeId": "com.slack.Slack", "native": "Slack has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["teamssetup", "teams_windows", "microsoft teams", "msteams"], "name": "Microsoft Teams", "runs": "no", "calls": true, "webApp": "https://teams.microsoft.com", "reason": "Teams for Windows needs parts of Windows that Wild OS doesn't have. Use it in your browser at teams.microsoft.com." },- { "match": ["officesetup", "microsoft office", "setupprod_offscrub", "o365"], "name": "Microsoft Office", "storeId": "org.libreoffice.LibreOffice", "runs": "no", "reason": "Microsoft 365 doesn't install on Wild OS. Use it in your browser at office.com, or LibreOffice, which opens Word, Excel and PowerPoint files.", "native": "LibreOffice opens and saves Word, Excel and PowerPoint files, and it's free in the Store." },+ { "match": ["officesetup", "microsoft office", "setupprod_offscrub", "o365"], "name": "Microsoft Office", "storeId": "org.libreoffice.LibreOffice", "runs": "no", "reason": "Microsoft 365 doesn't install on Wild OS. Use it in your browser at office.com, or LibreOffice, which opens Word, Excel and PowerPoint files.", "native": "Write and Tables come with Wild OS and open and save Word and Excel files. For PowerPoint files, LibreOffice is free in the Store." },{ "match": ["chromesetup", "google chrome"], "name": "Google Chrome", "storeId": "com.google.Chrome", "native": "Chrome has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["firefox", "mozilla corporation"], "name": "Firefox", "storeId": "org.mozilla.firefox", "native": "Firefox has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["microsoftedgesetup", "microsoft edge", "msedge"], "name": "Microsoft Edge", "storeId": "com.microsoft.Edge", "native": "Edge has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["bravebrowsersetup", "brave software", "bravesetup"], "name": "Brave", "storeId": "com.brave.Browser", "native": "Brave is already part of Wild OS. Find it in Start." },{ "match": ["operasetup", "opera software", "opera_gx"], "name": "Opera", "storeId": "com.opera.Opera", "native": "Opera has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["thunderbird"], "name": "Thunderbird", "storeId": "org.mozilla.Thunderbird", "native": "Thunderbird has a Wild OS version in the Store, so it doesn't need Windows app support." },- { "match": ["libreoffice", "the document foundation"], "name": "LibreOffice", "storeId": "org.libreoffice.LibreOffice", "native": "LibreOffice has a Wild OS version in the Store, so it doesn't need Windows app support." },+ { "match": ["libreoffice", "the document foundation"], "name": "LibreOffice", "storeId": "org.libreoffice.LibreOffice", "native": "Write and Tables, built on LibreOffice, come with Wild OS. The rest of LibreOffice is free in the Store, so it doesn't need Windows app support." },{ "match": ["openoffice"], "name": "OpenOffice", "storeId": "org.libreoffice.LibreOffice", "native": "LibreOffice is the newer version of OpenOffice, and it's free in the Store." },{ "match": ["vlc", "videolan"], "name": "VLC", "storeId": "org.videolan.VLC", "native": "VLC has a Wild OS version in the Store, so it doesn't need Windows app support." },{ "match": ["gimp"], "name": "GIMP", "storeId": "org.gimp.GIMP", "native": "GIMP has a Wild OS version in the Store, so it doesn't need Windows app support." },diff --git a/packages/wildos-base/debian/install b/packages/wildos-base/debian/installindex 370f76c..1a54bfd 100644--- a/packages/wildos-base/debian/install+++ b/packages/wildos-base/debian/install@@ -12,7 +12,7 @@ files/apt/wildos-freerdp.pref etc/apt/preferences.d/files/grub/10_wildos usr/lib/wildos/grub.d/files/grub/31_wildos_firmware usr/lib/wildos/grub.d/files/systemd/* usr/lib/systemd/system/-files/performance/zram-generator.conf usr/lib/systemd/+files/performance/50-wildos.conf usr/lib/systemd/zram-generator.conf.d/files/performance/999-wildos-performance.conf usr/lib/sysctl.d/files/udev/60-wildos-io-scheduler.rules usr/lib/udev/rules.d/files/oomd/wildos.conf usr/lib/systemd/system/[email protected]/diff --git a/packages/wildos-base/files/40_wildos.cfg b/packages/wildos-base/files/40_wildos.cfgindex 259d087..729524a 100644--- a/packages/wildos-base/files/40_wildos.cfg+++ b/packages/wildos-base/files/40_wildos.cfg@@ -16,10 +16,31 @@ GRUB_TIMEOUT_STYLE=hiddenGRUB_RECORDFAIL_TIMEOUT=5GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT quiet splash loglevel=3 rd.udev.log_level=3 vt.global_cursor_default=0"+# Hyper-threading is not decided here: it stays off unless "Use every+# processor thread" in Settings writes 41_wildos_cpu_threads.cfg.-# Hyper-threading on. Kicksecure turns it off (nosmt=force, and ",nosmt" on-# its mitigation options), which halves the threads a laptop has: an-# i7-1185G7 runs on 4 instead of 8, and everything feels it. The mitigations-# themselves all stay on; the threads matter on shared servers running-# untrusted code, not on a personal PC. Sorts after 40_cpu_mitigations.cfg.-GRUB_CMDLINE_LINUX="$(printf '%s\n' "$GRUB_CMDLINE_LINUX" | sed -e 's/ nosmt=force//g' -e 's/,nosmt//g')"+# At Standard protection, speed over the last few percent of hardening on a+# personal PC. Strict and Maximum keep every Kicksecure option. Sorts after+# 40_cpu_mitigations.cfg and 40_kernel_hardening.cfg, so it edits what they+# added.+# - slab_debug=FZ is kernel memory debugging (checks and padding on every+# kernel allocation), which every app pays for constantly.+# - The speculative store bypass mitigation goes from every process to the+# kernel's default: only programs that ask for it get it.+# - init_on_free zeroes all memory as it is freed. init_on_alloc still+# zeroes it before reuse, and RAM is wiped at shutdown.+# - The IOMMU still isolates every device; lazy mode only batches the+# bookkeeping, which disks and graphics notice.+# - Windows mode's cache flush on every switch into it becomes conditional.+case "$(cat /etc/wildos/protection-level 2>/dev/null || true)" in+strict | maximum) ;;+*)+ GRUB_CMDLINE_LINUX="$(printf '%s\n' "$GRUB_CMDLINE_LINUX" | sed \+ -e 's/ slab_debug=FZ//g' \+ -e 's/ spec_store_bypass_disable=on//g' \+ -e 's/ ssbd=force-on//g' \+ -e 's/ init_on_free=1//g' \+ -e 's/ iommu.strict=1/ iommu.strict=0/g' \+ -e 's/ kvm-intel.vmentry_l1d_flush=always/ kvm-intel.vmentry_l1d_flush=cond/g')"+ ;;+esacdiff --git a/packages/wildos-base/files/performance/zram-generator.conf b/packages/wildos-base/files/performance/50-wildos.confsimilarity index 78%rename from packages/wildos-base/files/performance/zram-generator.confrename to packages/wildos-base/files/performance/50-wildos.confindex 8c49574..ae7938f 100644--- a/packages/wildos-base/files/performance/zram-generator.conf+++ b/packages/wildos-base/files/performance/50-wildos.conf@@ -1,6 +1,7 @@# Compressed swap in memory, used before the encrypted swap file on disk.# Pages compress about 3:1 with zstd, so a PC under memory pressure slows# down gently instead of stalling on disk.+# A drop-in, because systemd-zram-generator ships zram-generator.conf itself.[zram0]zram-size = min(ram / 2, 8192)compression-algorithm = zstddiff --git a/packages/wildos-base/files/systemd/apt-daily-upgrade.service.d/wildos-priority.conf b/packages/wildos-base/files/systemd/apt-daily-upgrade.service.d/wildos-priority.confnew file mode 100644index 0000000..072d48c--- /dev/null+++ b/packages/wildos-base/files/systemd/apt-daily-upgrade.service.d/wildos-priority.conf@@ -0,0 +1,7 @@+# Updates and their clean-up run in the background at low priority, so+# they never slow down what you are doing. With the PC idle they still run+# at full speed.+[Service]+CPUWeight=20+IOWeight=20+Nice=10diff --git a/packages/wildos-base/files/systemd/apt-daily.service.d/wildos-priority.conf b/packages/wildos-base/files/systemd/apt-daily.service.d/wildos-priority.confnew file mode 100644index 0000000..072d48c--- /dev/null+++ b/packages/wildos-base/files/systemd/apt-daily.service.d/wildos-priority.conf@@ -0,0 +1,7 @@+# Updates and their clean-up run in the background at low priority, so+# they never slow down what you are doing. With the PC idle they still run+# at full speed.+[Service]+CPUWeight=20+IOWeight=20+Nice=10diff --git a/packages/wildos-base/files/systemd/man-db.service.d/wildos-priority.conf b/packages/wildos-base/files/systemd/man-db.service.d/wildos-priority.confnew file mode 100644index 0000000..072d48c--- /dev/null+++ b/packages/wildos-base/files/systemd/man-db.service.d/wildos-priority.conf@@ -0,0 +1,7 @@+# Updates and their clean-up run in the background at low priority, so+# they never slow down what you are doing. With the PC idle they still run+# at full speed.+[Service]+CPUWeight=20+IOWeight=20+Nice=10diff --git a/packages/wildos-base/files/systemd/packagekit.service.d/wildos-priority.conf b/packages/wildos-base/files/systemd/packagekit.service.d/wildos-priority.confnew file mode 100644index 0000000..072d48c--- /dev/null+++ b/packages/wildos-base/files/systemd/packagekit.service.d/wildos-priority.conf@@ -0,0 +1,7 @@+# Updates and their clean-up run in the background at low priority, so+# they never slow down what you are doing. With the PC idle they still run+# at full speed.+[Service]+CPUWeight=20+IOWeight=20+Nice=10diff --git a/packages/wildos-base/files/systemd/user.slice.d/wildos-priority.conf b/packages/wildos-base/files/systemd/user.slice.d/wildos-priority.confnew file mode 100644index 0000000..7a966d0--- /dev/null+++ b/packages/wildos-base/files/systemd/user.slice.d/wildos-priority.conf@@ -0,0 +1,6 @@+# The desktop and the apps you are using get twice the processor and disk+# share of system services and Windows mode's background work when they+# compete, so the screen stays smooth while something else is busy.+[Slice]+CPUWeight=200+IOWeight=200diff --git a/packages/wildos-branding/debian/changelog b/packages/wildos-branding/debian/changelogindex 58cfa2f..6fb5bb0 100644--- a/packages/wildos-branding/debian/changelog+++ b/packages/wildos-branding/debian/changelog@@ -1,3 +1,13 @@+wildos-branding (0.1.3) trixie; urgency=medium++ * Windows mode's taskbar panel (board WinModeStatusPanel): Pause, Save+ to disk, Restart and Shut down while Windows runs; Resume first+ while paused or saved; Start Windows mode when it is off. It says how+ long Windows has been paused, saved or off, and how long the last+ start or restore took here.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 13:30:00 +0000+wildos-branding (0.1.2) trixie; urgency=medium* Every Plasma style has a solid twin for stronger text on glass.diff --git a/packages/wildos-branding/files/libexec/show-desktop-keys b/packages/wildos-branding/files/libexec/show-desktop-keysnew file mode 100644index 0000000..7d0585c--- /dev/null+++ b/packages/wildos-branding/files/libexec/show-desktop-keys@@ -0,0 +1,45 @@+#!/bin/sh+# Moves Win+D from KWin's Show Desktop, which slides the windows off the+# screen, to the Wild OS one, which minimises them into the taskbar+# (org.wildos.showdesktop). New accounts get this from their shortcut file;+# accounts made before it are changed once, from the session's autostart.+# The shortcut service holds its settings in memory and writes them back, so+# the change goes through it rather than into the file.++set -u++state=${XDG_STATE_HOME:-$HOME/.local/state}/wildos+marker=$state/show-desktop-keys+[ -e "$marker" ] && exit 0++# Meta+D as Qt writes it: Qt::META | Qt::Key_D.+meta_d=268435524++accel() {+ busctl --user call org.kde.kglobalaccel /kglobalaccel org.kde.KGlobalAccel "$@"+}+# The keys of a KWin action, as busctl prints them.+keys() {+ accel shortcutKeys as 4 kwin "$1" KWin "$1"+}++# KWin registers the script's shortcut as it loads the script, so wait for it.+i=0+until busctl --user call org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component shortcutNames 2>/dev/null |+ grep -q '"Wild OS show desktop"'; do+ i=$((i + 1))+ [ "$i" -ge 120 ] && exit 0+ sleep 1+done++# Someone who moved KWin's Show Desktop to other keys keeps them; only Win+D+# changes hands.+if keys "Show Desktop" | grep -q " $meta_d "; then+ accel setForeignShortcutKeys 'asa(ai)' 4 kwin "Show Desktop" KWin "Show Desktop" 0 || exit 0+fi+if ! keys "Wild OS show desktop" | grep -q " $meta_d "; then+ accel setForeignShortcutKeys 'asa(ai)' 4 kwin "Wild OS show desktop" KWin "Wild OS show desktop" \+ 1 4 "$meta_d" 0 0 0 || exit 0+fi++mkdir -p "$state" && : > "$marker"diff --git a/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/config/main.xml b/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/config/main.xmlindex 8b9b142..2febdcc 100644--- a/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/config/main.xml+++ b/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/config/main.xml@@ -11,7 +11,11 @@</entry><entry name="favorites" type="StringList"><label>Apps pinned the first time this Start menu runs. Afterwards the pins live in the activity manager, so changing this has no effect once favoritesPortedToKAstats is true. Apps that are not installed are skipped.</label>- <default>org.wildos.mail.desktop,org.wildos.files.desktop,org.wildos.calendar.desktop,brave-browser.desktop,mullvad-browser.desktop,org.wildos.store.desktop,org.wildos.settings.desktop,org.wildos.terminal.desktop,org.kde.kcalc.desktop,org.kde.kwrite.desktop,org.kde.okular.desktop,org.kde.gwenview.desktop,org.keepassxc.KeePassXC.desktop</default>+ <default>org.wildos.mail.desktop,org.wildos.files.desktop,org.wildos.calendar.desktop,libreoffice-writer.desktop,libreoffice-calc.desktop,brave-browser.desktop,mullvad-browser.desktop,org.wildos.store.desktop,org.wildos.settings.desktop,org.wildos.terminal.desktop,org.kde.kcalc.desktop,org.kde.kwrite.desktop,org.kde.okular.desktop,org.kde.gwenview.desktop,org.keepassxc.KeePassXC.desktop</default>+ </entry>+ <entry name="pinsOffered" type="StringList">+ <label>Default pins this account has already been given. A default added in an update is pinned once, at the end; one the user later unpins stays unpinned.</label>+ <default></default></entry><entry name="favoritesPortedToKAstats" type="Bool"><label>Whether the default pins have been copied into the activity manager.</label>diff --git a/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/code/helpers.js b/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/code/helpers.jsindex 4ecadcb..ea7929e 100644--- a/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/code/helpers.js+++ b/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/code/helpers.js@@ -15,11 +15,17 @@ const friendlyNames = {"org.kde.konsole": "Terminal","org.kde.kcalc": "Calculator","org.kde.kwrite": "Text editor",+ "libreoffice-writer": "Write",+ "libreoffice-calc": "Tables","org.kde.okular": "Documents","org.kde.gwenview": "Pictures","org.keepassxc.KeePassXC": "Password manager",};+// The default Start pins before Write and Tables, which every account made+// until then was given.+const pinsBeforeOffice = ["org.wildos.mail.desktop", "org.wildos.files.desktop", "org.wildos.calendar.desktop", "brave-browser.desktop", "mullvad-browser.desktop", "org.wildos.store.desktop", "org.wildos.settings.desktop", "org.wildos.terminal.desktop", "org.kde.kcalc.desktop", "org.kde.kwrite.desktop", "org.kde.okular.desktop", "org.kde.gwenview.desktop", "org.keepassxc.KeePassXC.desktop"];+// Apps that make up the system itself. Windows does not offer to uninstall// these from Start either.const coreApps = ["org.wildos.files", "org.wildos.store", "org.kde.dolphin", "org.kde.discover", "systemsettings", "org.wildos.settings", "org.wildos.terminal", "org.kde.konsole"];diff --git a/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/main.qml b/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/main.qmlindex 987b80e..f86fcb5 100644--- a/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/main.qml+++ b/packages/wildos-branding/files/plasmoids/org.wildos.start/contents/ui/main.qml@@ -46,12 +46,27 @@ PlasmoidItem {kickerRoot.favoritesModel.initForClient("org.wildos.start.favorites.instance-" + Plasmoid.id);// The default pins are copied once. After that the activity// manager owns them, so unpinning a default sticks.+ const defaults = Array.from(Plasmoid.configuration.favorites);if (!Plasmoid.configuration.favoritesPortedToKAstats) {if (kickerRoot.favoritesModel.count < 1) {- kickerRoot.favoritesModel.portOldFavorites(Plasmoid.configuration.favorites);+ kickerRoot.favoritesModel.portOldFavorites(defaults);}Plasmoid.configuration.favoritesPortedToKAstats = true;+ } else {+ // Defaults added since this account's pins were made are+ // pinned once. Accounts from before the list was kept had+ // every pin in Helpers.pinsBeforeOffice.+ let offered = Array.from(Plasmoid.configuration.pinsOffered);+ if (offered.length === 0) {+ offered = Helpers.pinsBeforeOffice;+ }+ for (const id of defaults) {+ if (!offered.includes(id) && !kickerRoot.favoritesModel.isFavorite(id)) {+ kickerRoot.favoritesModel.addFavorite(id);+ }+ }}+ Plasmoid.configuration.pinsOffered = defaults;kickerRoot.refresh();}}diff --git a/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/StatusPanel.qml b/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/StatusPanel.qmlindex 545577c..5cc7278 100644--- a/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/StatusPanel.qml+++ b/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/StatusPanel.qml@@ -7,15 +7,15 @@ import org.kde.kirigami as Kirigamiimport org.kde.ksvg as KSvgimport WildOS.UI as UI-// The panel from board 4.14. While Windows apps are open: the edition, a-// Running pill, processor use over the last minute, memory against the limit-// set for Windows, what is open, and Pause now and Save to disk along a-// darker foot. While paused (and once saved or off) it is narrower: how long,-// the memory held, and the app to open again. It only offers what the person-// can act on, so Save to disk waits until the service can save, and an app-// is only offered once one has been opened. Plasma's theme draws the glass;-// sizes are the board's outer edge with the theme's frame margins taken off,-// as in the security flyout.+// The panel from boards 4.14 and WinModeStatusPanel. While Windows runs: the+// edition, a Running pill, processor use over the last minute, memory against+// the limit set for Windows, what is open, and Pause, Save to disk, Restart+// and Shut down along a darker foot. Paused, saved or off it is narrower: how+// long, the memory held or what coming back costs, and Resume or Start+// first. It only offers what the person can act on, so Save to disk waits+// until the service can save. Plasma's theme draws the glass; sizes are the+// board's outer edge with the theme's frame margins taken off, as in the+// security flyout.FocusScope {id: panel@@ -34,7 +34,6 @@ FocusScope {readonly property string level: winmode.levelreadonly property bool running: level === "running"- readonly property bool resting: level === "paused" || level === "saved" || level === "off"readonly property bool vmRunning: winmode.system !== null && winmode.system.vm === "running"readonly property int glassBorder: 1@@ -43,9 +42,8 @@ FocusScope {readonly property int outerWidth: running ? 360 : 330readonly property real innerWidth: outerWidth - 2 * (glassBorder + pad)- readonly property bool hasFoot: !resting- readonly property real footHeight: hasFoot ? foot.implicitHeight + 26 : 0- readonly property real glassHeight: 2 * glassBorder + pad + body.implicitHeight + (hasFoot ? 14 + footHeight : pad)+ readonly property real footHeight: foot.implicitHeight + 26+ readonly property real glassHeight: 2 * glassBorder + pad + body.implicitHeight + 14 + footHeightreadonly property real contentWidth: outerWidth - edgeLeft - edgeRightreadonly property real contentHeight: glassHeight - edgeTop - edgeBottom@@ -279,8 +277,7 @@ FocusScope {lineHeight: 1.5wrapMode: Text.Wrapelide: Text.ElideNone- text: panel.level === "saved" ? "Uses no memory. Ready in a few seconds when you open a Windows app."- : "Uses no memory. Starts when you open a Windows app, which takes about a minute."+ text: panel.winmode.restingText()}UI.Label {@@ -371,44 +368,14 @@ FocusScope {elide: Text.ElideNonetext: idle}-- // Resting: Save to disk while it can still free memory, and the app- // to open again as the main action. With neither, the way to the- // settings.- RowLayout {- id: restingActions- readonly property bool canSave: panel.level === "paused" && panel.winmode.canSave- readonly property bool canOpen: panel.winmode.lastApp !== null- visible: panel.resting && (canSave || canOpen)- Layout.fillWidth: true- spacing: 8-- Action {- visible: restingActions.canSave- enabled: !panel.winmode.busyAction- text: "Save to disk"- onClicked: panel.winmode.saveToDisk()- }-- Action {- visible: restingActions.canOpen- kind: "primary"- text: restingActions.canOpen ? "Open " + panel.winmode.lastApp.name : ""- onClicked: panel.winmode.openApp(panel.winmode.lastApp.id)- }- }-- SettingsLink {- visible: panel.resting && !restingActions.visible- onClicked: panel.winmode.openSettings()- }}// The darker foot, edge to edge inside the glass border, as on quick- // settings: Pause now and Save to disk while Windows runs, and the way- // to Windows mode's settings.+ // settings: what can be done with Windows now, and the way to Windows+ // mode's settings. Running: Pause, Save to disk, Restart, Shut down.+ // Paused: Resume first, filled. Saved: Resume across the top, as the+ // apps it was saved with come back with it. Off: Start Windows mode.Rectangle {- visible: panel.hasFootanchors.left: parent.leftanchors.leftMargin: panel.glassBorder - panel.edgeLeftanchors.right: parent.right@@ -435,23 +402,55 @@ FocusScope {width: panel.innerWidthspacing: 10- RowLayout {- visible: panel.vmRunning && (panel.running || panel.level === "attention")+ GridLayout {+ id: controls+ readonly property bool live: panel.vmRunning && (panel.running || panel.level === "attention")+ readonly property bool paused: panel.level === "paused"+ readonly property bool saved: panel.level === "saved"+ visible: live || paused || savedLayout.fillWidth: true- spacing: 8+ columns: 2+ rowSpacing: 8+ columnSpacing: 8+ enabled: !panel.winmode.busyAction++ Action {+ visible: controls.live+ text: "Pause"+ onClicked: panel.winmode.power("pause")+ }Action {- enabled: !panel.winmode.busyAction- text: "Pause now"- onClicked: panel.winmode.pauseNow()+ visible: controls.paused || controls.saved+ Layout.columnSpan: controls.saved ? 2 : 1+ kind: "primary"+ text: "Resume"+ onClicked: panel.winmode.power("resume")}Action {- visible: panel.winmode.canSave- enabled: !panel.winmode.busyAction+ visible: (controls.live || controls.paused) && panel.winmode.canSavetext: "Save to disk"- onClicked: panel.winmode.saveToDisk()+ onClicked: panel.winmode.power("save")}++ Action {+ text: "Restart"+ onClicked: panel.winmode.power("restart")+ }++ Action {+ text: "Shut down"+ onClicked: panel.winmode.power("shutdown")+ }+ }++ Action {+ visible: panel.level === "off"+ enabled: !panel.winmode.busyAction+ kind: "primary"+ text: "Start Windows mode"+ onClicked: panel.winmode.power("start")}SettingsLink {diff --git a/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/main.qml b/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/main.qmlindex f7baf1c..b2663af 100644--- a/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/main.qml+++ b/packages/wildos-branding/files/plasmoids/org.wildos.winmode/contents/ui/main.qml@@ -63,9 +63,10 @@ PlasmoidItem {readonly property real memoryHeld: qemu ? Number(qemu.rss_bytes) || 0 : 0readonly property real memoryLimit: system ? Number(system.memory_bytes) || 0 : 0readonly property int processors: qemu && qemu.vcpus > 0 ? qemu.vcpus : Math.max(1, hostCores)- readonly property var lastApp: agent && agent.lastApp && /^[a-z0-9-]+$/.test(agent.lastApp.id) ? agent.lastApp : nullreadonly property bool canSave: system !== null && system.save_to_disk === true- readonly property bool busyAction: system !== null && !!system.action+ readonly property bool busyAction: system !== null && !!system.action || pendingAction !== ""+ // The button just pressed, until the service says what it is doing.+ property string pendingAction: ""function levelFor(sys: var, ag: var, ok: bool, windows: int): string {if (!ok || !sys) {@@ -155,32 +156,52 @@ PlasmoidItem {return activated === true ? name + ", activated" : activated === false ? name + ", not activated" : name;}- // When the idle action ran, from the system service's record of it.- function sinceText(action: string, lead: string): string {- const last = system ? system.last : null;- if (!last || last.action !== action || !(last.at > 0)) {- return "";+ // "12 minutes", "2 hours": how long ago a moment was, in whole units.+ function agoText(at: real): string {+ const minutes = Math.floor((now / 1000 - at) / 60);+ if (minutes < 60) {+ return plural(Math.max(1, minutes), "minute", "minutes");}- const minutes = Math.floor((now / 1000 - last.at) / 60);- if (minutes < 1) {- return lead + " just now";+ const hours = Math.floor(minutes / 60);+ return hours < 24 ? plural(hours, "hour", "hours") : plural(Math.floor(hours / 24), "day", "days");+ }++ // "Paused for 12 minutes", "Shut down 2 hours ago": from when Windows+ // went into the state it is in (system.py note_since), or the state+ // alone when the service can't know.+ function sinceText(vm: string, lead: string, ago: bool): string {+ const since = system ? system.since : null;+ const at = since && since.state === vm && since.at > 0 ? since.at : 0;+ if (!at) {+ return lead;}- if (minutes < 60) {- return lead + " for " + plural(minutes, "minute", "minutes");+ if (now / 1000 - at < 60) {+ return lead + " just now";}- return lead + " since " + new Date(last.at * 1000).toLocaleTimeString(Qt.locale(), Locale.ShortFormat);+ return ago ? lead + " " + agoText(at) + " ago" : lead + " for " + agoText(at);}+ // What the service is doing for a button, said in place of the state.+ readonly property string actionText: ({+ pause: "Pausing", save: "Saving to disk", keep: "Saving to disk", resume: "Resuming", start: "Starting Windows",+ restart: "Restarting Windows", shutdown: "Shutting down Windows"+ })[system && system.action ? system.action : pendingAction] || ""+function subtitle(): string {+ if (actionText !== "") {+ return actionText;+ }switch (level) {case "running":return editionText();case "paused":- return sinceText("pause", "Paused") || "Paused";+ return sinceText("paused", "Paused", false);case "saved":- return sinceText("save", "Saved to disk") || "Saved to disk";+ // The pill says Saved; "Saved to disk 25 minutes ago" is too+ // long for the panel's width.+ return sinceText("saved", "Saved", true);case "off":- return "Switched off";+ return sinceText("shut off", "Shut down", true);case "starting":return "Getting Windows ready";case "updating":@@ -189,6 +210,33 @@ PlasmoidItem {return "Needs attention";}+ // "about 20 seconds", from how long the last start or restore took on+ // this PC; empty until one has been timed.+ function aboutText(seconds: real): string {+ if (!(seconds > 0)) {+ return "";+ }+ if (seconds < 1.5) {+ return "about a second";+ }+ if (seconds < 10) {+ return "about " + Math.round(seconds) + " seconds";+ }+ if (seconds < 55) {+ return "about " + Math.round(seconds / 5) * 5 + " seconds";+ }+ return seconds < 90 ? "about a minute" : "about " + Math.round(seconds / 60) + " minutes";+ }++ // Saved or off: what it costs now and to come back.+ function restingText(): string {+ const timings = system && system.timings ? system.timings : {};+ const about = aboutText(Number(level === "saved" ? timings.restore : timings.start));+ const lead = level === "saved" ? "Ready in " : "Starts in ";+ return "Uses no memory or processor. " + (about ? lead + about + ", or by itself when a Windows app opens."+ : (level === "saved" ? "Ready again" : "Starts") + " by itself when a Windows app opens.");+ }+// What the panel says the idle policy will do (winmode/lifecycle.py).// Saving to disk is off in the service for now, and then it pauses.function idleText(): string {@@ -305,27 +353,25 @@ PlasmoidItem {hostCores = parseInt(answer, 10) || 0;return;}+ if (command.indexOf("wildos-winmode power ") === 0) {+ pendingAction = "";+ }refresh();}- function pauseNow(): void {- run("wildos-winmode idle pause");- }-- function saveToDisk(): void {- run("wildos-winmode idle save");- }-- // The app's Start entry through kstart, the way Task Manager and Start- // open Windows apps, so the taskbar shows it starting.- function openApp(id: string): void {- if (!/^[a-z0-9-]+$/.test(id)) {+ // Pause, Save to disk, Resume, Start, Restart and Shut down, through the+ // agent, which asks first when Restart or Shut down could lose unsaved+ // work, and says so in a notification when something fails. The panel+ // closes for those two, so the question isn't hidden behind it.+ function power(action: string): void {+ if (["pause", "save", "resume", "start", "restart", "shutdown"].indexOf(action) < 0) {return;}- const entry = "wildos-winmode-" + id;- run("if command -v kstart >/dev/null 2>&1 && [ -e \"${XDG_DATA_HOME:-$HOME/.local/share}/applications/" + entry + ".desktop\" ]; "- + "then kstart --application " + entry + "; else wildos-winmode launch " + id + "; fi");- expanded = false;+ pendingAction = action;+ run("wildos-winmode power " + action);+ if (action === "restart" || action === "shutdown") {+ expanded = false;+ }}// Settings ships with Wild OS, but if it has gone the click still saysdiff --git a/packages/wildos-branding/files/skel/.config/kglobalshortcutsrc b/packages/wildos-branding/files/skel/.config/kglobalshortcutsrcindex e86c42b..892698c 100644--- a/packages/wildos-branding/files/skel/.config/kglobalshortcutsrc+++ b/packages/wildos-branding/files/skel/.config/kglobalshortcutsrc@@ -15,9 +15,17 @@ manage activities=none,Meta+Q,Show Activity Switcher# Win+Tab is Task view. Alt+Space opens the window menu, as on Windows# (wildos-shell draws it); KRunner, which Wild OS does not use, gives the# keys up.+#+# Win+D minimises every window into the taskbar and brings them back, as on+# Windows (the org.wildos.showdesktop KWin script). KWin's Show Desktop,+# which slides the windows off the screen, gives up the keys; the taskbar's+# peek still uses it. Accounts made before this get the change once from+# /usr/libexec/wildos/show-desktop-keys.[kwin]Overview=Meta+W\tMeta+Tab,Meta+W,Toggle OverviewWindow Operations Menu=Alt+Space,Alt+F3,Window Operations Menu+Show Desktop=none,Meta+D,Peek at Desktop+Wild OS show desktop=Meta+D,Meta+D,Show the desktop (minimise every window)[services][org.kde.krunner.desktop]_launch=nonediff --git a/packages/wildos-branding/files/xdg/autostart/wildos-show-desktop-keys.desktop b/packages/wildos-branding/files/xdg/autostart/wildos-show-desktop-keys.desktopnew file mode 100644index 0000000..0fbf032--- /dev/null+++ b/packages/wildos-branding/files/xdg/autostart/wildos-show-desktop-keys.desktop@@ -0,0 +1,7 @@+[Desktop Entry]+Type=Application+Name=Wild OS show desktop keys+Exec=/usr/libexec/wildos/show-desktop-keys+OnlyShowIn=KDE;+NoDisplay=true+X-KDE-autostart-phase=2diff --git a/packages/wildos-branding/files/xdg/kdeglobals b/packages/wildos-branding/files/xdg/kdeglobalsindex 751a463..0a467a0 100644--- a/packages/wildos-branding/files/xdg/kdeglobals+++ b/packages/wildos-branding/files/xdg/kdeglobals@@ -26,6 +26,10 @@ Theme=WildOS[KDE]LookAndFeelPackage=org.wildos.desktop+# Window, menu and Wild OS app animations run a quarter faster than KDE's,+# so the desktop feels quick without anything snapping. Reduce motion in+# Settings still sets 0.+AnimationDurationFactor=0.75# Kvantum draws every Qt 5 and Qt 6 control from the WildOS theme; see# /etc/xdg/Kvantum/kvantum.kvconfig.widgetStyle=kvantumdiff --git a/packages/wildos-branding/files/xdg/kwinrc b/packages/wildos-branding/files/xdg/kwinrcindex 9fe6f8f..e3a6fc8 100644--- a/packages/wildos-branding/files/xdg/kwinrc+++ b/packages/wildos-branding/files/xdg/kwinrc@@ -19,6 +19,11 @@ blurEnabled=truecontrastEnabled=trueorg.wildos.snapEnabled=trueorg.wildos.launchEnabled=true+# The taskbar's peek fades the windows out where they stand, as on Windows,+# instead of sliding them off to the screen edges. Both effects animate+# showing the desktop, so only one may run.+windowapertureEnabled=false+org.wildos.peekfadeEnabled=true# The Wild OS window switcher, with a plain dim behind it instead of KWin# fading the other windows.diff --git a/packages/wildos-branding/files/xdg/mimeapps.list b/packages/wildos-branding/files/xdg/mimeapps.listindex 427f6b0..0664e88 100644--- a/packages/wildos-branding/files/xdg/mimeapps.list+++ b/packages/wildos-branding/files/xdg/mimeapps.list@@ -33,3 +33,26 @@ application/x-msdownload=org.wildos.run.desktopapplication/vnd.microsoft.portable-executable=org.wildos.run.desktop# Shortcuts Windows apps put on the shared Desktop open in Windows mode.application/x-ms-shortcut=org.wildos.winmode.shortcut.desktop++# Documents and spreadsheets open in Write and Tables, under LibreOffice's+# launcher ids. Windows mode's "Open Windows files in Windows apps" writes+# its own lines to the person's mimeapps.list, which win over these.+application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop+application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop+application/vnd.ms-word.document.macroEnabled.12=libreoffice-writer.desktop+application/vnd.ms-word.template.macroEnabled.12=libreoffice-writer.desktop+application/msword=libreoffice-writer.desktop+application/rtf=libreoffice-writer.desktop+text/rtf=libreoffice-writer.desktop+application/vnd.oasis.opendocument.text=libreoffice-writer.desktop+application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop+application/vnd.oasis.opendocument.text-flat-xml=libreoffice-writer.desktop+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop+application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop+application/vnd.ms-excel.sheet.macroEnabled.12=libreoffice-calc.desktop+application/vnd.ms-excel.template.macroEnabled.12=libreoffice-calc.desktop+application/vnd.ms-excel=libreoffice-calc.desktop+application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop+application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop+application/vnd.oasis.opendocument.spreadsheet-flat-xml=libreoffice-calc.desktop+text/csv=libreoffice-calc.desktopdiff --git a/packages/wildos-desktop/debian/control b/packages/wildos-desktop/debian/controlindex 1f0d8aa..0676e7f 100644--- a/packages/wildos-desktop/debian/control+++ b/packages/wildos-desktop/debian/control@@ -29,6 +29,7 @@ Depends:wildos-portal,wildos-taskmanager,wildos-mail,+ wildos-office,wildos-remote,wildos-overlays,kde-plasma-desktop,diff --git a/packages/wildos-desktop/debian/triggers b/packages/wildos-desktop/debian/triggersindex afae9f9..b79e6af 100644--- a/packages/wildos-desktop/debian/triggers+++ b/packages/wildos-desktop/debian/triggers@@ -1,2 +1,3 @@interest-noawait /usr/share/applicationsinterest-noawait /usr/share/locale/en_GB/LC_MESSAGES+interest-noawait /usr/share/wildos/launchersdiff --git a/packages/wildos-desktop/files/wildos-app-names b/packages/wildos-desktop/files/wildos-app-namesindex 6900155..a29e83c 100644--- a/packages/wildos-desktop/files/wildos-app-names+++ b/packages/wildos-desktop/files/wildos-app-names@@ -84,6 +84,21 @@ if [ -f "$SRC/org.wildos.terminal.desktop" ]; thenelserename org.kde.konsole "Terminal" "Terminal"fi+# Launchers that Wild OS packages ship whole, under the stock app's id so its+# windows and file types still find them: Write and Tables for LibreOffice.+for f in /usr/share/wildos/launchers/*.desktop; do+ [ -f "$f" ] || continue+ id=$(basename "$f" .desktop)+ [ -f "$SRC/$id.desktop" ] || continue+ cp "$f" "$DST/$id.desktop.new"+ mv "$DST/$id.desktop.new" "$DST/$id.desktop"+done+# With Write and Tables in place, LibreOffice's own start centre stays out of+# menus. Impress and the rest show up as themselves if installed from the Store.+if [ -f /usr/share/wildos/launchers/libreoffice-writer.desktop ]; then+ hide libreoffice-startcenter+ hide libreoffice-xsltfilter+firename org.kde.kcalc "Calculator" "Calculator"rename org.kde.kwrite "Text editor" "Text editor"rename org.kde.okular "Documents" "Document viewer"diff --git a/packages/wildos-mail/src/main.cpp b/packages/wildos-mail/src/main.cppindex dcd99a0..7ece401 100644--- a/packages/wildos-mail/src/main.cpp+++ b/packages/wildos-mail/src/main.cpp@@ -1,3 +1,6 @@+#include <QColor>+#include <QQmlComponent>+#include <QElapsedTimer>#include <QCommandLineParser>#include <QDBusConnection>#include <QDBusConnectionInterface>@@ -242,6 +245,53 @@ int runCalendar(int argc, char *argv[])}}+// The launch splash, drawn before the window is built so it is on screen+// while Mail starts. Returns null if it could not be made.+QObject *showSplash(QQmlApplicationEngine *engine, bool calendar)+{+ QQmlComponent component(engine, QStringLiteral("WildOS.UI"), QStringLiteral("LoadingSplash"));+ const QString icons = QStringLiteral("file:///usr/share/icons/hicolor/scalable/apps/");+ QVariantMap properties = calendar+ ? QVariantMap{+ {QStringLiteral("appName"), QStringLiteral("Calendar")},+ {QStringLiteral("iconSource"), QUrl(icons + QStringLiteral("org.wildos.calendar.svg"))},+ {QStringLiteral("accent"), QColor(QStringLiteral("#ff8a6e"))},+ {QStringLiteral("accentDeep"), QColor(QStringLiteral("#d9362b"))},+ {QStringLiteral("status"), QStringLiteral("Opening your calendar")},+ {QStringLiteral("noteStart"), QStringLiteral("Google, iCloud and CalDAV calendars")},+ {QStringLiteral("noteEnd"), QStringLiteral("Reminders from sign-in")},+ }+ : QVariantMap{+ {QStringLiteral("appName"), QStringLiteral("Mail")},+ {QStringLiteral("iconSource"), QUrl(icons + QStringLiteral("org.wildos.mail.svg"))},+ {QStringLiteral("accent"), QColor(QStringLiteral("#3fb6ff"))},+ {QStringLiteral("accentDeep"), QColor(QStringLiteral("#0a63d1"))},+ {QStringLiteral("status"), QStringLiteral("Opening your inbox")},+ {QStringLiteral("noteStart"), QStringLiteral("Every account in one inbox")},+ {QStringLiteral("noteEnd"), QStringLiteral("Trackers blocked")},+ };+ properties.insert(QStringLiteral("showDelay"), 0);+ properties.insert(QStringLiteral("minimumTime"), 900);+ QObject *splash = component.createWithInitialProperties(properties);+ auto *window = qobject_cast<QQuickWindow *>(splash);+ if (!window) {+ delete splash;+ return nullptr;+ }+ // Let it reach the screen before building the window blocks the loop.+ QElapsedTimer waited;+ waited.start();+ bool drawn = false;+ QObject::connect(window, &QQuickWindow::frameSwapped, window, [&drawn]() {+ drawn = true;+ }, Qt::DirectConnection);+ while (!drawn && waited.elapsed() < 500) {+ QCoreApplication::processEvents(QEventLoop::AllEvents, 20);+ }+ QObject::disconnect(window, &QQuickWindow::frameSwapped, window, nullptr);+ return splash;+}+int main(int argc, char *argv[]){// One program: wildos-calendar is a link to it, and opens Mail's window@@ -308,7 +358,24 @@ int main(int argc, char *argv[])QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed, &app, []() {QCoreApplication::exit(1);}, Qt::QueuedConnection);+ // As Office apps do, Mail opens on its splash (board 12.5) and the window+ // follows: it is built hidden behind the splash and shown as it fades.+ QObject *splash = showSplash(&engine, calendar);+ if (splash) {+ engine.setInitialProperties({{QStringLiteral("visible"), false}});+ }engine.loadFromModule("WildOS.Mail", "Main");+ engine.setInitialProperties({});+ if (splash) {+ auto *window = qobject_cast<QWindow *>(engine.rootObjects().value(engine.rootObjects().size() - 1));+ if (window && window != splash) {+ QObject::connect(splash, SIGNAL(finished()), window, SLOT(show()));+ QObject::connect(splash, SIGNAL(finished()), window, SLOT(requestActivate()));+ QMetaObject::invokeMethod(splash, "finish");+ } else if (window) {+ QMetaObject::invokeMethod(splash, "finish");+ }+ }auto *remote = new Remote(&engine);if (bus.isConnected()) {diff --git a/packages/wildos-office/CMakeLists.txt b/packages/wildos-office/CMakeLists.txtnew file mode 100644index 0000000..03b3ed7--- /dev/null+++ b/packages/wildos-office/CMakeLists.txt@@ -0,0 +1,82 @@+cmake_minimum_required(VERSION 3.25)+project(wildos-office VERSION 0.1.0 LANGUAGES CXX)++set(CMAKE_CXX_STANDARD 20)+set(CMAKE_CXX_STANDARD_REQUIRED ON)+include(GNUInstallDirs)++find_package(Qt6 6.8 REQUIRED COMPONENTS Core Gui DBus Qml Quick QuickControls2)+qt_standard_project_setup(REQUIRES 6.8)++# The start screen: wildos-office, run as wildos-write or wildos-tables+# (src/main.cpp), which hands any file straight to LibreOffice.+set(OFFICE_DATA ${CMAKE_INSTALL_FULL_DATADIR}/wildos-office)+qt_add_executable(wildos-office src/main.cpp)+target_compile_definitions(wildos-office PRIVATE+ WILDOS_OFFICE_VERSION="${PROJECT_VERSION}"+ WILDOS_OFFICE_DATA="${OFFICE_DATA}"+ QT_NO_KEYWORDS)++file(GLOB QML_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} qml/*.qml)+foreach(file ${QML_SOURCES})+ get_filename_component(name ${file} NAME)+ set_source_files_properties(${file} PROPERTIES QT_RESOURCE_ALIAS ${name})+endforeach()++qt_add_qml_module(wildos-office+ URI WildOS.Office+ QML_FILES ${QML_SOURCES}+ RESOURCES data/org.wildos.write.svg data/org.wildos.tables.svg+ SOURCES src/office.cpp src/office.h+)+target_include_directories(wildos-office PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)+target_link_libraries(wildos-office PRIVATE Qt6::Gui Qt6::DBus Qt6::Qml Qt6::Quick Qt6::QuickControls2)++install(TARGETS wildos-office RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})+foreach(link wildos-write wildos-tables)+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink wildos-office \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/${link})")+endforeach()+install(FILES data/org.wildos.write.svg data/org.wildos.tables.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)++# Templates with their card pictures, and the blank document each app+# starts from (templates/make-templates.py makes them all).+install(DIRECTORY templates/write templates/tables templates/default+ DESTINATION ${OFFICE_DATA}/templates+ FILES_MATCHING PATTERN "*.ott" PATTERN "*.ots" PATTERN "*.png")++set(LO ${CMAKE_INSTALL_PREFIX}/lib/libreoffice)++# The bundled configuration layer: LibreOffice reads every .xcd in+# share/registry, ordered by each file's dependencies.+# wildos-labels.xcd gives the commands the ribbons' short UK names; tools/+# gen-ribbons.py --labels regenerates it from LibreOffice's own registry.+install(FILES lo/registry/wildos.xcd lo/registry/wildos-labels.xcd DESTINATION ${LO}/share/registry)+# The Wild OS ribbons sit beside LibreOffice's own under new names, so+# LibreOffice updates never overwrite them.+install(FILES lo/ui/swriter/notebookbar_wildos.ui DESTINATION ${LO}/share/config/soffice.cfg/modules/swriter/ui)+install(FILES lo/ui/scalc/notebookbar_wildos.ui DESTINATION ${LO}/share/config/soffice.cfg/modules/scalc/ui)++# The Wild OS icon themes, built from the line icons in lo/icons. LibreOffice+# finds icon themes as images_*.zip in share/config; wildos.xcd selects one.+find_package(Python3 REQUIRED COMPONENTS Interpreter)+file(GLOB ICON_SOURCES CONFIGURE_DEPENDS lo/icons/svg/*.svg lo/icons/lucide/*.svg)+set(ICON_THEMES+ ${CMAKE_CURRENT_BINARY_DIR}/icons/images_wildos_svg.zip+ ${CMAKE_CURRENT_BINARY_DIR}/icons/images_wildos_dark_svg.zip)+add_custom_command(OUTPUT ${ICON_THEMES}+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tools/gen-icons.py ${CMAKE_CURRENT_BINARY_DIR}/icons+ DEPENDS tools/gen-icons.py lo/icons/icons.txt ${ICON_SOURCES}+ VERBATIM)+add_custom_target(icon-themes ALL DEPENDS ${ICON_THEMES})+install(FILES ${ICON_THEMES} DESTINATION ${LO}/share/config)++# Unpacked bundled extensions in share/extensions are registered at start.+# This one carries the Basic library that sets the window titles.+install(DIRECTORY lo/extension/wildos-office DESTINATION ${LO}/share/extensions)++# Launchers under LibreOffice's own ids, so its windows, recent files and+# file types all find Write and Tables. wildos-app-names copies them into+# /usr/share/wildos/applications, ahead of the stock ones.+install(FILES launchers/libreoffice-writer.desktop launchers/libreoffice-calc.desktop+ DESTINATION ${CMAKE_INSTALL_DATADIR}/wildos/launchers)+install(FILES environment.d/70-wildos-office.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/environment.d)diff --git a/packages/wildos-office/data/org.wildos.tables.svg b/packages/wildos-office/data/org.wildos.tables.svgnew file mode 100644index 0000000..2cca1d8--- /dev/null+++ b/packages/wildos-office/data/org.wildos.tables.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256"><defs><filter id="i3ts" x="-25%" y="-25%" width="150%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="8" flood-color="#060c2a" flood-opacity="0.35"/></filter><linearGradient id="i3tt" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#2fd48a"/><stop offset="1" stop-color="#0d7a49"/></linearGradient><linearGradient id="i3tg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity="0.22"/><stop offset="0.55" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="i3tp" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#ffffff"/><stop offset="1" stop-color="#e2f7ec"/></linearGradient><linearGradient id="i3ta" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#ffd27a"/><stop offset="1" stop-color="#f5a35c"/></linearGradient></defs><g filter="url(#i3ts)"><rect x="80" y="24" width="156" height="206" rx="24" fill="url(#i3tp)"/></g><rect x="146" y="46" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="174" y="46" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="202" y="46" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="146" y="86" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="174" y="86" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="202" y="86" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="146" y="126" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="174" y="126" width="22" height="32" rx="5" fill="url(#i3ta)"/><rect x="202" y="126" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="146" y="166" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="174" y="166" width="22" height="32" rx="5" fill="#cfeedd"/><rect x="202" y="166" width="22" height="32" rx="5" fill="#cfeedd"/><g filter="url(#i3ts)"><rect x="14" y="70" width="124" height="124" rx="30" fill="url(#i3tt)"/><rect x="14" y="70" width="124" height="124" rx="30" fill="url(#i3tg)"/><rect x="15.5" y="71.5" width="121" height="121" rx="28" fill="none" stroke="#fff" stroke-opacity="0.18" stroke-width="2"/><path d="M49.3 165.0H102.7V153.8H79.8C74.7 153.8 69.8 153.9 65.3 154.1C68.5 151.4 72.5 148.2 75.8 144.8L86.7 133.6V128.8L75.9 117.7C73.1 114.9 69.7 112.2 66.8 110.0C70.8 110.1 75.3 110.2 79.8 110.2H102.0V99.0H50.8V109.3L65.5 124.0C67.8 126.3 70.9 129.0 73.7 131.2C70.9 133.6 67.7 136.3 65.4 138.6L49.3 155.0Z" fill="#ffffff"/></g></svg>diff --git a/packages/wildos-office/data/org.wildos.write.svg b/packages/wildos-office/data/org.wildos.write.svgnew file mode 100644index 0000000..6ec90c6--- /dev/null+++ b/packages/wildos-office/data/org.wildos.write.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256"><defs><filter id="i2ws" x="-25%" y="-25%" width="150%" height="150%"><feDropShadow dx="0" dy="7" stdDeviation="8" flood-color="#060c2a" flood-opacity="0.35"/></filter><linearGradient id="i2wt" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#9d7bff"/><stop offset="1" stop-color="#5631c9"/></linearGradient><linearGradient id="i2wg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity="0.22"/><stop offset="0.55" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="i2wp" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#ffffff"/><stop offset="1" stop-color="#ebe5ff"/></linearGradient></defs><g filter="url(#i2ws)"><rect x="80" y="24" width="156" height="206" rx="24" fill="url(#i2wp)"/></g><rect x="150" y="60" width="64" height="10" rx="5" fill="#d6ccf5"/><rect x="150" y="84" width="64" height="10" rx="5" fill="#d6ccf5"/><rect x="150" y="108" width="64" height="10" rx="5" fill="#d6ccf5"/><rect x="150" y="132" width="64" height="10" rx="5" fill="#d6ccf5"/><rect x="150" y="156" width="64" height="10" rx="5" fill="#d6ccf5"/><rect x="150" y="180" width="44" height="10" rx="5" fill="#d6ccf5"/><g filter="url(#i2ws)"><rect x="14" y="70" width="124" height="124" rx="30" fill="url(#i2wt)"/><rect x="14" y="70" width="124" height="124" rx="30" fill="url(#i2wg)"/><rect x="15.5" y="71.5" width="121" height="121" rx="28" fill="none" stroke="#fff" stroke-opacity="0.18" stroke-width="2"/><path d="M88.4 167.0H99.8V97.0H75.9C60.5 97.0 52.2 106.4 52.2 119.0C52.2 131.7 60.5 141.1 75.9 141.1H79.9V108.0H88.4Z" fill="#ffffff"/></g></svg>diff --git a/packages/wildos-office/debian/changelog b/packages/wildos-office/debian/changelognew file mode 100644index 0000000..8982279--- /dev/null+++ b/packages/wildos-office/debian/changelog@@ -0,0 +1,7 @@+wildos-office (0.1.0) trixie; urgency=medium++ * Write and Tables: LibreOffice Writer and Calc dressed as Wild OS apps,+ with their own start screens, Wild OS ribbons and Word and Excel+ formats by default.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 10:00:00 +0000diff --git a/packages/wildos-office/debian/control b/packages/wildos-office/debian/controlnew file mode 100644index 0000000..7ae8c37--- /dev/null+++ b/packages/wildos-office/debian/control@@ -0,0 +1,40 @@+Source: wildos-office+Section: editors+Priority: optional+Maintainer: Wild OS Developers <[email protected]>+Build-Depends:+ debhelper-compat (= 13),+ cmake,+ python3,+ qt6-base-dev,+ qt6-declarative-dev,+Standards-Version: 4.7.0+Rules-Requires-Root: no++Package: wildos-office+Architecture: any+Depends:+ ${shlibs:Depends},+ ${misc:Depends},+ libreoffice-writer,+ libreoffice-calc,+ libreoffice-kf6,+ libreoffice-l10n-en-gb,+ fonts-crosextra-carlito,+ fonts-crosextra-caladea,+ hunspell-en-gb,+ hunspell-en-us,+ wildos-ui,+ qml6-module-qtcore,+ qml6-module-qtquick,+ qml6-module-qtquick-controls,+ qml6-module-qtquick-layouts,+ qml6-module-qtquick-dialogs,+ qml6-module-qtquick-shapes,+ qml6-module-qtquick-templates,+ qt6-svg-plugins,+Description: Wild OS Write and Tables+ Documents and spreadsheets for Wild OS. Write and Tables are LibreOffice+ Writer and Calc with Wild OS start screens, ribbons and defaults: Word and+ Excel files open with them and save back as .docx and .xlsx unless asked+ otherwise.diff --git a/packages/wildos-office/debian/rules b/packages/wildos-office/debian/rulesnew file mode 100644index 0000000..2c5acaf--- /dev/null+++ b/packages/wildos-office/debian/rules@@ -0,0 +1,7 @@+#!/usr/bin/make -f++%:+ dh $@++override_dh_auto_configure:+ dh_auto_configure -- -Wno-dev -DCMAKE_BUILD_TYPE=Releasediff --git a/packages/wildos-office/debian/source/format b/packages/wildos-office/debian/source/formatnew file mode 100644index 0000000..89ae9db--- /dev/null+++ b/packages/wildos-office/debian/source/format@@ -0,0 +1 @@+3.0 (native)diff --git a/packages/wildos-office/environment.d/70-wildos-office.conf b/packages/wildos-office/environment.d/70-wildos-office.confnew file mode 100644index 0000000..122150c--- /dev/null+++ b/packages/wildos-office/environment.d/70-wildos-office.conf@@ -0,0 +1,4 @@+# Write and Tables draw with LibreOffice's KDE 6 plugin, natively on Wayland+# and in the Wild OS theme. Left to itself LibreOffice picks its plain X11+# plugin in a Wild OS session.+SAL_USE_VCLPLUGIN=kf6diff --git a/packages/wildos-office/launchers/libreoffice-calc.desktop b/packages/wildos-office/launchers/libreoffice-calc.desktopnew file mode 100644index 0000000..5c1f979--- /dev/null+++ b/packages/wildos-office/launchers/libreoffice-calc.desktop@@ -0,0 +1,20 @@+[Desktop Entry]+Type=Application+Name=Tables+GenericName=Spreadsheets+Comment=Make budgets, lists and sums, and open and save Excel files+Exec=wildos-tables %U+Icon=org.wildos.tables+Terminal=false+StartupNotify=true+StartupWMClass=libreoffice-calc+Categories=Office;Spreadsheet;+Keywords=excel;xlsx;xls;csv;spreadsheet;budget;sheet;ods;calc;+X-GIO-NoFuse=true+InitialPreference=9+MimeType=application/clarisworks;application/csv;application/excel;application/msexcel;application/tab-separated-values;application/vnd.apache.parquet;application/vnd.apple.numbers;application/vnd.lotus-1-2-3;application/vnd.ms-excel;application/vnd.ms-excel.sheet.binary.macroEnabled.12;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/x-123;application/x-dbase;application/x-dbf;application/x-dos_ms_excel;application/x-excel;application/x-gnumeric;application/x-iwork-numbers-sffnumbers;application/x-ms-excel;application/x-msexcel;application/x-quattropro;application/x-starcalc;application/x-starchart;text/comma-separated-values;text/csv;text/spreadsheet;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;+Actions=NewDocument;++[Desktop Action NewDocument]+Name=New spreadsheet+Exec=wildos-tables --newdiff --git a/packages/wildos-office/launchers/libreoffice-writer.desktop b/packages/wildos-office/launchers/libreoffice-writer.desktopnew file mode 100644index 0000000..b16af37--- /dev/null+++ b/packages/wildos-office/launchers/libreoffice-writer.desktop@@ -0,0 +1,20 @@+[Desktop Entry]+Type=Application+Name=Write+GenericName=Documents+Comment=Write letters, reports and CVs, and open and save Word files+Exec=wildos-write %U+Icon=org.wildos.write+Terminal=false+StartupNotify=true+StartupWMClass=libreoffice-writer+Categories=Office;WordProcessor;+Keywords=word;docx;doc;document;letter;report;cv;odt;writer;+X-GIO-NoFuse=true+InitialPreference=9+MimeType=application/clarisworks;application/docbook+xml;application/macwriteii;application/msword;application/prs.plucker;application/rtf;application/vnd.apple.pages;application/vnd.lotus-wordpro;application/vnd.ms-word;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.palm;application/vnd.stardivision.writer-global;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.global;application/vnd.sun.xml.writer.template;application/vnd.wordperfect;application/wordperfect;application/x-abiword;application/x-aportisdoc;application/x-doc;application/x-fictionbook+xml;application/x-hwp;application/x-iwork-pages-sffpages;application/x-mswrite;application/x-pocket-word;application/x-sony-bbeb;application/x-starwriter;application/x-starwriter-global;application/x-t602;text/rtf;+Actions=NewDocument;++[Desktop Action NewDocument]+Name=New document+Exec=wildos-write --newdiff --git a/packages/wildos-office/lo/extension/wildos-office/META-INF/manifest.xml b/packages/wildos-office/lo/extension/wildos-office/META-INF/manifest.xmlnew file mode 100644index 0000000..09bac92--- /dev/null+++ b/packages/wildos-office/lo/extension/wildos-office/META-INF/manifest.xml@@ -0,0 +1,4 @@+<?xml version="1.0" encoding="UTF-8"?>+<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.basic-library" manifest:full-path="WildOSOffice/"/>+</manifest:manifest>diff --git a/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/Icons.xba b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/Icons.xbanew file mode 100644index 0000000..11bda5e--- /dev/null+++ b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/Icons.xba@@ -0,0 +1,104 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">+<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Icons" script:language="StarBasic">REM The Wild OS icons come in two themes: light strokes for the dark Wild OS+REM theme (wildos_dark_svg) and dark strokes for the light one (wildos_svg).+REM LibreOffice keeps whichever theme is set whatever the window colours, so+REM this reads the colours each document window was given and switches theme+REM when they no longer match: as the window first opens, and every time it+REM comes back to the front, which catches a switch between light and dark+REM made in Settings while a document is open.+REM A user who picked another icon theme in Tools > Options keeps it.++Global aWatched() As Object+Global nWatched As Integer++REM Bound to the OnFocus document event in wildos.xcd.+Sub Update(oEvent As Object)+ On Error Resume Next+ Dim oDoc As Object, oWindow As Object+ oDoc = oEvent.Source+ If IsNull(oDoc) Then Exit Sub+ If Not HasUnoInterfaces(oDoc, "com.sun.star.frame.XModel") Then Exit Sub+ oWindow = oDoc.getCurrentController().getFrame().getContainerWindow()+ If IsNull(oWindow) Then Exit Sub+ Match(oWindow)+ Watch(oWindow)+End Sub++REM OnFocus only fires when focus moves between documents, so each window+REM also gets a listener for coming back from another app.+Sub Watch(oWindow As Object)+ Dim i As Integer+ For i = 0 To nWatched - 1+ If EqualUnoObjects(aWatched(i), oWindow) Then Exit Sub+ Next+ If Not HasUnoInterfaces(oWindow, "com.sun.star.awt.XTopWindow") Then Exit Sub+ oWindow.addTopWindowListener(CreateUnoListener("IconsWindow_", "com.sun.star.awt.XTopWindowListener"))+ ReDim Preserve aWatched(nWatched)+ aWatched(nWatched) = oWindow+ nWatched = nWatched + 1+End Sub++Sub Match(oWindow As Object)+ On Error Resume Next+ REM Dark exactly when LibreOffice itself would call it dark: a window+ REM background darker than grey 192, by Qt's qGray weighting.+ Dim nColour As Long, nGrey As Long+ nColour = oWindow.StyleSettings.DialogColor+ nGrey = ((nColour \ 65536 And 255) * 11 + (nColour \ 256 And 255) * 16 + (nColour And 255) * 5) \ 32+ Dim sWanted As String+ If nGrey < 192 Then+ sWanted = "wildos_dark_svg"+ Else+ sWanted = "wildos_svg"+ End If++ Dim oProvider As Object, oMisc As Object+ Dim aArgs(0) As New com.sun.star.beans.PropertyValue+ oProvider = CreateUnoService("com.sun.star.configuration.ConfigurationProvider")+ aArgs(0).Name = "nodepath"+ aArgs(0).Value = "/org.openoffice.Office.Common/Misc"+ oMisc = oProvider.createInstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess", aArgs())+ Dim sCurrent As String+ sCurrent = oMisc.SymbolStyle+ If sCurrent <> "wildos_svg" And sCurrent <> "wildos_dark_svg" Then Exit Sub+ If sCurrent = sWanted Then Exit Sub+ oMisc.SymbolStyle = sWanted+ oMisc.commitChanges()+End Sub++Sub IconsWindow_windowActivated(oEvent As Object)+ Match(oEvent.Source)+End Sub++Sub IconsWindow_windowClosed(oEvent As Object)+ Dim i As Integer, j As Integer+ For i = 0 To nWatched - 1+ If EqualUnoObjects(aWatched(i), oEvent.Source) Then+ For j = i To nWatched - 2+ aWatched(j) = aWatched(j + 1)+ Next+ nWatched = nWatched - 1+ Exit Sub+ End If+ Next+End Sub++Sub IconsWindow_windowOpened(oEvent As Object)+End Sub++Sub IconsWindow_windowClosing(oEvent As Object)+End Sub++Sub IconsWindow_windowMinimized(oEvent As Object)+End Sub++Sub IconsWindow_windowNormalized(oEvent As Object)+End Sub++Sub IconsWindow_windowDeactivated(oEvent As Object)+End Sub++Sub IconsWindow_disposing(oEvent As Object)+End Sub+</script:module>diff --git a/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/Title.xba b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/Title.xbanew file mode 100644index 0000000..52dcc95--- /dev/null+++ b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/Title.xba@@ -0,0 +1,32 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">+<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Title" script:language="StarBasic">REM Window titles read "Spring newsletter.docx - Write", as Wild OS apps do,+REM instead of LibreOffice's "Spring newsletter.docx - LibreOffice Writer".+REM LibreOffice builds its title from the product name, which also fills+REM every dialog, so only the frame title is set, from the document events+REM bound in wildos.xcd.++Sub Update(oEvent As Object)+ On Error Resume Next+ Dim oDoc As Object+ oDoc = oEvent.Source+ If IsNull(oDoc) Then Exit Sub+ If Not HasUnoInterfaces(oDoc, "com.sun.star.frame.XModel", "com.sun.star.frame.XTitle") Then Exit Sub++ Dim sApp As String+ If oDoc.supportsService("com.sun.star.sheet.SpreadsheetDocument") Then+ sApp = "Tables"+ ElseIf oDoc.supportsService("com.sun.star.text.TextDocument") Then+ sApp = "Write"+ Else+ Exit Sub+ End If++ Dim oControllers As Object, oFrame As Object+ oControllers = oDoc.getControllers()+ Do While oControllers.hasMoreElements()+ oFrame = oControllers.nextElement().getFrame()+ If Not IsNull(oFrame) Then oFrame.setTitle(oDoc.getTitle() & " - " & sApp)+ Loop+End Sub+</script:module>diff --git a/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/dialog.xlb b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/dialog.xlbnew file mode 100644index 0000000..0ff0169--- /dev/null+++ b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/dialog.xlb@@ -0,0 +1,3 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">+<library:library xmlns:library="http://openoffice.org/2000/library" library:name="WildOSOffice" library:readonly="true" library:passwordprotected="false"/>diff --git a/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/script.xlb b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/script.xlbnew file mode 100644index 0000000..a7cae7b--- /dev/null+++ b/packages/wildos-office/lo/extension/wildos-office/WildOSOffice/script.xlb@@ -0,0 +1,6 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">+<library:library xmlns:library="http://openoffice.org/2000/library" library:name="WildOSOffice" library:readonly="true" library:passwordprotected="false">+ <library:element library:name="Title"/>+ <library:element library:name="Icons"/>+</library:library>diff --git a/packages/wildos-office/lo/extension/wildos-office/description.xml b/packages/wildos-office/lo/extension/wildos-office/description.xmlnew file mode 100644index 0000000..b21276a--- /dev/null+++ b/packages/wildos-office/lo/extension/wildos-office/description.xml@@ -0,0 +1,7 @@+<?xml version="1.0" encoding="UTF-8"?>+<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">+ <identifier value="io.wildos.office"/>+ <version value="0.1.0"/>+ <display-name><name lang="en">Wild OS Write and Tables</name></display-name>+ <publisher><name lang="en" xlink:href="https://wildos.io">Wild OS</name></publisher>+</description>diff --git a/packages/wildos-office/lo/icons/CREDITS b/packages/wildos-office/lo/icons/CREDITSnew file mode 100644index 0000000..2a8a59b--- /dev/null+++ b/packages/wildos-office/lo/icons/CREDITS@@ -0,0 +1,11 @@+Wild OS icons for Write and Tables++svg/ holds the icons drawn on the Wild OS design boards for Write and Tables+(Paste, Cut, Copy, the text and paragraph buttons, Picture, Table, Find,+Replace, Sort, Filter, Chart, AutoSum, the sidebar strip) and the ones drawn+for Wild OS in the same style.++lucide/ holds icons from Lucide 1.71.0 (https://lucide.dev), unchanged+except that tools/gen-icons.py draws them with the boards' 1.8 stroke and+Wild OS colours. Lucide is under the ISC licence, with the icons it took+from Feather under the MIT licence; both are in lucide/LICENSE.diff --git a/packages/wildos-office/lo/icons/icons.txt b/packages/wildos-office/lo/icons/icons.txtnew file mode 100644index 0000000..678063a--- /dev/null+++ b/packages/wildos-office/lo/icons/icons.txt@@ -0,0 +1,715 @@+# Which icon each LibreOffice command or image gets in the Wild OS theme.+#+# target icon [tone]+#+# A target is a UNO command (Bold, for .uno:Bold) or a LibreOffice image path+# with the size it is drawn at (svx/res/doc_modified_no.png@16). An icon is a+# file in svg/ (drawn on the design boards or by us) or lucide/ (adapted from+# Lucide). Tones: fg (default, the text colour), accent for the actions the+# boards draw in blue, muted for the sidebar strip and status bar, and red,+# yellow, green where the colour carries meaning.++# Clipboard+Paste paste accent+Cut cut accent+Copy copy accent+PasteSpecial paste-special accent+PasteSpecialMenu paste-special accent+PasteUnformatted paste-text accent+PasteOnlyText paste-text accent+PasteOnlyValue paste-values accent+PasteOnlyFormula paste-formula accent+PasteTransposed paste-transposed accent+FormatPaintbrush lucide/paintbrush+SelectAll lucide/text-select+Undo lucide/undo-2+Redo lucide/redo-2++# File menu+AddDirect lucide/file-plus+NewDoc lucide/file-plus+Open lucide/folder-open+OpenRemote lucide/folder-symlink+OpenUrl lucide/globe+OpenFromWriter lucide/file-text+OpenFromCalc lucide/sheet+RecentFileList lucide/history+Save lucide/save+SaveAs lucide/save-pen+SaveACopy lucide/save-all+ExportToPDF lucide/file-down+ExportDirectToPDF lucide/file-down+ExportDirectToEPUB lucide/book-down+ExportTo lucide/file-output+SendMail lucide/mail+SendMailDocAsPDF lucide/mail+PrintPreview lucide/file-search+ClosePreview lucide/x+Print lucide/printer+PrintDefault lucide/printer+PrinterSetup lucide/file-cog+SetDocumentProperties lucide/info+Signature lucide/signature+OptionsTreeDialog lucide/settings+HelpIndex lucide/circle-help+ExtendedHelp lucide/message-circle-question+CloseDoc lucide/x+EditDoc lucide/pencil++# Character formatting+Bold bold+Italic italic+Underline underline+UnderlineDouble underline-double+Strikeout strikethrough+Overline overline+Shadowed text-shadow+OutlineFont lucide/type-outline+SmallCaps lucide/case-sensitive+SuperScript lucide/superscript+SubScript lucide/subscript+Grow lucide/a-arrow-up+Shrink lucide/a-arrow-down+Spacing lucide/letter-spacing+ChangeCaseToUpper lucide/case-upper+ChangeCaseToLower lucide/case-lower+ResetAttributes lucide/remove-formatting+SetDefault lucide/remove-formatting+CharFontName lucide/type+FontHeight lucide/a-large-small+FontDialog lucide/type+CharacterMenu lucide/type+TextAttributes lucide/type+Color font-colour red+FontColor font-colour red+CharColorExt font-colour red+CharBackColor highlight yellow+BackColor highlight yellow+CharBackgroundExt highlight yellow+BackgroundColor highlight yellow+TableCellBackgroundColor fill-colour+FillColor fill-colour+XLineColor line-colour+FrameLineColor line-colour+LineColor line-colour++# Character and paragraph styles+DefaultCharStyle lucide/type+EmphasisCharStyle italic+StrongEmphasisCharStyle bold+QuoteCharStyle lucide/quote+SourceCharStyle lucide/code+TextBodyParaStyle lucide/text+TitleParaStyle lucide/heading+Heading1ParaStyle lucide/heading-1+Heading2ParaStyle lucide/heading-2+Heading3ParaStyle lucide/heading-3+QuoteParaStyle lucide/text-quote+PreformattedParaStyle lucide/code-xml+StyleApply styles+DesignerDialog lucide/swatch-book+EditStyle lucide/pencil-line+StyleNewByExample lucide/square-plus+StyleUpdateByExample lucide/refresh-cw+InspectorDeck lucide/text-search muted++# Lists and paragraphs+DefaultBullet bullets+BulletListStyle bullets+DefaultNumbering numbering+NumberListStyle numbering+AlphaListStyle numbering+AlphaLowListStyle numbering+RomanListStyle numbering+RomanLowListStyle numbering+NumberingMenu numbering+OutlineBullet lucide/list-tree+SetOutline lucide/list-tree+RemoveBullets lucide/list-x+NumberingStart lucide/list-restart+ContinueNumbering lucide/list-plus+IncrementLevel lucide/list-indent-increase+DecrementLevel lucide/list-indent-decrease+IncrementSubLevels lucide/list-indent-increase+DecrementSubLevels lucide/list-indent-decrease+MoveUp lucide/arrow-up+MoveDown lucide/arrow-down+MoveUpSubItems lucide/chevrons-up+MoveDownSubItems lucide/chevrons-down+InsertNeutralParagraph lucide/pilcrow-left+ParagraphMenu lucide/pilcrow+ParagraphDialog lucide/pilcrow+IncrementIndent indent+DecrementIndent outdent+HangingIndent hanging-indent+LineSpacing line-spacing+ParaspaceIncrease para-space-more+ParaspaceDecrease para-space-less+LeftPara align-left+AlignLeft align-left+CenterPara align-centre+AlignHorizontalCenter align-centre+RightPara align-right+AlignRight align-right+JustifyPara justify+AlignBlock justify+AlignTop valign-top+CellVertTop valign-top+AlignVCenter valign-middle+CellVertCenter valign-middle+AlignBottom valign-bottom+CellVertBottom valign-bottom+ParaLeftToRight lucide/pilcrow-right+ParaRightToLeft lucide/pilcrow-left+TextdirectionLeftToRight lucide/pilcrow-right+TextdirectionTopToBottom lucide/arrow-down-to-line+VerticalText lucide/arrow-down-to-line+NoBreak lucide/wrap-text+WrapText wrap-text+Hyphenate hyphenation++# Insert+InsertGraphic picture accent+GraphicDialog picture+InsertTable table accent+TableDialog lucide/table-properties+InsertObjectChart chart accent+BasicShapes lucide/shapes accent+InsertDraw lucide/shapes+BasicShapes.rectangle shape-rectangle accent+BasicShapes.round-rectangle shape-round-rectangle accent+BasicShapes.quadrat shape-square accent+BasicShapes.round-quadrat lucide/square accent+BasicShapes.circle lucide/circle accent+BasicShapes.ellipse shape-ellipse accent+BasicShapes.circle-pie shape-pie accent+BasicShapes.isosceles-triangle lucide/triangle accent+BasicShapes.right-triangle shape-right-triangle accent+BasicShapes.trapezoid shape-trapezoid accent+BasicShapes.diamond lucide/diamond accent+BasicShapes.parallelogram shape-parallelogram accent+BasicShapes.pentagon lucide/pentagon accent+BasicShapes.hexagon lucide/hexagon accent+BasicShapes.octagon lucide/octagon accent+BasicShapes.cross shape-cross accent+BasicShapes.ring shape-ring accent+BasicShapes.block-arc shape-block-arc accent+BasicShapes.can lucide/cylinder accent+BasicShapes.cube lucide/box accent+BasicShapes.paper shape-paper accent+BasicShapes.frame shape-frame accent+Line line+HyperlinkDialog lucide/link accent+EditHyperlink lucide/link-2+OpenHyperlinkOnCursor lucide/external-link+RemoveHyperlink lucide/unlink+InsertBookmark lucide/bookmark accent+InsertReferenceField lucide/square-arrow-out-up-right accent+InsertPageHeader lucide/panel-top accent+InsertPageFooter lucide/panel-bottom accent+PageNumberWizard lucide/hash accent+EditHeaderAndFooter lucide/panels-top-bottom accent+Text text-box accent+DrawText text-box accent+AddTextBox text-box+InsertFieldCtrl lucide/text-cursor-input accent+InsertField lucide/text-cursor-input+InsertSection lucide/rows-2 accent+CharmapControl lucide/omega accent+InsertSymbol lucide/omega+InsertObjectStarMath lucide/square-radical accent+InsertFormula function+InsertDateField lucide/calendar+InsertDateFieldVar lucide/calendar+InsertCurrentDate lucide/calendar+InsertTimeField lucide/clock+InsertTimeFieldVar lucide/clock+InsertCurrentTime lucide/clock+InsertPageNumberField lucide/hash+InsertPageCountField lucide/file-digit+InsertTitleField lucide/heading+InsertTopicField lucide/tag+InsertAuthorField lucide/user+Gallery lucide/images+InsertSparkline lucide/activity+InsertSheetFromFile lucide/file-input++# Comments+InsertAnnotation lucide/message-square-plus accent+ShowAnnotations lucide/message-square+ShowAllNotes lucide/message-square+ShowNote lucide/message-square+HideAllNotes lucide/message-square-off+HideNote lucide/message-square-off+EditAnnotation lucide/message-square-text+ReplyComment lucide/message-square-reply+DeleteComment lucide/message-square-x+DeleteNote lucide/message-square-x+DeleteAllNotes lucide/message-square-x+FormatAllNotes lucide/message-square-more++# Layout+PageMargin margins accent+Margins margins accent+Orientation orientation accent+AttributePageSize page-size accent+PageColumnType lucide/columns-2 accent+FormatColumns lucide/columns-3+PageDialog lucide/file-cog accent+PageFormatDialog lucide/file-cog accent+TitlePageDialog lucide/file-text+LineNumberingDialog lucide/list-ordered+InsertPagebreak page-break+InsertColumnBreak lucide/columns-2+InsertBreak lucide/separator-horizontal+InsertRowBreak lucide/separator-horizontal+DeleteAllBreaks lucide/eraser+WrapMenu wrap-on accent+WrapOff wrap-off+WrapOn wrap-on+WrapIdeal wrap-on+WrapLeft wrap-left+WrapRight wrap-right+WrapThrough wrap-through+WrapContour wrap-contour+ContourDialog lucide/pen-tool+BringToFront lucide/bring-to-front+SendToBack lucide/send-to-back+ObjectForwardOne lucide/layers-arrow-up+ObjectBackOne lucide/layers-arrow-down+SetObjectToForeground lucide/layers+SetObjectToBackground lucide/layers-2+ArrangeMenu lucide/layers+ArrangeFrameMenu lucide/layers+ObjectAlign lucide/align-center-vertical+ObjectAlignLeft lucide/align-start-vertical+AlignCenter lucide/align-center-vertical+ObjectAlignRight lucide/align-end-vertical+AlignUp lucide/align-start-horizontal+AlignMiddle lucide/align-center-horizontal+AlignDown lucide/align-end-horizontal+AnchorMenu lucide/anchor+FlipMenu lucide/flip-horizontal-2+RotateFlipMenu lucide/rotate-cw+FlipHorizontal lucide/flip-horizontal-2+ObjectMirrorHorizontal lucide/flip-horizontal-2+FlipVertical lucide/flip-vertical-2+ObjectMirrorVertical lucide/flip-vertical-2+RotateLeft lucide/rotate-ccw+RotateRight lucide/rotate-cw+ToggleObjectRotateMode lucide/rotate-cw-square+ToggleObjectBezierMode lucide/spline+TransformDialog lucide/scaling+FormatGroup lucide/group+FormatUngroup lucide/ungroup+EnterGroup lucide/log-in+LeaveGroup lucide/log-out+FormatArea lucide/paint-bucket+FillStyle lucide/paint-bucket+FormatLine lucide/pen-line+LineStyle line-style+XLineStyle line-style+LineWidth line-width+LineEndStyle lucide/move-right+FillShadow shadow+SetBorderStyle lucide/grid-2x2+FrameDialog lucide/frame+ChainFrames lucide/link+UnhainFrames lucide/unlink+RenameObject lucide/pencil-line+ObjectTitleDescription lucide/scan-text++# Pictures+Crop lucide/crop+CompressGraphic lucide/shrink+ChangePicture lucide/image-up+SaveGraphic lucide/image-down+GrafMode lucide/contrast+GrafTransparence lucide/blend+GraphicFilterToolbox lucide/wand-sparkles++# Tables+InsertCell insert-cells accent+DeleteCell delete-cells+FormatCellDialog table accent+InsertRowsBefore insert-row-above+InsertRowsAfter insert-row-below+InsertColumnsBefore insert-col-left+InsertColumnsAfter insert-col-right+DeleteRows delete-row+DeleteColumns delete-col+DeleteTable delete-table+TableInsertMenu insert-row-below+TableDeleteMenu delete-row+MergeCells merge-cells+ToggleMergeCells merge-cells+SplitCell split-cell+SplitTable lucide/table-rows-split+SelectTable lucide/scan+TableSelectAll lucide/scan+TableDeselectAll lucide/square-x+EntireCell lucide/square+EntireRow lucide/rows-3+EntireColumn lucide/columns-3+DistributeColumns lucide/align-horizontal-distribute-center+DistributeRows lucide/align-vertical-distribute-center+TableAutoFitMenu col-width+ColumnWidth col-width+SetOptimalColumnWidth lucide/unfold-horizontal+SetMinimalColumnWidth lucide/fold-horizontal+RowHeight row-height+SetOptimalRowHeight lucide/unfold-vertical+SetMinimalRowHeight lucide/fold-vertical+TableNumberFormatDialog lucide/hash+TableSort sort+TableEvents lucide/zap+UnsetCellsReadOnly lucide/lock-open+OptimizeTable col-width+AutoFormat lucide/wand-sparkles accent++# Sheets, cells and numbers+Insert plus+Remove lucide/trash-2+Delete lucide/eraser+Move lucide/arrow-left-right+DuplicateSheet copy+RenameTable lucide/pencil-line+SetTabBgColor lucide/palette+SheetRightToLeft lucide/pilcrow-left+Show lucide/eye+Hide lucide/eye-off+ShowColumn lucide/eye+ShowRow lucide/eye+HideColumn lucide/eye-off+HideRow lucide/eye-off+FillDown lucide/arrow-down-to-line+FillUp lucide/arrow-up-to-line+FillLeft lucide/arrow-left-to-line+FillRight lucide/arrow-right-to-line+FreezePanes lucide/snowflake+SplitWindow lucide/square-split-horizontal+NumberFormatCurrency currency+NumberFormatPercent percent+NumberFormatIncDecimals decimal-add+NumberFormatDecDecimals decimal-remove+NumberFormatDecimal lucide/hash+NumberFormatStandard lucide/letter-text+NumberFormatDate lucide/calendar+NumberFormatScientific lucide/square-letter-e+Accent1CellStyles cell-style accent+Accent2CellStyles cell-style accent+Accent3CellStyles cell-style accent+GoodCellStyles lucide/circle-check green+NeutralCellStyles lucide/circle yellow+BadCellStyles lucide/circle-x red+WarningCellStyles lucide/triangle-alert yellow+ErrorCellStyles lucide/octagon-x red+NoteCellStyles lucide/sticky-note+FootnoteCellStyles cell-style+Protect lucide/lock accent+ToolProtectionDocument lucide/shield accent+ProtectTraceChangeMode lucide/lock-keyhole++# Data+DataSort sort accent+SortAscending lucide/arrow-down-a-z+SortDescending lucide/arrow-down-z-a+DataFilterAutoFilter filter accent+DataFilterStandardFilter lucide/list-filter+DataFilterSpecialFilter lucide/list-filter-plus+DataFilterRemoveFilter lucide/filter-x+DataDataPilotRun lucide/table-properties accent+TextToColumns lucide/table-columns-split accent+HandleDuplicateRecords lucide/copy-x accent+Validation lucide/shield-check accent+DataSubTotals lucide/square-sigma+DataConsolidate lucide/merge+GoalSeekDialog lucide/target+SolverDialog lucide/calculator+DefineDBName lucide/database+DataAreaRefresh lucide/database-zap+DefineName lucide/tag+InsertName lucide/tags+FunctionDialog function accent+AutoSum autosum accent+Group lucide/group+Ungroup lucide/ungroup+ShowDetail lucide/square-plus+HideDetail lucide/square-minus+ConditionalFormatMenu lucide/paint-roller accent+ConditionalFormatDialog lucide/paint-roller+ColorScaleFormatDialog lucide/palette+DataBarFormatDialog lucide/chart-bar+IconSetFormatDialog lucide/circle-dot+CondDateFormatDialog lucide/calendar+DefinePrintArea lucide/square-dashed+AddPrintArea lucide/square-plus+EditPrintArea lucide/square-pen+DeletePrintArea lucide/square-dashed-x+ColumnOperations lucide/columns-3+RowOperations lucide/rows-3++# References and review+InsertMultiIndex lucide/table-of-contents accent+UpdateCurIndex lucide/refresh-cw+UpdateAllIndexes lucide/refresh-cw+UpdateFields lucide/refresh-cw+UpdateAll lucide/refresh-ccw accent+EditCurIndex lucide/pencil-line+RemoveTableOf lucide/list-x+InsertFootnote footnote accent+InsertEndnote endnote+FootnoteDialog lucide/settings-2+EndnoteDialog lucide/settings-2+InsertAuthoritiesEntry lucide/quote accent+InsertCaptionDialog lucide/captions accent+InsertIndexesEntry lucide/tag accent+SpellingAndGrammarDialog lucide/spell-check accent+SpellDialog lucide/spell-check accent+SpellOnline lucide/spell-check-2+ThesaurusDialog lucide/book-open-text+WordCountDialog lucide/whole-word+TrackChanges lucide/file-pen-line accent+TraceChangeMode lucide/file-pen-line accent+TrackChangesBar lucide/file-pen-line+ShowTrackedChanges lucide/diff+AcceptTrackedChanges lucide/list-checks accent+AcceptChanges lucide/list-checks accent+AcceptTrackedChange lucide/check green+RejectTrackedChange lucide/x red+NextTrackedChange lucide/arrow-down+PreviousTrackedChange lucide/arrow-up+CompareDocuments lucide/git-compare accent++# Find+FocusToFindbar find accent+FindBar find accent+RecSearch find+SearchDialog replace accent+UpSearch lucide/chevron-up+DownSearch lucide/chevron-down+ExitSearch lucide/x++# View and navigation+PrintLayout lucide/file-text accent+BrowseView lucide/globe accent+NormalViewMode lucide/sheet accent+PagebreakMode lucide/file-spreadsheet accent+Ruler lucide/ruler+ControlCodes lucide/pilcrow+ShowWhitespace lucide/space+InputLineVisible lucide/text-cursor-input+ViewRowColumnHeaders lucide/panels-top-left+ToggleSheetGrid lucide/grid-3x3+GridVisible lucide/grid-3x3+GridUse lucide/magnet+HelplinesMove lucide/move+ViewValueHighlighting lucide/scan-eye+ToggleFormula lucide/square-function+ViewDataSourceBrowser lucide/database+Navigator navigator+Sidebar lucide/panel-right+Zoom lucide/scan-search+Zoom100Percent zoom-100+ZoomIn lucide/zoom-in+ZoomPlus lucide/zoom-in+ZoomOut lucide/zoom-out+ZoomMinus lucide/zoom-out+ZoomPage lucide/file-scan+ZoomPageWidth lucide/move-horizontal+PreviewZoom lucide/zoom-in+FullScreen lucide/maximize accent+ShowSinglePage page-single muted+ShowTwoPages page-two muted+ShowMultiplePages page-two muted+ShowBookview lucide/book-open muted+GoToStartOfDoc lucide/chevrons-up+GoToEndOfDoc lucide/chevrons-down+PageUp lucide/chevron-up+PageDown lucide/chevron-down+ScrollToPrevious lucide/chevron-up+ScrollToNext lucide/chevron-down+JumpUpThisLevel lucide/arrow-up+JumpDownThisLevel lucide/arrow-down+FirstPage lucide/chevrons-left+PreviousPage lucide/chevron-left+NextPage lucide/chevron-right+LastPage lucide/chevrons-right+ColorSettings lucide/palette+Size lucide/ruler-dimension-line muted++# Context menu entries that LibreOffice's own themes leave without an icon,+# given one so the menus read evenly+UpdateSelectedField lucide/refresh-cw+FieldDialog lucide/text-cursor-input+EditFootnote footnote+IndexEntryDialog lucide/tag+AuthoritiesEntryDialog lucide/quote+OpenLocalURL lucide/external-link+ContentControlProperties lucide/settings-2+DeleteContentControl lucide/x+PasteNestedTable paste-special+PasteRowsBefore insert-row-above+PasteColumnsBefore insert-col-left+InsertRowDialog insert-row-below+InsertColumnDialog insert-col-right+SetRowHeight row-height+SetColumnWidth col-width+HeadingRowsRepeat lucide/repeat+ExternalEdit lucide/external-link+Rotate180 lucide/rotate-cw-square+RotateReset lucide/undo-dot+FormatStylesMenu styles+FormatSparklineMenu lucide/activity+CurrentConditionalFormatDialog lucide/paint-roller++# Rarer menu entries+About lucide/badge-info+AssignMacro lucide/square-code+AvailableToolbars lucide/app-window+ConfigureDialog lucide/sliders-horizontal+ControlProperties lucide/settings-2+FormProperties lucide/settings-2+CloseWin lucide/x+Donation lucide/heart+ExportAsGraphic lucide/image-down+PrintPagePreview lucide/printer+ClearArrows lucide/eraser+DeletePivotTable lucide/trash-2+RecalcPivotTable lucide/refresh-cw+NameGroup lucide/pencil-line+FormatSpacingMenu line-spacing+SpacePara1 line-spacing+SpacePara15 line-spacing+SpacePara2 line-spacing+TextAlign align-left+OutlineUp lucide/arrow-up+OutlineDown lucide/arrow-down+OutlineLeft lucide/arrow-left+OutlineRight lucide/arrow-right+ExtrusionToggle lucide/box+FontworkShapeType lucide/spline+FontworkAlignmentFloater align-centre+FontworkCharacterSpacingFloater lucide/letter-spacing+FontworkSameLetterHeights lucide/a-large-small++# Sidebar: the deck tabs down the right edge and the deck and panel buttons+sfx2/res/symphony/sidebar-property-large.png@24 sidebar-properties muted+sfx2/res/symphony/sidebar-property-small.png@16 sidebar-properties muted+sfx2/res/symphony/sidebar-style-large.png@24 styles muted+sfx2/res/symphony/sidebar-gallery-large.png@24 picture muted+sfx2/res/symphony/sidebar-navigator-large.png@24 navigator muted+sfx2/res/symphony/sidebar-functions-large.png@24 function muted+sfx2/res/symphony/sidebar-a11y-large.png@24 lucide/accessibility muted+sfx2/res/symphony/morebutton.png@11 lucide/ellipsis muted+sfx2/res/symphony/open_more.png@14x16 lucide/ellipsis muted+sfx2/res/menu.png@14x13 lucide/menu muted+sfx2/res/chevron.png@14x16 lucide/chevrons-right muted+sfx2/res/closedoc.png@8 lucide/x muted+vcl/res/closedoc.png@8 lucide/x muted+svx/res/galicon.png@16 lucide/layout-grid+svx/res/galdetail.png@16 lucide/list+AdditionsDialog lucide/package-plus+svx/res/symphony/spacing1.png@16 lucide/arrow-up-to-line+svx/res/symphony/spacing2.png@16 lucide/arrow-down-to-line+svx/res/symphony/Indent4.png@16 indent+svx/res/symphony/Indent3.png@16 outdent+svx/res/symphony/Indent2.png@16 first-line-indent+svx/res/lo01.png@16 text-from-bottom+svx/res/lo02.png@16 text-from-top+svx/res/lo03.png@16 text-in-cell+sc/res/fx.png@16 function+sw/res/sr20006.png@16 lucide/settings-2+res/locked.png@16 lucide/link+res/unlocked.png@16 lucide/unlink++# Styles deck+res/sc05554.png@16 lucide/paint-bucket+res/sc05555.png@16 lucide/square-plus+res/sc05556.png@16 lucide/refresh-cw+sw/res/sf01.png@16 lucide/pilcrow+sw/res/sf02.png@16 lucide/type+sw/res/sf03.png@16 lucide/frame+sw/res/sf04.png@16 lucide/file+sw/res/sf05.png@16 bullets+sw/res/sf06.png@16 table+sc/res/sf01.png@16 cell-style+sc/res/sf02.png@16 lucide/file++# Navigator in Write: its toolbar, then the kinds of content it lists+sw/res/sc20244.png@16 lucide/layers+sw/res/sc20234.png@16 lucide/list-tree+sw/res/sc20179.png@16 lucide/panel-top+sw/res/sc20177.png@16 lucide/panel-bottom+sw/res/sc20182.png@16 lucide/anchor+sw/res/sc20183.png@16 lucide/bookmark-plus+sw/res/sc20236.png@16 lucide/heading+sw/res/sc20233.png@16 lucide/hand-grab+sw/res/sc20172.png@16 lucide/arrow-left+sw/res/sc20173.png@16 lucide/arrow-right+sw/res/sc20174.png@16 lucide/arrow-up+sw/res/sc20171.png@16 lucide/arrow-down+sw/res/sc20245.png@16 lucide/pencil+sw/res/sc20246.png@16 lucide/refresh-cw+sw/res/sc20247.png@16 lucide/file-plus+sw/res/sc20248.png@16 lucide/save+sw/res/nc20000.png@16 lucide/heading+sw/res/nc20001.png@16 table+sw/res/nc20002.png@16 lucide/frame+sw/res/nc20003.png@16 picture+sw/res/nc20004.png@16 lucide/box+sw/res/nc20005.png@16 lucide/bookmark+sw/res/nc20006.png@16 lucide/rows-2+sw/res/nc20007.png@16 lucide/link+sw/res/nc20008.png@16 lucide/square-arrow-out-up-right+sw/res/nc20009.png@16 lucide/table-of-contents+sw/res/nc20010.png@16 lucide/message-square+sw/res/nc20011.png@16 lucide/shapes+sw/res/nc20012.png@16 footnote+sw/res/nc20013.png@16 endnote+sw/res/brokenlink.png@16 lucide/unlink++# Navigator in Tables+sc/res/na03.png@16 lucide/table-2+sc/res/na05.png@16 lucide/arrow-up-to-line+sc/res/na06.png@16 lucide/arrow-down-to-line+sc/res/na011.png@16 lucide/list-tree+sc/res/na010.png@16 lucide/arrow-left-right+sc/res/na07.png@16 lucide/layers+sc/res/na09.png@16 lucide/hand-grab+sc/res/nc01.png@16 lucide/sheet+sc/res/nc02.png@16 lucide/tag+sc/res/nc03.png@16 lucide/database+sc/res/nc04.png@16 picture+sc/res/nc05.png@16 lucide/box+sc/res/nc06.png@16 lucide/message-square+sc/res/nc07.png@16 lucide/link+sc/res/nc08.png@16 lucide/shapes++# Formula bar in Tables+sc/res/sc26047.png@16 function muted+sc/res/sc26048.png@16 autosum muted+sc/res/sc26049.png@16 lucide/equal muted+sc/res/sc26050.png@16 lucide/x muted+sc/res/sc26051.png@16 lucide/check muted++# Status bar+svx/res/doc_modified_no.png@16 doc-saved muted+svx/res/doc_modified_yes.png@16 doc-modified muted+svx/res/doc_modified_feedback.png@16 doc-modified muted+svx/res/standard-selection.png@32x16 select-standard muted+svx/res/extending-selection.png@32x16 select-extend muted+svx/res/adding-selection.png@32x16 select-add muted+svx/res/block-selection.png@32x16 select-block muted+svx/res/a11y_check_issues_not_found.png@16 lucide/accessibility muted+svx/res/a11y_check_issues_found.png@16 lucide/accessibility yellow+svx/res/zoom_page_statusbar.png@14 lucide/scan muted+svx/res/slidezoomin_10.png@10 plus muted+svx/res/slidezoomout_10.png@10 minus muted+svx/res/slidezoombutton_10.png@10 slider-thumb accent+sw/res/emptypage.png@12x16 page-single muted+sw/res/emptypage_a.png@12x16 page-single accent+sw/res/twopages.png@25x16 page-two muted+sw/res/twopages_a.png@25x16 page-two accent+sw/res/doublepage.png@24x16 lucide/book-open muted+sw/res/doublepage_a.png@24x16 lucide/book-open accentdiff --git a/packages/wildos-office/lo/icons/lucide/LICENSE b/packages/wildos-office/lo/icons/lucide/LICENSEnew file mode 100644index 0000000..718bb3f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/LICENSE@@ -0,0 +1,43 @@+ISC License++Copyright (c) 2026 Lucide Icons and Contributors++Permission to use, copy, modify, and/or distribute this software for any+purpose with or without fee is hereby granted, provided that the above+copyright notice and this permission notice appear in all copies.++THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.++---++The following Lucide icons are derived from the Feather project:++airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out++The MIT License (MIT) (for the icons listed above)++Copyright (c) 2013-present Cole Bemis++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/wildos-office/lo/icons/lucide/a-arrow-down.svg b/packages/wildos-office/lo/icons/lucide/a-arrow-down.svgnew file mode 100644index 0000000..b809db3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/a-arrow-down.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m14 12 4 4 4-4" />+ <path d="M18 16V7" />+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />+ <path d="M3.304 13h6.392" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/a-arrow-up.svg b/packages/wildos-office/lo/icons/lucide/a-arrow-up.svgnew file mode 100644index 0000000..10a30db--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/a-arrow-up.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m14 11 4-4 4 4" />+ <path d="M18 16V7" />+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />+ <path d="M3.304 13h6.392" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/a-large-small.svg b/packages/wildos-office/lo/icons/lucide/a-large-small.svgnew file mode 100644index 0000000..85c381f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/a-large-small.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16" />+ <path d="M15.697 14h5.606" />+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />+ <path d="M3.304 13h6.392" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/accessibility.svg b/packages/wildos-office/lo/icons/lucide/accessibility.svgnew file mode 100644index 0000000..ae5ec55--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/accessibility.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="16" cy="4" r="1" />+ <path d="m18 19 1-7-6 1" />+ <path d="m5 8 3-3 5.5 3-2.36 3.5" />+ <path d="M4.24 14.5a5 5 0 0 0 6.88 6" />+ <path d="M13.76 17.5a5 5 0 0 0-6.88-6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/activity.svg b/packages/wildos-office/lo/icons/lucide/activity.svgnew file mode 100644index 0000000..4e1a6b3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/activity.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-center-horizontal.svg b/packages/wildos-office/lo/icons/lucide/align-center-horizontal.svgnew file mode 100644index 0000000..7a00e83--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-center-horizontal.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2 12h20" />+ <path d="M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4" />+ <path d="M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4" />+ <path d="M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1" />+ <path d="M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-center-vertical.svg b/packages/wildos-office/lo/icons/lucide/align-center-vertical.svgnew file mode 100644index 0000000..1275e4b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-center-vertical.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 2v20" />+ <path d="M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4" />+ <path d="M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4" />+ <path d="M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1" />+ <path d="M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-end-horizontal.svg b/packages/wildos-office/lo/icons/lucide/align-end-horizontal.svgnew file mode 100644index 0000000..7f76dbe--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-end-horizontal.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="6" height="16" x="4" y="2" rx="2" />+ <rect width="6" height="9" x="14" y="9" rx="2" />+ <path d="M22 22H2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-end-vertical.svg b/packages/wildos-office/lo/icons/lucide/align-end-vertical.svgnew file mode 100644index 0000000..ccafbb5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-end-vertical.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="16" height="6" x="2" y="4" rx="2" />+ <rect width="9" height="6" x="9" y="14" rx="2" />+ <path d="M22 22V2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-horizontal-distribute-center.svg b/packages/wildos-office/lo/icons/lucide/align-horizontal-distribute-center.svgnew file mode 100644index 0000000..d22d2f3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-horizontal-distribute-center.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="6" height="14" x="4" y="5" rx="2" />+ <rect width="6" height="10" x="14" y="7" rx="2" />+ <path d="M17 22v-5" />+ <path d="M17 7V2" />+ <path d="M7 22v-3" />+ <path d="M7 5V2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-start-horizontal.svg b/packages/wildos-office/lo/icons/lucide/align-start-horizontal.svgnew file mode 100644index 0000000..297c2c6--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-start-horizontal.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="6" height="16" x="4" y="6" rx="2" />+ <rect width="6" height="9" x="14" y="6" rx="2" />+ <path d="M22 2H2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-start-vertical.svg b/packages/wildos-office/lo/icons/lucide/align-start-vertical.svgnew file mode 100644index 0000000..ea459c9--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-start-vertical.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="9" height="6" x="6" y="14" rx="2" />+ <rect width="16" height="6" x="6" y="4" rx="2" />+ <path d="M2 2v20" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/align-vertical-distribute-center.svg b/packages/wildos-office/lo/icons/lucide/align-vertical-distribute-center.svgnew file mode 100644index 0000000..03ee50e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/align-vertical-distribute-center.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17h-3" />+ <path d="M22 7h-5" />+ <path d="M5 17H2" />+ <path d="M7 7H2" />+ <rect x="5" y="14" width="14" height="6" rx="2" />+ <rect x="7" y="4" width="10" height="6" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/anchor.svg b/packages/wildos-office/lo/icons/lucide/anchor.svgnew file mode 100644index 0000000..47839d8--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/anchor.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 6v16" />+ <path d="m19 13 2-1a9 9 0 0 1-18 0l2 1" />+ <path d="M9 11h6" />+ <circle cx="12" cy="4" r="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/app-window.svg b/packages/wildos-office/lo/icons/lucide/app-window.svgnew file mode 100644index 0000000..b79e7a4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/app-window.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect x="2" y="4" width="20" height="16" rx="2" />+ <path d="M10 4v4" />+ <path d="M2 8h20" />+ <path d="M6 4v4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-down-a-z.svg b/packages/wildos-office/lo/icons/lucide/arrow-down-a-z.svgnew file mode 100644index 0000000..bd40655--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-down-a-z.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m3 16 4 4 4-4" />+ <path d="M7 20V4" />+ <path d="M20 8h-5" />+ <path d="M15 10V6.5a2.5 2.5 0 0 1 5 0V10" />+ <path d="M15 14h5l-5 6h5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-down-to-line.svg b/packages/wildos-office/lo/icons/lucide/arrow-down-to-line.svgnew file mode 100644index 0000000..326ca0e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-down-to-line.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 17V3" />+ <path d="m6 11 6 6 6-6" />+ <path d="M19 21H5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-down-z-a.svg b/packages/wildos-office/lo/icons/lucide/arrow-down-z-a.svgnew file mode 100644index 0000000..8107e74--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-down-z-a.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m3 16 4 4 4-4" />+ <path d="M7 4v16" />+ <path d="M15 4h5l-5 6h5" />+ <path d="M15 20v-3.5a2.5 2.5 0 0 1 5 0V20" />+ <path d="M20 18h-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-down.svg b/packages/wildos-office/lo/icons/lucide/arrow-down.svgnew file mode 100644index 0000000..de76ec3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-down.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 5v14" />+ <path d="m19 12-7 7-7-7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-left-right.svg b/packages/wildos-office/lo/icons/lucide/arrow-left-right.svgnew file mode 100644index 0000000..a86e0bc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-left-right.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 3 4 7l4 4" />+ <path d="M4 7h16" />+ <path d="m16 21 4-4-4-4" />+ <path d="M20 17H4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-left-to-line.svg b/packages/wildos-office/lo/icons/lucide/arrow-left-to-line.svgnew file mode 100644index 0000000..4eb2fdf--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-left-to-line.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 19V5" />+ <path d="m13 6-6 6 6 6" />+ <path d="M7 12h14" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-left.svg b/packages/wildos-office/lo/icons/lucide/arrow-left.svgnew file mode 100644index 0000000..d376fb7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-left.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m12 19-7-7 7-7" />+ <path d="M19 12H5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-right-to-line.svg b/packages/wildos-office/lo/icons/lucide/arrow-right-to-line.svgnew file mode 100644index 0000000..dbc64c1--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-right-to-line.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M17 12H3" />+ <path d="m11 18 6-6-6-6" />+ <path d="M21 5v14" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-right.svg b/packages/wildos-office/lo/icons/lucide/arrow-right.svgnew file mode 100644index 0000000..39c0349--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-right.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 12h14" />+ <path d="m12 5 7 7-7 7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-up-to-line.svg b/packages/wildos-office/lo/icons/lucide/arrow-up-to-line.svgnew file mode 100644index 0000000..3bfd3e0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-up-to-line.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3h14" />+ <path d="m18 13-6-6-6 6" />+ <path d="M12 7v14" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/arrow-up.svg b/packages/wildos-office/lo/icons/lucide/arrow-up.svgnew file mode 100644index 0000000..ba40520--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/arrow-up.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m5 12 7-7 7 7" />+ <path d="M12 19V5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/badge-info.svg b/packages/wildos-office/lo/icons/lucide/badge-info.svgnew file mode 100644index 0000000..62ef647--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/badge-info.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z" />+ <line x1="12" x2="12" y1="16" y2="12" />+ <line x1="12" x2="12.01" y1="8" y2="8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/blend.svg b/packages/wildos-office/lo/icons/lucide/blend.svgnew file mode 100644index 0000000..a88a7a2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/blend.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="15" cy="9" r="7" />+ <circle cx="9" cy="15" r="7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/book-down.svg b/packages/wildos-office/lo/icons/lucide/book-down.svgnew file mode 100644index 0000000..d543851--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/book-down.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 13V7" />+ <path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" />+ <path d="m9 10 3 3 3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/book-open-text.svg b/packages/wildos-office/lo/icons/lucide/book-open-text.svgnew file mode 100644index 0000000..e2a8920--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/book-open-text.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 5v16" />+ <path d="M16 13h2" />+ <path d="M16 9h2" />+ <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" />+ <path d="M6 13h2" />+ <path d="M6 9h2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/book-open.svg b/packages/wildos-office/lo/icons/lucide/book-open.svgnew file mode 100644index 0000000..66359c2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/book-open.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 5v16" />+ <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/bookmark-plus.svg b/packages/wildos-office/lo/icons/lucide/bookmark-plus.svgnew file mode 100644index 0000000..adbe6e8--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/bookmark-plus.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 7v6" />+ <path d="M15 10H9" />+ <path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/bookmark.svg b/packages/wildos-office/lo/icons/lucide/bookmark.svgnew file mode 100644index 0000000..3ab7cef--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/bookmark.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/box.svg b/packages/wildos-office/lo/icons/lucide/box.svgnew file mode 100644index 0000000..404f02b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/box.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z" />+ <path d="m3.3 7 8.7 5 8.7-5" />+ <path d="M12 22V12" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/bring-to-front.svg b/packages/wildos-office/lo/icons/lucide/bring-to-front.svgnew file mode 100644index 0000000..e663b3f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/bring-to-front.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect x="8" y="8" width="8" height="8" rx="2" />+ <path d="M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2" />+ <path d="M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/calculator.svg b/packages/wildos-office/lo/icons/lucide/calculator.svgnew file mode 100644index 0000000..a750d53--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/calculator.svg@@ -0,0 +1,12 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="16" height="20" x="4" y="2" rx="2" />+ <line x1="8" x2="16" y1="6" y2="6" />+ <line x1="16" x2="16" y1="14" y2="18" />+ <path d="M16 10h.01" />+ <path d="M12 10h.01" />+ <path d="M8 10h.01" />+ <path d="M12 14h.01" />+ <path d="M8 14h.01" />+ <path d="M12 18h.01" />+ <path d="M8 18h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/calendar.svg b/packages/wildos-office/lo/icons/lucide/calendar.svgnew file mode 100644index 0000000..4d3df90--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/calendar.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 2v3" />+ <path d="M16 2v3" />+ <rect x="3" y="3" width="18" height="18" rx="2" />+ <path d="M3 9h18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/captions.svg b/packages/wildos-office/lo/icons/lucide/captions.svgnew file mode 100644index 0000000..817070b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/captions.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="14" x="3" y="5" rx="2" ry="2" />+ <path d="M7 15h4M15 15h2M7 11h2M13 11h4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/case-lower.svg b/packages/wildos-office/lo/icons/lucide/case-lower.svgnew file mode 100644index 0000000..d3d0bc8--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/case-lower.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 9v7" />+ <path d="M14 6v10" />+ <circle cx="17.5" cy="12.5" r="3.5" />+ <circle cx="6.5" cy="12.5" r="3.5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/case-sensitive.svg b/packages/wildos-office/lo/icons/lucide/case-sensitive.svgnew file mode 100644index 0000000..ba2b2b3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/case-sensitive.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />+ <path d="M22 9v7" />+ <path d="M3.304 13h6.392" />+ <circle cx="18.5" cy="12.5" r="3.5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/case-upper.svg b/packages/wildos-office/lo/icons/lucide/case-upper.svgnew file mode 100644index 0000000..b5b5338--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/case-upper.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5" />+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />+ <path d="M3.304 13h6.392" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chart-bar.svg b/packages/wildos-office/lo/icons/lucide/chart-bar.svgnew file mode 100644index 0000000..010eb9a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chart-bar.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 3v16a2 2 0 0 0 2 2h16" />+ <path d="M7 16h8" />+ <path d="M7 11h12" />+ <path d="M7 6h3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/check.svg b/packages/wildos-office/lo/icons/lucide/check.svgnew file mode 100644index 0000000..79e55b7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/check.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M20 6 9 17l-5-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevron-down.svg b/packages/wildos-office/lo/icons/lucide/chevron-down.svgnew file mode 100644index 0000000..ae3019e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevron-down.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m6 9 6 6 6-6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevron-left.svg b/packages/wildos-office/lo/icons/lucide/chevron-left.svgnew file mode 100644index 0000000..67f1ef0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevron-left.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m15 18-6-6 6-6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevron-right.svg b/packages/wildos-office/lo/icons/lucide/chevron-right.svgnew file mode 100644index 0000000..689e98a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevron-right.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m9 18 6-6-6-6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevron-up.svg b/packages/wildos-office/lo/icons/lucide/chevron-up.svgnew file mode 100644index 0000000..6ed686d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevron-up.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m18 15-6-6-6 6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevrons-down.svg b/packages/wildos-office/lo/icons/lucide/chevrons-down.svgnew file mode 100644index 0000000..67b6442--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevrons-down.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m7 6 5 5 5-5" />+ <path d="m7 13 5 5 5-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevrons-left.svg b/packages/wildos-office/lo/icons/lucide/chevrons-left.svgnew file mode 100644index 0000000..25a1aa9--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevrons-left.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m11 17-5-5 5-5" />+ <path d="m18 17-5-5 5-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevrons-right.svg b/packages/wildos-office/lo/icons/lucide/chevrons-right.svgnew file mode 100644index 0000000..af3dca5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevrons-right.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m6 17 5-5-5-5" />+ <path d="m13 17 5-5-5-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/chevrons-up.svg b/packages/wildos-office/lo/icons/lucide/chevrons-up.svgnew file mode 100644index 0000000..c56221e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/chevrons-up.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m17 11-5-5-5 5" />+ <path d="m17 18-5-5-5 5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/circle-check.svg b/packages/wildos-office/lo/icons/lucide/circle-check.svgnew file mode 100644index 0000000..551be3a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/circle-check.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="m16 9-5.5 5.5L8 12" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/circle-dot.svg b/packages/wildos-office/lo/icons/lucide/circle-dot.svgnew file mode 100644index 0000000..80722a7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/circle-dot.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="1" />+ <circle cx="12" cy="12" r="10" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/circle-help.svg b/packages/wildos-office/lo/icons/lucide/circle-help.svgnew file mode 100644index 0000000..5b92ea6--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/circle-help.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />+ <path d="M12 17h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/circle-x.svg b/packages/wildos-office/lo/icons/lucide/circle-x.svgnew file mode 100644index 0000000..76745ea--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/circle-x.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="m15 9-6 6" />+ <path d="m9 9 6 6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/circle.svg b/packages/wildos-office/lo/icons/lucide/circle.svgnew file mode 100644index 0000000..3269a7e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/circle.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/clock.svg b/packages/wildos-office/lo/icons/lucide/clock.svgnew file mode 100644index 0000000..e368658--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/clock.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="M12 6v6l4 2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/code-xml.svg b/packages/wildos-office/lo/icons/lucide/code-xml.svgnew file mode 100644index 0000000..7b79287--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/code-xml.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m18 16 4-4-4-4" />+ <path d="m6 8-4 4 4 4" />+ <path d="m14.5 4-5 16" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/code.svg b/packages/wildos-office/lo/icons/lucide/code.svgnew file mode 100644index 0000000..10edb48--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/code.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m16 18 6-6-6-6" />+ <path d="m8 6-6 6 6 6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/columns-2.svg b/packages/wildos-office/lo/icons/lucide/columns-2.svgnew file mode 100644index 0000000..2adb68d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/columns-2.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M12 3v18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/columns-3.svg b/packages/wildos-office/lo/icons/lucide/columns-3.svgnew file mode 100644index 0000000..444110c--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/columns-3.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M9 3v18" />+ <path d="M15 3v18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/contrast.svg b/packages/wildos-office/lo/icons/lucide/contrast.svgnew file mode 100644index 0000000..7554ad2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/contrast.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="M12 18a6 6 0 0 0 0-12v12z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/copy-x.svg b/packages/wildos-office/lo/icons/lucide/copy-x.svgnew file mode 100644index 0000000..0b34f3e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/copy-x.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2" />+ <rect x="8" y="8" width="14" height="14" rx="2" />+ <path d="m12.5 12.5 5 5" />+ <path d="m12.5 17.5 5-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/crop.svg b/packages/wildos-office/lo/icons/lucide/crop.svgnew file mode 100644index 0000000..c48c311--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/crop.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 2v14a2 2 0 0 0 2 2h14" />+ <path d="M18 22V8a2 2 0 0 0-2-2H2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/cylinder.svg b/packages/wildos-office/lo/icons/lucide/cylinder.svgnew file mode 100644index 0000000..72611f5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/cylinder.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <ellipse cx="12" cy="5" rx="9" ry="3" />+ <path d="M3 5v14a9 3 0 0 0 18 0V5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/database-zap.svg b/packages/wildos-office/lo/icons/lucide/database-zap.svgnew file mode 100644index 0000000..24c984f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/database-zap.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <ellipse cx="12" cy="5" rx="9" ry="3" />+ <path d="M3 5V19A9 3 0 0 0 15 21.84" />+ <path d="M21 5V8" />+ <path d="M21 12L18 17H22L19 22" />+ <path d="M3 12A9 3 0 0 0 14.59 14.87" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/database.svg b/packages/wildos-office/lo/icons/lucide/database.svgnew file mode 100644index 0000000..ada5e9c--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/database.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <ellipse cx="12" cy="5" rx="9" ry="3" />+ <path d="M3 5V19A9 3 0 0 0 21 19V5" />+ <path d="M3 12A9 3 0 0 0 21 12" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/diamond.svg b/packages/wildos-office/lo/icons/lucide/diamond.svgnew file mode 100644index 0000000..29f9ee7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/diamond.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/diff.svg b/packages/wildos-office/lo/icons/lucide/diff.svgnew file mode 100644index 0000000..8bbad71--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/diff.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 3v14" />+ <path d="M5 10h14" />+ <path d="M5 21h14" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/ellipsis.svg b/packages/wildos-office/lo/icons/lucide/ellipsis.svgnew file mode 100644index 0000000..f18459a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/ellipsis.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="1" />+ <circle cx="19" cy="12" r="1" />+ <circle cx="5" cy="12" r="1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/equal.svg b/packages/wildos-office/lo/icons/lucide/equal.svgnew file mode 100644index 0000000..3b8f686--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/equal.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <line x1="5" x2="19" y1="9" y2="9" />+ <line x1="5" x2="19" y1="15" y2="15" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/eraser.svg b/packages/wildos-office/lo/icons/lucide/eraser.svgnew file mode 100644index 0000000..5160d97--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/eraser.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" />+ <path d="m5.082 11.09 8.828 8.828" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/external-link.svg b/packages/wildos-office/lo/icons/lucide/external-link.svgnew file mode 100644index 0000000..2251ab2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/external-link.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 3h6v6" />+ <path d="M10 14 21 3" />+ <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/eye-off.svg b/packages/wildos-office/lo/icons/lucide/eye-off.svgnew file mode 100644index 0000000..2cea111--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/eye-off.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" />+ <path d="M14.084 14.158a3 3 0 0 1-4.242-4.242" />+ <path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" />+ <path d="m2 2 20 20" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/eye.svg b/packages/wildos-office/lo/icons/lucide/eye.svgnew file mode 100644index 0000000..30ad866--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/eye.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" />+ <circle cx="12" cy="12" r="3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-cog.svg b/packages/wildos-office/lo/icons/lucide/file-cog.svgnew file mode 100644index 0000000..f9ff2ad--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-cog.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 8a1 1 0 0 1-1-1V2a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8z" />+ <path d="M20 8v12a2 2 0 0 1-2 2h-4.182" />+ <path d="m3.305 19.53.923-.382" />+ <path d="M4 10.592V4a2 2 0 0 1 2-2h8" />+ <path d="m4.228 16.852-.924-.383" />+ <path d="m5.852 15.228-.383-.923" />+ <path d="m5.852 20.772-.383.924" />+ <path d="m8.148 15.228.383-.923" />+ <path d="m8.53 21.696-.382-.924" />+ <path d="m9.773 16.852.922-.383" />+ <path d="m9.773 19.148.922.383" />+ <circle cx="7" cy="18" r="3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-digit.svg b/packages/wildos-office/lo/icons/lucide/file-digit.svgnew file mode 100644index 0000000..8484c33--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-digit.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M10 16h2v6" />+ <path d="M10 22h4" />+ <rect x="2" y="16" width="4" height="6" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-down.svg b/packages/wildos-office/lo/icons/lucide/file-down.svgnew file mode 100644index 0000000..239f19f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-down.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M12 18v-6" />+ <path d="m9 15 3 3 3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-input.svg b/packages/wildos-office/lo/icons/lucide/file-input.svgnew file mode 100644index 0000000..52e66e3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-input.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M2 15h10" />+ <path d="m9 18 3-3-3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-output.svg b/packages/wildos-office/lo/icons/lucide/file-output.svgnew file mode 100644index 0000000..6a0684e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-output.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4.226 20.925A2 2 0 0 0 6 22h12a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.127" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="m5 11-3 3" />+ <path d="m5 17-3-3h10" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-pen-line.svg b/packages/wildos-office/lo/icons/lucide/file-pen-line.svgnew file mode 100644index 0000000..1c3d5c3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-pen-line.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z" />+ <path d="M14.487 7.858A1 1 0 0 1 14 7V2" />+ <path d="M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516" />+ <path d="M8 18h1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-plus.svg b/packages/wildos-office/lo/icons/lucide/file-plus.svgnew file mode 100644index 0000000..0e566f4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-plus.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M9 15h6" />+ <path d="M12 18v-6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-scan.svg b/packages/wildos-office/lo/icons/lucide/file-scan.svgnew file mode 100644index 0000000..92aa678--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-scan.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M20 10V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.35" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M16 14a2 2 0 0 0-2 2" />+ <path d="M16 22a2 2 0 0 1-2-2" />+ <path d="M20 14a2 2 0 0 1 2 2" />+ <path d="M20 22a2 2 0 0 0 2-2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-search.svg b/packages/wildos-office/lo/icons/lucide/file-search.svgnew file mode 100644index 0000000..398ea75--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-search.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <circle cx="11.5" cy="14.5" r="2.5" />+ <path d="M13.3 16.3 15 18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-spreadsheet.svg b/packages/wildos-office/lo/icons/lucide/file-spreadsheet.svgnew file mode 100644index 0000000..31a1f6e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-spreadsheet.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M8 13h2" />+ <path d="M14 13h2" />+ <path d="M8 17h2" />+ <path d="M14 17h2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file-text.svg b/packages/wildos-office/lo/icons/lucide/file-text.svgnew file mode 100644index 0000000..5f1bee2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file-text.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+ <path d="M10 9H8" />+ <path d="M16 13H8" />+ <path d="M16 17H8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/file.svg b/packages/wildos-office/lo/icons/lucide/file.svgnew file mode 100644index 0000000..4f34eac--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/file.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />+ <path d="M14 2v5a1 1 0 0 0 1 1h5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/filter-x.svg b/packages/wildos-office/lo/icons/lucide/filter-x.svgnew file mode 100644index 0000000..24d2710--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/filter-x.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12.531 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l.427-.473" />+ <path d="m16.5 3.5 5 5" />+ <path d="m21.5 3.5-5 5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/flip-horizontal-2.svg b/packages/wildos-office/lo/icons/lucide/flip-horizontal-2.svgnew file mode 100644index 0000000..79dd9a7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/flip-horizontal-2.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 12H8" />+ <path d="M16 12h-2" />+ <path d="M22 12h-2" />+ <path d="M4 12H2" />+ <path d="M7.298 20.288A1 1 0 008 22h8a1 1 0 00.703-1.712l-3.991-3.99a1 1 0 00-1.424-.001z" />+ <path d="M7.298 3.712A1 1 0 018 2h8a1 1 0 01.703 1.712l-3.991 3.99a1 1 0 01-1.424.001z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/flip-vertical-2.svg b/packages/wildos-office/lo/icons/lucide/flip-vertical-2.svgnew file mode 100644index 0000000..643416d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/flip-vertical-2.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 14v2" />+ <path d="M12 20v2" />+ <path d="M12 2v2" />+ <path d="M12 8v2" />+ <path d="M20.288 16.703A1 1 0 0022 16V8a1 1 0 00-1.712-.703l-3.99 3.991a1 1 0 00-.001 1.424z" />+ <path d="M3.712 16.703A1 1 0 012 16V8a1 1 0 011.712-.703l3.99 3.991a1 1 0 01.001 1.424z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/fold-horizontal.svg b/packages/wildos-office/lo/icons/lucide/fold-horizontal.svgnew file mode 100644index 0000000..8afe87c--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/fold-horizontal.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2 12h6" />+ <path d="M22 12h-6" />+ <path d="M12 2v2" />+ <path d="M12 8v2" />+ <path d="M12 14v2" />+ <path d="M12 20v2" />+ <path d="m19 9-3 3 3 3" />+ <path d="m5 15 3-3-3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/fold-vertical.svg b/packages/wildos-office/lo/icons/lucide/fold-vertical.svgnew file mode 100644index 0000000..62337c3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/fold-vertical.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 22v-6" />+ <path d="M12 8V2" />+ <path d="M4 12H2" />+ <path d="M10 12H8" />+ <path d="M16 12h-2" />+ <path d="M22 12h-2" />+ <path d="m15 19-3-3-3 3" />+ <path d="m15 5-3 3-3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/folder-open.svg b/packages/wildos-office/lo/icons/lucide/folder-open.svgnew file mode 100644index 0000000..cb06248--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/folder-open.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/folder-symlink.svg b/packages/wildos-office/lo/icons/lucide/folder-symlink.svgnew file mode 100644index 0000000..6bb83f9--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/folder-symlink.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" />+ <path d="m8 16 3-3-3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/frame.svg b/packages/wildos-office/lo/icons/lucide/frame.svgnew file mode 100644index 0000000..7d0eecb--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/frame.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <line x1="22" x2="2" y1="6" y2="6" />+ <line x1="22" x2="2" y1="18" y2="18" />+ <line x1="6" x2="6" y1="2" y2="22" />+ <line x1="18" x2="18" y1="2" y2="22" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/git-compare.svg b/packages/wildos-office/lo/icons/lucide/git-compare.svgnew file mode 100644index 0000000..7f83cd2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/git-compare.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="18" cy="18" r="3" />+ <circle cx="6" cy="6" r="3" />+ <path d="M13 6h3a2 2 0 0 1 2 2v7" />+ <path d="M11 18H8a2 2 0 0 1-2-2V9" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/globe.svg b/packages/wildos-office/lo/icons/lucide/globe.svgnew file mode 100644index 0000000..923feab--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/globe.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" />+ <path d="M2 12h20" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/grid-2x2.svg b/packages/wildos-office/lo/icons/lucide/grid-2x2.svgnew file mode 100644index 0000000..9e28669--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/grid-2x2.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 3v18" />+ <path d="M3 12h18" />+ <rect x="3" y="3" width="18" height="18" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/grid-3x3.svg b/packages/wildos-office/lo/icons/lucide/grid-3x3.svgnew file mode 100644index 0000000..c3b9fbe--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/grid-3x3.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M3 9h18" />+ <path d="M3 15h18" />+ <path d="M9 3v18" />+ <path d="M15 3v18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/group.svg b/packages/wildos-office/lo/icons/lucide/group.svgnew file mode 100644index 0000000..96fdfda--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/group.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 7V5c0-1.1.9-2 2-2h2" />+ <path d="M17 3h2c1.1 0 2 .9 2 2v2" />+ <path d="M21 17v2c0 1.1-.9 2-2 2h-2" />+ <path d="M7 21H5c-1.1 0-2-.9-2-2v-2" />+ <rect width="7" height="5" x="7" y="7" rx="1" />+ <rect width="7" height="5" x="10" y="12" rx="1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/hand-grab.svg b/packages/wildos-office/lo/icons/lucide/hand-grab.svgnew file mode 100644index 0000000..99e703e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/hand-grab.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4" />+ <path d="M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2" />+ <path d="M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5" />+ <path d="M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2" />+ <path d="M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/hash.svg b/packages/wildos-office/lo/icons/lucide/hash.svgnew file mode 100644index 0000000..4b00ca7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/hash.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <line x1="4" x2="20" y1="9" y2="9" />+ <line x1="4" x2="20" y1="15" y2="15" />+ <line x1="10" x2="8" y1="3" y2="21" />+ <line x1="16" x2="14" y1="3" y2="21" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/heading-1.svg b/packages/wildos-office/lo/icons/lucide/heading-1.svgnew file mode 100644index 0000000..9c7f29a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/heading-1.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 12h8" />+ <path d="M4 18V6" />+ <path d="M12 18V6" />+ <path d="m17 12 3-2v8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/heading-2.svg b/packages/wildos-office/lo/icons/lucide/heading-2.svgnew file mode 100644index 0000000..8542ac7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/heading-2.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 12h8" />+ <path d="M4 18V6" />+ <path d="M12 18V6" />+ <path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/heading-3.svg b/packages/wildos-office/lo/icons/lucide/heading-3.svgnew file mode 100644index 0000000..6f477c4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/heading-3.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 12h8" />+ <path d="M4 18V6" />+ <path d="M12 18V6" />+ <path d="M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" />+ <path d="M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/heading.svg b/packages/wildos-office/lo/icons/lucide/heading.svgnew file mode 100644index 0000000..5542cc2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/heading.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M18 20V4" />+ <path d="M6 12H18" />+ <path d="M6 20V4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/heart.svg b/packages/wildos-office/lo/icons/lucide/heart.svgnew file mode 100644index 0000000..b9fe06c--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/heart.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/hexagon.svg b/packages/wildos-office/lo/icons/lucide/hexagon.svgnew file mode 100644index 0000000..a69fa7e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/hexagon.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/history.svg b/packages/wildos-office/lo/icons/lucide/history.svgnew file mode 100644index 0000000..429a69d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/history.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />+ <path d="M3 3v5h5" />+ <path d="M12 7v5l4 2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/image-down.svg b/packages/wildos-office/lo/icons/lucide/image-down.svgnew file mode 100644index 0000000..2d3cc6a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/image-down.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21" />+ <path d="m14 19 3 3v-5.5" />+ <path d="m17 22 3-3" />+ <circle cx="9" cy="9" r="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/image-up.svg b/packages/wildos-office/lo/icons/lucide/image-up.svgnew file mode 100644index 0000000..fd93110--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/image-up.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21" />+ <path d="m14 19.5 3-3 3 3" />+ <path d="M17 22v-5.5" />+ <circle cx="9" cy="9" r="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/images.svg b/packages/wildos-office/lo/icons/lucide/images.svgnew file mode 100644index 0000000..93e3ffe--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/images.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16" />+ <path d="M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2" />+ <circle cx="13" cy="7" r="1" fill="currentColor" />+ <rect x="8" y="2" width="14" height="14" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/info.svg b/packages/wildos-office/lo/icons/lucide/info.svgnew file mode 100644index 0000000..b7c8ac6--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/info.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <path d="M12 16v-4" />+ <path d="M12 8h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/layers-2.svg b/packages/wildos-office/lo/icons/lucide/layers-2.svgnew file mode 100644index 0000000..c4a1662--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/layers-2.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z" />+ <path d="m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/layers-arrow-down.svg b/packages/wildos-office/lo/icons/lucide/layers-arrow-down.svgnew file mode 100644index 0000000..44287bd--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/layers-arrow-down.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 7v15" />+ <path d="M2 12a1 1 0 00.58.91l5.093 2.316" />+ <path d="M22 12a1 1 0 01-.59.92l-5.077 2.308" />+ <path d="M8 10.37 2.6 7.91a1 1 0 010-1.831l8.57-3.9a2 2 0 011.66.001l8.59 3.91a1 1 0 010 1.831l-5.392 2.45" />+ <path d="m9 19 3 3 3-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/layers-arrow-up.svg b/packages/wildos-office/lo/icons/lucide/layers-arrow-up.svgnew file mode 100644index 0000000..f927cca--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/layers-arrow-up.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 12V2" />+ <path d="M2 17.002a1 1 0 00.58.91l8.6 3.91a2 2 0 001.65 0l8.58-3.9a1 1 0 00.59-.92" />+ <path d="M7.674 8.774 2.58 11.09a1 1 0 000 1.822l8.6 3.91a2 2 0 001.65 0l8.58-3.9a1 1 0 00.59-.92 1 1 0 00-.59-.922l-5.078-2.308" />+ <path d="m9 5 3-3 3 3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/layers.svg b/packages/wildos-office/lo/icons/lucide/layers.svgnew file mode 100644index 0000000..b5388dc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/layers.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />+ <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />+ <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/layout-grid.svg b/packages/wildos-office/lo/icons/lucide/layout-grid.svgnew file mode 100644index 0000000..31f143f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/layout-grid.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="7" height="7" x="3" y="3" rx="1" />+ <rect width="7" height="7" x="14" y="3" rx="1" />+ <rect width="7" height="7" x="14" y="14" rx="1" />+ <rect width="7" height="7" x="3" y="14" rx="1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/letter-spacing.svg b/packages/wildos-office/lo/icons/lucide/letter-spacing.svgnew file mode 100644index 0000000..0f3d032--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/letter-spacing.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 14H9" />+ <path d="M21 3v18" />+ <path d="M3 3v18" />+ <path d="m8 16 3.453-7.648a.6.6 0 011.094.001L16 16" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/letter-text.svg b/packages/wildos-office/lo/icons/lucide/letter-text.svgnew file mode 100644index 0000000..365af46--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/letter-text.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 5h6" />+ <path d="M15 12h6" />+ <path d="M3 19h18" />+ <path d="m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12" />+ <path d="M3.92 10h6.16" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/link-2.svg b/packages/wildos-office/lo/icons/lucide/link-2.svgnew file mode 100644index 0000000..09e7973--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/link-2.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 17H7A5 5 0 0 1 7 7h2" />+ <path d="M15 7h2a5 5 0 1 1 0 10h-2" />+ <line x1="8" x2="16" y1="12" y2="12" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/link.svg b/packages/wildos-office/lo/icons/lucide/link.svgnew file mode 100644index 0000000..b07f3c5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/link.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />+ <path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-checks.svg b/packages/wildos-office/lo/icons/lucide/list-checks.svgnew file mode 100644index 0000000..eb3ee3e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-checks.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13 5h8" />+ <path d="M13 12h8" />+ <path d="M13 19h8" />+ <path d="m3 17 2 2 4-4" />+ <path d="m3 7 2 2 4-4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-filter-plus.svg b/packages/wildos-office/lo/icons/lucide/list-filter-plus.svgnew file mode 100644index 0000000..8d4bee0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-filter-plus.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 5H2" />+ <path d="M6 12h12" />+ <path d="M9 19h6" />+ <path d="M16 5h6" />+ <path d="M19 8V2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-filter.svg b/packages/wildos-office/lo/icons/lucide/list-filter.svgnew file mode 100644index 0000000..ccb821d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-filter.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2 5h20" />+ <path d="M6 12h12" />+ <path d="M9 19h6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-indent-decrease.svg b/packages/wildos-office/lo/icons/lucide/list-indent-decrease.svgnew file mode 100644index 0000000..bae54bc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-indent-decrease.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 5H11" />+ <path d="M21 12H11" />+ <path d="M21 19H11" />+ <path d="m7 8-4 4 4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-indent-increase.svg b/packages/wildos-office/lo/icons/lucide/list-indent-increase.svgnew file mode 100644index 0000000..6fa6b13--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-indent-increase.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 5H11" />+ <path d="M21 12H11" />+ <path d="M21 19H11" />+ <path d="m3 8 4 4-4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-ordered.svg b/packages/wildos-office/lo/icons/lucide/list-ordered.svgnew file mode 100644index 0000000..5a9df5c--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-ordered.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 5h10" />+ <path d="M11 12h10" />+ <path d="M11 19h10" />+ <path d="M4 4h1v5" />+ <path d="M4 9h2" />+ <path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-plus.svg b/packages/wildos-office/lo/icons/lucide/list-plus.svgnew file mode 100644index 0000000..2522626--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-plus.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M16 5H3" />+ <path d="M11 12H3" />+ <path d="M16 19H3" />+ <path d="M18 9v6" />+ <path d="M21 12h-6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-restart.svg b/packages/wildos-office/lo/icons/lucide/list-restart.svgnew file mode 100644index 0000000..2603fce--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-restart.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 5H3" />+ <path d="M7 12H3" />+ <path d="M7 19H3" />+ <path d="M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14" />+ <path d="M11 10v4h4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-tree.svg b/packages/wildos-office/lo/icons/lucide/list-tree.svgnew file mode 100644index 0000000..2d07620--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-tree.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 5h13" />+ <path d="M13 12h8" />+ <path d="M13 19h8" />+ <path d="M3 10a2 2 0 0 0 2 2h3" />+ <path d="M3 5v12a2 2 0 0 0 2 2h3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list-x.svg b/packages/wildos-office/lo/icons/lucide/list-x.svgnew file mode 100644index 0000000..b08b31e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list-x.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M16 5H3" />+ <path d="M11 12H3" />+ <path d="M16 19H3" />+ <path d="m15.5 9.5 5 5" />+ <path d="m20.5 9.5-5 5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/list.svg b/packages/wildos-office/lo/icons/lucide/list.svgnew file mode 100644index 0000000..be0d495--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/list.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h.01" />+ <path d="M3 12h.01" />+ <path d="M3 19h.01" />+ <path d="M8 5h13" />+ <path d="M8 12h13" />+ <path d="M8 19h13" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/lock-keyhole.svg b/packages/wildos-office/lo/icons/lucide/lock-keyhole.svgnew file mode 100644index 0000000..6e4df07--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/lock-keyhole.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="16" r="1" />+ <rect x="3" y="10" width="18" height="12" rx="2" />+ <path d="M7 10V7a5 5 0 0 1 10 0v3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/lock-open.svg b/packages/wildos-office/lo/icons/lucide/lock-open.svgnew file mode 100644index 0000000..85cbf02--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/lock-open.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="11" x="3" y="11" rx="2" ry="2" />+ <path d="M7 11V7a5 5 0 0 1 9.9-1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/lock.svg b/packages/wildos-office/lo/icons/lucide/lock.svgnew file mode 100644index 0000000..f5785d7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/lock.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="11" x="3" y="11" rx="2" ry="2" />+ <path d="M7 11V7a5 5 0 0 1 10 0v4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/log-in.svg b/packages/wildos-office/lo/icons/lucide/log-in.svgnew file mode 100644index 0000000..4edac48--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/log-in.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m10 17 5-5-5-5" />+ <path d="M15 12H3" />+ <path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/log-out.svg b/packages/wildos-office/lo/icons/lucide/log-out.svgnew file mode 100644index 0000000..001bd3d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/log-out.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m16 17 5-5-5-5" />+ <path d="M21 12H9" />+ <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/magnet.svg b/packages/wildos-office/lo/icons/lucide/magnet.svgnew file mode 100644index 0000000..6c17f20--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/magnet.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m12 15 4 4" />+ <path d="M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z" />+ <path d="m5 8 4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/mail.svg b/packages/wildos-office/lo/icons/lucide/mail.svgnew file mode 100644index 0000000..b86a5f3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/mail.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" />+ <rect x="2" y="4" width="20" height="16" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/maximize.svg b/packages/wildos-office/lo/icons/lucide/maximize.svgnew file mode 100644index 0000000..d5204fe--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/maximize.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 3H5a2 2 0 0 0-2 2v3" />+ <path d="M21 8V5a2 2 0 0 0-2-2h-3" />+ <path d="M3 16v3a2 2 0 0 0 2 2h3" />+ <path d="M16 21h3a2 2 0 0 0 2-2v-3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/menu.svg b/packages/wildos-office/lo/icons/lucide/menu.svgnew file mode 100644index 0000000..507c4c6--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/menu.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16" />+ <path d="M4 12h16" />+ <path d="M4 19h16" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/merge.svg b/packages/wildos-office/lo/icons/lucide/merge.svgnew file mode 100644index 0000000..f0edfd9--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/merge.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m8 6 4-4 4 4" />+ <path d="M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22" />+ <path d="m20 22-5-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-circle-question.svg b/packages/wildos-office/lo/icons/lucide/message-circle-question.svgnew file mode 100644index 0000000..21358ee--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-circle-question.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719" />+ <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />+ <path d="M12 17h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square-more.svg b/packages/wildos-office/lo/icons/lucide/message-square-more.svgnew file mode 100644index 0000000..edbd42b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square-more.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />+ <path d="M12 11h.01" />+ <path d="M16 11h.01" />+ <path d="M8 11h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square-off.svg b/packages/wildos-office/lo/icons/lucide/message-square-off.svgnew file mode 100644index 0000000..8f17cc7--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square-off.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M19 19H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 1.184-1.826" />+ <path d="m2 2 20 20" />+ <path d="M8.656 3H20a2 2 0 0 1 2 2v11.344" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square-plus.svg b/packages/wildos-office/lo/icons/lucide/message-square-plus.svgnew file mode 100644index 0000000..a96a02a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square-plus.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />+ <path d="M12 8v6" />+ <path d="M9 11h6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square-reply.svg b/packages/wildos-office/lo/icons/lucide/message-square-reply.svgnew file mode 100644index 0000000..97eb2c6--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square-reply.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />+ <path d="m10 8-3 3 3 3" />+ <path d="M17 14v-1a2 2 0 0 0-2-2H7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square-text.svg b/packages/wildos-office/lo/icons/lucide/message-square-text.svgnew file mode 100644index 0000000..d12116b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square-text.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />+ <path d="M7 11h10" />+ <path d="M7 15h6" />+ <path d="M7 7h8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square-x.svg b/packages/wildos-office/lo/icons/lucide/message-square-x.svgnew file mode 100644index 0000000..545ba33--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square-x.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />+ <path d="m14.5 8.5-5 5" />+ <path d="m9.5 8.5 5 5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/message-square.svg b/packages/wildos-office/lo/icons/lucide/message-square.svgnew file mode 100644index 0000000..991d776--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/message-square.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/move-horizontal.svg b/packages/wildos-office/lo/icons/lucide/move-horizontal.svgnew file mode 100644index 0000000..8d5a8b5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/move-horizontal.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m18 8 4 4-4 4" />+ <path d="M2 12h20" />+ <path d="m6 8-4 4 4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/move-right.svg b/packages/wildos-office/lo/icons/lucide/move-right.svgnew file mode 100644index 0000000..36a3555--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/move-right.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M18 8L22 12L18 16" />+ <path d="M2 12H22" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/move.svg b/packages/wildos-office/lo/icons/lucide/move.svgnew file mode 100644index 0000000..14d0ad0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/move.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 2v20" />+ <path d="m15 19-3 3-3-3" />+ <path d="m19 9 3 3-3 3" />+ <path d="M2 12h20" />+ <path d="m5 9-3 3 3 3" />+ <path d="m9 5 3-3 3 3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/octagon-x.svg b/packages/wildos-office/lo/icons/lucide/octagon-x.svgnew file mode 100644index 0000000..1504be5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/octagon-x.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m15 9-6 6" />+ <path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" />+ <path d="m9 9 6 6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/octagon.svg b/packages/wildos-office/lo/icons/lucide/octagon.svgnew file mode 100644index 0000000..4251f40--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/octagon.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/omega.svg b/packages/wildos-office/lo/icons/lucide/omega.svgnew file mode 100644index 0000000..5eb4a20--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/omega.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/package-plus.svg b/packages/wildos-office/lo/icons/lucide/package-plus.svgnew file mode 100644index 0000000..e48d93f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/package-plus.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 22V12" />+ <path d="M16 17h6" />+ <path d="M19 14v6" />+ <path d="M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955" />+ <path d="M3.29 7 12 12l8.71-5" />+ <path d="m7.5 4.27 8.997 5.148" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/paint-bucket.svg b/packages/wildos-office/lo/icons/lucide/paint-bucket.svgnew file mode 100644index 0000000..4d35e14--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/paint-bucket.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 7 6 2" />+ <path d="M18.992 12H2.041" />+ <path d="M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595" />+ <path d="m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/paint-roller.svg b/packages/wildos-office/lo/icons/lucide/paint-roller.svgnew file mode 100644index 0000000..091c50d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/paint-roller.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="16" height="6" x="2" y="2" rx="2" />+ <path d="M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2" />+ <rect width="4" height="6" x="8" y="16" rx="1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/paintbrush.svg b/packages/wildos-office/lo/icons/lucide/paintbrush.svgnew file mode 100644index 0000000..4957378--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/paintbrush.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m14.622 17.897-10.68-2.913" />+ <path d="M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z" />+ <path d="M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/palette.svg b/packages/wildos-office/lo/icons/lucide/palette.svgnew file mode 100644index 0000000..26e8b58--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/palette.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z" />+ <circle cx="13.5" cy="6.5" r=".5" fill="currentColor" />+ <circle cx="17.5" cy="10.5" r=".5" fill="currentColor" />+ <circle cx="6.5" cy="12.5" r=".5" fill="currentColor" />+ <circle cx="8.5" cy="7.5" r=".5" fill="currentColor" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/panel-bottom.svg b/packages/wildos-office/lo/icons/lucide/panel-bottom.svgnew file mode 100644index 0000000..635f4e4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/panel-bottom.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M3 15h18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/panel-right.svg b/packages/wildos-office/lo/icons/lucide/panel-right.svgnew file mode 100644index 0000000..78e5ccc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/panel-right.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M15 3v18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/panel-top.svg b/packages/wildos-office/lo/icons/lucide/panel-top.svgnew file mode 100644index 0000000..9db3439--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/panel-top.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M3 9h18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/panels-top-bottom.svg b/packages/wildos-office/lo/icons/lucide/panels-top-bottom.svgnew file mode 100644index 0000000..2344ddc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/panels-top-bottom.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M21 9H3" />+ <path d="M21 15H3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/panels-top-left.svg b/packages/wildos-office/lo/icons/lucide/panels-top-left.svgnew file mode 100644index 0000000..b5c4236--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/panels-top-left.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M3 9h18" />+ <path d="M9 21V9" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pen-line.svg b/packages/wildos-office/lo/icons/lucide/pen-line.svgnew file mode 100644index 0000000..7111695--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pen-line.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13 21h8" />+ <path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pen-tool.svg b/packages/wildos-office/lo/icons/lucide/pen-tool.svgnew file mode 100644index 0000000..e9d0fbc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pen-tool.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m18 13-.654-4.736a4 4 0 00-2.756-3.266l-9.163-2.9a2 2 0 00-2.017.493l-.82.819a2 2 0 00-.492 2.017l2.9 9.163a4 4 0 003.266 2.756L13 18" />+ <path d="M18.648 12.352a1.205 1.205 0 011.704 0l1.296 1.296a1.205 1.205 0 010 1.704l-6.296 6.296a1.205 1.205 0 01-1.704 0l-1.296-1.296a1.205 1.205 0 010-1.704z" />+ <path d="m3 3 6.586 6.586" />+ <circle cx="11" cy="11" r="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pencil-line.svg b/packages/wildos-office/lo/icons/lucide/pencil-line.svgnew file mode 100644index 0000000..86c4f17--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pencil-line.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13 21h8" />+ <path d="m15 5 4 4" />+ <path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pencil.svg b/packages/wildos-office/lo/icons/lucide/pencil.svgnew file mode 100644index 0000000..bb802e4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pencil.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />+ <path d="m15 5 4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pentagon.svg b/packages/wildos-office/lo/icons/lucide/pentagon.svgnew file mode 100644index 0000000..12b7d00--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pentagon.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pilcrow-left.svg b/packages/wildos-office/lo/icons/lucide/pilcrow-left.svgnew file mode 100644index 0000000..3388c68--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pilcrow-left.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 3v11" />+ <path d="M14 9h-3a3 3 0 0 1 0-6h9" />+ <path d="M18 3v11" />+ <path d="M22 18H2l4-4" />+ <path d="m6 22-4-4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pilcrow-right.svg b/packages/wildos-office/lo/icons/lucide/pilcrow-right.svgnew file mode 100644index 0000000..c7037b1--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pilcrow-right.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 3v11" />+ <path d="M10 9H7a1 1 0 0 1 0-6h8" />+ <path d="M14 3v11" />+ <path d="m18 14 4 4H2" />+ <path d="m22 18-4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/pilcrow.svg b/packages/wildos-office/lo/icons/lucide/pilcrow.svgnew file mode 100644index 0000000..094f2fc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/pilcrow.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13 4v16" />+ <path d="M17 4v16" />+ <path d="M19 4H9.5a4.5 4.5 0 0 0 0 9H13" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/printer.svg b/packages/wildos-office/lo/icons/lucide/printer.svgnew file mode 100644index 0000000..0cfce47--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/printer.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" />+ <path d="M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" />+ <rect x="6" y="14" width="12" height="8" rx="1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/quote.svg b/packages/wildos-office/lo/icons/lucide/quote.svgnew file mode 100644index 0000000..15d665e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/quote.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" />+ <path d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/redo-2.svg b/packages/wildos-office/lo/icons/lucide/redo-2.svgnew file mode 100644index 0000000..a44f96e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/redo-2.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m15 14 5-5-5-5" />+ <path d="M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/refresh-ccw.svg b/packages/wildos-office/lo/icons/lucide/refresh-ccw.svgnew file mode 100644index 0000000..e5bb78b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/refresh-ccw.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />+ <path d="M3 3v5h5" />+ <path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16" />+ <path d="M16 16h5v5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/refresh-cw.svg b/packages/wildos-office/lo/icons/lucide/refresh-cw.svgnew file mode 100644index 0000000..3ccfb93--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/refresh-cw.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" />+ <path d="M21 3v5h-5" />+ <path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" />+ <path d="M8 16H3v5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/remove-formatting.svg b/packages/wildos-office/lo/icons/lucide/remove-formatting.svgnew file mode 100644index 0000000..0f65e51--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/remove-formatting.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 7V4h16v3" />+ <path d="M5 20h6" />+ <path d="M13 4 8 20" />+ <path d="m15 15 5 5" />+ <path d="m20 15-5 5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/repeat.svg b/packages/wildos-office/lo/icons/lucide/repeat.svgnew file mode 100644index 0000000..22e05a8--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/repeat.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m17 2 4 4-4 4" />+ <path d="M3 11v-1a4 4 0 0 1 4-4h14" />+ <path d="m7 22-4-4 4-4" />+ <path d="M21 13v1a4 4 0 0 1-4 4H3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/rotate-ccw.svg b/packages/wildos-office/lo/icons/lucide/rotate-ccw.svgnew file mode 100644index 0000000..cd1a589--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/rotate-ccw.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />+ <path d="M3 3v5h5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/rotate-cw-square.svg b/packages/wildos-office/lo/icons/lucide/rotate-cw-square.svgnew file mode 100644index 0000000..82d43eb--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/rotate-cw-square.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 5H6a2 2 0 0 0-2 2v3" />+ <path d="m9 8 3-3-3-3" />+ <path d="M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/rotate-cw.svg b/packages/wildos-office/lo/icons/lucide/rotate-cw.svgnew file mode 100644index 0000000..f28b47c--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/rotate-cw.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8" />+ <path d="M21 3v5h-5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/rows-2.svg b/packages/wildos-office/lo/icons/lucide/rows-2.svgnew file mode 100644index 0000000..3ede966--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/rows-2.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M3 12h18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/rows-3.svg b/packages/wildos-office/lo/icons/lucide/rows-3.svgnew file mode 100644index 0000000..2344ddc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/rows-3.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M21 9H3" />+ <path d="M21 15H3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/ruler-dimension-line.svg b/packages/wildos-office/lo/icons/lucide/ruler-dimension-line.svgnew file mode 100644index 0000000..f92c954--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/ruler-dimension-line.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 15v-3" />+ <path d="M14 15v-3" />+ <path d="M18 15v-3" />+ <path d="M2 8V4" />+ <path d="M22 6H2" />+ <path d="M22 8V4" />+ <path d="M6 15v-3" />+ <rect x="2" y="12" width="20" height="8" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/ruler.svg b/packages/wildos-office/lo/icons/lucide/ruler.svgnew file mode 100644index 0000000..9916f7a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/ruler.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z" />+ <path d="m14.5 12.5 2-2" />+ <path d="m11.5 9.5 2-2" />+ <path d="m8.5 6.5 2-2" />+ <path d="m17.5 15.5 2-2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/save-all.svg b/packages/wildos-office/lo/icons/lucide/save-all.svgnew file mode 100644index 0000000..b3c6116--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/save-all.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 2v3a1 1 0 0 0 1 1h5" />+ <path d="M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6" />+ <path d="M18 22H4a2 2 0 0 1-2-2V6" />+ <path d="M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/save-pen.svg b/packages/wildos-office/lo/icons/lucide/save-pen.svgnew file mode 100644index 0000000..f4fb46a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/save-pen.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13.33 13H8a1 1 0 00-1 1v7" />+ <path d="M14.363 17.634a2 2 0 00-.506.854l-.837 2.87a.5.5 0 00.62.62l2.87-.837a2 2 0 00.854-.506l4.013-4.009a1 1 0 10-3.004-3.004z" />+ <path d="M7 3v4a1 1 0 001 1h7" />+ <path d="M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h10.2a2 2 0 011.4.6l3.8 3.8a2 2 0 01.6 1.4v.3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/save.svg b/packages/wildos-office/lo/icons/lucide/save.svgnew file mode 100644index 0000000..c865eb8--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/save.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" />+ <path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" />+ <path d="M7 3v4a1 1 0 0 0 1 1h7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/scaling.svg b/packages/wildos-office/lo/icons/lucide/scaling.svgnew file mode 100644index 0000000..f8ef3a3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/scaling.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />+ <path d="M14 15H9v-5" />+ <path d="M16 3h5v5" />+ <path d="M21 3 9 15" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/scan-eye.svg b/packages/wildos-office/lo/icons/lucide/scan-eye.svgnew file mode 100644index 0000000..07f4a7e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/scan-eye.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 7V5a2 2 0 0 1 2-2h2" />+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />+ <circle cx="12" cy="12" r="1" />+ <path d="M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/scan-search.svg b/packages/wildos-office/lo/icons/lucide/scan-search.svgnew file mode 100644index 0000000..828bb40--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/scan-search.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 7V5a2 2 0 0 1 2-2h2" />+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />+ <circle cx="12" cy="12" r="3" />+ <path d="m16 16-1.9-1.9" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/scan-text.svg b/packages/wildos-office/lo/icons/lucide/scan-text.svgnew file mode 100644index 0000000..625a4e2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/scan-text.svg@@ -0,0 +1,9 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 7V5a2 2 0 0 1 2-2h2" />+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />+ <path d="M7 8h8" />+ <path d="M7 12h10" />+ <path d="M7 16h6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/scan.svg b/packages/wildos-office/lo/icons/lucide/scan.svgnew file mode 100644index 0000000..b7039d1--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/scan.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 7V5a2 2 0 0 1 2-2h2" />+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/send-to-back.svg b/packages/wildos-office/lo/icons/lucide/send-to-back.svgnew file mode 100644index 0000000..9f94b87--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/send-to-back.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect x="14" y="14" width="8" height="8" rx="2" />+ <rect x="2" y="2" width="8" height="8" rx="2" />+ <path d="M7 14v1a2 2 0 0 0 2 2h1" />+ <path d="M14 7h1a2 2 0 0 1 2 2v1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/separator-horizontal.svg b/packages/wildos-office/lo/icons/lucide/separator-horizontal.svgnew file mode 100644index 0000000..ecb0a63--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/separator-horizontal.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m16 16-4 4-4-4" />+ <path d="M3 12h18" />+ <path d="m8 8 4-4 4 4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/settings-2.svg b/packages/wildos-office/lo/icons/lucide/settings-2.svgnew file mode 100644index 0000000..81064e0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/settings-2.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 17H5" />+ <path d="M19 7h-9" />+ <circle cx="17" cy="17" r="3" />+ <circle cx="7" cy="7" r="3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/settings.svg b/packages/wildos-office/lo/icons/lucide/settings.svgnew file mode 100644index 0000000..80f0c26--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/settings.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" />+ <circle cx="12" cy="12" r="3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/shapes.svg b/packages/wildos-office/lo/icons/lucide/shapes.svgnew file mode 100644index 0000000..a4a886b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/shapes.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z" />+ <rect x="3" y="14" width="7" height="7" rx="1" />+ <circle cx="17.5" cy="17.5" r="3.5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/sheet.svg b/packages/wildos-office/lo/icons/lucide/sheet.svgnew file mode 100644index 0000000..3cf171e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/sheet.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />+ <line x1="3" x2="21" y1="9" y2="9" />+ <line x1="3" x2="21" y1="15" y2="15" />+ <line x1="9" x2="9" y1="9" y2="21" />+ <line x1="15" x2="15" y1="9" y2="21" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/shield-check.svg b/packages/wildos-office/lo/icons/lucide/shield-check.svgnew file mode 100644index 0000000..ea608e4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/shield-check.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />+ <path d="m9 12 2 2 4-4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/shield.svg b/packages/wildos-office/lo/icons/lucide/shield.svgnew file mode 100644index 0000000..bc97c18--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/shield.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/shrink.svg b/packages/wildos-office/lo/icons/lucide/shrink.svgnew file mode 100644index 0000000..a566b9b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/shrink.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m15 15 6 6m-6-6v4.8m0-4.8h4.8" />+ <path d="M9 19.8V15m0 0H4.2M9 15l-6 6" />+ <path d="M15 4.2V9m0 0h4.8M15 9l6-6" />+ <path d="M9 4.2V9m0 0H4.2M9 9 3 3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/signature.svg b/packages/wildos-office/lo/icons/lucide/signature.svgnew file mode 100644index 0000000..69b8803--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/signature.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284" />+ <path d="M3 21h18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/sliders-horizontal.svg b/packages/wildos-office/lo/icons/lucide/sliders-horizontal.svgnew file mode 100644index 0000000..46c3466--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/sliders-horizontal.svg@@ -0,0 +1,11 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 5H3" />+ <path d="M12 19H3" />+ <path d="M14 3v4" />+ <path d="M16 17v4" />+ <path d="M21 12h-9" />+ <path d="M21 19h-5" />+ <path d="M21 5h-7" />+ <path d="M8 10v4" />+ <path d="M8 12H3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/snowflake.svg b/packages/wildos-office/lo/icons/lucide/snowflake.svgnew file mode 100644index 0000000..6352cd2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/snowflake.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m10 20-1.25-2.5L6 18" />+ <path d="M10 4 8.75 6.5 6 6" />+ <path d="m14 20 1.25-2.5L18 18" />+ <path d="m14 4 1.25 2.5L18 6" />+ <path d="m17 21-3-6h-4" />+ <path d="m17 3-3 6 1.5 3" />+ <path d="M2 12h6.5L10 9" />+ <path d="m20 10-1.5 2 1.5 2" />+ <path d="M22 12h-6.5L14 15" />+ <path d="m4 10 1.5 2L4 14" />+ <path d="m7 21 3-6-1.5-3" />+ <path d="m7 3 3 6h4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/space.svg b/packages/wildos-office/lo/icons/lucide/space.svgnew file mode 100644index 0000000..5d31d16--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/space.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/spell-check-2.svg b/packages/wildos-office/lo/icons/lucide/spell-check-2.svgnew file mode 100644index 0000000..05a43b4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/spell-check-2.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m6 16 6-12 6 12" />+ <path d="M8 12h8" />+ <path d="M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/spell-check.svg b/packages/wildos-office/lo/icons/lucide/spell-check.svgnew file mode 100644index 0000000..87131d0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/spell-check.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m20 15-5.5 5.5L12 18" />+ <path d="m4 16 6-12 5.115 10.23" />+ <path d="M6 12h8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/spline.svg b/packages/wildos-office/lo/icons/lucide/spline.svgnew file mode 100644index 0000000..7aab70e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/spline.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="19" cy="5" r="2" />+ <circle cx="5" cy="19" r="2" />+ <path d="M5 17A12 12 0 0 1 17 5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-arrow-out-up-right.svg b/packages/wildos-office/lo/icons/lucide/square-arrow-out-up-right.svgnew file mode 100644index 0000000..409acc9--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-arrow-out-up-right.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6" />+ <path d="m21 3-9 9" />+ <path d="M15 3h6v6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-code.svg b/packages/wildos-office/lo/icons/lucide/square-code.svgnew file mode 100644index 0000000..3c6cc4b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-code.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m10 9-3 3 3 3" />+ <path d="m14 15 3-3-3-3" />+ <rect x="3" y="3" width="18" height="18" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-dashed-x.svg b/packages/wildos-office/lo/icons/lucide/square-dashed-x.svgnew file mode 100644index 0000000..3209f4b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-dashed-x.svg@@ -0,0 +1,16 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 21h1" />+ <path d="M14 3h1" />+ <path d="M19 3a2 2 0 012 2" />+ <path d="M21 14v1" />+ <path d="M21 19a2 2 0 01-2 2" />+ <path d="M21 9v1" />+ <path d="M3 14v1" />+ <path d="M3 9v1" />+ <path d="M5 21a2 2 0 01-2-2" />+ <path d="M5 3a2 2 0 00-2 2" />+ <path d="m9 15 6-6" />+ <path d="M9 21h1" />+ <path d="M9 3h1" />+ <path d="m9 9 6 6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-dashed.svg b/packages/wildos-office/lo/icons/lucide/square-dashed.svgnew file mode 100644index 0000000..65e0f84--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-dashed.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3a2 2 0 0 0-2 2" />+ <path d="M19 3a2 2 0 0 1 2 2" />+ <path d="M21 19a2 2 0 0 1-2 2" />+ <path d="M5 21a2 2 0 0 1-2-2" />+ <path d="M9 3h1" />+ <path d="M9 21h1" />+ <path d="M14 3h1" />+ <path d="M14 21h1" />+ <path d="M3 9v1" />+ <path d="M21 9v1" />+ <path d="M3 14v1" />+ <path d="M21 14v1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-function.svg b/packages/wildos-office/lo/icons/lucide/square-function.svgnew file mode 100644index 0000000..76d50a0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-function.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />+ <path d="M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3" />+ <path d="M9 11.2h5.7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-letter-e.svg b/packages/wildos-office/lo/icons/lucide/square-letter-e.svgnew file mode 100644index 0000000..abf2bea--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-letter-e.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 8H9.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H15" />+ <path d="M9 12h4" />+ <rect width="18" height="18" x="3" y="3" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-minus.svg b/packages/wildos-office/lo/icons/lucide/square-minus.svgnew file mode 100644index 0000000..ac01614--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-minus.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M8 12h8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-pen.svg b/packages/wildos-office/lo/icons/lucide/square-pen.svgnew file mode 100644index 0000000..8ffda43--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-pen.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />+ <path d="M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-plus.svg b/packages/wildos-office/lo/icons/lucide/square-plus.svgnew file mode 100644index 0000000..7616a2f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-plus.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M8 12h8" />+ <path d="M12 8v8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-radical.svg b/packages/wildos-office/lo/icons/lucide/square-radical.svgnew file mode 100644index 0000000..5f420eb--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-radical.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M7 12h2l2 5 2-10h4" />+ <rect x="3" y="3" width="18" height="18" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-sigma.svg b/packages/wildos-office/lo/icons/lucide/square-sigma.svgnew file mode 100644index 0000000..5c97911--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-sigma.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M16 8.9V7H8l4 5-4 5h8v-1.9" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-split-horizontal.svg b/packages/wildos-office/lo/icons/lucide/square-split-horizontal.svgnew file mode 100644index 0000000..e3deabb--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-split-horizontal.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 2v20" />+ <path d="M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3" />+ <path d="M8 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square-x.svg b/packages/wildos-office/lo/icons/lucide/square-x.svgnew file mode 100644index 0000000..4bbe145--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square-x.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />+ <path d="m15 9-6 6" />+ <path d="m9 9 6 6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/square.svg b/packages/wildos-office/lo/icons/lucide/square.svgnew file mode 100644index 0000000..bb15103--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/square.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect width="18" height="18" x="3" y="3" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/sticky-note.svg b/packages/wildos-office/lo/icons/lucide/sticky-note.svgnew file mode 100644index 0000000..e1c220e--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/sticky-note.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z" />+ <path d="M15 3v5a1 1 0 0 0 1 1h5" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/subscript.svg b/packages/wildos-office/lo/icons/lucide/subscript.svgnew file mode 100644index 0000000..38b10d8--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/subscript.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m4 5 8 8" />+ <path d="m12 5-8 8" />+ <path d="M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/superscript.svg b/packages/wildos-office/lo/icons/lucide/superscript.svgnew file mode 100644index 0000000..1b31eab--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/superscript.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m4 19 8-8" />+ <path d="m12 19-8-8" />+ <path d="M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/swatch-book.svg b/packages/wildos-office/lo/icons/lucide/swatch-book.svgnew file mode 100644index 0000000..aa6bd8a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/swatch-book.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z" />+ <path d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7" />+ <path d="M 7 17h.01" />+ <path d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/table-2.svg b/packages/wildos-office/lo/icons/lucide/table-2.svgnew file mode 100644index 0000000..8c963bc--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/table-2.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 9h18" />+ <path d="M9 3v18" />+ <rect x="3" y="3" width="18" height="18" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/table-columns-split.svg b/packages/wildos-office/lo/icons/lucide/table-columns-split.svgnew file mode 100644index 0000000..f4f92d2--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/table-columns-split.svg@@ -0,0 +1,13 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 14v2" />+ <path d="M14 20v2" />+ <path d="M14 2v2" />+ <path d="M14 8v2" />+ <path d="M2 15h8" />+ <path d="M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2" />+ <path d="M2 9h8" />+ <path d="M22 15h-4" />+ <path d="M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2" />+ <path d="M22 9h-4" />+ <path d="M5 3v18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/table-of-contents.svg b/packages/wildos-office/lo/icons/lucide/table-of-contents.svgnew file mode 100644index 0000000..25386e0--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/table-of-contents.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M16 5H3" />+ <path d="M16 12H3" />+ <path d="M16 19H3" />+ <path d="M21 5h.01" />+ <path d="M21 12h.01" />+ <path d="M21 19h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/table-properties.svg b/packages/wildos-office/lo/icons/lucide/table-properties.svgnew file mode 100644index 0000000..1b232e3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/table-properties.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15 3v18" />+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="M21 9H3" />+ <path d="M21 15H3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/table-rows-split.svg b/packages/wildos-office/lo/icons/lucide/table-rows-split.svgnew file mode 100644index 0000000..73fa07f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/table-rows-split.svg@@ -0,0 +1,13 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 10h2" />+ <path d="M15 22v-8" />+ <path d="M15 2v4" />+ <path d="M2 10h2" />+ <path d="M20 10h2" />+ <path d="M3 19h18" />+ <path d="M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6" />+ <path d="M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2" />+ <path d="M8 10h2" />+ <path d="M9 22v-8" />+ <path d="M9 2v4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/tag.svg b/packages/wildos-office/lo/icons/lucide/tag.svgnew file mode 100644index 0000000..fbb7b72--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/tag.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z" />+ <circle cx="7.5" cy="7.5" r=".5" fill="currentColor" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/tags.svg b/packages/wildos-office/lo/icons/lucide/tags.svgnew file mode 100644index 0000000..73d3b6b--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/tags.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z" />+ <path d="M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193" />+ <circle cx="10.5" cy="6.5" r=".5" fill="currentColor" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/target.svg b/packages/wildos-office/lo/icons/lucide/target.svgnew file mode 100644index 0000000..a1bc149--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/target.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="10" />+ <circle cx="12" cy="12" r="6" />+ <circle cx="12" cy="12" r="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/text-cursor-input.svg b/packages/wildos-office/lo/icons/lucide/text-cursor-input.svgnew file mode 100644index 0000000..1a1ba41--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/text-cursor-input.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6" />+ <path d="M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7" />+ <path d="M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1" />+ <path d="M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1" />+ <path d="M9 6v12" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/text-quote.svg b/packages/wildos-office/lo/icons/lucide/text-quote.svgnew file mode 100644index 0000000..69a84f4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/text-quote.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M17 5H3" />+ <path d="M21 12H8" />+ <path d="M21 19H8" />+ <path d="M3 12v7" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/text-search.svg b/packages/wildos-office/lo/icons/lucide/text-search.svgnew file mode 100644index 0000000..0888ee4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/text-search.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 5H3" />+ <path d="M10 12H3" />+ <path d="M10 19H3" />+ <circle cx="17" cy="15" r="3" />+ <path d="m21 19-1.9-1.9" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/text-select.svg b/packages/wildos-office/lo/icons/lucide/text-select.svgnew file mode 100644index 0000000..8490137--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/text-select.svg@@ -0,0 +1,17 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 21h1" />+ <path d="M14 3h1" />+ <path d="M19 3a2 2 0 0 1 2 2" />+ <path d="M21 14v1" />+ <path d="M21 19a2 2 0 0 1-2 2" />+ <path d="M21 9v1" />+ <path d="M3 14v1" />+ <path d="M3 9v1" />+ <path d="M5 21a2 2 0 0 1-2-2" />+ <path d="M5 3a2 2 0 0 0-2 2" />+ <path d="M7 12h10" />+ <path d="M7 16h6" />+ <path d="M7 8h8" />+ <path d="M9 21h1" />+ <path d="M9 3h1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/text.svg b/packages/wildos-office/lo/icons/lucide/text.svgnew file mode 100644index 0000000..47db718--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/text.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 5H3" />+ <path d="M15 12H3" />+ <path d="M17 19H3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/trash-2.svg b/packages/wildos-office/lo/icons/lucide/trash-2.svgnew file mode 100644index 0000000..d1d7a09--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/trash-2.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 11v6" />+ <path d="M14 11v6" />+ <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />+ <path d="M3 6h18" />+ <path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/triangle-alert.svg b/packages/wildos-office/lo/icons/lucide/triangle-alert.svgnew file mode 100644index 0000000..11abfc4--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/triangle-alert.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" />+ <path d="M12 9v4" />+ <path d="M12 17h.01" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/triangle.svg b/packages/wildos-office/lo/icons/lucide/triangle.svgnew file mode 100644index 0000000..755cde3--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/triangle.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/type-outline.svg b/packages/wildos-office/lo/icons/lucide/type-outline.svgnew file mode 100644index 0000000..8e0a09f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/type-outline.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/type.svg b/packages/wildos-office/lo/icons/lucide/type.svgnew file mode 100644index 0000000..a6b8f3f--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/type.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 4v16" />+ <path d="M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2" />+ <path d="M9 20h6" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/undo-2.svg b/packages/wildos-office/lo/icons/lucide/undo-2.svgnew file mode 100644index 0000000..bfc4a86--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/undo-2.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 14 4 9l5-5" />+ <path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/undo-dot.svg b/packages/wildos-office/lo/icons/lucide/undo-dot.svgnew file mode 100644index 0000000..cf32266--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/undo-dot.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M21 17a9 9 0 0 0-15-6.7L3 13" />+ <path d="M3 7v6h6" />+ <circle cx="12" cy="17" r="1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/unfold-horizontal.svg b/packages/wildos-office/lo/icons/lucide/unfold-horizontal.svgnew file mode 100644index 0000000..80591da--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/unfold-horizontal.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M16 12h6" />+ <path d="M8 12H2" />+ <path d="M12 2v2" />+ <path d="M12 8v2" />+ <path d="M12 14v2" />+ <path d="M12 20v2" />+ <path d="m19 15 3-3-3-3" />+ <path d="m5 9-3 3 3 3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/unfold-vertical.svg b/packages/wildos-office/lo/icons/lucide/unfold-vertical.svgnew file mode 100644index 0000000..51ff9fa--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/unfold-vertical.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 22v-6" />+ <path d="M12 8V2" />+ <path d="M4 12H2" />+ <path d="M10 12H8" />+ <path d="M16 12h-2" />+ <path d="M22 12h-2" />+ <path d="m15 19-3 3-3-3" />+ <path d="m15 5-3-3-3 3" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/ungroup.svg b/packages/wildos-office/lo/icons/lucide/ungroup.svgnew file mode 100644index 0000000..4fab1c5--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/ungroup.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <rect x="11" y="14" width="10" height="7" rx="2" />+ <rect x="3" y="3" width="10" height="7" rx="2" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/unlink.svg b/packages/wildos-office/lo/icons/lucide/unlink.svgnew file mode 100644index 0000000..dd3bf63--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/unlink.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71" />+ <path d="m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71" />+ <line x1="8" x2="8" y1="2" y2="5" />+ <line x1="2" x2="5" y1="8" y2="8" />+ <line x1="16" x2="16" y1="19" y2="22" />+ <line x1="19" x2="22" y1="16" y2="16" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/user.svg b/packages/wildos-office/lo/icons/lucide/user.svgnew file mode 100644index 0000000..481030d--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/user.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" />+ <circle cx="12" cy="7" r="4" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/wand-sparkles.svg b/packages/wildos-office/lo/icons/lucide/wand-sparkles.svgnew file mode 100644index 0000000..12b88ee--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/wand-sparkles.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72" />+ <path d="m14 7 3 3" />+ <path d="M5 6v4" />+ <path d="M19 14v4" />+ <path d="M10 2v2" />+ <path d="M7 8H3" />+ <path d="M21 16h-4" />+ <path d="M11 3H9" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/whole-word.svg b/packages/wildos-office/lo/icons/lucide/whole-word.svgnew file mode 100644index 0000000..da7f50a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/whole-word.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="7" cy="12" r="3" />+ <path d="M10 9v6" />+ <circle cx="17" cy="12" r="3" />+ <path d="M14 7v8" />+ <path d="M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/wrap-text.svg b/packages/wildos-office/lo/icons/lucide/wrap-text.svgnew file mode 100644index 0000000..abc0659--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/wrap-text.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="m16 16-3 3 3 3" />+ <path d="M3 12h14.5a1 1 0 0 1 0 7H13" />+ <path d="M3 19h6" />+ <path d="M3 5h18" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/x.svg b/packages/wildos-office/lo/icons/lucide/x.svgnew file mode 100644index 0000000..2012206--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/x.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M18 6 6 18" />+ <path d="m6 6 12 12" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/zap.svg b/packages/wildos-office/lo/icons/lucide/zap.svgnew file mode 100644index 0000000..f309767--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/zap.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/zoom-in.svg b/packages/wildos-office/lo/icons/lucide/zoom-in.svgnew file mode 100644index 0000000..5ac5437--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/zoom-in.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="11" cy="11" r="8" />+ <line x1="21" x2="16.65" y1="21" y2="16.65" />+ <line x1="11" x2="11" y1="8" y2="14" />+ <line x1="8" x2="14" y1="11" y2="11" />+</svg>diff --git a/packages/wildos-office/lo/icons/lucide/zoom-out.svg b/packages/wildos-office/lo/icons/lucide/zoom-out.svgnew file mode 100644index 0000000..badbf6a--- /dev/null+++ b/packages/wildos-office/lo/icons/lucide/zoom-out.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="11" cy="11" r="8" />+ <line x1="21" x2="16.65" y1="21" y2="16.65" />+ <line x1="8" x2="14" y1="11" y2="11" />+</svg>diff --git a/packages/wildos-office/lo/icons/svg/align-centre.svg b/packages/wildos-office/lo/icons/svg/align-centre.svgnew file mode 100644index 0000000..6d09598--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/align-centre.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M7 10h10M4 14h16M7 18h10"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/align-left.svg b/packages/wildos-office/lo/icons/svg/align-left.svgnew file mode 100644index 0000000..67be7fe--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/align-left.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M4 10h10M4 14h16M4 18h10"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/align-right.svg b/packages/wildos-office/lo/icons/svg/align-right.svgnew file mode 100644index 0000000..ceeedab--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/align-right.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M10 10h10M4 14h16M10 18h10"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/autosum.svg b/packages/wildos-office/lo/icons/svg/autosum.svgnew file mode 100644index 0000000..476dce9--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/autosum.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M18 5H6l6 7-6 7h12"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/bold.svg b/packages/wildos-office/lo/icons/svg/bold.svgnew file mode 100644index 0000000..be73df8--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/bold.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M7 5h6a3.5 3.5 0 0 1 0 7H7zM7 12h7a3.5 3.5 0 0 1 0 7H7z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/bullets.svg b/packages/wildos-office/lo/icons/svg/bullets.svgnew file mode 100644index 0000000..e2069f0--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/bullets.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/cell-style.svg b/packages/wildos-office/lo/icons/svg/cell-style.svgnew file mode 100644index 0000000..1c04b88--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/cell-style.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 6h18v12H3zM8 14l2.5-6 2.5 6M8.8 12.2h3.4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/chart.svg b/packages/wildos-office/lo/icons/svg/chart.svgnew file mode 100644index 0000000..38de70c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/chart.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/chevron-down.svg b/packages/wildos-office/lo/icons/svg/chevron-down.svgnew file mode 100644index 0000000..1396f80--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/chevron-down.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 9l6 6 6-6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/col-width.svg b/packages/wildos-office/lo/icons/svg/col-width.svgnew file mode 100644index 0000000..518ce11--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/col-width.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 4v16M19 4v16M8 12h8M10 10l-2 2 2 2M14 10l2 2-2 2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/copy.svg b/packages/wildos-office/lo/icons/svg/copy.svgnew file mode 100644index 0000000..682a582--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/copy.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 8h12v12H8zM4 16V4h12"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/currency.svg b/packages/wildos-office/lo/icons/svg/currency.svgnew file mode 100644index 0000000..6f8028d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/currency.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M16 6a5 5 0 0 0-8 4v8M6 13h8M6 18h12"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/cut.svg b/packages/wildos-office/lo/icons/svg/cut.svgnew file mode 100644index 0000000..1f794ce--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/cut.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8.1 7.9L20 20M8.1 16.1L20 4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/decimal-add.svg b/packages/wildos-office/lo/icons/svg/decimal-add.svgnew file mode 100644index 0000000..cf12ad8--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/decimal-add.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 18h.01M9 6h6v12H9zM18 9v6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/decimal-remove.svg b/packages/wildos-office/lo/icons/svg/decimal-remove.svgnew file mode 100644index 0000000..0351c0d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/decimal-remove.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 18h.01M9 6h6v12H9zM18 12h3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/delete-cells.svg b/packages/wildos-office/lo/icons/svg/delete-cells.svgnew file mode 100644index 0000000..20b4672--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/delete-cells.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 9h18v6H3zM10 4.5h4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/delete-col.svg b/packages/wildos-office/lo/icons/svg/delete-col.svgnew file mode 100644index 0000000..9c5b796--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/delete-col.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 3h8v18H8zM10 9.5l4 5M14 9.5l-4 5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/delete-row.svg b/packages/wildos-office/lo/icons/svg/delete-row.svgnew file mode 100644index 0000000..f731df3--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/delete-row.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 8h18v8H3zM9.5 10l5 4M14.5 10l-5 4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/delete-table.svg b/packages/wildos-office/lo/icons/svg/delete-table.svgnew file mode 100644index 0000000..67fcb4c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/delete-table.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM3 10h18M9 5v5M15 5v5M10 12.5l4 4M14 12.5l-4 4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/doc-modified.svg b/packages/wildos-office/lo/icons/svg/doc-modified.svgnew file mode 100644index 0000000..9431411--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/doc-modified.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 4h9M5 4v16h14V9M8 4v5h6M8 20v-6h8v6"/>+ <circle cx="19" cy="4.5" r="2.5" fill="currentColor" stroke="none" data-tone="accent"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/doc-saved.svg b/packages/wildos-office/lo/icons/svg/doc-saved.svgnew file mode 100644index 0000000..bd39db2--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/doc-saved.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 4h11l3 3v13H5zM8 4v5h7V4M8 20v-6h8v6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/endnote.svg b/packages/wildos-office/lo/icons/svg/endnote.svgnew file mode 100644index 0000000..787db3b--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/endnote.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16M4 8h16M4 12h11M4 19h6M14 17.5l1.5-1v5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/fill-colour.svg b/packages/wildos-office/lo/icons/svg/fill-colour.svgnew file mode 100644index 0000000..87e93a0--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/fill-colour.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 9l6-6 7 7-6 6zM5 9h12.5M19.5 12.5c.8 1.2 1.5 2.1 1.5 2.8a1.5 1.5 0 0 1-3 0c0-.7.7-1.6 1.5-2.8z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/filter.svg b/packages/wildos-office/lo/icons/svg/filter.svgnew file mode 100644index 0000000..dea9273--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/filter.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16l-6 8v6l-4-2v-4z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/find.svg b/packages/wildos-office/lo/icons/svg/find.svgnew file mode 100644index 0000000..12a4aab--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/find.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM20 20l-4-4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/first-line-indent.svg b/packages/wildos-office/lo/icons/svg/first-line-indent.svgnew file mode 100644index 0000000..43581ba--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/first-line-indent.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 6h10M4 10h16M4 14h16M4 18h16"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/font-colour.svg b/packages/wildos-office/lo/icons/svg/font-colour.svgnew file mode 100644index 0000000..00bd588--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/font-colour.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 16l6-12 6 12M8 12h8"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/footnote.svg b/packages/wildos-office/lo/icons/svg/footnote.svgnew file mode 100644index 0000000..914ae18--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/footnote.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h11M4 11h16M4 16h16M4 20h10M18.5 3.5l1.5-1v5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/function.svg b/packages/wildos-office/lo/icons/svg/function.svgnew file mode 100644index 0000000..e8d97aa--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/function.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 20c2 0 2-2 2.5-6S14 4 17 4M8 10h7M15 15l5 5M20 15l-5 5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/hanging-indent.svg b/packages/wildos-office/lo/icons/svg/hanging-indent.svgnew file mode 100644index 0000000..ff4f37e--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/hanging-indent.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M10 10h10M10 14h10M10 18h10"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/highlight.svg b/packages/wildos-office/lo/icons/svg/highlight.svgnew file mode 100644index 0000000..90dbcf3--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/highlight.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 9l6-6 4 4-6 6zM9 9l-4 4 4 4 4-4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/hyphenation.svg b/packages/wildos-office/lo/icons/svg/hyphenation.svgnew file mode 100644index 0000000..c4c2f9b--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/hyphenation.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M4 11h11M17.5 11h2.5M4 16h16M4 20h9"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/indent.svg b/packages/wildos-office/lo/icons/svg/indent.svgnew file mode 100644index 0000000..3d41024--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/indent.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 6h10M10 12h10M10 18h10M4 9l3 3-3 3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/insert-cells.svg b/packages/wildos-office/lo/icons/svg/insert-cells.svgnew file mode 100644index 0000000..6856699--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/insert-cells.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 9h18v6H3zM12 3v3M10.5 4.5h3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/insert-col-left.svg b/packages/wildos-office/lo/icons/svg/insert-col-left.svgnew file mode 100644index 0000000..6a1c465--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/insert-col-left.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 3h8v18h-8zM3 12h5M5.5 9.5v5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/insert-col-right.svg b/packages/wildos-office/lo/icons/svg/insert-col-right.svgnew file mode 100644index 0000000..902d602--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/insert-col-right.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3h8v18H5zM16 12h5M18.5 9.5v5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/insert-row-above.svg b/packages/wildos-office/lo/icons/svg/insert-row-above.svgnew file mode 100644index 0000000..44f433d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/insert-row-above.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 11h18v8H3zM12 3v5M9.5 5.5h5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/insert-row-below.svg b/packages/wildos-office/lo/icons/svg/insert-row-below.svgnew file mode 100644index 0000000..ff22869--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/insert-row-below.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v8H3zM12 16v5M9.5 18.5h5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/italic.svg b/packages/wildos-office/lo/icons/svg/italic.svgnew file mode 100644index 0000000..ab5abcf--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/italic.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14 5h-4M14 19h-4M14 5l-4 14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/justify.svg b/packages/wildos-office/lo/icons/svg/justify.svgnew file mode 100644index 0000000..528331f--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/justify.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M4 10h16M4 14h16M4 18h16"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/line-colour.svg b/packages/wildos-office/lo/icons/svg/line-colour.svgnew file mode 100644index 0000000..1bfc1a3--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/line-colour.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M14.5 4.5l3 3L8 17H5v-3zM12.5 6.5l3 3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/line-spacing.svg b/packages/wildos-office/lo/icons/svg/line-spacing.svgnew file mode 100644index 0000000..e9fd799--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/line-spacing.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 6h9M11 12h9M11 18h9M5 4v16M3 6l2-2 2 2M3 18l2 2 2-2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/line-style.svg b/packages/wildos-office/lo/icons/svg/line-style.svgnew file mode 100644index 0000000..92319c2--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/line-style.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M4 12h3M10.5 12h3M17 12h3M4 18h.01M8 18h.01M12 18h.01M16 18h.01M20 18h.01"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/line-width.svg b/packages/wildos-office/lo/icons/svg/line-width.svgnew file mode 100644index 0000000..c8ecc81--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/line-width.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16" stroke-width="1"/>+ <path d="M4 11h16" stroke-width="2"/>+ <path d="M4 18h16" stroke-width="3.2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/line.svg b/packages/wildos-office/lo/icons/svg/line.svgnew file mode 100644index 0000000..843b6a7--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/line.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 19L19 5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/margins.svg b/packages/wildos-office/lo/icons/svg/margins.svgnew file mode 100644index 0000000..a668a60--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/margins.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3h14v18H5zM9 3v18M15 3v18M5 7h14M5 17h14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/merge-cells.svg b/packages/wildos-office/lo/icons/svg/merge-cells.svgnew file mode 100644index 0000000..e8ad325--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/merge-cells.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM9 12h6M12 9l3 3-3 3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/minus.svg b/packages/wildos-office/lo/icons/svg/minus.svgnew file mode 100644index 0000000..05d1d5a--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/minus.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 12h14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/navigator.svg b/packages/wildos-office/lo/icons/svg/navigator.svgnew file mode 100644index 0000000..0626798--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/navigator.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 3l9 18-9-5-9 5z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/numbering.svg b/packages/wildos-office/lo/icons/svg/numbering.svgnew file mode 100644index 0000000..2fa2453--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/numbering.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 6h10M10 12h10M10 18h10M4 5h1v4M4 9h2M4 15h2l-2 3h2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/orientation.svg b/packages/wildos-office/lo/icons/svg/orientation.svgnew file mode 100644index 0000000..6bd99ca--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/orientation.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3h8v12H5zM9 19h10v-8h-3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/outdent.svg b/packages/wildos-office/lo/icons/svg/outdent.svgnew file mode 100644index 0000000..dd26e82--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/outdent.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 6h10M10 12h10M10 18h10M7 9l-3 3 3 3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/overline.svg b/packages/wildos-office/lo/icons/svg/overline.svgnew file mode 100644index 0000000..20b5f40--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/overline.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 4h14M7 20l5-12 5 12M9 15.5h6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/page-break.svg b/packages/wildos-office/lo/icons/svg/page-break.svgnew file mode 100644index 0000000..336c172--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/page-break.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3v6h14V3M5 21v-6h14v6M3 12h2M8 12h2M14 12h2M19 12h2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/page-single.svg b/packages/wildos-office/lo/icons/svg/page-single.svgnew file mode 100644index 0000000..92c1956--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/page-single.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 4h8v16H8z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/page-size.svg b/packages/wildos-office/lo/icons/svg/page-size.svgnew file mode 100644index 0000000..1bd691e--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/page-size.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 3h10v18H5zM19 3v18M17.5 4.5L19 3l1.5 1.5M17.5 19.5L19 21l1.5-1.5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/page-two.svg b/packages/wildos-office/lo/icons/svg/page-two.svgnew file mode 100644index 0000000..dd4e79d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/page-two.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 4h8v16H3zM13 4h8v16h-8z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/para-space-less.svg b/packages/wildos-office/lo/icons/svg/para-space-less.svgnew file mode 100644index 0000000..917cbb3--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/para-space-less.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16M4 20h16M12 7v4M9.5 8.5L12 11l2.5-2.5M12 17v-4M9.5 15.5L12 13l2.5 2.5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/para-space-more.svg b/packages/wildos-office/lo/icons/svg/para-space-more.svgnew file mode 100644index 0000000..edf7daf--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/para-space-more.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16M4 20h16M12 8v8M9.5 10.5L12 8l2.5 2.5M9.5 13.5L12 16l2.5-2.5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/paste-formula.svg b/packages/wildos-office/lo/icons/svg/paste-formula.svgnew file mode 100644index 0000000..a004130--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/paste-formula.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 4h6v3H9zM7 5H5v16h14V5h-2M15 11H9l3 3-3 3h6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/paste-special.svg b/packages/wildos-office/lo/icons/svg/paste-special.svgnew file mode 100644index 0000000..74ec3eb--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/paste-special.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 4h6v3H9zM7 5H5v16h14V5h-2M12 11v6M9 14h6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/paste-text.svg b/packages/wildos-office/lo/icons/svg/paste-text.svgnew file mode 100644index 0000000..ee36fd0--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/paste-text.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 4h6v3H9zM7 5H5v16h14V5h-2M9 11h6M12 11v6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/paste-transposed.svg b/packages/wildos-office/lo/icons/svg/paste-transposed.svgnew file mode 100644index 0000000..0ef8713--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/paste-transposed.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 4h6v3H9zM7 5H5v16h14V5h-2M9 11v6h6M13 15l2 2-2 2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/paste-values.svg b/packages/wildos-office/lo/icons/svg/paste-values.svgnew file mode 100644index 0000000..ec2194b--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/paste-values.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 4h6v3H9zM7 5H5v16h14V5h-2M10.5 11l-1 6M14.5 11l-1 6M8.5 13h7M8 15.5h7"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/paste.svg b/packages/wildos-office/lo/icons/svg/paste.svgnew file mode 100644index 0000000..e7d3613--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/paste.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 4h6v3H9zM7 5H5v16h14V5h-2M9 12h6M9 16h4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/percent.svg b/packages/wildos-office/lo/icons/svg/percent.svgnew file mode 100644index 0000000..dc125a8--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/percent.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M19 5L5 19M7 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM17 19a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/picture.svg b/packages/wildos-office/lo/icons/svg/picture.svgnew file mode 100644index 0000000..8bf665c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/picture.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/plus.svg b/packages/wildos-office/lo/icons/svg/plus.svgnew file mode 100644index 0000000..962946d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/plus.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 5v14M5 12h14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/replace.svg b/packages/wildos-office/lo/icons/svg/replace.svgnew file mode 100644index 0000000..6569c43--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/replace.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 7h12l-3-3M20 17H8l3 3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/row-height.svg b/packages/wildos-office/lo/icons/svg/row-height.svgnew file mode 100644index 0000000..6df451c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/row-height.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 19h16M12 8v8M10 10l2-2 2 2M10 14l2 2 2-2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/select-add.svg b/packages/wildos-office/lo/icons/svg/select-add.svgnew file mode 100644index 0000000..d68d304--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/select-add.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 5h4M6 19h4M8 5v14M17 8v8M13 12h8"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/select-block.svg b/packages/wildos-office/lo/icons/svg/select-block.svgnew file mode 100644index 0000000..638d7f0--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/select-block.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6V4h2M10 4h4M18 4h2v2M20 10v4M20 18v2h-2M14 20h-4M6 20H4v-2M4 14v-4M12 8v8M10.5 8h3M10.5 16h3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/select-extend.svg b/packages/wildos-office/lo/icons/svg/select-extend.svgnew file mode 100644index 0000000..1bcf42c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/select-extend.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 5h4M6 19h4M8 5v14M13 12h7M17 9l3 3-3 3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/select-standard.svg b/packages/wildos-office/lo/icons/svg/select-standard.svgnew file mode 100644index 0000000..e7c6fc2--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/select-standard.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M10 5h4M10 19h4M12 5v14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shadow.svg b/packages/wildos-office/lo/icons/svg/shadow.svgnew file mode 100644index 0000000..f0e2a8c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shadow.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 20h12V8" stroke-opacity="0.5"/>+ <path d="M4 4h12v12H4z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-block-arc.svg b/packages/wildos-office/lo/icons/svg/shape-block-arc.svgnew file mode 100644index 0000000..c7f0e3d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-block-arc.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 17a9 9 0 0 1 18 0h-4.5a4.5 4.5 0 0 0-9 0z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-cross.svg b/packages/wildos-office/lo/icons/svg/shape-cross.svgnew file mode 100644index 0000000..040a860--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-cross.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M9 3h6v6h6v6h-6v6H9v-6H3V9h6z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-ellipse.svg b/packages/wildos-office/lo/icons/svg/shape-ellipse.svgnew file mode 100644index 0000000..acfc1a2--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-ellipse.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <ellipse cx="12" cy="12" rx="10" ry="7"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-frame.svg b/packages/wildos-office/lo/icons/svg/shape-frame.svgnew file mode 100644index 0000000..751fca1--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-frame.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 4h18v16H3zM7 8h10v8H7z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-paper.svg b/packages/wildos-office/lo/icons/svg/shape-paper.svgnew file mode 100644index 0000000..29a5ee0--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-paper.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16v11l-5 5H4zM20 15h-5v5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-parallelogram.svg b/packages/wildos-office/lo/icons/svg/shape-parallelogram.svgnew file mode 100644index 0000000..f745d27--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-parallelogram.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 6h13l-5 12H3z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-pie.svg b/packages/wildos-office/lo/icons/svg/shape-pie.svgnew file mode 100644index 0000000..dbe97ab--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-pie.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M12 12V3a9 9 0 1 1-9 9z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-rectangle.svg b/packages/wildos-office/lo/icons/svg/shape-rectangle.svgnew file mode 100644index 0000000..8aa9184--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-rectangle.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 6h18v12H3z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-right-triangle.svg b/packages/wildos-office/lo/icons/svg/shape-right-triangle.svgnew file mode 100644index 0000000..fd07545--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-right-triangle.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 4v16h14z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-ring.svg b/packages/wildos-office/lo/icons/svg/shape-ring.svgnew file mode 100644index 0000000..2fb1524--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-ring.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="9"/>+ <circle cx="12" cy="12" r="4.5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-round-rectangle.svg b/packages/wildos-office/lo/icons/svg/shape-round-rectangle.svgnew file mode 100644index 0000000..c4a6af2--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-round-rectangle.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M6 6h12a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-square.svg b/packages/wildos-office/lo/icons/svg/shape-square.svgnew file mode 100644index 0000000..7a7f685--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-square.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16v16H4z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/shape-trapezoid.svg b/packages/wildos-office/lo/icons/svg/shape-trapezoid.svgnew file mode 100644index 0000000..c54ee54--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/shape-trapezoid.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M7 6h10l4 12H3z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/sidebar-properties.svg b/packages/wildos-office/lo/icons/svg/sidebar-properties.svgnew file mode 100644index 0000000..85e44ef--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/sidebar-properties.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0M14 4v4M8 10v4M16 16v4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/slider-thumb.svg b/packages/wildos-office/lo/icons/svg/slider-thumb.svgnew file mode 100644index 0000000..2692db5--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/slider-thumb.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <circle cx="12" cy="12" r="7" fill="currentColor" stroke="none"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/sort.svg b/packages/wildos-office/lo/icons/svg/sort.svgnew file mode 100644index 0000000..414bc41--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/sort.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M7 4v16M3 16l4 4 4-4M14 6h7M14 12h5M14 18h3"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/split-cell.svg b/packages/wildos-office/lo/icons/svg/split-cell.svgnew file mode 100644index 0000000..ba7fca3--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/split-cell.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM12 5v14M9 12H5M7 10l-2 2 2 2M15 12h4M17 10l2 2-2 2"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/strikethrough.svg b/packages/wildos-office/lo/icons/svg/strikethrough.svgnew file mode 100644index 0000000..4157fa1--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/strikethrough.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 12h14M16 7a4 3 0 0 0-8 0c0 3 8 2 8 6a4 3 0 0 1-8 0"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/styles.svg b/packages/wildos-office/lo/icons/svg/styles.svgnew file mode 100644index 0000000..f2cad93--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/styles.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M5 19L12 5l7 14M8 13h8"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/table.svg b/packages/wildos-office/lo/icons/svg/table.svgnew file mode 100644index 0000000..1db63f9--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/table.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM3 10h18M3 15h18M9 5v14M15 5v14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/text-box.svg b/packages/wildos-office/lo/icons/svg/text-box.svgnew file mode 100644index 0000000..f39ea13--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/text-box.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM8 9h8M12 9v7"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/text-from-bottom.svg b/packages/wildos-office/lo/icons/svg/text-from-bottom.svgnew file mode 100644index 0000000..5cd6916--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/text-from-bottom.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 20h16M8 16l4-10 4 10M9.5 12.5h5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/text-from-top.svg b/packages/wildos-office/lo/icons/svg/text-from-top.svgnew file mode 100644index 0000000..559a163--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/text-from-top.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16M8 18l4-10 4 10M9.5 14.5h5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/text-in-cell.svg b/packages/wildos-office/lo/icons/svg/text-in-cell.svgnew file mode 100644index 0000000..1404cc8--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/text-in-cell.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M3 5h18v14H3zM9 16l3-8 3 8M10 13.5h4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/text-shadow.svg b/packages/wildos-office/lo/icons/svg/text-shadow.svgnew file mode 100644index 0000000..807d515--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/text-shadow.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M8 19l5-12 5 12M10 15h6" stroke-opacity="0.45"/>+ <path d="M6 17l5-12 5 12M8 13h6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/underline-double.svg b/packages/wildos-office/lo/icons/svg/underline-double.svgnew file mode 100644index 0000000..87c9d73--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/underline-double.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M7 3v6a5 5 0 0 0 10 0V3M5 18h14M5 21h14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/underline.svg b/packages/wildos-office/lo/icons/svg/underline.svgnew file mode 100644index 0000000..3653b21--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/underline.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M7 4v7a5 5 0 0 0 10 0V4M5 20h14"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/valign-bottom.svg b/packages/wildos-office/lo/icons/svg/valign-bottom.svgnew file mode 100644index 0000000..7e62d57--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/valign-bottom.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 20h16M12 4v12M8 12l4 4 4-4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/valign-middle.svg b/packages/wildos-office/lo/icons/svg/valign-middle.svgnew file mode 100644index 0000000..444d79c--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/valign-middle.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 12h16M12 3v5M9.5 5.5L12 8l2.5-2.5M12 21v-5M9.5 18.5L12 16l2.5 2.5"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/valign-top.svg b/packages/wildos-office/lo/icons/svg/valign-top.svgnew file mode 100644index 0000000..dd07d6a--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/valign-top.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 4h16M12 20V8M8 12l4-4 4 4"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-contour.svg b/packages/wildos-office/lo/icons/svg/wrap-contour.svgnew file mode 100644index 0000000..fcaf898--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-contour.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 19h16M4 12h3M17 12h3M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-left.svg b/packages/wildos-office/lo/icons/svg/wrap-left.svgnew file mode 100644index 0000000..8a828dd--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-left.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 19h16M4 10h6M4 14h6M14 9h6v6h-6z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-off.svg b/packages/wildos-office/lo/icons/svg/wrap-off.svgnew file mode 100644index 0000000..a1a0dde--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-off.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 19h16M9 9h6v6H9z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-on.svg b/packages/wildos-office/lo/icons/svg/wrap-on.svgnew file mode 100644index 0000000..ce02a7d--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-on.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 19h16M4 10h2M4 14h2M18 10h2M18 14h2M9 9h6v6H9z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-right.svg b/packages/wildos-office/lo/icons/svg/wrap-right.svgnew file mode 100644index 0000000..b0789c0--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-right.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 19h16M14 10h6M14 14h6M4 9h6v6H4z"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-text.svg b/packages/wildos-office/lo/icons/svg/wrap-text.svgnew file mode 100644index 0000000..a7e319e--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-text.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 6h16M4 12h13a3 3 0 0 1 0 6h-4M15 16l-2 2 2 2M4 18h6"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/wrap-through.svg b/packages/wildos-office/lo/icons/svg/wrap-through.svgnew file mode 100644index 0000000..2d30932--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/wrap-through.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M4 5h16M4 10h16M4 14h16M4 19h16"/>+ <path d="M9 8h6v8H9z" stroke-opacity="0.55"/>+</svg>diff --git a/packages/wildos-office/lo/icons/svg/zoom-100.svg b/packages/wildos-office/lo/icons/svg/zoom-100.svgnew file mode 100644index 0000000..86f9c0a--- /dev/null+++ b/packages/wildos-office/lo/icons/svg/zoom-100.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <path d="M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM20 20l-4-4M9.5 9l1.5-1v6"/>+</svg>diff --git a/packages/wildos-office/lo/registry/wildos-labels.xcd b/packages/wildos-office/lo/registry/wildos-labels.xcdnew file mode 100644index 0000000..274b494--- /dev/null+++ b/packages/wildos-office/lo/registry/wildos-labels.xcd@@ -0,0 +1,667 @@+<?xml version="1.0" encoding="UTF-8"?>+<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oor="http://openoffice.org/2001/registry">+ <dependency file="main"/><dependency file="writer"/><dependency file="calc"/>+ <oor:component-data oor:package="org.openoffice.Office.UI" oor:name="GenericCommands">+ <node oor:name="UserInterface">+ <node oor:name="Commands">+ <node oor:name=".uno:AutoFormat">+ <prop oor:name="Label"><value xml:lang="en-US">Table styles</value><value xml:lang="en-GB">Table styles</value></prop>+ </node>+ <node oor:name=".uno:AutoSum">+ <prop oor:name="Label"><value xml:lang="en-US">AutoSum</value><value xml:lang="en-GB">AutoSum</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sum</value></prop>+ </node>+ <node oor:name=".uno:BackgroundColor">+ <prop oor:name="Label"><value xml:lang="en-US">Fill colour</value><value xml:lang="en-GB">Fill colour</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Background Color</value></prop>+ </node>+ <node oor:name=".uno:BasicShapes">+ <prop oor:name="Label"><value xml:lang="en-US">Shapes</value><value xml:lang="en-GB">Shapes</value></prop>+ </node>+ <node oor:name=".uno:BringToFront">+ <prop oor:name="Label"><value xml:lang="en-US">Bring to front</value><value xml:lang="en-GB">Bring to front</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Bring to Front</value></prop>+ </node>+ <node oor:name=".uno:BrowseView">+ <prop oor:name="Label"><value xml:lang="en-US">Web layout</value><value xml:lang="en-GB">Web layout</value></prop>+ </node>+ <node oor:name=".uno:CenterPara">+ <prop oor:name="Label"><value xml:lang="en-US">Centre</value><value xml:lang="en-GB">Centre</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Center</value></prop>+ </node>+ <node oor:name=".uno:CharBackColor">+ <prop oor:name="Label"><value xml:lang="en-US">Highlight colour</value><value xml:lang="en-GB">Highlight colour</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Character Highlighting Color</value></prop>+ </node>+ <node oor:name=".uno:Color">+ <prop oor:name="Label"><value xml:lang="en-US">Font colour</value><value xml:lang="en-GB">Font colour</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Font Color</value></prop>+ </node>+ <node oor:name=".uno:CommandPopup">+ <prop oor:name="Label"><value xml:lang="en-US">Find a command</value><value xml:lang="en-GB">Find a command</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Search Commands</value></prop>+ </node>+ <node oor:name=".uno:DecrementIndent">+ <prop oor:name="Label"><value xml:lang="en-US">Decrease indent</value><value xml:lang="en-GB">Decrease indent</value></prop>+ </node>+ <node oor:name=".uno:DefaultBullet">+ <prop oor:name="Label"><value xml:lang="en-US">Bullets</value><value xml:lang="en-GB">Bullets</value></prop>+ </node>+ <node oor:name=".uno:DefaultNumbering">+ <prop oor:name="Label"><value xml:lang="en-US">Numbering</value><value xml:lang="en-GB">Numbering</value></prop>+ </node>+ <node oor:name=".uno:Delete">+ <prop oor:name="Label"><value xml:lang="en-US">Clear</value><value xml:lang="en-GB">Clear</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Delete C~ontents...</value></prop>+ </node>+ <node oor:name=".uno:DeleteAllNotes">+ <prop oor:name="Label"><value xml:lang="en-US">Delete all comments</value><value xml:lang="en-GB">Delete all comments</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Delete All Comments</value></prop>+ </node>+ <node oor:name=".uno:DrawText">+ <prop oor:name="Label"><value xml:lang="en-US">Text box</value><value xml:lang="en-GB">Text box</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Text Box</value></prop>+ </node>+ <node oor:name=".uno:FullScreen">+ <prop oor:name="Label"><value xml:lang="en-US">Full screen</value><value xml:lang="en-GB">Full screen</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">F~ull Screen</value></prop>+ </node>+ <node oor:name=".uno:Group">+ <prop oor:name="Label"><value xml:lang="en-US">Group</value><value xml:lang="en-GB">Group</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Group...</value></prop>+ </node>+ <node oor:name=".uno:HideDetail">+ <prop oor:name="Label"><value xml:lang="en-US">Hide detail</value><value xml:lang="en-GB">Hide detail</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Hide Details</value></prop>+ </node>+ <node oor:name=".uno:HyperlinkDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Link</value><value xml:lang="en-GB">Link</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Hyperlink...</value></prop>+ </node>+ <node oor:name=".uno:IncrementIndent">+ <prop oor:name="Label"><value xml:lang="en-US">Increase indent</value><value xml:lang="en-GB">Increase indent</value></prop>+ </node>+ <node oor:name=".uno:InsertGraphic">+ <prop oor:name="Label"><value xml:lang="en-US">Picture</value><value xml:lang="en-GB">Picture</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Image...</value></prop>+ </node>+ <node oor:name=".uno:InsertObjectChart">+ <prop oor:name="Label"><value xml:lang="en-US">Chart</value><value xml:lang="en-GB">Chart</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Chart...</value></prop>+ </node>+ <node oor:name=".uno:JustifyPara">+ <prop oor:name="Label"><value xml:lang="en-US">Justify</value><value xml:lang="en-GB">Justify</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Justified</value></prop>+ </node>+ <node oor:name=".uno:LeftPara">+ <prop oor:name="Label"><value xml:lang="en-US">Align left</value><value xml:lang="en-GB">Align left</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Left</value></prop>+ </node>+ <node oor:name=".uno:LineSpacing">+ <prop oor:name="Label"><value xml:lang="en-US">Line spacing</value><value xml:lang="en-GB">Line spacing</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Line Spacing</value></prop>+ </node>+ <node oor:name=".uno:ProtectTraceChangeMode">+ <prop oor:name="Label"><value xml:lang="en-US">Protect changes</value><value xml:lang="en-GB">Protect changes</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Protect...</value></prop>+ </node>+ <node oor:name=".uno:RightPara">+ <prop oor:name="Label"><value xml:lang="en-US">Align right</value><value xml:lang="en-GB">Align right</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Right</value></prop>+ </node>+ <node oor:name=".uno:SearchDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Replace</value><value xml:lang="en-GB">Replace</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Find and Rep~lace...</value></prop>+ </node>+ <node oor:name=".uno:SendToBack">+ <prop oor:name="Label"><value xml:lang="en-US">Send to back</value><value xml:lang="en-GB">Send to back</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Send to Back</value></prop>+ </node>+ <node oor:name=".uno:ShowAnnotations">+ <prop oor:name="Label"><value xml:lang="en-US">Show comments</value><value xml:lang="en-GB">Show comments</value></prop>+ </node>+ <node oor:name=".uno:ShowDetail">+ <prop oor:name="Label"><value xml:lang="en-US">Show detail</value><value xml:lang="en-GB">Show detail</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Show Details</value></prop>+ </node>+ <node oor:name=".uno:SpellDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Spelling</value><value xml:lang="en-GB">Spelling</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Spelling...</value></prop>+ </node>+ <node oor:name=".uno:SpellOnline">+ <prop oor:name="Label"><value xml:lang="en-US">Check as you type</value><value xml:lang="en-GB">Check as you type</value></prop>+ </node>+ <node oor:name=".uno:Text">+ <prop oor:name="Label"><value xml:lang="en-US">Text box</value><value xml:lang="en-GB">Text box</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Text Box</value></prop>+ </node>+ <node oor:name=".uno:ThesaurusDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Thesaurus</value><value xml:lang="en-GB">Thesaurus</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Thesaurus...</value></prop>+ </node>+ <node oor:name=".uno:Ungroup">+ <prop oor:name="Label"><value xml:lang="en-US">Ungroup</value><value xml:lang="en-GB">Ungroup</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Ungroup...</value></prop>+ </node>+ <node oor:name=".uno:Zoom">+ <prop oor:name="Label"><value xml:lang="en-US">Zoom</value><value xml:lang="en-GB">Zoom</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Zoom...</value></prop>+ </node>+ <node oor:name=".uno:ZoomMinus">+ <prop oor:name="Label"><value xml:lang="en-US">Zoom out</value><value xml:lang="en-GB">Zoom out</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Zoom Out</value></prop>+ </node>+ <node oor:name=".uno:ZoomPage">+ <prop oor:name="Label"><value xml:lang="en-US">One page</value><value xml:lang="en-GB">One page</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Entire Page</value></prop>+ </node>+ <node oor:name=".uno:ZoomPageWidth">+ <prop oor:name="Label"><value xml:lang="en-US">Page width</value><value xml:lang="en-GB">Page width</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Page Width</value></prop>+ </node>+ <node oor:name=".uno:ZoomPlus">+ <prop oor:name="Label"><value xml:lang="en-US">Zoom in</value><value xml:lang="en-GB">Zoom in</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Zoom In</value></prop>+ </node>+ <node oor:name="vnd.sun.star.findbar:FocusToFindbar">+ <prop oor:name="Label"><value xml:lang="en-US">Find</value><value xml:lang="en-GB">Find</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Find...</value></prop>+ </node>+ </node>+ <node oor:name="Popups">+ <node oor:name=".uno:DeleteColumns">+ <prop oor:name="Label"><value xml:lang="en-US">Delete columns</value><value xml:lang="en-GB">Delete columns</value></prop>+ </node>+ <node oor:name=".uno:ObjectAlign">+ <prop oor:name="Label"><value xml:lang="en-US">Align</value><value xml:lang="en-GB">Align</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Alig~n Objects</value></prop>+ </node>+ </node>+ </node>+ </oor:component-data>+ <oor:component-data oor:package="org.openoffice.Office.UI" oor:name="WriterCommands">+ <node oor:name="UserInterface">+ <node oor:name="Commands">+ <node oor:name=".uno:AcceptTrackedChanges">+ <prop oor:name="Label"><value xml:lang="en-US">Manage changes</value><value xml:lang="en-GB">Manage changes</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Manage...</value></prop>+ </node>+ <node oor:name=".uno:AlignHorizontalCenter">+ <prop oor:name="Label"><value xml:lang="en-US">Centre</value><value xml:lang="en-GB">Centre</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Center Horizontal</value></prop>+ </node>+ <node oor:name=".uno:AlignLeft">+ <prop oor:name="Label"><value xml:lang="en-US">Align left</value><value xml:lang="en-GB">Align left</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Align Left</value></prop>+ </node>+ <node oor:name=".uno:AlignRight">+ <prop oor:name="Label"><value xml:lang="en-US">Align right</value><value xml:lang="en-GB">Align right</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Align Right</value></prop>+ </node>+ <node oor:name=".uno:ControlCodes">+ <prop oor:name="Label"><value xml:lang="en-US">Formatting marks</value><value xml:lang="en-GB">Formatting marks</value></prop>+ </node>+ <node oor:name=".uno:DeleteColumns">+ <prop oor:name="Label"><value xml:lang="en-US">Delete columns</value><value xml:lang="en-GB">Delete columns</value></prop>+ </node>+ <node oor:name=".uno:DeleteRows">+ <prop oor:name="Label"><value xml:lang="en-US">Delete rows</value><value xml:lang="en-GB">Delete rows</value></prop>+ </node>+ <node oor:name=".uno:FootnoteDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Note settings</value><value xml:lang="en-GB">Note settings</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Footnote/Endnote Settings...</value></prop>+ </node>+ <node oor:name=".uno:FormatColumns">+ <prop oor:name="Label"><value xml:lang="en-US">Column settings</value><value xml:lang="en-GB">Column settings</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Co~lumns...</value></prop>+ </node>+ <node oor:name=".uno:Hyphenate">+ <prop oor:name="Label"><value xml:lang="en-US">Hyphenation</value><value xml:lang="en-GB">Hyphenation</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Hyphenation...</value></prop>+ </node>+ <node oor:name=".uno:InsertAuthoritiesEntry">+ <prop oor:name="Label"><value xml:lang="en-US">Citation</value><value xml:lang="en-GB">Citation</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Bibliography Entry...</value></prop>+ </node>+ <node oor:name=".uno:InsertBookmark">+ <prop oor:name="Label"><value xml:lang="en-US">Bookmark</value><value xml:lang="en-GB">Bookmark</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Bookmar~k...</value></prop>+ </node>+ <node oor:name=".uno:InsertBreak">+ <prop oor:name="Label"><value xml:lang="en-US">More breaks</value><value xml:lang="en-GB">More breaks</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Manual ~Break...</value></prop>+ </node>+ <node oor:name=".uno:InsertCaptionDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Caption</value><value xml:lang="en-GB">Caption</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Caption...</value></prop>+ </node>+ <node oor:name=".uno:InsertColumnBreak">+ <prop oor:name="Label"><value xml:lang="en-US">Column break</value><value xml:lang="en-GB">Column break</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Insert Column Break</value></prop>+ </node>+ <node oor:name=".uno:InsertColumnsAfter">+ <prop oor:name="Label"><value xml:lang="en-US">Columns after</value><value xml:lang="en-GB">Columns after</value></prop>+ </node>+ <node oor:name=".uno:InsertColumnsBefore">+ <prop oor:name="Label"><value xml:lang="en-US">Columns before</value><value xml:lang="en-GB">Columns before</value></prop>+ </node>+ <node oor:name=".uno:InsertIndexesEntry">+ <prop oor:name="Label"><value xml:lang="en-US">Index entry</value><value xml:lang="en-GB">Index entry</value></prop>+ </node>+ <node oor:name=".uno:InsertMultiIndex">+ <prop oor:name="Label"><value xml:lang="en-US">Table of contents</value><value xml:lang="en-GB">Table of contents</value></prop>+ </node>+ <node oor:name=".uno:InsertObjectStarMath">+ <prop oor:name="Label"><value xml:lang="en-US">Equation</value><value xml:lang="en-GB">Equation</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Formula Object...</value></prop>+ </node>+ <node oor:name=".uno:InsertPagebreak">+ <prop oor:name="Label"><value xml:lang="en-US">Page break</value><value xml:lang="en-GB">Page break</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Page Break</value></prop>+ </node>+ <node oor:name=".uno:InsertReferenceField">+ <prop oor:name="Label"><value xml:lang="en-US">Cross-reference</value><value xml:lang="en-GB">Cross-reference</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Cross-~reference...</value></prop>+ </node>+ <node oor:name=".uno:InsertRowsAfter">+ <prop oor:name="Label"><value xml:lang="en-US">Rows below</value><value xml:lang="en-GB">Rows below</value></prop>+ </node>+ <node oor:name=".uno:InsertRowsBefore">+ <prop oor:name="Label"><value xml:lang="en-US">Rows above</value><value xml:lang="en-GB">Rows above</value></prop>+ </node>+ <node oor:name=".uno:InsertSection">+ <prop oor:name="Label"><value xml:lang="en-US">Section</value><value xml:lang="en-GB">Section</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Se~ction...</value></prop>+ </node>+ <node oor:name=".uno:LineNumberingDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Line numbers</value><value xml:lang="en-GB">Line numbers</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Line Numbering...</value></prop>+ </node>+ <node oor:name=".uno:NumberFormatCurrency">+ <prop oor:name="Label"><value xml:lang="en-US">Currency</value><value xml:lang="en-GB">Currency</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Number Format: Currency</value></prop>+ </node>+ <node oor:name=".uno:NumberFormatPercent">+ <prop oor:name="Label"><value xml:lang="en-US">Percent</value><value xml:lang="en-GB">Percent</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Number Format: Percent</value></prop>+ </node>+ <node oor:name=".uno:PageColumnType">+ <prop oor:name="Label"><value xml:lang="en-US">Columns</value><value xml:lang="en-GB">Columns</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Page Columns</value></prop>+ </node>+ <node oor:name=".uno:PageDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Page setup</value><value xml:lang="en-GB">Page setup</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Page Style...</value></prop>+ </node>+ <node oor:name=".uno:PageNumberWizard">+ <prop oor:name="Label"><value xml:lang="en-US">Page number</value><value xml:lang="en-GB">Page number</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Page Number...</value></prop>+ </node>+ <node oor:name=".uno:PrintLayout">+ <prop oor:name="Label"><value xml:lang="en-US">Print layout</value><value xml:lang="en-GB">Print layout</value></prop>+ </node>+ <node oor:name=".uno:Protect">+ <prop oor:name="Label"><value xml:lang="en-US">Protect sheet</value><value xml:lang="en-GB">Protect sheet</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Protect Cells</value></prop>+ </node>+ <node oor:name=".uno:Ruler">+ <prop oor:name="Label"><value xml:lang="en-US">Ruler</value><value xml:lang="en-GB">Ruler</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Rulers</value></prop>+ </node>+ <node oor:name=".uno:SetOptimalColumnWidth">+ <prop oor:name="Label"><value xml:lang="en-US">Fit columns</value><value xml:lang="en-GB">Fit columns</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Optimal Column Width</value></prop>+ </node>+ <node oor:name=".uno:SetOptimalRowHeight">+ <prop oor:name="Label"><value xml:lang="en-US">Fit rows</value><value xml:lang="en-GB">Fit rows</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Optimal Row Height</value></prop>+ </node>+ <node oor:name=".uno:ShowTrackedChanges">+ <prop oor:name="Label"><value xml:lang="en-US">Show changes</value><value xml:lang="en-GB">Show changes</value></prop>+ </node>+ <node oor:name=".uno:ShowWhitespace">+ <prop oor:name="Label"><value xml:lang="en-US">Page gaps</value><value xml:lang="en-GB">Page gaps</value></prop>+ </node>+ <node oor:name=".uno:ThesaurusDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Thesaurus</value><value xml:lang="en-GB">Thesaurus</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Thesaurus...</value></prop>+ </node>+ <node oor:name=".uno:TitlePageDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Title page</value><value xml:lang="en-GB">Title page</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Title Page...</value></prop>+ </node>+ <node oor:name=".uno:TrackChanges">+ <prop oor:name="Label"><value xml:lang="en-US">Track changes</value><value xml:lang="en-GB">Track changes</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Record</value></prop>+ </node>+ <node oor:name=".uno:UpdateAll">+ <prop oor:name="Label"><value xml:lang="en-US">Update all</value><value xml:lang="en-GB">Update all</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Update All</value></prop>+ </node>+ <node oor:name=".uno:UpdateAllIndexes">+ <prop oor:name="Label"><value xml:lang="en-US">Update all tables</value><value xml:lang="en-GB">Update all tables</value></prop>+ </node>+ <node oor:name=".uno:UpdateCurIndex">+ <prop oor:name="Label"><value xml:lang="en-US">Update table</value><value xml:lang="en-GB">Update table</value></prop>+ </node>+ </node>+ <node oor:name="Popups">+ <node oor:name=".uno:AttributePageSize">+ <prop oor:name="Label"><value xml:lang="en-US">Size</value><value xml:lang="en-GB">Size</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Page Size</value></prop>+ </node>+ <node oor:name=".uno:PageMargin">+ <prop oor:name="Label"><value xml:lang="en-US">Margins</value><value xml:lang="en-GB">Margins</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Page Margins</value></prop>+ </node>+ <node oor:name=".uno:QuoteParaStyle">+ <prop oor:name="Label"><value xml:lang="en-US">Quote</value><value xml:lang="en-GB">Quote</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Block Quotation</value></prop>+ </node>+ <node oor:name=".uno:StyleApply?Style:string=Quotations&FamilyName:string=ParagraphStyles">+ <prop oor:name="Label"><value xml:lang="en-US">Quote</value><value xml:lang="en-GB">Quote</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Block Quotation</value></prop>+ </node>+ <node oor:name=".uno:StyleApply?Style:string=Text body&FamilyName:string=ParagraphStyles">+ <prop oor:name="Label"><value xml:lang="en-US">Body text</value><value xml:lang="en-GB">Body text</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Body Text</value></prop>+ </node>+ <node oor:name=".uno:TextBodyParaStyle">+ <prop oor:name="Label"><value xml:lang="en-US">Body text</value><value xml:lang="en-GB">Body text</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Body Text</value></prop>+ </node>+ <node oor:name=".uno:WordCountDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Word count</value><value xml:lang="en-GB">Word count</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Word Count...</value></prop>+ </node>+ <node oor:name=".uno:WrapMenu">+ <prop oor:name="Label"><value xml:lang="en-US">Wrap text</value><value xml:lang="en-GB">Wrap text</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Wrap</value></prop>+ </node>+ </node>+ </node>+ </oor:component-data>+ <oor:component-data oor:package="org.openoffice.Office.UI" oor:name="CalcCommands">+ <node oor:name="UserInterface">+ <node oor:name="Commands">+ <node oor:name=".uno:AcceptChanges">+ <prop oor:name="Label"><value xml:lang="en-US">Manage changes</value><value xml:lang="en-GB">Manage changes</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Manage...</value></prop>+ </node>+ <node oor:name=".uno:AlignHorizontalCenter">+ <prop oor:name="Label"><value xml:lang="en-US">Centre</value><value xml:lang="en-GB">Centre</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Align Center</value></prop>+ </node>+ <node oor:name=".uno:AlignLeft">+ <prop oor:name="Label"><value xml:lang="en-US">Align left</value><value xml:lang="en-GB">Align left</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Align Left</value></prop>+ </node>+ <node oor:name=".uno:AlignRight">+ <prop oor:name="Label"><value xml:lang="en-US">Align right</value><value xml:lang="en-GB">Align right</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Align Right</value></prop>+ </node>+ <node oor:name=".uno:ColumnWidth">+ <prop oor:name="Label"><value xml:lang="en-US">Column width</value><value xml:lang="en-GB">Column width</value></prop>+ </node>+ <node oor:name=".uno:DataAreaRefresh">+ <prop oor:name="Label"><value xml:lang="en-US">Refresh range</value><value xml:lang="en-GB">Refresh range</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">R~efresh Range</value></prop>+ </node>+ <node oor:name=".uno:DataConsolidate">+ <prop oor:name="Label"><value xml:lang="en-US">Consolidate</value><value xml:lang="en-GB">Consolidate</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Consolidate...</value></prop>+ </node>+ <node oor:name=".uno:DataDataPilotRun">+ <prop oor:name="Label"><value xml:lang="en-US">Pivot table</value><value xml:lang="en-GB">Pivot table</value></prop>+ </node>+ <node oor:name=".uno:DataFilterAutoFilter">+ <prop oor:name="Label"><value xml:lang="en-US">Filter</value><value xml:lang="en-GB">Filter</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Auto~Filter</value></prop>+ </node>+ <node oor:name=".uno:DataFilterRemoveFilter">+ <prop oor:name="Label"><value xml:lang="en-US">Clear filter</value><value xml:lang="en-GB">Clear filter</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Reset Filter</value></prop>+ </node>+ <node oor:name=".uno:DataFilterStandardFilter">+ <prop oor:name="Label"><value xml:lang="en-US">Advanced filter</value><value xml:lang="en-GB">Advanced filter</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Standard Filter...</value></prop>+ </node>+ <node oor:name=".uno:DataSort">+ <prop oor:name="Label"><value xml:lang="en-US">Sort</value><value xml:lang="en-GB">Sort</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Sort...</value></prop>+ </node>+ <node oor:name=".uno:DataSubTotals">+ <prop oor:name="Label"><value xml:lang="en-US">Subtotals</value><value xml:lang="en-GB">Subtotals</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sub~totals...</value></prop>+ </node>+ <node oor:name=".uno:DefineDBName">+ <prop oor:name="Label"><value xml:lang="en-US">Define range</value><value xml:lang="en-GB">Define range</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Define Range...</value></prop>+ </node>+ <node oor:name=".uno:DefineName">+ <prop oor:name="Label"><value xml:lang="en-US">Manage names</value><value xml:lang="en-GB">Manage names</value></prop>+ </node>+ <node oor:name=".uno:DefinePrintArea">+ <prop oor:name="Label"><value xml:lang="en-US">Set print area</value><value xml:lang="en-GB">Set print area</value></prop>+ </node>+ <node oor:name=".uno:Delete">+ <prop oor:name="Label"><value xml:lang="en-US">Clear</value><value xml:lang="en-GB">Clear</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Cle~ar Cells...</value></prop>+ </node>+ <node oor:name=".uno:DeleteAllNotes">+ <prop oor:name="Label"><value xml:lang="en-US">Delete all comments</value><value xml:lang="en-GB">Delete all comments</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Delete All Comments</value></prop>+ </node>+ <node oor:name=".uno:DeleteCell">+ <prop oor:name="Label"><value xml:lang="en-US">Delete</value><value xml:lang="en-GB">Delete</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Delete C~ells...</value></prop>+ </node>+ <node oor:name=".uno:DeletePrintArea">+ <prop oor:name="Label"><value xml:lang="en-US">Clear print area</value><value xml:lang="en-GB">Clear print area</value></prop>+ </node>+ <node oor:name=".uno:DeleteRows">+ <prop oor:name="Label"><value xml:lang="en-US">Delete rows</value><value xml:lang="en-GB">Delete rows</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Delete Rows</value></prop>+ </node>+ <node oor:name=".uno:EditHeaderAndFooter">+ <prop oor:name="Label"><value xml:lang="en-US">Header and footer</value><value xml:lang="en-GB">Header and footer</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Headers and Footers...</value></prop>+ </node>+ <node oor:name=".uno:EditPrintArea">+ <prop oor:name="Label"><value xml:lang="en-US">Edit print area</value><value xml:lang="en-GB">Edit print area</value></prop>+ </node>+ <node oor:name=".uno:FillDown">+ <prop oor:name="Label"><value xml:lang="en-US">Fill down</value><value xml:lang="en-GB">Fill down</value></prop>+ </node>+ <node oor:name=".uno:FormatCellDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Format</value><value xml:lang="en-GB">Format</value></prop>+ </node>+ <node oor:name=".uno:FreezePanes">+ <prop oor:name="Label"><value xml:lang="en-US">Freeze panes</value><value xml:lang="en-GB">Freeze panes</value></prop>+ </node>+ <node oor:name=".uno:FunctionDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Function</value><value xml:lang="en-GB">Function</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Function...</value></prop>+ </node>+ <node oor:name=".uno:GoalSeekDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Goal seek</value><value xml:lang="en-GB">Goal seek</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Goal Seek...</value></prop>+ </node>+ <node oor:name=".uno:HandleDuplicateRecords">+ <prop oor:name="Label"><value xml:lang="en-US">Duplicates</value><value xml:lang="en-GB">Duplicates</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Duplicates...</value></prop>+ </node>+ <node oor:name=".uno:Hide">+ <prop oor:name="Label"><value xml:lang="en-US">Hide sheet</value><value xml:lang="en-GB">Hide sheet</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Hide Sheet</value></prop>+ </node>+ <node oor:name=".uno:HideAllNotes">+ <prop oor:name="Label"><value xml:lang="en-US">Hide all comments</value><value xml:lang="en-GB">Hide all comments</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Hide All Comments</value></prop>+ </node>+ <node oor:name=".uno:Hyphenate">+ <prop oor:name="Label"><value xml:lang="en-US">Hyphenation</value><value xml:lang="en-GB">Hyphenation</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Hyphenation...</value></prop>+ </node>+ <node oor:name=".uno:InputLineVisible">+ <prop oor:name="Label"><value xml:lang="en-US">Formula bar</value><value xml:lang="en-GB">Formula bar</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Formula Bar</value></prop>+ </node>+ <node oor:name=".uno:Insert">+ <prop oor:name="Label"><value xml:lang="en-US">Insert sheet</value><value xml:lang="en-GB">Insert sheet</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Insert ~Sheet...</value></prop>+ </node>+ <node oor:name=".uno:InsertCell">+ <prop oor:name="Label"><value xml:lang="en-US">Insert</value><value xml:lang="en-GB">Insert</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Insert ~Cells...</value></prop>+ </node>+ <node oor:name=".uno:InsertColumnBreak">+ <prop oor:name="Label"><value xml:lang="en-US">Column break</value><value xml:lang="en-GB">Column break</value></prop>+ </node>+ <node oor:name=".uno:InsertColumnsAfter">+ <prop oor:name="Label"><value xml:lang="en-US">Columns after</value><value xml:lang="en-GB">Columns after</value></prop>+ </node>+ <node oor:name=".uno:InsertColumnsBefore">+ <prop oor:name="Label"><value xml:lang="en-US">Columns before</value><value xml:lang="en-GB">Columns before</value></prop>+ </node>+ <node oor:name=".uno:InsertName">+ <prop oor:name="Label"><value xml:lang="en-US">Use a name</value><value xml:lang="en-GB">Use a name</value></prop>+ </node>+ <node oor:name=".uno:InsertObjectStarMath">+ <prop oor:name="Label"><value xml:lang="en-US">Equation</value><value xml:lang="en-GB">Equation</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Formula Object...</value></prop>+ </node>+ <node oor:name=".uno:InsertRowBreak">+ <prop oor:name="Label"><value xml:lang="en-US">Row break</value><value xml:lang="en-GB">Row break</value></prop>+ </node>+ <node oor:name=".uno:InsertRowsAfter">+ <prop oor:name="Label"><value xml:lang="en-US">Rows below</value><value xml:lang="en-GB">Rows below</value></prop>+ </node>+ <node oor:name=".uno:InsertRowsBefore">+ <prop oor:name="Label"><value xml:lang="en-US">Rows above</value><value xml:lang="en-GB">Rows above</value></prop>+ </node>+ <node oor:name=".uno:InsertSheetFromFile">+ <prop oor:name="Label"><value xml:lang="en-US">Sheet from file</value><value xml:lang="en-GB">Sheet from file</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Insert Shee~t from File...</value></prop>+ </node>+ <node oor:name=".uno:InsertSparkline">+ <prop oor:name="Label"><value xml:lang="en-US">Sparkline</value><value xml:lang="en-GB">Sparkline</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sparkline...</value></prop>+ </node>+ <node oor:name=".uno:Move">+ <prop oor:name="Label"><value xml:lang="en-US">Move or copy</value><value xml:lang="en-GB">Move or copy</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Move or Copy Sheet...</value></prop>+ </node>+ <node oor:name=".uno:NormalViewMode">+ <prop oor:name="Label"><value xml:lang="en-US">Normal</value><value xml:lang="en-GB">Normal</value></prop>+ </node>+ <node oor:name=".uno:NumberFormatDecDecimals">+ <prop oor:name="Label"><value xml:lang="en-US">Fewer decimals</value><value xml:lang="en-GB">Fewer decimals</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Delete Decimal Place</value></prop>+ </node>+ <node oor:name=".uno:NumberFormatIncDecimals">+ <prop oor:name="Label"><value xml:lang="en-US">More decimals</value><value xml:lang="en-GB">More decimals</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Add Decimal Place</value></prop>+ </node>+ <node oor:name=".uno:PageFormatDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Page setup</value><value xml:lang="en-GB">Page setup</value></prop>+ </node>+ <node oor:name=".uno:PagebreakMode">+ <prop oor:name="Label"><value xml:lang="en-US">Page break preview</value><value xml:lang="en-GB">Page break preview</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Page Break</value></prop>+ </node>+ <node oor:name=".uno:Protect">+ <prop oor:name="Label"><value xml:lang="en-US">Protect sheet</value><value xml:lang="en-GB">Protect sheet</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Protect ~Sheet...</value></prop>+ </node>+ <node oor:name=".uno:Remove">+ <prop oor:name="Label"><value xml:lang="en-US">Delete sheet</value><value xml:lang="en-GB">Delete sheet</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Delete Sheet...</value></prop>+ </node>+ <node oor:name=".uno:RenameTable">+ <prop oor:name="Label"><value xml:lang="en-US">Rename</value><value xml:lang="en-GB">Rename</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Rename S~heet...</value></prop>+ </node>+ <node oor:name=".uno:RowHeight">+ <prop oor:name="Label"><value xml:lang="en-US">Row height</value><value xml:lang="en-GB">Row height</value></prop>+ </node>+ <node oor:name=".uno:SetOptimalColumnWidth">+ <prop oor:name="Label"><value xml:lang="en-US">Fit columns</value><value xml:lang="en-GB">Fit columns</value></prop>+ </node>+ <node oor:name=".uno:SetOptimalRowHeight">+ <prop oor:name="Label"><value xml:lang="en-US">Fit rows</value><value xml:lang="en-GB">Fit rows</value></prop>+ </node>+ <node oor:name=".uno:SetTabBgColor">+ <prop oor:name="Label"><value xml:lang="en-US">Tab colour</value><value xml:lang="en-GB">Tab colour</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sheet ~Tab Color...</value></prop>+ </node>+ <node oor:name=".uno:Show">+ <prop oor:name="Label"><value xml:lang="en-US">Unhide sheet</value><value xml:lang="en-GB">Unhide sheet</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Show Sheet...</value></prop>+ </node>+ <node oor:name=".uno:ShowAllNotes">+ <prop oor:name="Label"><value xml:lang="en-US">Show all comments</value><value xml:lang="en-GB">Show all comments</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Show All Comments</value></prop>+ </node>+ <node oor:name=".uno:SolverDialog">+ <prop oor:name="Label"><value xml:lang="en-US">Solver</value><value xml:lang="en-GB">Solver</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sol~ver...</value></prop>+ </node>+ <node oor:name=".uno:SortAscending">+ <prop oor:name="Label"><value xml:lang="en-US">Sort A to Z</value><value xml:lang="en-GB">Sort A to Z</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sort Ascending</value></prop>+ </node>+ <node oor:name=".uno:SortDescending">+ <prop oor:name="Label"><value xml:lang="en-US">Sort Z to A</value><value xml:lang="en-GB">Sort Z to A</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Sort Descending</value></prop>+ </node>+ <node oor:name=".uno:SplitWindow">+ <prop oor:name="Label"><value xml:lang="en-US">Split</value><value xml:lang="en-GB">Split</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Split Window</value></prop>+ </node>+ <node oor:name=".uno:TextToColumns">+ <prop oor:name="Label"><value xml:lang="en-US">Text to columns</value><value xml:lang="en-GB">Text to columns</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Text to Columns...</value></prop>+ </node>+ <node oor:name=".uno:ToggleMergeCells">+ <prop oor:name="Label"><value xml:lang="en-US">Merge and centre</value><value xml:lang="en-GB">Merge and centre</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">M~erge and Center Cells</value></prop>+ </node>+ <node oor:name=".uno:ToggleSheetGrid">+ <prop oor:name="Label"><value xml:lang="en-US">Gridlines</value><value xml:lang="en-GB">Gridlines</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">View Grid Lines</value></prop>+ </node>+ <node oor:name=".uno:ToolProtectionDocument">+ <prop oor:name="Label"><value xml:lang="en-US">Protect workbook</value><value xml:lang="en-GB">Protect workbook</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Protect ~Spreadsheet Structure...</value></prop>+ </node>+ <node oor:name=".uno:TraceChangeMode">+ <prop oor:name="Label"><value xml:lang="en-US">Track changes</value><value xml:lang="en-GB">Track changes</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Record</value></prop>+ </node>+ <node oor:name=".uno:Validation">+ <prop oor:name="Label"><value xml:lang="en-US">Validation</value><value xml:lang="en-GB">Validation</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">~Validity...</value></prop>+ </node>+ <node oor:name=".uno:ViewRowColumnHeaders">+ <prop oor:name="Label"><value xml:lang="en-US">Headings</value><value xml:lang="en-GB">Headings</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">View Headers</value></prop>+ </node>+ <node oor:name=".uno:ViewValueHighlighting">+ <prop oor:name="Label"><value xml:lang="en-US">Highlight values</value><value xml:lang="en-GB">Highlight values</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Value ~Highlighting</value></prop>+ </node>+ <node oor:name=".uno:WrapText">+ <prop oor:name="Label"><value xml:lang="en-US">Wrap text</value><value xml:lang="en-GB">Wrap text</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Wrap Text</value></prop>+ </node>+ </node>+ <node oor:name="Popups">+ <node oor:name=".uno:ToggleFormula">+ <prop oor:name="Label"><value xml:lang="en-US">Show formulas</value><value xml:lang="en-GB">Show formulas</value></prop>+ <prop oor:name="ContextLabel"><value xml:lang="en-US">Show Formulas</value></prop>+ </node>+ </node>+ </node>+ </oor:component-data>+</oor:data>diff --git a/packages/wildos-office/lo/registry/wildos.xcd b/packages/wildos-office/lo/registry/wildos.xcdnew file mode 100644index 0000000..a260f79--- /dev/null+++ b/packages/wildos-office/lo/registry/wildos.xcd@@ -0,0 +1,167 @@+<?xml version="1.0" encoding="UTF-8"?>+<!-- Wild OS defaults for Write and Tables. A bundled layer: everything here+ is a default the user can still change in Tools > Options. -->+<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oor="http://openoffice.org/2001/registry">+ <dependency file="main"/>+ <dependency file="writer"/>+ <dependency file="calc"/>++ <oor:component-data oor:package="org.openoffice" oor:name="Setup">+ <node oor:name="Office">+ <node oor:name="Factories">+ <node oor:name="com.sun.star.text.TextDocument">+ <prop oor:name="ooSetupFactoryWindowAttributes"><value>,,,;8;</value></prop>+ <prop oor:name="ooSetupFactoryTemplateFile"><value>file:///usr/share/wildos-office/templates/default/Default.ott</value></prop>+ <prop oor:name="ooSetupFactoryDefaultFilter"><value>MS Word 2007 XML</value></prop>+ <prop oor:name="ooSetupFactoryUIName"><value xml:lang="en-US">Write</value></prop>+ </node>+ <node oor:name="com.sun.star.sheet.SpreadsheetDocument">+ <prop oor:name="ooSetupFactoryWindowAttributes"><value>,,,;8;</value></prop>+ <prop oor:name="ooSetupFactoryTemplateFile"><value>file:///usr/share/wildos-office/templates/default/Default.ots</value></prop>+ <prop oor:name="ooSetupFactoryDefaultFilter"><value>Calc MS Excel 2007 XML</value></prop>+ <prop oor:name="ooSetupFactoryUIName"><value xml:lang="en-US">Tables</value></prop>+ </node>+ </node>+ </node>+ <node oor:name="Product">+ <prop oor:name="ooSetupLastVersion"><value>99.0</value></prop>+ <prop oor:name="LastTimeDonateShown"><value>9999999999</value></prop>+ <prop oor:name="WhatsNew"><value>false</value></prop>+ <prop oor:name="LastTimeGetInvolvedShown"><value>9999999999</value></prop>+ </node>+ </oor:component-data>++ <oor:component-data oor:package="org.openoffice.Office" oor:name="Common">+ <!-- Pages stay white under the dark theme, as printed paper is. -->+ <node oor:name="Appearance">+ <prop oor:name="ApplicationAppearance"><value>1</value></prop>+ </node>+ <node oor:name="Misc">+ <prop oor:name="ShowTipOfTheDay"><value>false</value></prop>+ </node>+ <node oor:name="Save">+ <node oor:name="Document">+ <prop oor:name="WarnAlienFormat"><value>false</value></prop>+ </node>+ </node>+ </oor:component-data>++ <!-- The status bar's sum field shows Sum and Count, as Excel's does. -->+ <oor:component-data oor:package="org.openoffice.Office" oor:name="Calc">+ <node oor:name="Layout">+ <node oor:name="Other">+ <prop oor:name="StatusbarMultiFunction"><value>520</value></prop>+ </node>+ </node>+ </oor:component-data>++ <!-- Window titles: see the WildOSOffice Basic library in the bundled+ wildos-office extension. -->+ <oor:component-data oor:package="org.openoffice.Office" oor:name="Events">+ <node oor:name="ApplicationEvents">+ <node oor:name="Bindings">+ <node oor:name="OnNew" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Title.Update?language=Basic&location=application</value></prop>+ </node>+ <node oor:name="OnLoad" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Title.Update?language=Basic&location=application</value></prop>+ </node>+ <node oor:name="OnViewCreated" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Title.Update?language=Basic&location=application</value></prop>+ </node>+ <node oor:name="OnSaveAsDone" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Title.Update?language=Basic&location=application</value></prop>+ </node>+ <node oor:name="OnSaveToDone" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Title.Update?language=Basic&location=application</value></prop>+ </node>+ <node oor:name="OnTitleChanged" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Title.Update?language=Basic&location=application</value></prop>+ </node>+ </node>+ </node>+ </oor:component-data>++ <!-- Icons drawn for Wild OS. They start in the dark theme's light strokes,+ and the WildOSOffice.Icons macro swaps to the light theme's set when+ a document window gains focus under light colours. -->+ <oor:component-data oor:package="org.openoffice.Office" oor:name="Common">+ <node oor:name="Misc">+ <prop oor:name="SymbolStyle"><value>wildos_dark_svg</value></prop>+ </node>+ </oor:component-data>+ <oor:component-data oor:package="org.openoffice.Office" oor:name="Events">+ <node oor:name="ApplicationEvents">+ <node oor:name="Bindings">+ <node oor:name="OnFocus" oor:op="replace">+ <prop oor:name="BindingURL"><value>vnd.sun.star.script:WildOSOffice.Icons.Update?language=Basic&location=application</value></prop>+ </node>+ </node>+ </node>+ </oor:component-data>++ <!-- The Wild OS ribbon is the only notebookbar offered. LibreOffice's own+ variants stay installed but only show in experimental mode, so the+ Toolbar Layout menu lists just the ribbon and the classic menus. -->+ <oor:component-data oor:package="org.openoffice.Office.UI" oor:name="ToolbarMode">+ <prop oor:name="ActiveWriter"><value>notebookbar_wildos.ui</value></prop>+ <prop oor:name="ActiveCalc"><value>notebookbar_wildos.ui</value></prop>+ <node oor:name="Applications">+ <node oor:name="Writer">+ <prop oor:name="Active"><value>notebookbar_wildos.ui</value></prop>+ <node oor:name="Modes">+ <node oor:name="WildOS" oor:op="replace">+ <prop oor:name="Label"><value xml:lang="en-US">Wild OS ribbon</value></prop>+ <prop oor:name="CommandArg"><value>notebookbar_wildos.ui</value></prop>+ <prop oor:name="MenuPosition"><value>0</value></prop>+ <prop oor:name="IsExperimental"><value>false</value></prop>+ <prop oor:name="HasNotebookbar"><value>true</value></prop>+ <prop oor:name="HasMenubar"><value>false</value></prop>+ <prop oor:name="Toolbars"><value/></prop>+ <prop oor:name="UserToolbars"><value/></prop>+ <prop oor:name="Sidebar"><value>Tabs</value></prop>+ </node>+ <node oor:name="Default">+ <prop oor:name="Label"><value xml:lang="en-US">Classic menus and toolbars</value></prop>+ <prop oor:name="MenuPosition"><value>1</value></prop>+ </node>+ <node oor:name="Single"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="Sidebar"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="Tabbed"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="TabbedCompact"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="GroupedbarCompact"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="GroupedbarFull"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="ContextualSingle"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="ContextualGroups"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ </node>+ </node>+ <node oor:name="Calc">+ <prop oor:name="Active"><value>notebookbar_wildos.ui</value></prop>+ <node oor:name="Modes">+ <node oor:name="WildOS" oor:op="replace">+ <prop oor:name="Label"><value xml:lang="en-US">Wild OS ribbon</value></prop>+ <prop oor:name="CommandArg"><value>notebookbar_wildos.ui</value></prop>+ <prop oor:name="MenuPosition"><value>0</value></prop>+ <prop oor:name="IsExperimental"><value>false</value></prop>+ <prop oor:name="HasNotebookbar"><value>true</value></prop>+ <prop oor:name="HasMenubar"><value>false</value></prop>+ <prop oor:name="Toolbars"><value/></prop>+ <prop oor:name="UserToolbars"><value/></prop>+ <prop oor:name="Sidebar"><value>Tabs</value></prop>+ </node>+ <node oor:name="Default">+ <prop oor:name="Label"><value xml:lang="en-US">Classic menus and toolbars</value></prop>+ <prop oor:name="MenuPosition"><value>1</value></prop>+ </node>+ <node oor:name="Single"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="Sidebar"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="Tabbed"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="TabbedCompact"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="GroupedbarCompact"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="GroupedbarFull"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ <node oor:name="ContextualGroups"><prop oor:name="IsExperimental"><value>true</value></prop></node>+ </node>+ </node>+ </node>+ </oor:component-data>+</oor:data>diff --git a/packages/wildos-office/lo/ui/scalc/notebookbar_wildos.ui b/packages/wildos-office/lo/ui/scalc/notebookbar_wildos.uinew file mode 100644index 0000000..6b3a721--- /dev/null+++ b/packages/wildos-office/lo/ui/scalc/notebookbar_wildos.ui@@ -0,0 +1,5819 @@+<?xml version="1.0" encoding="UTF-8"?>+<!-- Generated by packages/wildos-office/tools/gen-ribbons.py; edit that, not this. -->+<interface domain="sc">+ <requires lib="gtk+" version="3.20"/>+ <requires lib="LibreOffice" version="1.0"/>+ <object class="GtkMenu" id="FileMenu">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <child>+ <object class="GtkMenuItem" id="File-AddDirect">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:AddDirect</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Open">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Open</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-RecentFileList">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:RecentFileList</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Save">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Save</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SaveAs">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SaveAs</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SaveACopy">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SaveACopy</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-ExportToPDF">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:ExportToPDF</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-ExportTo">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:ExportTo</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SendMailDocAsPDF">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SendMailDocAsPDF</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep3">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-PrintPreview">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:PrintPreview</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Print">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Print</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-PrinterSetup">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:PrinterSetup</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep4">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SetDocumentProperties">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SetDocumentProperties</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Signature">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Signature</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep5">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-OptionsTreeDialog">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:OptionsTreeDialog</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-HelpIndex">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:HelpIndex</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep6">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-CloseDoc">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:CloseDoc</property>+ </object>+ </child>+ </object>+ <object class="GtkGrid" id="NotebookBar">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <child>+ <object class="GtkBox" id="box">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="hexpand">True</property>+ <property name="spacing">4</property>+ <child>+ <object class="svtlo-ManagedMenuButton" id="FileButton:FileMenu">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="has_default">True</property>+ <property name="valign">start</property>+ <property name="margin_start">4</property>+ <property name="margin_top">6</property>+ <property name="label" translatable="yes">File</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkNotebook" id="Tabs">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="hexpand">True</property>+ <property name="width_request">400</property>+ <property name="show_border">False</property>+ <child>+ <object class="GtkBox" id="Home Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Home">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Home-Clipboard">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Home-Clipboard-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Clipboard-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Clipboard-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Home-Clipboard-Paste">+ <property name="visible">True</property>+ <property name="action_name">.uno:Paste</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Clipboard-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Clipboard-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Clipboard-Cut">+ <property name="visible">True</property>+ <property name="action_name">.uno:Cut</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Clipboard-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Clipboard-Copy">+ <property name="visible">True</property>+ <property name="action_name">.uno:Copy</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Clipboard-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Clipboard</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Text">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Text-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Text-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Text-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Text-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Text-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Text-CharFontName">+ <property name="visible">True</property>+ <property name="action_name">.uno:CharFontName</property>+ <property name="width_request">140</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Text-FontHeight">+ <property name="visible">True</property>+ <property name="action_name">.uno:FontHeight</property>+ <property name="width_request">70</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Text-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Text-Bold">+ <property name="visible">True</property>+ <property name="action_name">.uno:Bold</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Text-Italic">+ <property name="visible">True</property>+ <property name="action_name">.uno:Italic</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Text-Underline">+ <property name="visible">True</property>+ <property name="action_name">.uno:Underline</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Text-Color">+ <property name="visible">True</property>+ <property name="action_name">.uno:Color</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Text-BackgroundColor">+ <property name="visible">True</property>+ <property name="action_name">.uno:BackgroundColor</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Text-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Text</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Alignment">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Alignment-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Alignment-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Alignment-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Alignment-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Alignment-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Alignment-AlignLeft">+ <property name="visible">True</property>+ <property name="action_name">.uno:AlignLeft</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Alignment-AlignHorizontalCenter">+ <property name="visible">True</property>+ <property name="action_name">.uno:AlignHorizontalCenter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Alignment-AlignRight">+ <property name="visible">True</property>+ <property name="action_name">.uno:AlignRight</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Alignment-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Alignment-WrapText">+ <property name="visible">True</property>+ <property name="action_name">.uno:WrapText</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Alignment-ToggleMergeCells">+ <property name="visible">True</property>+ <property name="action_name">.uno:ToggleMergeCells</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Alignment-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Alignment</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Number">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Number-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Number-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Number-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Number-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Number-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Number-NumberFormatType">+ <property name="visible">True</property>+ <property name="action_name">.uno:NumberFormatType</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Number-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkMenuToolButton" id="Home-Number-NumberFormatCurrency">+ <property name="visible">True</property>+ <property name="action_name">.uno:NumberFormatCurrency</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Number-NumberFormatPercent">+ <property name="visible">True</property>+ <property name="action_name">.uno:NumberFormatPercent</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Number-NumberFormatIncDecimals">+ <property name="visible">True</property>+ <property name="action_name">.uno:NumberFormatIncDecimals</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Number-NumberFormatDecDecimals">+ <property name="visible">True</property>+ <property name="action_name">.uno:NumberFormatDecDecimals</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Number-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Number</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Cells">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Cells-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Cells-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Cells-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Cells-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Home-Cells-InsertCell">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertCell</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Cells-FormatCellDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:FormatCellDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Cells-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Cells</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Data">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Data-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Data-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Data-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Data-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Home-Data-DataSort">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataSort</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Data-DataFilterAutoFilter">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataFilterAutoFilter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Data-InsertObjectChart">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertObjectChart</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Data-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Data</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">5</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Editing">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Editing-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Editing-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Editing-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Editing-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Editing-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkMenuToolButton" id="Home-Editing-AutoSum">+ <property name="visible">True</property>+ <property name="action_name">.uno:AutoSum</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Editing-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Editing-FocusToFindbar">+ <property name="visible">True</property>+ <property name="action_name">vnd.sun.star.findbar:FocusToFindbar</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Editing-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Editing</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">6</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">0</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="HomeLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Home</property>+ </object>+ <packing>+ <property name="position">0</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Insert">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Insert-Tables">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Insert-Tables-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Tables-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Tables-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Tables-DataDataPilotRun">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataDataPilotRun</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Tables-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Tables</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Illustrations">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Illustrations-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Illustrations-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Illustrations-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Illustrations-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Illustrations-InsertGraphic">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertGraphic</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Insert-Illustrations-InsertObjectChart">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertObjectChart</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Insert-Illustrations-BasicShapes">+ <property name="visible">True</property>+ <property name="action_name">.uno:BasicShapes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Illustrations-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Illustrations-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-Illustrations-InsertSparkline">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertSparkline</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Illustrations-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Illustrations</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Links">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Links-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Links-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Links-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Links-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Links-HyperlinkDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:HyperlinkDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Links-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Links</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Comments">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Comments-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Comments-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Comments-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Comments-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Comments-InsertAnnotation">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertAnnotation</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Comments-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Comments</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-TextObjects">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-TextObjects-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-TextObjects-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-TextObjects-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-TextObjects-DrawText">+ <property name="visible">True</property>+ <property name="action_name">.uno:DrawText</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-TextObjects-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-TextObjects-EditHeaderAndFooter">+ <property name="visible">True</property>+ <property name="action_name">.uno:EditHeaderAndFooter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkMenuToolButton" id="Insert-TextObjects-CharmapControl">+ <property name="visible">True</property>+ <property name="action_name">.uno:CharmapControl</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-TextObjects-InsertObjectStarMath">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertObjectStarMath</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-TextObjects-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Text</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Functions">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Functions-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Functions-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Functions-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Functions-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Functions-FunctionDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:FunctionDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Functions-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Functions-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-Functions-InsertName">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertName</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Functions-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-Functions-DefineName">+ <property name="visible">True</property>+ <property name="action_name">.uno:DefineName</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Functions-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Functions</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">5</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">1</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="InsertLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Insert</property>+ </object>+ <packing>+ <property name="position">1</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Layout">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Layout-PageSetup">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Layout-PageSetup-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-PageSetup-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageSetup-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageSetup-PageFormatDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:PageFormatDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Layout-PageSetup-Margins">+ <property name="visible">True</property>+ <property name="action_name">.uno:Margins</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-PageSetup-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageSetup-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageSetup-EditHeaderAndFooter">+ <property name="visible">True</property>+ <property name="action_name">.uno:EditHeaderAndFooter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-PageSetup-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Page setup</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-PrintArea">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-PrintArea-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-PrintArea-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-PrintArea-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-PrintArea-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PrintArea-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PrintArea-DefinePrintArea">+ <property name="visible">True</property>+ <property name="action_name">.uno:DefinePrintArea</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PrintArea-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PrintArea-EditPrintArea">+ <property name="visible">True</property>+ <property name="action_name">.uno:EditPrintArea</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PrintArea-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PrintArea-DeletePrintArea">+ <property name="visible">True</property>+ <property name="action_name">.uno:DeletePrintArea</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-PrintArea-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Print area</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-Breaks">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-Breaks-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Breaks-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Breaks-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Breaks-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Breaks-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Breaks-InsertRowBreak">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertRowBreak</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Breaks-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Breaks-InsertColumnBreak">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertColumnBreak</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-Breaks-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Breaks</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-Size">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-Size-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Size-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Size-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Size-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Size-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Size-RowHeight">+ <property name="visible">True</property>+ <property name="action_name">.uno:RowHeight</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Size-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Size-SetOptimalRowHeight">+ <property name="visible">True</property>+ <property name="action_name">.uno:SetOptimalRowHeight</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Size-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Size-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Size-ColumnWidth">+ <property name="visible">True</property>+ <property name="action_name">.uno:ColumnWidth</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Size-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Size-SetOptimalColumnWidth">+ <property name="visible">True</property>+ <property name="action_name">.uno:SetOptimalColumnWidth</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-Size-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Cell size</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-Styles">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-Styles-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Styles-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Styles-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Styles-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Layout-Styles-ConditionalFormatMenu">+ <property name="visible">True</property>+ <property name="action_name">.uno:ConditionalFormatMenu</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Layout-Styles-AutoFormat">+ <property name="visible">True</property>+ <property name="action_name">.uno:AutoFormat</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-Styles-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Styles</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">2</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="LayoutLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Layout</property>+ </object>+ <packing>+ <property name="position">2</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Data">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Data-SortFilter">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Data-SortFilter-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-SortFilter-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-SortFilter-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-SortFilter-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-SortFilter-SortAscending">+ <property name="visible">True</property>+ <property name="action_name">.uno:SortAscending</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-SortFilter-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-SortFilter-SortDescending">+ <property name="visible">True</property>+ <property name="action_name">.uno:SortDescending</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-SortFilter-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Data-SortFilter-DataSort">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataSort</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Data-SortFilter-DataFilterAutoFilter">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataFilterAutoFilter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-SortFilter-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-SortFilter-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-SortFilter-DataFilterStandardFilter">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataFilterStandardFilter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-SortFilter-tb5">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-SortFilter-DataFilterRemoveFilter">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataFilterRemoveFilter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Data-SortFilter-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Sort and filter</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Data-Tools">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Data-Tools-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-Tools-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Tools-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Tools-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Data-Tools-TextToColumns">+ <property name="visible">True</property>+ <property name="action_name">.uno:TextToColumns</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Data-Tools-HandleDuplicateRecords">+ <property name="visible">True</property>+ <property name="action_name">.uno:HandleDuplicateRecords</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Data-Tools-Validation">+ <property name="visible">True</property>+ <property name="action_name">.uno:Validation</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Data-Tools-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Data tools</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Data-Outline">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Data-Outline-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-Outline-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Outline-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Outline-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Outline-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Outline-Group">+ <property name="visible">True</property>+ <property name="action_name">.uno:Group</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Outline-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Outline-Ungroup">+ <property name="visible">True</property>+ <property name="action_name">.uno:Ungroup</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-Outline-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Outline-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Outline-ShowDetail">+ <property name="visible">True</property>+ <property name="action_name">.uno:ShowDetail</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Outline-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Outline-HideDetail">+ <property name="visible">True</property>+ <property name="action_name">.uno:HideDetail</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Data-Outline-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Outline</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Data-Analysis">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Data-Analysis-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-Analysis-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Analysis-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Analysis-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Analysis-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Analysis-DataSubTotals">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataSubTotals</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Analysis-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Analysis-DataConsolidate">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataConsolidate</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-Analysis-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Analysis-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Analysis-GoalSeekDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:GoalSeekDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Analysis-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Analysis-SolverDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:SolverDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Data-Analysis-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Analysis</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Data-Ranges">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Data-Ranges-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Data-Ranges-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Ranges-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Data-Ranges-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Ranges-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Ranges-DefineDBName">+ <property name="visible">True</property>+ <property name="action_name">.uno:DefineDBName</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Data-Ranges-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Data-Ranges-DataAreaRefresh">+ <property name="visible">True</property>+ <property name="action_name">.uno:DataAreaRefresh</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Data-Ranges-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Ranges</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">3</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="DataLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Data</property>+ </object>+ <packing>+ <property name="position">3</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Review">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Review-Proofing">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Review-Proofing-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Proofing-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-SpellDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:SpellDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Proofing-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-SpellOnline">+ <property name="visible">True</property>+ <property name="action_name">.uno:SpellOnline</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-ThesaurusDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:ThesaurusDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Proofing-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Proofing</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Comments">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Comments-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Comments-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Comments-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-InsertAnnotation">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertAnnotation</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Comments-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-ShowAllNotes">+ <property name="visible">True</property>+ <property name="action_name">.uno:ShowAllNotes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-HideAllNotes">+ <property name="visible">True</property>+ <property name="action_name">.uno:HideAllNotes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-DeleteAllNotes">+ <property name="visible">True</property>+ <property name="action_name">.uno:DeleteAllNotes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Comments-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Comments</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Tracking">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Tracking-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Tracking-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Tracking-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Tracking-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Tracking-TraceChangeMode">+ <property name="visible">True</property>+ <property name="action_name">.uno:TraceChangeMode</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Review-Tracking-AcceptChanges">+ <property name="visible">True</property>+ <property name="action_name">.uno:AcceptChanges</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Tracking-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Track changes</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Compare">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Compare-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Compare-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Compare-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Compare-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Compare-CompareDocuments">+ <property name="visible">True</property>+ <property name="action_name">.uno:CompareDocuments</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Compare-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Compare</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Protect">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Protect-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Protect-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Protect-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Protect-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Protect-Protect">+ <property name="visible">True</property>+ <property name="action_name">.uno:Protect</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Review-Protect-ToolProtectionDocument">+ <property name="visible">True</property>+ <property name="action_name">.uno:ToolProtectionDocument</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Protect-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Protect</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">4</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="ReviewLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Review</property>+ </object>+ <packing>+ <property name="position">4</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="View">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="View-Views">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="View-Views-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Views-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Views-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="View-Views-NormalViewMode">+ <property name="visible">True</property>+ <property name="action_name">.uno:NormalViewMode</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="View-Views-PagebreakMode">+ <property name="visible">True</property>+ <property name="action_name">.uno:PagebreakMode</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Views-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Views</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="View-Show">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="View-Show-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Show-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Show-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Show-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-InputLineVisible">+ <property name="visible">True</property>+ <property name="action_name">.uno:InputLineVisible</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-ViewRowColumnHeaders">+ <property name="visible">True</property>+ <property name="action_name">.uno:ViewRowColumnHeaders</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-ToggleSheetGrid">+ <property name="visible">True</property>+ <property name="action_name">.uno:ToggleSheetGrid</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Show-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-ViewValueHighlighting">+ <property name="visible">True</property>+ <property name="action_name">.uno:ViewValueHighlighting</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb5">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-ToggleFormula">+ <property name="visible">True</property>+ <property name="action_name">.uno:ToggleFormula</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb6">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-Sidebar">+ <property name="visible">True</property>+ <property name="action_name">.uno:Sidebar</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Show-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Show</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="View-Zoom">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="View-Zoom-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Zoom-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Zoom-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Zoom-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="View-Zoom-Zoom">+ <property name="visible">True</property>+ <property name="action_name">.uno:Zoom</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="View-Zoom-Zoom100Percent">+ <property name="visible">True</property>+ <property name="action_name">.uno:Zoom100Percent</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Zoom-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Zoom-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Zoom-ZoomPlus">+ <property name="visible">True</property>+ <property name="action_name">.uno:ZoomPlus</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Zoom-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Zoom-ZoomMinus">+ <property name="visible">True</property>+ <property name="action_name">.uno:ZoomMinus</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Zoom-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Zoom</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="View-Window">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="View-Window-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Window-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Window-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Window-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="View-Window-FreezePanes">+ <property name="visible">True</property>+ <property name="action_name">.uno:FreezePanes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="View-Window-SplitWindow">+ <property name="visible">True</property>+ <property name="action_name">.uno:SplitWindow</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="View-Window-FullScreen">+ <property name="visible">True</property>+ <property name="action_name">.uno:FullScreen</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Window-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Window</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">5</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="ViewLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">View</property>+ </object>+ <packing>+ <property name="position">5</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Sheet">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Sheet-Sheets">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Sheet-Sheets-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Sheet-Sheets-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-Insert">+ <property name="visible">True</property>+ <property name="action_name">.uno:Insert</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-Remove">+ <property name="visible">True</property>+ <property name="action_name">.uno:Remove</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet-Sheets-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-RenameTable">+ <property name="visible">True</property>+ <property name="action_name">.uno:RenameTable</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-Move">+ <property name="visible">True</property>+ <property name="action_name">.uno:Move</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-SetTabBgColor">+ <property name="visible">True</property>+ <property name="action_name">.uno:SetTabBgColor</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet-Sheets-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb5">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-Hide">+ <property name="visible">True</property>+ <property name="action_name">.uno:Hide</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb6">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-Show">+ <property name="visible">True</property>+ <property name="action_name">.uno:Show</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Sheets-tb7">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Sheets-InsertSheetFromFile">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertSheetFromFile</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Sheet-Sheets-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Sheets</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Sheet-Rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Sheet-Rows-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet-Rows-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Sheet-Rows-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Sheet-Rows-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Rows-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Rows-InsertRowsBefore">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertRowsBefore</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Rows-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Rows-InsertRowsAfter">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertRowsAfter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Rows-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Rows-DeleteRows">+ <property name="visible">True</property>+ <property name="action_name">.uno:DeleteRows</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet-Rows-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Rows-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Rows-InsertColumnsBefore">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertColumnsBefore</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Rows-tb5">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Rows-InsertColumnsAfter">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertColumnsAfter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-Rows-tb6">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-Rows-DeleteColumns">+ <property name="visible">True</property>+ <property name="action_name">.uno:DeleteColumns</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Sheet-Rows-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Rows and columns</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Sheet-SheetCells">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Sheet-SheetCells-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet-SheetCells-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Sheet-SheetCells-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-SheetCells-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Sheet-SheetCells-InsertCell">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertCell</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Sheet-SheetCells-DeleteCell">+ <property name="visible">True</property>+ <property name="action_name">.uno:DeleteCell</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Sheet-SheetCells-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-SheetCells-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-SheetCells-FillDown">+ <property name="visible">True</property>+ <property name="action_name">.uno:FillDown</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Sheet-SheetCells-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Sheet-SheetCells-Delete">+ <property name="visible">True</property>+ <property name="action_name">.uno:Delete</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Sheet-SheetCells-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Cells</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">6</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="SheetLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Sheet</property>+ </object>+ <packing>+ <property name="position">6</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="GtkButton" id="FindCommand">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="receives_default">False</property>+ <property name="valign">start</property>+ <property name="width_request">170</property>+ <property name="margin_end">4</property>+ <property name="margin_top">6</property>+ <property name="action_name">.uno:CommandPopup</property>+ <property name="xalign">0</property>+ <property name="label" translatable="yes">Find a command</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="left_attach">0</property>+ <property name="top_attach">0</property>+ </packing>+ </child>+ </object>+</interface>diff --git a/packages/wildos-office/lo/ui/swriter/notebookbar_wildos.ui b/packages/wildos-office/lo/ui/swriter/notebookbar_wildos.uinew file mode 100644index 0000000..ddbcf4f--- /dev/null+++ b/packages/wildos-office/lo/ui/swriter/notebookbar_wildos.ui@@ -0,0 +1,5079 @@+<?xml version="1.0" encoding="UTF-8"?>+<!-- Generated by packages/wildos-office/tools/gen-ribbons.py; edit that, not this. -->+<interface domain="sw">+ <requires lib="gtk+" version="3.20"/>+ <requires lib="LibreOffice" version="1.0"/>+ <object class="GtkMenu" id="FileMenu">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <child>+ <object class="GtkMenuItem" id="File-AddDirect">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:AddDirect</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Open">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Open</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-RecentFileList">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:RecentFileList</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Save">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Save</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SaveAs">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SaveAs</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SaveACopy">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SaveACopy</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-ExportToPDF">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:ExportToPDF</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-ExportTo">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:ExportTo</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SendMailDocAsPDF">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SendMailDocAsPDF</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep3">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-PrintPreview">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:PrintPreview</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Print">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Print</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep4">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-SetDocumentProperties">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:SetDocumentProperties</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-Signature">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:Signature</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep5">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-OptionsTreeDialog">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:OptionsTreeDialog</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-HelpIndex">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:HelpIndex</property>+ </object>+ </child>+ <child>+ <object class="GtkSeparatorMenuItem" id="File-sep6">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ </object>+ </child>+ <child>+ <object class="GtkMenuItem" id="File-CloseDoc">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="action_name">.uno:CloseDoc</property>+ </object>+ </child>+ </object>+ <object class="GtkGrid" id="NotebookBar">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <child>+ <object class="GtkBox" id="box">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="hexpand">True</property>+ <property name="spacing">4</property>+ <child>+ <object class="svtlo-ManagedMenuButton" id="FileButton:FileMenu">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="has_default">True</property>+ <property name="valign">start</property>+ <property name="margin_start">4</property>+ <property name="margin_top">6</property>+ <property name="label" translatable="yes">File</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkNotebook" id="Tabs">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="hexpand">True</property>+ <property name="width_request">400</property>+ <property name="show_border">False</property>+ <child>+ <object class="GtkBox" id="Home Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Home">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Home-Clipboard">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Home-Clipboard-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Clipboard-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Clipboard-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Home-Clipboard-Paste">+ <property name="visible">True</property>+ <property name="action_name">.uno:Paste</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Clipboard-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Clipboard-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Clipboard-Cut">+ <property name="visible">True</property>+ <property name="action_name">.uno:Cut</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Clipboard-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Clipboard-Copy">+ <property name="visible">True</property>+ <property name="action_name">.uno:Copy</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Clipboard-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Clipboard</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Text">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Text-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Text-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Text-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Text-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Text-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Text-CharFontName">+ <property name="visible">True</property>+ <property name="action_name">.uno:CharFontName</property>+ <property name="width_request">140</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Text-FontHeight">+ <property name="visible">True</property>+ <property name="action_name">.uno:FontHeight</property>+ <property name="width_request">70</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Text-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Text-Bold">+ <property name="visible">True</property>+ <property name="action_name">.uno:Bold</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Text-Italic">+ <property name="visible">True</property>+ <property name="action_name">.uno:Italic</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Text-Underline">+ <property name="visible">True</property>+ <property name="action_name">.uno:Underline</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Text-Strikeout">+ <property name="visible">True</property>+ <property name="action_name">.uno:Strikeout</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Text-Color">+ <property name="visible">True</property>+ <property name="action_name">.uno:Color</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Text-CharBackColor">+ <property name="visible">True</property>+ <property name="action_name">.uno:CharBackColor</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Text-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Text</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Paragraph">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Paragraph-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Paragraph-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Paragraph-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Paragraph-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Paragraph-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-DefaultBullet">+ <property name="visible">True</property>+ <property name="action_name">.uno:DefaultBullet</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-DefaultNumbering">+ <property name="visible">True</property>+ <property name="action_name">.uno:DefaultNumbering</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-IncrementIndent">+ <property name="visible">True</property>+ <property name="action_name">.uno:IncrementIndent</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Paragraph-LineSpacing">+ <property name="visible">True</property>+ <property name="action_name">.uno:LineSpacing</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Paragraph-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-LeftPara">+ <property name="visible">True</property>+ <property name="action_name">.uno:LeftPara</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-CenterPara">+ <property name="visible">True</property>+ <property name="action_name">.uno:CenterPara</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-RightPara">+ <property name="visible">True</property>+ <property name="action_name">.uno:RightPara</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Paragraph-JustifyPara">+ <property name="visible">True</property>+ <property name="action_name">.uno:JustifyPara</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Paragraph-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Paragraph</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Styles">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Styles-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Styles-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Styles-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Styles-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Home-Styles-TextBodyParaStyle">+ <property name="visible">True</property>+ <property name="action_name">.uno:TextBodyParaStyle</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Styles-TitleParaStyle">+ <property name="visible">True</property>+ <property name="action_name">.uno:TitleParaStyle</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Styles-Heading1ParaStyle">+ <property name="visible">True</property>+ <property name="action_name">.uno:Heading1ParaStyle</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Styles-Heading2ParaStyle">+ <property name="visible">True</property>+ <property name="action_name">.uno:Heading2ParaStyle</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Home-Styles-QuoteParaStyle">+ <property name="visible">True</property>+ <property name="action_name">.uno:QuoteParaStyle</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Styles-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Styles</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-6"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Insert">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Insert-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Insert-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Insert-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Insert-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Home-Insert-InsertGraphic">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertGraphic</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Home-Insert-InsertTable">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertTable</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Insert-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Insert</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-5"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Home-Editing">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Home-Editing-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Home-Editing-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Editing-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Home-Editing-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Editing-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Editing-FocusToFindbar">+ <property name="visible">True</property>+ <property name="action_name">vnd.sun.star.findbar:FocusToFindbar</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Home-Editing-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Home-Editing-SearchDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:SearchDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Home-Editing-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Editing</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">5</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">0</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="HomeLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Home</property>+ </object>+ <packing>+ <property name="position">0</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Insert">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Insert-Tables">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Insert-Tables-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Tables-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Tables-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Insert-Tables-InsertTable">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertTable</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Tables-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Tables</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Illustrations">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Illustrations-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Illustrations-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Illustrations-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Illustrations-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Illustrations-InsertGraphic">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertGraphic</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Insert-Illustrations-InsertObjectChart">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertObjectChart</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Insert-Illustrations-BasicShapes">+ <property name="visible">True</property>+ <property name="action_name">.uno:BasicShapes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Illustrations-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Illustrations</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Links">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Links-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Links-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Links-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Links-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Links-HyperlinkDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:HyperlinkDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Links-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Links-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-Links-InsertBookmark">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertBookmark</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Links-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-Links-InsertReferenceField">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertReferenceField</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Links-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Links</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Comments">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Comments-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Comments-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Comments-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Comments-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-Comments-InsertAnnotation">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertAnnotation</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Comments-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Comments</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-HeaderFooter">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-HeaderFooter-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-HeaderFooter-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-HeaderFooter-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-HeaderFooter-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-HeaderFooter-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-HeaderFooter-InsertPageHeader">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertPageHeader</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-HeaderFooter-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-HeaderFooter-InsertPageFooter">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertPageFooter</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-HeaderFooter-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-HeaderFooter-PageNumberWizard">+ <property name="visible">True</property>+ <property name="action_name">.uno:PageNumberWizard</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-HeaderFooter-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Header and footer</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-TextObjects">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-TextObjects-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-TextObjects-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-TextObjects-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Insert-TextObjects-Text">+ <property name="visible">True</property>+ <property name="action_name">.uno:Text</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-TextObjects-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkMenuToolButton" id="Insert-TextObjects-InsertFieldCtrl">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertFieldCtrl</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-TextObjects-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Insert-TextObjects-InsertSection">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertSection</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-TextObjects-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Text</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">5</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Insert-Symbols">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Insert-Symbols-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Insert-Symbols-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Insert-Symbols-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Insert-Symbols-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Insert-Symbols-CharmapControl">+ <property name="visible">True</property>+ <property name="action_name">.uno:CharmapControl</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="Insert-Symbols-InsertObjectStarMath">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertObjectStarMath</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Insert-Symbols-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Symbols</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">6</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">1</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="InsertLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Insert</property>+ </object>+ <packing>+ <property name="position">1</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Layout">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Layout-PageSetup">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Layout-PageSetup-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-PageSetup-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageSetup-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Layout-PageSetup-PageMargin">+ <property name="visible">True</property>+ <property name="action_name">.uno:PageMargin</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Layout-PageSetup-Orientation">+ <property name="visible">True</property>+ <property name="action_name">.uno:Orientation</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Layout-PageSetup-AttributePageSize">+ <property name="visible">True</property>+ <property name="action_name">.uno:AttributePageSize</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkMenuToolButton" id="Layout-PageSetup-PageColumnType">+ <property name="visible">True</property>+ <property name="action_name">.uno:PageColumnType</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-PageSetup-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Page setup</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-Breaks">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-Breaks-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Breaks-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Breaks-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Breaks-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Breaks-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Breaks-InsertPagebreak">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertPagebreak</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Breaks-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Breaks-InsertColumnBreak">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertColumnBreak</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Breaks-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Breaks-InsertBreak">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertBreak</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-Breaks-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Breaks</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-PageStyle">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-PageStyle-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-PageStyle-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-PageStyle-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageStyle-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageStyle-PageDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:PageDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-PageStyle-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageStyle-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageStyle-TitlePageDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:TitlePageDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageStyle-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageStyle-FormatColumns">+ <property name="visible">True</property>+ <property name="action_name">.uno:FormatColumns</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-PageStyle-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageStyle-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageStyle-LineNumberingDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:LineNumberingDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-PageStyle-tb5">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-PageStyle-Hyphenate">+ <property name="visible">True</property>+ <property name="action_name">.uno:Hyphenate</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-PageStyle-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Page</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Layout-Arrange">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Layout-Arrange-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Arrange-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Layout-Arrange-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Arrange-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkMenuToolButton" id="Layout-Arrange-WrapMenu">+ <property name="visible">True</property>+ <property name="action_name">.uno:WrapMenu</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Layout-Arrange-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Arrange-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Arrange-BringToFront">+ <property name="visible">True</property>+ <property name="action_name">.uno:BringToFront</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Arrange-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Layout-Arrange-SendToBack">+ <property name="visible">True</property>+ <property name="action_name">.uno:SendToBack</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Layout-Arrange-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkMenuToolButton" id="Layout-Arrange-ObjectAlign">+ <property name="visible">True</property>+ <property name="action_name">.uno:ObjectAlign</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Layout-Arrange-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Arrange</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">2</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="LayoutLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Layout</property>+ </object>+ <packing>+ <property name="position">2</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="References">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="References-Contents">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="References-Contents-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="References-Contents-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Contents-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="References-Contents-InsertMultiIndex">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertMultiIndex</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Contents-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Contents-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="References-Contents-UpdateCurIndex">+ <property name="visible">True</property>+ <property name="action_name">.uno:UpdateCurIndex</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Contents-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="References-Contents-UpdateAllIndexes">+ <property name="visible">True</property>+ <property name="action_name">.uno:UpdateAllIndexes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="References-Contents-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Table of contents</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="References-Footnotes">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="References-Footnotes-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Footnotes-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="References-Footnotes-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Footnotes-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="References-Footnotes-InsertFootnote">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertFootnote</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Footnotes-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Footnotes-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="References-Footnotes-InsertEndnote">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertEndnote</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Footnotes-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="References-Footnotes-FootnoteDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:FootnoteDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="References-Footnotes-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Footnotes</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="References-Citations">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="References-Citations-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Citations-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="References-Citations-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Citations-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="References-Citations-InsertAuthoritiesEntry">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertAuthoritiesEntry</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="References-Citations-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Citations</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="References-Captions">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="References-Captions-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Captions-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="References-Captions-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Captions-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="References-Captions-InsertCaptionDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertCaptionDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Captions-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Captions-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="References-Captions-InsertReferenceField">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertReferenceField</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Captions-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="References-Captions-InsertBookmark">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertBookmark</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="References-Captions-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Captions</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="References-Index">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="References-Index-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Index-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="References-Index-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Index-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="References-Index-InsertIndexesEntry">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertIndexesEntry</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="References-Index-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Index</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="References-Update">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="References-Update-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="References-Update-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="References-Update-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="References-Update-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="References-Update-UpdateAll">+ <property name="visible">True</property>+ <property name="action_name">.uno:UpdateAll</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="References-Update-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Update</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">5</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">3</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="ReferencesLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">References</property>+ </object>+ <packing>+ <property name="position">3</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="Review">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="Review-Proofing">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="Review-Proofing-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Proofing-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-SpellingAndGrammarDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:SpellingAndGrammarDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Proofing-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-SpellOnline">+ <property name="visible">True</property>+ <property name="action_name">.uno:SpellOnline</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-ThesaurusDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:ThesaurusDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Proofing-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Proofing-WordCountDialog">+ <property name="visible">True</property>+ <property name="action_name">.uno:WordCountDialog</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Proofing-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Proofing</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Comments">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Comments-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Comments-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Comments-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-InsertAnnotation">+ <property name="visible">True</property>+ <property name="action_name">.uno:InsertAnnotation</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Comments-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-ShowAnnotations">+ <property name="visible">True</property>+ <property name="action_name">.uno:ShowAnnotations</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Comments-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Comments-DeleteAllNotes">+ <property name="visible">True</property>+ <property name="action_name">.uno:DeleteAllNotes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Comments-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Comments</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Tracking">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Tracking-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Tracking-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Tracking-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Tracking-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="Review-Tracking-TrackChanges">+ <property name="visible">True</property>+ <property name="action_name">.uno:TrackChanges</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Tracking-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Tracking-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Tracking-ShowTrackedChanges">+ <property name="visible">True</property>+ <property name="action_name">.uno:ShowTrackedChanges</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Tracking-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Tracking-AcceptTrackedChanges">+ <property name="visible">True</property>+ <property name="action_name">.uno:AcceptTrackedChanges</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Tracking-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Track changes</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Changes">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Changes-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Changes-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Changes-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Changes-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Changes-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Changes-AcceptTrackedChange">+ <property name="visible">True</property>+ <property name="action_name">.uno:AcceptTrackedChange</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Changes-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Changes-RejectTrackedChange">+ <property name="visible">True</property>+ <property name="action_name">.uno:RejectTrackedChange</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Changes-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Changes-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Changes-PreviousTrackedChange">+ <property name="visible">True</property>+ <property name="action_name">.uno:PreviousTrackedChange</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Changes-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Changes-NextTrackedChange">+ <property name="visible">True</property>+ <property name="action_name">.uno:NextTrackedChange</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Changes-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Changes</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="Review-Compare">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="Review-Compare-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="Review-Compare-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Compare-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="Review-Compare-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Compare-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Compare-CompareDocuments">+ <property name="visible">True</property>+ <property name="action_name">.uno:CompareDocuments</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="Review-Compare-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="Review-Compare-ProtectTraceChangeMode">+ <property name="visible">True</property>+ <property name="action_name">.uno:ProtectTraceChangeMode</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="Review-Compare-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Compare</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-7"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">4</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">4</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="ReviewLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Review</property>+ </object>+ <packing>+ <property name="position">4</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View Tab">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="sfxlo-PriorityMergedHBox" id="View">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_start">2</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">2</property>+ <property name="vexpand">True</property>+ <child>+ <object class="VclOptionalBox" id="View-Views">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkBox" id="View-Views-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Views-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Views-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="View-Views-PrintLayout">+ <property name="visible">True</property>+ <property name="action_name">.uno:PrintLayout</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="View-Views-BrowseView">+ <property name="visible">True</property>+ <property name="action_name">.uno:BrowseView</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Views-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Views</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="View-Show">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="View-Show-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Show-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Show-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Show-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-Ruler">+ <property name="visible">True</property>+ <property name="action_name">.uno:Ruler</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-ControlCodes">+ <property name="visible">True</property>+ <property name="action_name">.uno:ControlCodes</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-ShowWhitespace">+ <property name="visible">True</property>+ <property name="action_name">.uno:ShowWhitespace</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Show-rows2">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb4">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-Navigator">+ <property name="visible">True</property>+ <property name="action_name">.uno:Navigator</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Show-tb5">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Show-Sidebar">+ <property name="visible">True</property>+ <property name="action_name">.uno:Sidebar</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Show-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Show</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="View-Zoom">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="View-Zoom-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Zoom-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Zoom-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Zoom-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="View-Zoom-Zoom">+ <property name="visible">True</property>+ <property name="action_name">.uno:Zoom</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ <child>+ <object class="GtkToolButton" id="View-Zoom-Zoom100Percent">+ <property name="visible">True</property>+ <property name="action_name">.uno:Zoom100Percent</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Zoom-rows">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Zoom-tb2">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Zoom-ZoomPage">+ <property name="visible">True</property>+ <property name="action_name">.uno:ZoomPage</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Zoom-tb3">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both-horiz</property>+ <property name="show_arrow">False</property>+ <child>+ <object class="GtkToolButton" id="View-Zoom-ZoomPageWidth">+ <property name="visible">True</property>+ <property name="action_name">.uno:ZoomPageWidth</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Zoom-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Zoom</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-9"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ <child>+ <object class="VclOptionalBox" id="View-Window">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="vexpand">True</property>+ <child>+ <object class="GtkSeparator" id="View-Window-sep">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="margin_top">4</property>+ <property name="margin_bottom">4</property>+ <property name="orientation">vertical</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="padding">3</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkBox" id="View-Window-stack">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="orientation">vertical</property>+ <property name="spacing">2</property>+ <child>+ <object class="GtkBox" id="View-Window-content">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="valign">center</property>+ <property name="vexpand">True</property>+ <property name="spacing">2</property>+ <child>+ <object class="sfxlo-NotebookbarToolBox" id="View-Window-tb">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="valign">center</property>+ <property name="toolbar_style">both</property>+ <property name="show_arrow">False</property>+ <property name="icon_size">3</property>+ <child>+ <object class="GtkToolButton" id="View-Window-FullScreen">+ <property name="visible">True</property>+ <property name="action_name">.uno:FullScreen</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="homogeneous">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ <child>+ <object class="GtkLabel" id="View-Window-label">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">Window</property>+ <property name="halign">center</property>+ <attributes>+ <attribute name="scale" value="0.85"/>+ </attributes>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <style>+ <class name="priority-8"/>+ </style>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">3</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">0</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="position">5</property>+ </packing>+ </child>+ <child type="tab">+ <object class="GtkLabel" id="ViewLabel">+ <property name="visible">True</property>+ <property name="can_focus">False</property>+ <property name="label" translatable="yes">View</property>+ </object>+ <packing>+ <property name="position">5</property>+ <property name="tab_fill">False</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="expand">True</property>+ <property name="fill">True</property>+ <property name="position">1</property>+ </packing>+ </child>+ <child>+ <object class="GtkButton" id="FindCommand">+ <property name="visible">True</property>+ <property name="can_focus">True</property>+ <property name="receives_default">False</property>+ <property name="valign">start</property>+ <property name="width_request">170</property>+ <property name="margin_end">4</property>+ <property name="margin_top">6</property>+ <property name="action_name">.uno:CommandPopup</property>+ <property name="xalign">0</property>+ <property name="label" translatable="yes">Find a command</property>+ </object>+ <packing>+ <property name="expand">False</property>+ <property name="fill">True</property>+ <property name="position">2</property>+ </packing>+ </child>+ </object>+ <packing>+ <property name="left_attach">0</property>+ <property name="top_attach">0</property>+ </packing>+ </child>+ </object>+</interface>diff --git a/packages/wildos-office/qml/AppIcon.qml b/packages/wildos-office/qml/AppIcon.qmlnew file mode 100644index 0000000..63b9bcf--- /dev/null+++ b/packages/wildos-office/qml/AppIcon.qml@@ -0,0 +1,16 @@+import QtQuick+import WildOS.Office++// Write's or Tables' icon from the App icons board, drawn from the copy in+// the program so it shows before the icon theme has caught up with it.+Image {+ property real size: 26++ width: size+ height: size+ source: Office.tables ? "data/org.wildos.tables.svg" : "data/org.wildos.write.svg"+ sourceSize.width: Math.ceil(size * 2)+ sourceSize.height: Math.ceil(size * 2)+ fillMode: Image.PreserveAspectFit+ smooth: true+}diff --git a/packages/wildos-office/qml/DocumentRow.qml b/packages/wildos-office/qml/DocumentRow.qmlnew file mode 100644index 0000000..15e9132--- /dev/null+++ b/packages/wildos-office/qml/DocumentRow.qml@@ -0,0 +1,119 @@+import QtQuick+import QtQuick.Templates as T+import WildOS.Office+import WildOS.UI as UI++// One document in Recent, Pinned or the search results (WriteStart.dc):+// the app icon, the name over its folder, when it last changed, and the+// row's menu behind "..." or a right click.+T.AbstractButton {+ id: row++ required property var modelData+ property bool removable: true+ readonly property bool lit: hovered || visualFocus || menu.visible++ signal openRequested(string path, string name)++ width: ListView.view ? ListView.view.width : implicitWidth+ implicitHeight: 48+ hoverEnabled: true+ focusPolicy: Qt.StrongFocus+ Accessible.role: Accessible.ListItem+ Accessible.name: modelData.name + ", " + modelData.folder + ", " + modelData.when++ onClicked: openRequested(modelData.path, modelData.name)+ Keys.onReturnPressed: clicked()+ Keys.onEnterPressed: clicked()+ Keys.onMenuPressed: menu.popup(more, 0, more.height)++ background: Rectangle {+ radius: 8+ color: row.down ? UI.Style.surfacePressed : row.lit ? UI.Style.surfaceHover : "transparent"+ Behavior on color {+ ColorAnimation { duration: UI.Style.hoverDuration }+ }+ UI.FocusRing {+ visible: row.visualFocus+ }+ }++ contentItem: Item {}++ TapHandler {+ acceptedButtons: Qt.RightButton+ onTapped: eventPoint => menu.popup(row, eventPoint.position.x, eventPoint.position.y)+ }++ AppIcon {+ id: icon+ x: 12+ anchors.verticalCenter: parent.verticalCenter+ size: 26+ }++ Column {+ anchors.left: icon.right+ anchors.leftMargin: 14+ anchors.right: when.left+ anchors.rightMargin: 12+ anchors.verticalCenter: parent.verticalCenter+ spacing: 1++ UI.Label {+ width: parent.width+ text: row.modelData.name+ size: 13.5+ font.weight: Font.Medium+ }+ UI.Label {+ width: parent.width+ text: row.modelData.folder+ size: 12+ color: UI.Style.inkMuted+ }+ }++ UI.Label {+ id: when+ anchors.right: more.left+ anchors.rightMargin: 14+ anchors.verticalCenter: parent.verticalCenter+ width: 140+ text: row.modelData.when+ size: 12.5+ color: UI.Style.inkMuted+ }++ UI.IconButton {+ id: more+ anchors.right: parent.right+ anchors.rightMargin: 10+ anchors.verticalCenter: parent.verticalCenter+ width: 30+ height: 30+ iconName: "more"+ iconColor: UI.Style.iconMuted+ tip: qsTr("More options")+ focusPolicy: Qt.NoFocus+ onClicked: menu.popup(more, 0, more.height + 4)+ }++ UI.Menu {+ id: menu+ entries: {+ const list = [+ { text: qsTr("Open"), icon: "open", bold: true, run: () => row.openRequested(row.modelData.path, row.modelData.name) },+ { text: qsTr("Open file location"), icon: "open-folder", run: () => Office.showInFolder(row.modelData.path) },+ { separator: true },+ row.modelData.pinned+ ? { text: qsTr("Unpin"), icon: "unpin", run: () => Office.unpin(row.modelData.path) }+ : { text: qsTr("Pin"), icon: "pin", run: () => Office.pin(row.modelData.path) }+ ];+ if (row.removable) {+ list.push({ text: qsTr("Remove from list"), icon: "close", run: () => Office.forget(row.modelData.path) });+ }+ return list;+ }+ }+}diff --git a/packages/wildos-office/qml/Main.qml b/packages/wildos-office/qml/Main.qmlnew file mode 100644index 0000000..097be25--- /dev/null+++ b/packages/wildos-office/qml/Main.qml@@ -0,0 +1,542 @@+import QtQuick+import QtQuick.Controls as QQC+import QtQuick.Dialogs+import QtQuick.Layouts+import WildOS.Office+import WildOS.UI as UI++// The Write and Tables start screen (WriteStart.dc): the rail with Home,+// New from template and Open, the templates, Search documents, and the+// Recent and Pinned lists. Whatever is picked opens in LibreOffice, and+// once its window has taken over this one goes.+UI.AppWindow {+ id: window++ // "home" or "templates".+ property string page: "home"+ // "recent" or "pinned".+ property string list: "recent"+ // The name of what is opening, while LibreOffice starts.+ property string opening: ""+ // Held here so the splash is not collected while it shows.+ property var splashWindow: null+ readonly property bool searchingNow: search.text.trim().length > 0++ width: 1384+ height: 802+ minimumWidth: 900+ minimumHeight: 600+ visible: true+ title: qsTr("Start")++ // On a cold start the start screen makes way for the loading splash+ // (board 12.5), which goes once the document's window takes focus. With+ // LibreOffice already running the document opens at once, so the start+ // screen just waits for it.+ function started(ok, name, warm, splashName) {+ if (!ok) {+ return;+ }+ opening = name;+ if (warm) {+ giveUp.restart();+ return;+ }+ const component = Qt.createComponent("WildOS.Office", "Splash");+ if (component.status === Component.Ready) {+ splashWindow = component.createObject(null, { fileName: splashName });+ // The start screen keeps focus until the splash is up, so the+ // splash inherits it and can tell when the document takes over.+ splashWindow.visibleChanged.connect(() => {+ if (splashWindow.visible) {+ window.visible = false;+ }+ });+ } else {+ giveUp.restart();+ }+ }+ function openDocument(path, name) {+ const warm = Office.isLibreOfficeRunning();+ started(Office.open(path), name, warm, name);+ }+ function openTemplate(entry) {+ const warm = Office.isLibreOfficeRunning();+ started(entry.blank ? Office.newBlank() : Office.openTemplate(entry.file), entry.name, warm, entry.blank ? "" : entry.name);+ }++ // The document's window taking focus is the sign LibreOffice is up.+ onActiveChanged: {+ // Once the splash is up it decides when to go. A document that+ // opens before the splash has shown ends both at once.+ if (splashWindow) {+ if (!active && !splashWindow.visible) {+ splashWindow.finish();+ }+ return;+ }+ if (!active && opening.length > 0) {+ Qt.quit();+ } else if (active && opening.length === 0) {+ Office.reload();+ }+ }+ // LibreOffice can take half a minute to show its first window on a+ // slow PC; if it never takes focus, the start screen goes anyway.+ Timer {+ id: giveUp+ interval: 60000+ onTriggered: Qt.quit()+ }++ Connections {+ target: Office+ function onFailed(message) {+ toast.show(message);+ }+ }++ Shortcut {+ sequence: StandardKey.New+ onActivated: window.openTemplate({ blank: true, name: Office.tables ? qsTr("Blank workbook") : qsTr("Blank document") })+ }+ Shortcut {+ sequence: StandardKey.Open+ onActivated: openDialog.open()+ }+ Shortcut {+ sequences: [StandardKey.Find, "Ctrl+E"]+ onActivated: {+ window.page = "home";+ search.forceActiveFocus();+ }+ }++ FileDialog {+ id: openDialog+ title: Office.tables ? qsTr("Open a spreadsheet") : qsTr("Open a document")+ fileMode: FileDialog.OpenFile+ currentFolder: Office.documentsFolder+ nameFilters: Office.nameFilters+ onAccepted: {+ const path = decodeURIComponent(selectedFile.toString());+ window.openDocument(selectedFile.toString(), path.substring(path.lastIndexOf("/") + 1));+ }+ }++ readonly property var blankEntry: ({+ blank: true,+ name: Office.tables ? qsTr("Blank workbook") : qsTr("Blank document"),+ description: Office.tables ? qsTr("An empty workbook in Carlito 11, ready for anything.") : qsTr("An empty A4 page with the Wild OS styles."),+ thumbnail: ""+ })++ ColumnLayout {+ anchors.fill: parent+ anchors.margins: window.maximised ? 0 : 1+ spacing: 0++ UI.TitleBar {+ Layout.fillWidth: true+ tinted: true+ frame: window.frame++ Row {+ height: parent.height+ spacing: 10++ AppIcon {+ anchors.verticalCenter: parent.verticalCenter+ size: 18+ }+ Row {+ anchors.verticalCenter: parent.verticalCenter+ spacing: 8+ UI.Label {+ text: qsTr("Start")+ font.weight: Font.Medium+ color: window.active ? UI.Style.ink : UI.Style.inkMuted+ }+ UI.Label {+ text: Office.appName+ color: UI.Style.inkDisabled+ }+ }+ }+ }++ RowLayout {+ Layout.fillWidth: true+ Layout.fillHeight: true+ spacing: 0++ // The rail.+ Rectangle {+ Layout.fillHeight: true+ implicitWidth: 250+ color: UI.Style.shade(0.30, 0.04)+ bottomLeftRadius: window.maximised ? 0 : UI.Style.windowRadius - 1++ Rectangle {+ anchors.right: parent.right+ width: 1+ height: parent.height+ color: UI.Style.divider+ }++ ColumnLayout {+ anchors.fill: parent+ anchors.leftMargin: 14+ anchors.rightMargin: 14+ anchors.topMargin: 22+ anchors.bottomMargin: 22+ spacing: 4++ Row {+ Layout.leftMargin: 8+ Layout.bottomMargin: 18+ spacing: 12+ AppIcon {+ anchors.verticalCenter: parent.verticalCenter+ size: 36+ }+ UI.Label {+ anchors.verticalCenter: parent.verticalCenter+ text: Office.appName+ size: 20+ font.weight: Font.DemiBold+ }+ }++ RailButton {+ text: qsTr("Home")+ iconName: "clock"+ current: window.page === "home"+ onClicked: window.page = "home"+ }+ RailButton {+ text: qsTr("New from template")+ iconName: "document"+ current: window.page === "templates"+ onClicked: window.page = "templates"+ }+ RailButton {+ text: qsTr("Open")+ iconName: "open-folder"+ onClicked: openDialog.open()+ }++ Item {+ Layout.fillHeight: true+ }++ Rectangle {+ Layout.fillWidth: true+ implicitHeight: note.implicitHeight + 24+ radius: 10+ color: UI.Style.surfaceRest+ border.width: 1+ border.color: UI.Style.borderSubtle++ Column {+ id: note+ x: 12+ y: 12+ width: parent.width - 24+ spacing: 6+ UI.Label {+ width: parent.width+ text: Office.formatName+ size: 12.5+ font.weight: Font.DemiBold+ }+ UI.Label {+ width: parent.width+ text: Office.formatNote+ size: 12+ color: UI.Style.inkMuted+ wrapMode: Text.WordWrap+ lineHeight: 1.3+ }+ }+ }+ }+ }++ // Home.+ ColumnLayout {+ visible: window.page === "home"+ Layout.fillWidth: true+ Layout.fillHeight: true+ Layout.leftMargin: 34+ Layout.rightMargin: 34+ Layout.topMargin: 26+ spacing: 14++ RowLayout {+ Layout.fillWidth: true+ UI.Label {+ Layout.fillWidth: true+ text: qsTr("Start something new")+ size: 22+ font.weight: Font.DemiBold+ }+ UI.SearchField {+ id: search+ Layout.preferredWidth: 280+ implicitHeight: 32+ iconLeading: true+ placeholderText: Office.tables ? qsTr("Search spreadsheets") : qsTr("Search documents")+ onTextChanged: searchTimer.restart()+ onAccepted: {+ searchTimer.stop();+ Office.search(text);+ }+ onDownPressed: documents.forceActiveFocus()+ }+ Timer {+ id: searchTimer+ interval: 250+ onTriggered: Office.search(search.text)+ }+ }++ ListView {+ id: strip+ Layout.fillWidth: true+ Layout.leftMargin: -8+ implicitHeight: 220+ orientation: ListView.Horizontal+ spacing: 6+ clip: true+ boundsBehavior: Flickable.StopAtBounds+ model: [window.blankEntry].concat(Office.templates)+ delegate: TemplateCard {+ required property var modelData+ name: modelData.name+ thumbnail: modelData.thumbnail+ blank: modelData.blank === true+ onClicked: window.openTemplate(modelData)+ }+ QQC.ScrollBar.horizontal: UI.ScrollBar {}+ }++ Row {+ Layout.topMargin: 6+ spacing: 18++ Repeater {+ model: window.searchingNow ? [{ id: "results", name: qsTr("Results") }]+ : [{ id: "recent", name: qsTr("Recent") }, { id: "pinned", name: qsTr("Pinned") }]+ delegate: T_Tab {}+ }+ UI.Spinner {+ visible: window.searchingNow && Office.searching+ anchors.verticalCenter: parent.verticalCenter+ width: 14+ height: 14+ }+ }++ RowLayout {+ Layout.fillWidth: true+ implicitHeight: 26+ spacing: 0+ Item {+ implicitWidth: 52+ }+ UI.Label {+ Layout.fillWidth: true+ text: qsTr("Name")+ size: 12+ color: UI.Style.inkDisabled+ }+ UI.Label {+ Layout.preferredWidth: 194+ text: qsTr("Modified")+ size: 12+ color: UI.Style.inkDisabled+ }+ }++ ListView {+ id: documents+ Layout.fillWidth: true+ Layout.fillHeight: true+ Layout.topMargin: -10+ clip: true+ boundsBehavior: Flickable.StopAtBounds+ keyNavigationEnabled: true+ model: window.searchingNow ? Office.results : window.list === "pinned" ? Office.pinned : Office.recent+ delegate: DocumentRow {+ removable: !window.searchingNow && window.list === "recent"+ onOpenRequested: (path, name) => window.openDocument(path, name)+ }+ QQC.ScrollBar.vertical: UI.ScrollBar {}++ UI.Label {+ visible: documents.count === 0 && !(window.searchingNow && Office.searching)+ anchors.horizontalCenter: parent.horizontalCenter+ y: 40+ width: Math.min(parent.width - 40, 420)+ horizontalAlignment: Text.AlignHCenter+ wrapMode: Text.WordWrap+ color: UI.Style.inkMuted+ text: window.searchingNow+ ? qsTr("Nothing called “%1” in Documents, Desktop or Downloads.").arg(search.text.trim())+ : window.list === "pinned"+ ? (Office.tables ? qsTr("Pin a spreadsheet from its … menu to keep it here.") : qsTr("Pin a document from its … menu to keep it here."))+ : (Office.tables ? qsTr("Spreadsheets you open in Tables show up here.") : qsTr("Documents you open in Write show up here."))+ }+ }+ }++ // New from template.+ Flickable {+ id: gallery+ visible: window.page === "templates"+ Layout.fillWidth: true+ Layout.fillHeight: true+ contentHeight: galleryColumn.implicitHeight + 52+ clip: true+ boundsBehavior: Flickable.StopAtBounds+ QQC.ScrollBar.vertical: UI.ScrollBar {}++ Column {+ id: galleryColumn+ x: 34+ y: 26+ width: gallery.width - 68+ spacing: 14++ UI.Label {+ text: qsTr("New from template")+ size: 22+ font.weight: Font.DemiBold+ }+ UI.Label {+ width: parent.width+ text: Office.tables+ ? qsTr("Each one opens as a new workbook with example figures in it. Type over them; the sums keep up.")+ : qsTr("Each one opens as a new document with example text in it. Type over it and save it as your own.")+ color: UI.Style.inkMuted+ wrapMode: Text.WordWrap+ }+ Flow {+ width: parent.width + 8+ x: -8+ spacing: 10+ Repeater {+ model: [window.blankEntry].concat(Office.templates)+ delegate: TemplateCard {+ required property var modelData+ width: 160+ name: modelData.name+ thumbnail: modelData.thumbnail+ description: modelData.description+ blank: modelData.blank === true+ onClicked: window.openTemplate(modelData)+ }+ }+ }++ UI.Label {+ visible: Office.userTemplates.length > 0+ topPadding: 12+ text: qsTr("Your templates")+ size: 16+ font.weight: Font.DemiBold+ }+ Flow {+ visible: Office.userTemplates.length > 0+ width: parent.width + 8+ x: -8+ spacing: 10+ Repeater {+ model: Office.userTemplates+ delegate: TemplateCard {+ required property var modelData+ width: 160+ name: modelData.name+ description: modelData.description+ onClicked: window.openTemplate(modelData)+ }+ }+ }+ }+ }+ }+ }++ // While LibreOffice starts: the window stays, quietly saying so.+ Rectangle {+ anchors.fill: parent+ anchors.topMargin: UI.Style.titleBarHeight+ visible: window.opening.length > 0+ color: UI.Style.scrim+ bottomLeftRadius: window.maximised ? 0 : UI.Style.windowRadius+ bottomRightRadius: bottomLeftRadius++ MouseArea {+ anchors.fill: parent+ }+ Rectangle {+ anchors.centerIn: parent+ width: openingRow.implicitWidth + 40+ height: 56+ radius: UI.Style.radiusMd+ color: UI.Style.glassMenu+ border.width: 1+ border.color: UI.Style.borderMenu+ Row {+ id: openingRow+ anchors.centerIn: parent+ spacing: 12+ UI.Spinner {+ anchors.verticalCenter: parent.verticalCenter+ width: 18+ height: 18+ }+ UI.Label {+ anchors.verticalCenter: parent.verticalCenter+ text: qsTr("Opening %1").arg(window.opening)+ size: 14+ }+ }+ }+ }++ UI.Toast {+ id: toast+ anchors.horizontalCenter: parent.horizontalCenter+ anchors.bottom: parent.bottom+ anchors.bottomMargin: 24+ z: 60+ }++ component T_Tab: Item {+ id: tab+ required property var modelData+ readonly property bool active: modelData.id === "results" || window.list === modelData.id+ implicitWidth: tabLabel.implicitWidth+ implicitHeight: 24+ Accessible.role: Accessible.PageTab+ Accessible.name: modelData.name++ UI.Label {+ id: tabLabel+ anchors.verticalCenter: parent.verticalCenter+ text: tab.modelData.name+ size: tab.active ? 16 : 13+ font.weight: tab.active ? Font.DemiBold : Font.Normal+ color: tab.active ? UI.Style.ink : tabMouse.containsMouse ? UI.Style.ink : UI.Style.inkMuted+ }+ MouseArea {+ id: tabMouse+ anchors.fill: parent+ hoverEnabled: true+ cursorShape: tab.active ? Qt.ArrowCursor : Qt.PointingHandCursor+ onClicked: if (tab.modelData.id !== "results") window.list = tab.modelData.id+ }+ }+}diff --git a/packages/wildos-office/qml/RailButton.qml b/packages/wildos-office/qml/RailButton.qmlnew file mode 100644index 0000000..afa9237--- /dev/null+++ b/packages/wildos-office/qml/RailButton.qml@@ -0,0 +1,51 @@+import QtQuick+import QtQuick.Layouts+import QtQuick.Templates as T+import WildOS.UI as UI++// A place on the start screen's rail (WriteStart.dc): 38px, radius 8, a+// 17px line icon and 13.5px text, filled with the accent when current.+T.AbstractButton {+ id: button++ property string iconName+ property bool current: false++ Layout.fillWidth: true+ implicitHeight: 38+ hoverEnabled: true+ focusPolicy: Qt.StrongFocus+ Accessible.role: Accessible.Button+ Accessible.name: text++ Keys.onReturnPressed: clicked()+ Keys.onEnterPressed: clicked()++ background: Rectangle {+ radius: 8+ color: button.current ? UI.Style.accentAlpha(0.16, 0.12) : button.down ? UI.Style.surfacePressed : button.hovered ? UI.Style.surfaceHover : "transparent"+ Behavior on color {+ ColorAnimation { duration: UI.Style.hoverDuration }+ }+ UI.FocusRing {+ visible: button.visualFocus+ }+ }++ contentItem: Row {+ leftPadding: 14+ spacing: 12+ UI.Icon {+ anchors.verticalCenter: parent.verticalCenter+ name: button.iconName+ size: 17+ color: button.current ? UI.Style.iconInk : UI.Style.iconMuted+ }+ UI.Label {+ anchors.verticalCenter: parent.verticalCenter+ text: button.text+ size: 13.5+ font.weight: button.current ? Font.DemiBold : Font.Normal+ }+ }+}diff --git a/packages/wildos-office/qml/Splash.qml b/packages/wildos-office/qml/Splash.qmlnew file mode 100644index 0000000..ac2a5fa--- /dev/null+++ b/packages/wildos-office/qml/Splash.qml@@ -0,0 +1,39 @@+import QtQuick+import WildOS.Office+import WildOS.UI as UI++// Write's or Tables' loading splash (board 12.5) while LibreOffice starts a+// document cold, in place of LibreOffice's own.+UI.LoadingSplash {+ // What is opening, or empty for a new document.+ property string fileName: ""+ // Launching the app rather than opening a document: shown at once, and+ // the start screen follows instead of the program ending.+ property bool launching: false++ appName: Office.appName+ iconSource: Qt.resolvedUrl(Office.tables ? "data/org.wildos.tables.svg" : "data/org.wildos.write.svg")+ accent: Office.tables ? "#2fd48a" : "#9d7bff"+ accentDeep: Office.tables ? "#0d7a49" : "#5631c9"+ status: launching ? qsTr("Starting up")+ : fileName.length > 0 ? qsTr("Opening %1").arg(fileName)+ : (Office.tables ? qsTr("Opening a new workbook") : qsTr("Opening a new document"))+ noteStart: Office.tables ? qsTr("Opens and saves Excel files") : qsTr("Opens and saves Word files")+ noteEnd: qsTr("Built on LibreOffice")+ finishOnFocusLoss: !launching+ showDelay: launching ? 0 : 333+ minimumTime: launching ? 1200 : 0+ onFinished: {+ if (!launching) {+ Qt.quit();+ }+ }++ // LibreOffice can take half a minute on a slow PC; past that the splash+ // goes anyway rather than staying over the desktop.+ Timer {+ interval: 60000+ running: true+ onTriggered: finish()+ }+}diff --git a/packages/wildos-office/qml/TemplateCard.qml b/packages/wildos-office/qml/TemplateCard.qmlnew file mode 100644index 0000000..856123f--- /dev/null+++ b/packages/wildos-office/qml/TemplateCard.qml@@ -0,0 +1,149 @@+import QtQuick+import QtQuick.Templates as T+import WildOS.UI as UI++// A template on the start screen (WriteStart.dc): the first page of the+// template, 134 by 176 on white, with its name under it. The blank card+// is an empty page with the accent plus; a template the person saved+// themselves, with no picture, shows a page of plain lines.+T.AbstractButton {+ id: card++ property string name+ property string thumbnail+ property string description+ property bool blank: false+ readonly property bool lit: hovered || visualFocus++ implicitWidth: 150+ implicitHeight: column.implicitHeight + 16+ hoverEnabled: true+ focusPolicy: Qt.StrongFocus+ Accessible.role: Accessible.Button+ Accessible.name: name+ Accessible.description: description++ Keys.onReturnPressed: clicked()+ Keys.onEnterPressed: clicked()++ background: Rectangle {+ radius: 10+ color: card.down ? UI.Style.surfacePressed : card.lit ? UI.Style.surfaceHover : "transparent"+ Behavior on color {+ ColorAnimation { duration: UI.Style.hoverDuration }+ }+ UI.FocusRing {+ visible: card.visualFocus+ }+ }++ contentItem: Item {}++ Column {+ id: column+ x: 8+ y: 8+ width: card.width - 16+ spacing: 9++ Item {+ width: 134+ height: 176++ // The page's shadow: a soft edge a step below the paper.+ Rectangle {+ x: -1+ y: 1+ width: parent.width + 2+ height: parent.height + 2+ radius: 5+ color: UI.Style.dark ? Qt.rgba(0, 0, 0, 0.30) : Qt.rgba(20 / 255, 30 / 255, 60 / 255, 0.10)+ }+ Rectangle {+ x: -2+ y: 3+ width: parent.width + 4+ height: parent.height + 2+ radius: 6+ color: UI.Style.dark ? Qt.rgba(0, 0, 0, 0.14) : Qt.rgba(20 / 255, 30 / 255, 60 / 255, 0.05)+ }+ Rectangle {+ id: page+ anchors.fill: parent+ radius: 4+ color: "#ffffff"+ border.width: UI.Style.dark ? 0 : 1+ border.color: Qt.rgba(30 / 255, 40 / 255, 70 / 255, 0.10)+ clip: true++ Image {+ visible: card.thumbnail.length > 0+ anchors.fill: parent+ anchors.margins: 1+ source: card.thumbnail+ sourceSize.width: 268+ sourceSize.height: 352+ fillMode: Image.PreserveAspectCrop+ verticalAlignment: Image.AlignTop+ smooth: true+ mipmap: true+ asynchronous: true+ }++ UI.Icon {+ visible: card.blank+ anchors.centerIn: parent+ name: "plus"+ size: 30+ strokeWidth: 2+ color: "#4560d8"+ }++ Column {+ visible: !card.blank && card.thumbnail.length === 0+ x: 16+ y: 18+ spacing: 5+ Rectangle {+ width: 60+ height: 6+ radius: 2+ color: "#1f2633"+ }+ Item {+ width: 1+ height: 4+ }+ Repeater {+ model: [0.95, 0.88, 0.92, 0.8, 0.9, 0.6]+ Rectangle {+ required property real modelData+ width: 102 * modelData+ height: 3+ radius: 2+ color: "#d7dbe3"+ }+ }+ }+ }+ }++ UI.Label {+ width: parent.width+ text: card.name+ size: 13+ font.weight: Font.Medium+ }+ UI.Label {+ visible: card.description.length > 0+ width: parent.width+ text: card.description+ size: 12+ color: UI.Style.inkMuted+ wrapMode: Text.WordWrap+ maximumLineCount: 3+ lineHeight: 1.25+ verticalAlignment: Text.AlignTop+ }+ }+}diff --git a/packages/wildos-office/src/main.cpp b/packages/wildos-office/src/main.cppnew file mode 100644index 0000000..1aa67a9--- /dev/null+++ b/packages/wildos-office/src/main.cpp@@ -0,0 +1,212 @@+#include <QDBusConnection>+#include <QDBusConnectionInterface>+#include <QDBusMessage>+#include <QDir>+#include <QFileInfo>+#include <QGuiApplication>+#include <QIcon>+#include <QProcess>+#include <QQmlApplicationEngine>+#include <QQuickWindow>+#include <QUrl>++#include <cstdlib>+#include <cstring>+#include <string>+#include <unistd.h>+#include <vector>++#include "office.h"++// Opening Write or Tables again while its start screen is up brings that+// window forward instead of a second one.+class Remote : public QObject+{+ Q_OBJECT+ Q_CLASSINFO("D-Bus Interface", "org.wildos.Office.Start")++public:+ explicit Remote(QQmlApplicationEngine *engine)+ : QObject(engine)+ , m_engine(engine)+ {+ }++public Q_SLOTS:+ Q_SCRIPTABLE void raise()+ {+ const auto roots = m_engine->rootObjects();+ if (auto window = roots.isEmpty() ? nullptr : qobject_cast<QQuickWindow *>(roots.constFirst())) {+ if (window->visibility() == QWindow::Minimized) {+ window->showNormal();+ }+ window->show();+ window->raise();+ window->requestActivate();+ }+ }++private:+ QQmlApplicationEngine *m_engine;+};++// Shows the start screen, at once or after the launch splash, and makes it+// the window that "Write" or "Tables" from Start brings forward next time.+class Launcher : public QObject+{+ Q_OBJECT++public:+ Launcher(QQmlApplicationEngine *engine, const QString &service, const QString &path)+ : QObject(engine)+ , m_engine(engine)+ , m_service(service)+ , m_path(path)+ {+ }++public Q_SLOTS:+ void showStart()+ {+ if (m_shown) {+ return;+ }+ m_shown = true;+ m_engine->loadFromModule("WildOS.Office", "Main");+ QDBusConnection bus = QDBusConnection::sessionBus();+ if (bus.isConnected()) {+ bus.registerObject(m_path, new Remote(m_engine), QDBusConnection::ExportScriptableSlots);+ bus.registerService(m_service);+ }+ }++private:+ QQmlApplicationEngine *m_engine;+ QString m_service;+ QString m_path;+ bool m_shown = false;+};++int main(int argc, char *argv[])+{+ // One program under three names: wildos-write and wildos-tables are+ // links to it, and --write or --tables pick the same from any name.+ const std::string self = QFileInfo(QString::fromLocal8Bit(argv[0])).fileName().toStdString();+ bool tables = self == "wildos-tables";+ bool blank = false;+ std::vector<std::string> files;+ for (int i = 1; i < argc; ++i) {+ if (std::strcmp(argv[i], "--tables") == 0) {+ tables = true;+ } else if (std::strcmp(argv[i], "--write") == 0) {+ tables = false;+ } else if (std::strcmp(argv[i], "--new") == 0) {+ blank = true;+ } else if (std::strcmp(argv[i], "--") != 0 && argv[i][0] != '-') {+ files.emplace_back(argv[i]);+ }+ }+ Office::setMode(tables);++ // Wild OS draws LibreOffice with its KDE look; a session can still+ // choose another.+ setenv("SAL_USE_VCLPLUGIN", "kf6", 0);++ // A file from Files or "Open with", or the launcher's New document.+ // LibreOffice starts without its own splash; on a cold start Wild OS+ // shows its splash while it loads, and with LibreOffice already running+ // the window opens at once, so nothing else needs to start.+ const bool opening = !files.empty() || blank;+ std::vector<std::string> sofficeArgs;+ if (opening) {+ sofficeArgs.emplace_back(tables ? "--calc" : "--writer");+ sofficeArgs.emplace_back("--nologo");+ for (const auto &file : files) {+ sofficeArgs.push_back(file);+ }+ }+ if (opening && Office::running()) {+ const std::string soffice = Office::soffice().toStdString();+ std::vector<char *> args;+ args.push_back(const_cast<char *>(soffice.c_str()));+ for (auto &arg : sofficeArgs) {+ args.push_back(arg.data());+ }+ args.push_back(nullptr);+ execv(soffice.c_str(), args.data());+ return 127;+ }++ QGuiApplication app(argc, argv);+ app.setApplicationName(QStringLiteral("wildos-office"));+ app.setOrganizationDomain(QStringLiteral("wildos.io"));+ app.setApplicationVersion(QStringLiteral(WILDOS_OFFICE_VERSION));+ // LibreOffice's own ids, which the Write and Tables launchers are+ // installed under, so the start screen and the documents it opens share+ // one taskbar button.+ app.setDesktopFileName(tables ? QStringLiteral("libreoffice-calc") : QStringLiteral("libreoffice-writer"));+ app.setWindowIcon(QIcon::fromTheme(tables ? QStringLiteral("org.wildos.tables") : QStringLiteral("org.wildos.write")));++ if (opening) {+ QStringList arguments;+ for (const auto &arg : sofficeArgs) {+ arguments << QString::fromLocal8Bit(arg.c_str());+ }+ if (!QProcess::startDetached(Office::soffice(), arguments)) {+ return 1;+ }+ QQmlApplicationEngine engine;+ engine.setInitialProperties({+ {QStringLiteral("fileName"), files.empty() ? QString() : QUrl::fromUserInput(QString::fromLocal8Bit(files.front().c_str()), QDir::currentPath()).fileName()},+ });+ QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed, &app, []() {+ QCoreApplication::exit(0);+ }, Qt::QueuedConnection);+ engine.loadFromModule("WildOS.Office", "Splash");+ return app.exec();+ }++ const QString service = tables ? QStringLiteral("org.wildos.Tables") : QStringLiteral("org.wildos.Write");+ const QString path = QStringLiteral("/Start");+ QDBusConnection bus = QDBusConnection::sessionBus();+ if (bus.isConnected() && bus.interface()->isServiceRegistered(service)) {+ bus.call(QDBusMessage::createMethodCall(service, path, QStringLiteral("org.wildos.Office.Start"), QStringLiteral("raise")));+ return 0;+ }++ QQmlApplicationEngine engine;+ QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed, &app, []() {+ QCoreApplication::exit(1);+ }, Qt::QueuedConnection);+ auto *launcher = new Launcher(&engine, service, path);++ if (Office::running()) {+ launcher->showStart();+ } else {+ // Opened from Start with LibreOffice not yet running: the splash shows+ // while LibreOffice starts once without a window and exits, which+ // sets up its profile and loads it from disk, so whatever is picked on+ // the start screen that follows opens quickly. A LibreOffice kept+ // running hidden instead would keep the documents it opens hidden.+ engine.setInitialProperties({{QStringLiteral("launching"), true}});+ engine.loadFromModule("WildOS.Office", "Splash");+ engine.setInitialProperties({});+ QObject *splash = engine.rootObjects().value(0);+ if (!splash) {+ launcher->showStart();+ } else {+ QObject::connect(splash, SIGNAL(finished()), launcher, SLOT(showStart()));+ auto *warm = new QProcess(launcher);+ QObject::connect(warm, &QProcess::finished, splash, [splash]() {+ QMetaObject::invokeMethod(splash, "finish");+ });+ QObject::connect(warm, &QProcess::errorOccurred, splash, [splash](QProcess::ProcessError) {+ QMetaObject::invokeMethod(splash, "finish");+ });+ warm->start(Office::soffice(), {QStringLiteral("--headless"), QStringLiteral("--nologo"), QStringLiteral("--norestore"), QStringLiteral("--terminate_after_init")});+ }+ }+ return app.exec();+}++#include "main.moc"diff --git a/packages/wildos-office/src/office.cpp b/packages/wildos-office/src/office.cppnew file mode 100644index 0000000..5b3e62e--- /dev/null+++ b/packages/wildos-office/src/office.cpp@@ -0,0 +1,598 @@+#include "office.h"++#include <QCoreApplication>+#include <QDBusConnection>+#include <QDBusMessage>+#include <QDesktopServices>+#include <QDir>+#include <QDirIterator>+#include <QFile>+#include <QFileInfo>+#include <QJsonArray>+#include <QJsonDocument>+#include <QJsonObject>+#include <QLocale>+#include <QPointer>+#include <QProcess>+#include <QRegularExpression>+#include <QSaveFile>+#include <QStandardPaths>+#include <QThread>+#include <QUrl>+#include <QXmlStreamReader>+#include <QXmlStreamWriter>++#include <algorithm>++#include <unistd.h>++bool Office::s_tables = false;++namespace+{+const QStringList writeTypes = {+ QStringLiteral("odt"), QStringLiteral("ott"), QStringLiteral("fodt"), QStringLiteral("docx"), QStringLiteral("doc"),+ QStringLiteral("docm"), QStringLiteral("dotx"), QStringLiteral("dot"), QStringLiteral("rtf"), QStringLiteral("txt"),+ QStringLiteral("wpd"), QStringLiteral("pages"), QStringLiteral("abw"), QStringLiteral("wps"),+};+const QStringList tablesTypes = {+ QStringLiteral("ods"), QStringLiteral("ots"), QStringLiteral("fods"), QStringLiteral("xlsx"), QStringLiteral("xls"),+ QStringLiteral("xlsm"), QStringLiteral("xltx"), QStringLiteral("xlt"), QStringLiteral("csv"), QStringLiteral("tsv"),+ QStringLiteral("numbers"), QStringLiteral("gnumeric"),+};++const QString pickListPath = QStringLiteral("/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['PickList']");++QString registryFile()+{+ return QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/libreoffice/4/user/registrymodifications.xcu");+}++QString toPath(const QString &pathOrUrl)+{+ if (pathOrUrl.startsWith(QLatin1String("file:"))) {+ return QUrl(pathOrUrl).toLocalFile();+ }+ return pathOrUrl;+}++// LibreOffice keeps its settings in memory and writes them all back when it+// quits, so its pick list is only edited while it is not running.+bool libreOfficeRunning()+{+ const uint uid = getuid();+ QDirIterator it(QStringLiteral("/proc"), QDir::Dirs | QDir::NoDotAndDotDot);+ while (it.hasNext()) {+ const QString dir = it.next();+ QFile comm(dir + QStringLiteral("/comm"));+ if (!comm.open(QIODevice::ReadOnly) || comm.readAll().trimmed() != "soffice.bin") {+ continue;+ }+ if (QFileInfo(dir).ownerId() == uid) {+ return true;+ }+ }+ return false;+}+}++void Office::setMode(bool tables)+{+ s_tables = tables;+}++bool Office::modeTables()+{+ return s_tables;+}++bool Office::running()+{+ return libreOfficeRunning();+}++QString Office::soffice()+{+ const QString custom = qEnvironmentVariable("WILDOS_OFFICE_SOFFICE");+ return custom.isEmpty() ? QStringLiteral("/usr/lib/libreoffice/program/soffice") : custom;+}++Office::Office(QObject *parent)+ : QObject(parent)+{+ loadTemplates();+ reload();+}++QString Office::appName() const+{+ return s_tables ? tr("Tables") : tr("Write");+}++QString Office::iconName() const+{+ return s_tables ? QStringLiteral("org.wildos.tables") : QStringLiteral("org.wildos.write");+}++QString Office::formatName() const+{+ return s_tables ? tr("Works with Excel files") : tr("Works with Word files");+}++QString Office::formatNote() const+{+ return s_tables ? tr("Opens .xlsx and saves as .xlsx by default, so files still open in Excel.")+ : tr("Opens .docx and saves as .docx by default, so files still open in Word.");+}++QStringList Office::nameFilters() const+{+ QStringList patterns;+ for (const QString &type : s_tables ? tablesTypes : writeTypes) {+ patterns << QStringLiteral("*.") + type;+ }+ return {(s_tables ? tr("Spreadsheets") : tr("Documents")) + QStringLiteral(" (") + patterns.join(QLatin1Char(' ')) + QLatin1Char(')'),+ tr("All files") + QStringLiteral(" (*)")};+}++QString Office::documentsFolder() const+{+ return QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation)).toString();+}++QString Office::dataDir() const+{+ const QString custom = qEnvironmentVariable("WILDOS_OFFICE_DATA");+ return custom.isEmpty() ? QStringLiteral(WILDOS_OFFICE_DATA) : custom;+}++void Office::loadTemplates()+{+ struct Builtin {+ const char *id;+ QString name;+ QString description;+ };+ const QList<Builtin> builtins = s_tables+ ? QList<Builtin>{+ {"budget", tr("Budget"), tr("A month's income and spending, planned against actual.")},+ {"invoice", tr("Invoice"), tr("Bill a customer, with VAT and the total worked out for you.")},+ {"planner", tr("Planner"), tr("Your week hour by hour, with a to-do list and a shopping list.")},+ {"timesheet", tr("Timesheet"), tr("Hours worked each day, with breaks taken off and the week's pay.")},+ {"expenses", tr("Expenses"), tr("Everything you spend, with totals for each category.")},+ }+ : QList<Builtin>{+ {"letter", tr("Letter"), tr("A formal letter with your address, the date and a reference line.")},+ {"cv", tr("CV"), tr("Profile, experience, education and skills on one clean page.")},+ {"report", tr("Report"), tr("A cover band, summary, findings with a table, and recommendations.")},+ {"newsletter", tr("Newsletter"), tr("A masthead and two columns of news for a club or group.")},+ {"meeting-notes", tr("Meeting notes"), tr("Who came, the agenda, what was said and who does what next.")},+ };+ const QString folder = dataDir() + (s_tables ? QStringLiteral("/templates/tables/") : QStringLiteral("/templates/write/"));+ const QString ext = s_tables ? QStringLiteral(".ots") : QStringLiteral(".ott");+ for (const Builtin &b : builtins) {+ const QString file = folder + QLatin1String(b.id) + ext;+ if (!QFileInfo::exists(file)) {+ continue;+ }+ const QString thumb = folder + QLatin1String(b.id) + QStringLiteral(".png");+ m_templates.append(QVariantMap{+ {QStringLiteral("id"), QLatin1String(b.id)},+ {QStringLiteral("name"), b.name},+ {QStringLiteral("description"), b.description},+ {QStringLiteral("file"), file},+ {QStringLiteral("thumbnail"), QFileInfo::exists(thumb) ? QUrl::fromLocalFile(thumb).toString() : QString()},+ });+ }+}++bool Office::ownsFile(const QString &path) const+{+ return (s_tables ? tablesTypes : writeTypes).contains(QFileInfo(path).suffix().toLower());+}++QString Office::whenText(const QDateTime &time)+{+ const QDateTime local = time.toLocalTime();+ const QDate day = local.date();+ const QDate today = QDate::currentDate();+ if (day == today) {+ return tr("Today, %1").arg(local.toString(QStringLiteral("HH:mm")));+ }+ if (day == today.addDays(-1)) {+ return tr("Yesterday");+ }+ // A weekday only while it can't be mistaken for one a week earlier.+ if (day < today && day > today.addDays(-5)) {+ return QLocale().dayName(day.dayOfWeek(), QLocale::ShortFormat);+ }+ return QLocale().toString(day, QStringLiteral("dd/MM/yyyy"));+}++QString Office::folderText(const QString &directory)+{+ const QString home = QDir::homePath();+ const QString dir = QDir::cleanPath(directory);+ if (dir == home) {+ return tr("Home");+ }+ QString rest;+ if (dir.startsWith(home + QLatin1Char('/'))) {+ rest = dir.mid(home.length() + 1);+ } else {+ // A USB stick or another disk: from its own name down.+ static const QRegularExpression media(QStringLiteral("^/(?:run/)?media/[^/]+/"));+ rest = dir;+ rest.remove(media);+ }+ return rest.split(QLatin1Char('/'), Qt::SkipEmptyParts).join(QStringLiteral(" > "));+}++QVariantMap Office::describe(const QString &path) const+{+ const QFileInfo info(path);+ return {+ {QStringLiteral("path"), path},+ {QStringLiteral("name"), info.fileName()},+ {QStringLiteral("folder"), folderText(info.absolutePath())},+ {QStringLiteral("when"), whenText(info.lastModified())},+ {QStringLiteral("pinned"), m_pins.contains(path)},+ };+}++// LibreOffice's recent documents, newest first. The pick list is an+// OrderList of numbered nodes, each naming a URL in its ItemList.+QStringList Office::pickList() const+{+ QFile file(registryFile());+ if (!file.open(QIODevice::ReadOnly)) {+ return {};+ }+ QMap<int, QString> order;+ QXmlStreamReader xml(&file);+ const QString orderPath = pickListPath + QStringLiteral("/OrderList");+ bool inOrder = false;+ int index = -1;+ bool inRef = false;+ while (!xml.atEnd()) {+ xml.readNext();+ if (xml.isStartElement()) {+ const auto name = xml.name();+ if (name == QLatin1String("item")) {+ inOrder = xml.attributes().value(QLatin1String("oor:path")) == orderPath;+ } else if (inOrder && name == QLatin1String("node")) {+ bool ok = false;+ index = xml.attributes().value(QLatin1String("oor:name")).toInt(&ok);+ if (!ok) {+ index = -1;+ }+ } else if (inOrder && name == QLatin1String("prop")) {+ inRef = xml.attributes().value(QLatin1String("oor:name")) == QLatin1String("HistoryItemRef");+ } else if (inOrder && inRef && index >= 0 && name == QLatin1String("value")) {+ order.insert(index, xml.readElementText());+ }+ } else if (xml.isEndElement() && xml.name() == QLatin1String("item")) {+ inOrder = false;+ inRef = false;+ index = -1;+ }+ }+ return order.values();+}++void Office::loadStore()+{+ m_pins.clear();+ m_hidden.clear();+ QFile file(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/wildos-office/documents.json"));+ if (!file.open(QIODevice::ReadOnly)) {+ return;+ }+ const QJsonObject root = QJsonDocument::fromJson(file.readAll()).object();+ for (const auto &value : root.value(QLatin1String("pinned")).toArray()) {+ m_pins << value.toString();+ }+ const QJsonObject removed = root.value(QLatin1String("removed")).toObject();+ for (auto it = removed.begin(); it != removed.end(); ++it) {+ m_hidden.insert(it.key(), qint64(it.value().toDouble()));+ }+}++void Office::saveStore() const+{+ const QString dir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/wildos-office");+ QDir().mkpath(dir);+ QJsonObject removed;+ for (auto it = m_hidden.begin(); it != m_hidden.end(); ++it) {+ removed.insert(it.key(), double(it.value()));+ }+ QSaveFile file(dir + QStringLiteral("/documents.json"));+ if (!file.open(QIODevice::WriteOnly)) {+ return;+ }+ file.write(QJsonDocument(QJsonObject{{QStringLiteral("pinned"), QJsonArray::fromStringList(m_pins)}, {QStringLiteral("removed"), removed}})+ .toJson(QJsonDocument::Compact));+ file.commit();+}++void Office::reload()+{+ loadStore();+ QVariantList recent;+ QSet<QString> seen;+ for (const QString &url : pickList()) {+ const QString path = toPath(url);+ if (path.isEmpty() || seen.contains(path) || !ownsFile(path)) {+ continue;+ }+ const QFileInfo info(path);+ if (!info.exists()) {+ continue;+ }+ // Removed from the list while LibreOffice was running, so its own+ // list still has it: hidden until the document is saved again.+ const auto hidden = m_hidden.constFind(path);+ if (hidden != m_hidden.constEnd() && info.lastModified().toMSecsSinceEpoch() <= hidden.value()) {+ continue;+ }+ seen.insert(path);+ recent.append(describe(path));+ }+ QVariantList pinned;+ for (const QString &path : std::as_const(m_pins)) {+ if (ownsFile(path) && QFileInfo::exists(path)) {+ pinned.append(describe(path));+ }+ }++ QVariantList user;+ const QStringList folders = {+ QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/libreoffice/4/user/template"),+ QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + QStringLiteral("/Templates"),+ };+ const QStringList templateTypes = s_tables ? QStringList{QStringLiteral("*.ots"), QStringLiteral("*.xltx"), QStringLiteral("*.xlt")}+ : QStringList{QStringLiteral("*.ott"), QStringLiteral("*.dotx"), QStringLiteral("*.dot")};+ for (const QString &folder : folders) {+ QDirIterator it(folder, templateTypes, QDir::Files, QDirIterator::Subdirectories);+ while (it.hasNext()) {+ const QFileInfo info(it.next());+ user.append(QVariantMap{+ {QStringLiteral("name"), info.completeBaseName()},+ {QStringLiteral("file"), info.absoluteFilePath()},+ {QStringLiteral("description"), folderText(info.absolutePath())},+ });+ }+ }++ m_recent = recent;+ m_pinned = pinned;+ m_userTemplates = user;+ Q_EMIT changed();+}++bool Office::launch(const QStringList &arguments)+{+ if (!QProcess::startDetached(soffice(), QStringList{QStringLiteral("--nologo")} + arguments)) {+ Q_EMIT failed(tr("%1 couldn't start. Try again in a moment.").arg(appName()));+ return false;+ }+ return true;+}++bool Office::isLibreOfficeRunning() const+{+ return running();+}++bool Office::open(const QString &pathOrUrl)+{+ const QString path = toPath(pathOrUrl);+ if (!QFileInfo::exists(path)) {+ Q_EMIT failed(tr("%1 has been moved or deleted.").arg(QFileInfo(path).fileName()));+ reload();+ return false;+ }+ return launch({s_tables ? QStringLiteral("--calc") : QStringLiteral("--writer"), path});+}++bool Office::openTemplate(const QString &path)+{+ // -n opens a copy with no name, so the template itself is never saved over.+ return launch({QStringLiteral("-n"), toPath(path)});+}++bool Office::newBlank()+{+ return launch({s_tables ? QStringLiteral("--calc") : QStringLiteral("--writer")});+}++void Office::showInFolder(const QString &path)+{+ // Files answers FileManager1 and opens the folder with the file selected.+ auto message = QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.FileManager1"), QStringLiteral("/org/freedesktop/FileManager1"),+ QStringLiteral("org.freedesktop.FileManager1"), QStringLiteral("ShowItems"));+ message << QStringList{QUrl::fromLocalFile(path).toString()} << QString();+ const QDBusMessage reply = QDBusConnection::sessionBus().call(message, QDBus::Block, 5000);+ if (reply.type() == QDBusMessage::ErrorMessage) {+ QDesktopServices::openUrl(QUrl::fromLocalFile(QFileInfo(path).absolutePath()));+ }+}++void Office::pin(const QString &path)+{+ loadStore();+ if (!m_pins.contains(path)) {+ m_pins.prepend(path);+ saveStore();+ }+ reload();+}++void Office::unpin(const QString &path)+{+ loadStore();+ m_pins.removeAll(path);+ saveStore();+ reload();+}++void Office::forget(const QString &path)+{+ loadStore();+ m_pins.removeAll(path);+ const QString url = QUrl::fromLocalFile(path).toString(QUrl::FullyEncoded);+ if (libreOfficeRunning()) {+ m_hidden.insert(path, QFileInfo(path).lastModified().toMSecsSinceEpoch());+ } else {+ removeFromPickList(url);+ removeFromPickList(QUrl::fromLocalFile(path).toString());+ m_hidden.remove(path);+ }+ saveStore();+ reload();+}++// The registry keeps one <item> per line. The document's ItemList entries+// go, and the OrderList closes up behind it so its numbers stay 0, 1, 2.+void Office::removeFromPickList(const QString &url) const+{+ QFile file(registryFile());+ if (!file.open(QIODevice::ReadOnly)) {+ return;+ }+ const QByteArray original = file.readAll();+ file.close();++ QString escaped;+ {+ QXmlStreamWriter writer(&escaped);+ writer.writeCharacters(url);+ }+ const QString itemPath = pickListPath + QStringLiteral("/ItemList");+ const QString orderPath = pickListPath + QStringLiteral("/OrderList");+ static const QRegularExpression orderNode(QStringLiteral("<node oor:name=\"(\\d+)\""));++ QStringList lines = QString::fromUtf8(original).split(QLatin1Char('\n'));+ int removedIndex = -1;+ for (const QString &line : std::as_const(lines)) {+ if (line.contains(orderPath) && line.contains(QStringLiteral("<value>") + escaped + QStringLiteral("</value>"))) {+ removedIndex = orderNode.match(line).captured(1).toInt();+ }+ }+ QStringList out;+ bool changedAny = false;+ for (QString line : std::as_const(lines)) {+ const bool item = line.contains(itemPath)+ && (line.contains(QStringLiteral("oor:name=\"") + escaped + QLatin1Char('"')) || line.contains(QStringLiteral("['") + escaped + QStringLiteral("']")));+ const bool order = line.contains(orderPath) && line.contains(QStringLiteral("<value>") + escaped + QStringLiteral("</value>"));+ if (item || order) {+ changedAny = true;+ continue;+ }+ if (removedIndex >= 0 && line.contains(orderPath)) {+ const auto match = orderNode.match(line);+ const int n = match.captured(1).toInt();+ if (match.hasMatch() && n > removedIndex) {+ line.replace(match.capturedStart(1), match.capturedLength(1), QString::number(n - 1));+ }+ }+ out << line;+ }+ if (!changedAny) {+ return;+ }+ QSaveFile save(registryFile());+ if (save.open(QIODevice::WriteOnly)) {+ save.write(out.join(QLatin1Char('\n')).toUtf8());+ save.commit();+ }+}++// Search documents: the recent and pinned lists, then the person's own+// folders, for file names with every word typed in them.+void Office::search(const QString &text)+{+ m_query = text.trimmed();+ const int generation = ++m_searchGeneration;+ if (m_query.isEmpty()) {+ m_results.clear();+ m_searching = false;+ Q_EMIT resultsChanged();+ return;+ }+ const QStringList words = m_query.split(QLatin1Char(' '), Qt::SkipEmptyParts);+ auto matches = [words](const QString &name) {+ return std::all_of(words.begin(), words.end(), [&name](const QString &w) {+ return name.contains(w, Qt::CaseInsensitive);+ });+ };+ QStringList known;+ for (const QVariantList &list : {m_pinned, m_recent}) {+ for (const QVariant &entry : list) {+ const QString path = entry.toMap().value(QStringLiteral("path")).toString();+ if (!known.contains(path) && matches(QFileInfo(path).fileName())) {+ known << path;+ }+ }+ }+ m_results.clear();+ for (const QString &path : std::as_const(known)) {+ m_results.append(describe(path));+ }+ m_searching = true;+ Q_EMIT resultsChanged();++ const QStringList types = s_tables ? tablesTypes : writeTypes;+ QPointer<Office> self(this);+ QThread *thread = QThread::create([self, generation, words, types, known, matches]() {+ QStringList found;+ const QString home = QDir::homePath();+ QStringList roots;+ for (const auto location : {QStandardPaths::DocumentsLocation, QStandardPaths::DesktopLocation, QStandardPaths::DownloadLocation}) {+ roots << QStandardPaths::writableLocation(location);+ }+ roots << home;+ QSet<QString> visited;+ int scanned = 0;+ for (const QString &root : std::as_const(roots)) {+ // Home itself is only searched at the top; its usual folders+ // are searched in full above, and hidden folders never.+ const bool shallow = root == home;+ QDirIterator it(root, QDir::Files | QDir::NoDotAndDotDot, shallow ? QDirIterator::NoIteratorFlags : QDirIterator::Subdirectories);+ while (it.hasNext() && scanned < 40000 && found.size() < 60) {+ const QString path = it.next();+ ++scanned;+ const QFileInfo info = it.fileInfo();+ if (visited.contains(path) || known.contains(path) || !types.contains(info.suffix().toLower()) || !matches(info.fileName())+ || info.fileName().startsWith(QLatin1String(".~lock"))) {+ continue;+ }+ visited.insert(path);+ found << path;+ }+ }+ QMetaObject::invokeMethod(qApp, [self, generation, found]() {+ if (self) {+ self->finishSearch(generation, found);+ }+ });+ });+ connect(thread, &QThread::finished, thread, &QObject::deleteLater);+ thread->start();+}++void Office::finishSearch(int generation, const QStringList &found)+{+ if (generation != m_searchGeneration) {+ return;+ }+ QStringList sorted = found;+ std::sort(sorted.begin(), sorted.end(), [](const QString &a, const QString &b) {+ return QFileInfo(a).lastModified() > QFileInfo(b).lastModified();+ });+ for (const QString &path : std::as_const(sorted)) {+ m_results.append(describe(path));+ }+ m_searching = false;+ Q_EMIT resultsChanged();+}diff --git a/packages/wildos-office/src/office.h b/packages/wildos-office/src/office.hnew file mode 100644index 0000000..60e848b--- /dev/null+++ b/packages/wildos-office/src/office.h@@ -0,0 +1,104 @@+#pragma once++#include <QDateTime>+#include <QObject>+#include <QSet>+#include <QStringList>+#include <QVariantList>+#include <QtQml/qqmlregistration.h>++// Everything the start screen knows: which app it is (Write or Tables),+// the templates, the documents LibreOffice opened lately and the ones the+// person pinned, and starting LibreOffice on whichever is picked.+class Office : public QObject+{+ Q_OBJECT+ QML_ELEMENT+ QML_SINGLETON++ Q_PROPERTY(bool tables READ tables CONSTANT)+ Q_PROPERTY(QString appName READ appName CONSTANT)+ Q_PROPERTY(QString iconName READ iconName CONSTANT)+ Q_PROPERTY(QString formatName READ formatName CONSTANT)+ Q_PROPERTY(QString formatNote READ formatNote CONSTANT)+ Q_PROPERTY(QStringList nameFilters READ nameFilters CONSTANT)+ Q_PROPERTY(QString documentsFolder READ documentsFolder CONSTANT)+ Q_PROPERTY(QVariantList templates READ templates CONSTANT)+ Q_PROPERTY(QVariantList userTemplates READ userTemplates NOTIFY changed)+ Q_PROPERTY(QVariantList recent READ recent NOTIFY changed)+ Q_PROPERTY(QVariantList pinned READ pinned NOTIFY changed)+ Q_PROPERTY(QVariantList results READ results NOTIFY resultsChanged)+ Q_PROPERTY(bool searching READ searching NOTIFY resultsChanged)++public:+ static void setMode(bool tables);+ static bool modeTables();+ static QString soffice();+ // Whether this account already has LibreOffice running.+ static bool running();++ explicit Office(QObject *parent = nullptr);++ bool tables() const { return s_tables; }+ QString appName() const;+ QString iconName() const;+ QString formatName() const;+ QString formatNote() const;+ QStringList nameFilters() const;+ QString documentsFolder() const;+ QVariantList templates() const { return m_templates; }+ QVariantList userTemplates() const { return m_userTemplates; }+ QVariantList recent() const { return m_recent; }+ QVariantList pinned() const { return m_pinned; }+ QVariantList results() const { return m_results; }+ bool searching() const { return m_searching; }++ // Each starts LibreOffice and returns whether it did; the window then+ // waits for the document's window to take over before it goes.+ Q_INVOKABLE bool isLibreOfficeRunning() const;+ Q_INVOKABLE bool open(const QString &pathOrUrl);+ Q_INVOKABLE bool openTemplate(const QString &path);+ Q_INVOKABLE bool newBlank();++ Q_INVOKABLE void showInFolder(const QString &path);+ Q_INVOKABLE void pin(const QString &path);+ Q_INVOKABLE void unpin(const QString &path);+ Q_INVOKABLE void forget(const QString &path);+ Q_INVOKABLE void reload();+ Q_INVOKABLE void search(const QString &text);++ // Today, 09:58 / Yesterday / Sat / 04/11/2026.+ static QString whenText(const QDateTime &time);+ // Documents > Rowing club.+ static QString folderText(const QString &directory);++Q_SIGNALS:+ void changed();+ void resultsChanged();+ void failed(const QString &message);++private:+ bool launch(const QStringList &arguments);+ bool ownsFile(const QString &path) const;+ QVariantMap describe(const QString &path) const;+ QStringList pickList() const;+ QString dataDir() const;+ void loadStore();+ void saveStore() const;+ void loadTemplates();+ void removeFromPickList(const QString &url) const;+ void finishSearch(int generation, const QStringList &found);++ QVariantList m_templates;+ QVariantList m_userTemplates;+ QVariantList m_recent;+ QVariantList m_pinned;+ QVariantList m_results;+ QStringList m_pins;+ QHash<QString, qint64> m_hidden;+ bool m_searching = false;+ int m_searchGeneration = 0;+ QString m_query;++ static bool s_tables;+};diff --git a/packages/wildos-office/templates/default/Default.ots b/packages/wildos-office/templates/default/Default.otsnew file mode 100644index 0000000..730cc8eBinary files /dev/null and b/packages/wildos-office/templates/default/Default.ots differdiff --git a/packages/wildos-office/templates/default/Default.ott b/packages/wildos-office/templates/default/Default.ottnew file mode 100644index 0000000..1599300Binary files /dev/null and b/packages/wildos-office/templates/default/Default.ott differdiff --git a/packages/wildos-office/templates/make-templates.py b/packages/wildos-office/templates/make-templates.pynew file mode 100644index 0000000..1381cde--- /dev/null+++ b/packages/wildos-office/templates/make-templates.py@@ -0,0 +1,1131 @@+#!/usr/bin/env python3+"""Builds the Write and Tables templates, their card thumbnails and the two+blank-document defaults.++Each template is written here as flat ODF (.fodt or .fods), so every style+and every line of example text can be read and changed in one place, then+LibreOffice turns it into the .ott or .ots that ships and renders its first+page for the start screen's card. Run it where LibreOffice, Carlito and+ImageMagick are installed (any Debian trixie with libreoffice-writer,+libreoffice-calc, fonts-crosextra-carlito and imagemagick):++ python3 make-templates.py++The results are committed, so package builds never need LibreOffice.+"""++import os+import shutil+import subprocess+import sys+import tempfile+from xml.sax.saxutils import escape++HERE = os.path.dirname(os.path.abspath(__file__))++INK = "#1f2633"+MUTED = "#5b6478"+BLUE = "#3550c8"+GREEN = "#1f8a5b"+RULE = "#d7dbe3"+TINT_BLUE = "#eef2fd"+TINT_GREEN = "#e8f6ee"++NS = (+ 'xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" '+ 'xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" '+ 'xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" '+ 'xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" '+ 'xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" '+ 'xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" '+ 'xmlns:xlink="http://www.w3.org/1999/xlink" '+ 'xmlns:dc="http://purl.org/dc/elements/1.1/" '+ 'xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" '+ 'xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" '+ 'xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" '+ 'xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" '+ 'xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" '+ 'xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" '+ 'xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"'+)++FONTS = """<office:font-face-decls>+ <style:font-face style:name="Carlito" svg:font-family="Carlito" style:font-family-generic="swiss" style:font-pitch="variable"/>+</office:font-face-decls>"""++LANG = 'fo:language="en" fo:country="GB"'++# "10 November 2026", the way a UK letter dates itself.+DATE_LONG = """<number:date-style style:name="NDateLong">+ <number:day/><number:text> </number:text><number:month number:textual="true" number:style="long"/><number:text> </number:text><number:year number:style="long"/>+</number:date-style>"""+++def meta(title):+ return f"""<office:meta>+ <dc:title>{escape(title)}</dc:title>+ <dc:language>en-GB</dc:language>+</office:meta>"""+++# Writer++def writer_styles(accent):+ """The Write look (WriteDoc board): Carlito 11 in dark ink, a dark bold+ Title, Heading 1 and 2 in the accent, a small capitals Label above a+ title, and bullets in the accent. Everything maps onto a Word style of+ the same name, so .docx saves keep it."""+ return f"""<office:styles>+ {DATE_LONG}+ <style:default-style style:family="graphic">+ <style:graphic-properties svg:stroke-color="#3465a4" draw:fill-color="#729fcf" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" style:flow-with-text="false"/>+ <style:paragraph-properties style:writing-mode="lr-tb"/>+ <style:text-properties style:font-name="Carlito" fo:font-size="11pt" {LANG}/>+ </style:default-style>+ <style:default-style style:family="paragraph">+ <style:paragraph-properties fo:orphans="2" fo:widows="2" style:tab-stop-distance="1.25cm" style:writing-mode="page"/>+ <style:text-properties style:font-name="Carlito" fo:font-size="11pt" {LANG} style:letter-kerning="true" fo:hyphenate="false"/>+ </style:default-style>+ <style:default-style style:family="table">+ <style:table-properties table:border-model="collapsing"/>+ </style:default-style>+ <style:default-style style:family="table-row">+ <style:table-row-properties fo:keep-together="auto"/>+ </style:default-style>+ <style:style style:name="Standard" style:family="paragraph" style:class="text">+ <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.282cm" fo:line-height="115%"/>+ <style:text-properties fo:color="{INK}"/>+ </style:style>+ <style:style style:name="Text_20_body" style:display-name="Body Text" style:family="paragraph" style:parent-style-name="Standard" style:class="text"/>+ <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text">+ <style:paragraph-properties fo:keep-with-next="always" fo:line-height="100%"/>+ <style:text-properties fo:font-weight="bold"/>+ </style:style>+ <style:style style:name="Title" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:class="chapter">+ <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.35cm"/>+ <style:text-properties fo:font-size="24pt" fo:color="{INK}"/>+ </style:style>+ <style:style style:name="Subtitle" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:class="chapter">+ <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.45cm"/>+ <style:text-properties fo:font-size="13pt" fo:font-weight="normal" fo:color="{MUTED}"/>+ </style:style>+ <style:style style:name="Label" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Title" style:class="text">+ <style:paragraph-properties fo:margin-bottom="0.1cm" fo:keep-with-next="always"/>+ <style:text-properties fo:font-size="9pt" fo:font-weight="bold" fo:letter-spacing="0.06cm" fo:text-transform="uppercase" fo:color="{accent}"/>+ </style:style>+ <style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:default-outline-level="1" style:class="text">+ <style:paragraph-properties fo:margin-top="0.55cm" fo:margin-bottom="0.2cm"/>+ <style:text-properties fo:font-size="15pt" fo:color="{accent}"/>+ </style:style>+ <style:style style:name="Heading_20_2" style:display-name="Heading 2" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:default-outline-level="2" style:class="text">+ <style:paragraph-properties fo:margin-top="0.4cm" fo:margin-bottom="0.15cm"/>+ <style:text-properties fo:font-size="12.5pt" fo:color="{accent}"/>+ </style:style>+ <style:style style:name="Heading_20_3" style:display-name="Heading 3" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:default-outline-level="3" style:class="text">+ <style:paragraph-properties fo:margin-top="0.3cm" fo:margin-bottom="0.1cm"/>+ <style:text-properties fo:font-size="11pt" fo:color="{INK}"/>+ </style:style>+ <style:style style:name="Quotations" style:display-name="Quote" style:family="paragraph" style:parent-style-name="Standard" style:class="html">+ <style:paragraph-properties fo:margin-left="0.5cm" fo:margin-right="0.5cm" fo:padding-left="0.35cm" fo:border-left="1.5pt solid {accent}" fo:border-right="none" fo:border-top="none" fo:border-bottom="none"/>+ <style:text-properties fo:font-style="italic" fo:color="{MUTED}"/>+ </style:style>+ <style:style style:name="List_20_Paragraph" style:display-name="List Paragraph" style:family="paragraph" style:parent-style-name="Standard" style:class="list">+ <style:paragraph-properties fo:margin-bottom="0.1cm" style:contextual-spacing="true"/>+ </style:style>+ <style:style style:name="Table_20_Contents" style:display-name="Table Contents" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">+ <style:paragraph-properties fo:margin-bottom="0cm"/>+ </style:style>+ <style:style style:name="Table_20_Heading" style:display-name="Table Heading" style:family="paragraph" style:parent-style-name="Table_20_Contents" style:class="extra">+ <style:text-properties fo:font-weight="bold"/>+ </style:style>+ <style:style style:name="Footer" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">+ <style:paragraph-properties fo:margin-bottom="0cm" fo:text-align="center"/>+ <style:text-properties fo:font-size="9pt" fo:color="{MUTED}"/>+ </style:style>+ <style:style style:name="Strong_20_Emphasis" style:display-name="Strong" style:family="text">+ <style:text-properties fo:font-weight="bold"/>+ </style:style>+ <text:outline-style style:name="Outline">+ {''.join(f'<text:outline-level-style text:level="{n}" style:num-format=""><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab"/></style:list-level-properties></text:outline-level-style>' for n in range(1, 11))}+ </text:outline-style>+ <text:list-style style:name="Bullets">+ {''.join(f'<text:list-level-style-bullet text:level="{n}" text:bullet-char="{"•" if n % 2 else "◦"}"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="{0.6 * n:.2f}cm" fo:text-indent="-0.6cm" fo:margin-left="{0.6 * n:.2f}cm"/></style:list-level-properties><style:text-properties fo:color="{accent}"/></text:list-level-style-bullet>' for n in range(1, 11))}+ </text:list-style>+ <text:list-style style:name="Numbering">+ {''.join(f'<text:list-level-style-number text:level="{n}" style:num-suffix="." style:num-format="{"1" if n % 2 else "a"}"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="{0.65 * n:.2f}cm" fo:text-indent="-0.65cm" fo:margin-left="{0.65 * n:.2f}cm"/></style:list-level-properties><style:text-properties fo:color="{accent}" fo:font-weight="bold"/></text:list-level-style-number>' for n in range(1, 11))}+ </text:list-style>+ <text:notes-configuration text:note-class="footnote" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="document"/>+ <text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/>+</office:styles>"""+++def page_layout(margins="2.5cm", footer=None):+ foot = ""+ if footer is not None:+ foot = '<style:footer-style><style:header-footer-properties fo:min-height="0cm" fo:margin-top="0.4cm"/></style:footer-style>'+ return f"""<style:page-layout style:name="pm1">+ <style:page-layout-properties fo:page-width="21cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="{margins}" fo:margin-bottom="{margins}" fo:margin-left="{margins}" fo:margin-right="{margins}" style:writing-mode="lr-tb"/>+ <style:header-style/>+ {foot}+ </style:page-layout>"""+++def master(footer=None):+ if footer is None:+ return '<office:master-styles><style:master-page style:name="Standard" style:page-layout-name="pm1"/></office:master-styles>'+ return f"""<office:master-styles><style:master-page style:name="Standard" style:page-layout-name="pm1">+ <style:footer><text:p text:style-name="Footer">{footer}</text:p></style:footer>+</style:master-page></office:master-styles>"""+++def inline(text):+ """Plain text with **bold**, tabs and line breaks."""+ out = []+ bold = False+ for i, part in enumerate(text.split("**")):+ part = escape(part).replace("\t", "<text:tab/>").replace("\n", "<text:line-break/>")+ if bold and part:+ out.append(f'<text:span text:style-name="Strong_20_Emphasis">{part}</text:span>')+ else:+ out.append(part)+ bold = not bold+ return "".join(out)+++def p(text="", style="Text_20_body"):+ return f'<text:p text:style-name="{style}">{inline(text)}</text:p>'+++def h(level, text):+ return f'<text:h text:style-name="Heading_20_{level}" text:outline-level="{level}">{inline(text)}</text:h>'+++def bullets(items, numbered=False):+ style = "Numbering" if numbered else "Bullets"+ rows = "".join(f'<text:list-item><text:p text:style-name="List_20_Paragraph">{inline(i)}</text:p></text:list-item>' for i in items)+ return f'<text:list text:style-name="{style}">{rows}</text:list>'+++class WriterTables:+ """Tables in the Write look: a tinted header row with an accent rule+ under it, and a hairline under every other row."""++ def __init__(self, accent, tint):+ self.accent = accent+ self.tint = tint+ self.count = 0+ self.styles = []++ def automatic(self):+ return f"""<style:style style:name="CellHead" style:family="table-cell">+ <style:table-cell-properties fo:background-color="{self.tint}" fo:padding-left="0.2cm" fo:padding-right="0.2cm" fo:padding-top="0.12cm" fo:padding-bottom="0.12cm" fo:border-left="none" fo:border-right="none" fo:border-top="none" fo:border-bottom="1pt solid {self.accent}"/>+ </style:style>+ <style:style style:name="CellBody" style:family="table-cell">+ <style:table-cell-properties fo:padding-left="0.2cm" fo:padding-right="0.2cm" fo:padding-top="0.12cm" fo:padding-bottom="0.12cm" fo:border-left="none" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.5pt solid {RULE}"/>+ </style:style>+ <style:style style:name="CellKey" style:family="table-cell">+ <style:table-cell-properties fo:background-color="{self.tint}" fo:padding-left="0.2cm" fo:padding-right="0.2cm" fo:padding-top="0.12cm" fo:padding-bottom="0.12cm" fo:border-left="none" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.5pt solid #ffffff"/>+ </style:style>+ """ + "\n ".join(self.styles)++ def table(self, widths, rows, header=True, keys=False):+ """widths in cm; rows of cell texts. keys: the first column is a+ tinted label column (a details block) instead of a header row."""+ self.count += 1+ name = f"Table{self.count}"+ total = sum(widths)+ self.styles.append(f'<style:style style:name="{name}" style:family="table"><style:table-properties style:width="{total:.2f}cm" table:align="left" fo:margin-bottom="0.3cm"/></style:style>')+ cols = []+ for i, w in enumerate(widths):+ cname = f"{name}.C{i}"+ self.styles.append(f'<style:style style:name="{cname}" style:family="table-column"><style:table-column-properties style:column-width="{w:.2f}cm"/></style:style>')+ cols.append(f'<table:table-column table:style-name="{cname}"/>')+ body = []+ for r, row in enumerate(rows):+ cells = []+ for c, text in enumerate(row):+ if header and r == 0:+ cell, para = "CellHead", "Table_20_Heading"+ elif keys and c == 0:+ cell, para = "CellKey", "Table_20_Heading"+ else:+ cell, para = "CellBody", "Table_20_Contents"+ cells.append(f'<table:table-cell table:style-name="{cell}" office:value-type="string"><text:p text:style-name="{para}">{inline(text)}</text:p></table:table-cell>')+ if header and r == 0:+ body.append(f'<table:table-header-rows><table:table-row>{"".join(cells)}</table:table-row></table:table-header-rows>')+ else:+ body.append(f'<table:table-row>{"".join(cells)}</table:table-row>')+ return f'<table:table table:name="{name}" table:style-name="{name}">{"".join(cols)}{"".join(body)}</table:table>'+++def fodt(title, accent, body, automatic="", margins="2.5cm", footer=None):+ return f"""<?xml version="1.0" encoding="UTF-8"?>+<office:document {NS} office:version="1.3" office:mimetype="application/vnd.oasis.opendocument.text">+{meta(title)}+{FONTS}+{writer_styles(accent)}+<office:automatic-styles>+ {page_layout(margins, footer)}+ {automatic}+</office:automatic-styles>+{master(footer)}+<office:body><office:text>+{body}+</office:text></office:body>+</office:document>+"""+++TODAY = '<text:date style:data-style-name="NDateLong" text:fixed="false"/>'+TEXT_WIDTH = 16.0+++def letter():+ right = '<style:style style:name="PRight" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:text-align="end" fo:margin-bottom="0.6cm"/></style:style>'+ gap = '<style:style style:name="PGap" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-bottom="0.6cm"/></style:style>'+ sign = '<style:style style:name="PSign" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-top="1.4cm"/></style:style>'+ body = "".join([+ p("Sam Taylor\n14 Harbour View\nFalmouth\nTR11 3AB\n07700 900123\[email protected]", "PRight"),+ f'<text:p text:style-name="PGap">{TODAY}</text:p>',+ p("Ms Jo Patel\nCustomer Services\nCoastline Energy\n2 Quay Street\nBristol\nBS1 4DJ", "PGap"),+ p("**Account number 40817263: change of address**"),+ p("Dear Ms Patel,"),+ p("I am writing to let you know that I moved to the address above on 1 November 2026, and to ask you to move my account with me."),+ p("My final meter readings at my old address, 3 Mill Lane, Penryn, TR10 8AA, were 18452 for electricity and 07391 for gas, both taken on the morning I moved out. Please send the final bill for that address here."),+ p("I would like to keep paying by direct debit on the same date each month. If you need anything else from me to set up the new address, you can reach me on the number above or by email."),+ p("Thank you for your help."),+ p("Yours sincerely,"),+ p("Sam Taylor", "PSign"),+ ])+ return fodt("Letter", BLUE, body, right + gap + sign)+++def cv():+ t = WriterTables(BLUE, TINT_BLUE)+ tabs = f'<style:tab-stops><style:tab-stop style:position="{TEXT_WIDTH}cm" style:type="right"/></style:tab-stops>'+ role = f'<style:style style:name="PRole" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-top="0.2cm" fo:margin-bottom="0.05cm" fo:keep-with-next="always">{tabs}</style:paragraph-properties></style:style>'+ org = '<style:style style:name="POrg" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-bottom="0.12cm" fo:keep-with-next="always"/><style:text-properties fo:color="' + MUTED + '"/></style:style>'+ contact = '<style:style style:name="PContact" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-bottom="0.2cm" fo:padding-bottom="0.3cm" fo:border-bottom="0.75pt solid ' + RULE + '" fo:border-top="none" fo:border-left="none" fo:border-right="none"/><style:text-properties fo:color="' + MUTED + '"/></style:style>'+ dates = '<style:style style:name="TDates" style:family="text"><style:text-properties fo:color="' + MUTED + '" fo:font-weight="normal"/></style:style>'++ def job(title, place, when, points):+ return (f'<text:p text:style-name="PRole"><text:span text:style-name="Strong_20_Emphasis">{escape(title)}</text:span>'+ f'<text:tab/><text:span text:style-name="TDates">{escape(when)}</text:span></text:p>'+ + p(place, "POrg") + bullets(points))++ body = "".join([+ p("Jordan Ellis", "Title"),+ p("Manchester · 07700 900456 · [email protected] · linkedin.com/in/jordanellis", "PContact"),+ h(1, "Profile"),+ p("Organised operations coordinator with four years in logistics and three in customer service. I keep deliveries on time, spot problems before customers do, and like making a process simpler for the people who use it every day. Looking for a planning role with more responsibility for routes and suppliers."),+ h(1, "Experience"),+ job("Operations Coordinator", "Northside Logistics, Trafford Park", "March 2022 to now", [+ "Plan daily routes for a fleet of 18 vans, with on-time delivery up from 91% to 97% in my first year.",+ "Look after bookings with six regional suppliers and agree delivery windows that suit their sites.",+ "Moved the depot's paper job sheets onto a shared spreadsheet, saving the team about five hours a week.",+ ]),+ job("Customer Service Adviser", "Brightway Retail, Salford", "June 2019 to February 2022", [+ "Answered around 60 calls and emails a day about orders, returns and deliveries.",+ "Trained eight new starters and wrote the team's guide to the returns process.",+ "Named adviser of the quarter twice for customer feedback scores.",+ ]),+ h(1, "Education"),+ f'<text:p text:style-name="PRole"><text:span text:style-name="Strong_20_Emphasis">BA (Hons) Business Management, 2:1</text:span><text:tab/><text:span text:style-name="TDates">2016 to 2019</text:span></text:p>',+ p("University of Salford", "POrg"),+ f'<text:p text:style-name="PRole"><text:span text:style-name="Strong_20_Emphasis">A levels</text:span><text:tab/><text:span text:style-name="TDates">2014 to 2016</text:span></text:p>',+ p("Business (A), English Literature (B), Geography (B). Eccles Sixth Form College", "POrg"),+ h(1, "Skills"),+ t.table([4.0, 12.0], [+ ["Planning", "Route planning, stock and delivery scheduling, supplier bookings"],+ ["Software", "Excel and Google Sheets, Microsoft 365, SAP, Descartes route planning"],+ ["Licences", "Full UK driving licence, forklift (counterbalance)"],+ ["Languages", "English (native), Spanish (conversational)"],+ ], header=False, keys=True),+ h(1, "References"),+ p("Available on request."),+ ])+ return fodt("CV", BLUE, body, t.automatic() + role + org + contact + dates, margins="2cm")+++def report():+ t = WriterTables(BLUE, TINT_BLUE)+ # The band across the top of the cover, in the colours of the card on+ # the start screen: a shape, so it survives a save as .docx.+ band = f"""<style:style style:name="gr1" style:family="graphic">+ <style:graphic-properties draw:stroke="none" draw:fill="gradient" draw:fill-gradient-name="Band" style:run-through="background" style:wrap="none" style:vertical-pos="top" style:vertical-rel="page" style:horizontal-pos="center" style:horizontal-rel="page"/>+ </style:style>"""+ gradient = f'<draw:gradient draw:name="Band" draw:style="linear" draw:start-color="#7f9cff" draw:end-color="#f0a3ae" draw:start-intensity="100%" draw:end-intensity="100%" draw:angle="135deg" draw:border="0%"/>'+ first = '<style:style style:name="PFirst" style:family="paragraph" style:parent-style-name="Label"><style:paragraph-properties fo:margin-top="3.6cm"/></style:style>'+ byline = '<style:style style:name="PBy" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-bottom="0.6cm" fo:padding-bottom="0.4cm" fo:border-bottom="0.75pt solid ' + RULE + '" fo:border-top="none" fo:border-left="none" fo:border-right="none"/><style:text-properties fo:color="' + MUTED + '"/></style:style>'+ shape = ('<draw:rect text:anchor-type="paragraph" draw:z-index="0" draw:style-name="gr1" '+ 'svg:width="21cm" svg:height="4.6cm" svg:x="0cm" svg:y="0cm"><text:p/></draw:rect>')+ body = "".join([+ f'<text:p text:style-name="PFirst">{shape}Progress report</text:p>',+ p("Community garden project", "Title"),+ p("July to September 2026", "Subtitle"),+ p("Prepared by Priya Shah for the Eastfield Residents’ Association, 6 October 2026", "PBy"),+ h(1, "Summary"),+ p("The garden opened to the public on 12 July. In its first three months 41 households signed up for plots, volunteers gave just over 600 hours, and we spent £3,240 of the £5,000 grant. The main problem has been water: the single tap is not enough for a dry summer, and fixing that is our first recommendation."),+ h(1, "Background"),+ p("The council leased us the unused ground behind Eastfield Library in March 2026 for five years. The aim is to give people without gardens somewhere to grow food, and to bring neighbours together. The project is run by volunteers and paid for by a community grant and plot fees."),+ h(1, "What we found"),+ h(2, "Plots and members"),+ p("Demand was higher than we planned for. All 30 full plots and 22 half plots are taken, and there are 14 households on the waiting list."),+ t.table([7.0, 3.0, 3.0, 3.0], [+ ["Measure", "Target", "Actual", "Status"],+ ["Households with a plot", "35", "41", "Ahead"],+ ["Volunteer hours", "450", "612", "Ahead"],+ ["Open days held", "4", "3", "Behind"],+ ["Grant spent", "£3,000", "£3,240", "On track"],+ ]),+ h(2, "Water and tools"),+ p("On hot days members queued for the tap at the end of the evening, and two plots were given up in August because of it. The tool shed works well, but the wheelbarrows and hoses need replacing sooner than we expected."),+ h(2, "What people told us"),+ p("We asked members what they thought in September and 29 replied. Most said the garden had helped them meet neighbours, and the most common request was for a covered seating area."),+ p("“I’ve lived on this street for eleven years and this summer is the first time I’ve known the names of the people next door.”", "Quotations"),+ h(1, "Recommendations"),+ bullets([+ "Fit two water butts on the shed roof and ask the council for a second tap before next spring.",+ "Offer the 14 waiting households half plots by splitting the four largest plots.",+ "Use the remaining grant for a covered seating area by the gate.",+ "Hold the missed open day in October, with a harvest sale to raise money for tools.",+ ], numbered=True),+ h(1, "Next steps"),+ p("The committee will discuss these recommendations at its meeting on 20 October. If they are agreed, Priya will contact the council about the second tap and get quotes for the seating area."),+ ])+ return fodt("Report", BLUE, body, band + t.automatic() + first + byline, footer="Community garden project, progress report").replace(+ "<office:styles>", "<office:styles>\n " + gradient, 1)+++def newsletter():+ columns = """<style:style style:name="Sect1" style:family="section">+ <style:section-properties text:dont-balance-text-columns="false" style:editable="false">+ <style:columns fo:column-count="2" fo:column-gap="0.8cm"><style:column-sep style:width="0.5pt" style:color="#d7dbe3" style:height="100%" style:style="solid" style:vertical-align="top"/><style:column style:rel-width="32767*" fo:start-indent="0cm" fo:end-indent="0.4cm"/><style:column style:rel-width="32767*" fo:start-indent="0.4cm" fo:end-indent="0cm"/></style:columns>+ </style:section-properties>+ </style:style>"""+ lead = f'<style:style style:name="PLead" style:family="paragraph" style:parent-style-name="Text_20_body"><style:paragraph-properties fo:margin-bottom="0.5cm" fo:padding-bottom="0.45cm" fo:border-bottom="1.5pt solid {GREEN}" fo:border-top="none" fo:border-left="none" fo:border-right="none"/><style:text-properties fo:font-size="12.5pt"/></style:style>'+ first = '<style:style style:name="PFirstHead" style:family="paragraph" style:parent-style-name="Heading_20_1"><style:paragraph-properties fo:margin-top="0cm"/></style:style>'+ body = "".join([+ p("Harbour Rowing Club", "Label"),+ p("Spring newsletter", "Title"),+ p("Issue 12, April 2027", "Subtitle"),+ p("Welcome back after a long, wet winter. The new launch arrived in February and the boat house finally has heating that works, so early sessions are a lot more bearable than they were.", "PLead"),+ '<text:section text:style-name="Sect1" text:name="Columns">',+ f'<text:h text:style-name="PFirstHead" text:outline-level="1">Training times</text:h>',+ p("From April, Tuesday sessions go back to 18:30 and Thursday stays at 18:00. Saturday mornings start at 08:00 on the high tide, so check the board before you set off."),+ p("Juniors train on Saturdays from 10:00. Parents, please stay until your child is back on the pontoon."),+ h(1, "Summer regatta"),+ p("We’re hosting again this year on Saturday 18 July. We need volunteers for:"),+ bullets(["The start line and timing", "The tea tent", "Safety boats (you’ll need your powerboat level 2)"]),+ p("Please put your name on the list in the club room by the end of May."),+ h(1, "New members"),+ p("A warm welcome to the eleven people who finished the learn to row course in March. If you see someone you don’t recognise at the boat house, say hello."),+ h(1, "Boat house jobs"),+ p("The spring work party is on Sunday 26 April from 09:00. Jobs include washing the fleet, repainting the oar racks and clearing the slipway. Bacon rolls at 11:00 for everyone who helps."),+ h(1, "Dates for the diary"),+ bullets([+ "**26 April**, spring work party",+ "**9 May**, club head race",+ "**13 June**, summer social at the Ship Inn",+ "**18 July**, Harbour regatta",+ ]),+ '</text:section>',+ p(""),+ ])+ return fodt("Newsletter", GREEN, body, columns + lead + first, margins="2cm",+ footer="Harbour Rowing Club · The Boat House, Quay Road · [email protected]")+++def meeting_notes():+ t = WriterTables(BLUE, TINT_BLUE)+ body = "".join([+ p("Eastfield Residents’ Association", "Label"),+ p("Committee meeting", "Title"),+ t.table([3.6, 12.4], [+ ["Date", "TODAY"],+ ["Time", "19:00 to 20:30"],+ ["Where", "Eastfield Library, community room"],+ ["Chair", "Priya Shah"],+ ["Present", "Priya Shah, Tom Okafor, Helen Burns, Marek Nowak, Grace Lee"],+ ["Apologies", "David Price"],+ ], header=False, keys=True).replace(+ '<text:p text:style-name="Table_20_Contents">TODAY</text:p>',+ f'<text:p text:style-name="Table_20_Contents">{TODAY}</text:p>'),+ h(1, "Agenda"),+ bullets([+ "Notes from the last meeting",+ "Community garden progress report",+ "Summer street party",+ "Any other business",+ ], numbered=True),+ h(1, "Notes"),+ h(2, "1. Notes from the last meeting"),+ p("Agreed as a correct record. The litter pick on 14 September went ahead with 22 people."),+ h(2, "2. Community garden progress report"),+ p("Priya went through the report. The committee agreed all four recommendations, and asked for quotes for the seating area before the next meeting."),+ h(2, "3. Summer street party"),+ p("Helen has spoken to the council about closing Cedar Road for the day. The application has to be in eight weeks before. Saturday 4 July was the most popular date."),+ h(2, "4. Any other business"),+ p("Marek raised the broken street light outside number 40. Tom will report it again."),+ h(1, "Actions"),+ t.table([9.0, 3.5, 3.5], [+ ["Action", "Who", "By when"],+ ["Ask the council for a second tap at the garden", "Priya", "31 October"],+ ["Get three quotes for the seating area", "Grace", "17 November"],+ ["Send the road closure application", "Helen", "1 May"],+ ["Report the street light outside number 40", "Tom", "This week"],+ ]),+ h(1, "Next meeting"),+ p("Tuesday 17 November, 19:00, Eastfield Library."),+ ])+ return fodt("Meeting notes", BLUE, body, t.automatic())+++def writer_default():+ return fodt("Document", BLUE, '<text:p text:style-name="Standard"/>')+++# Calc++def col_letter(n):+ s = ""+ n += 1+ while n:+ n, r = divmod(n - 1, 26)+ s = chr(65 + r) + s+ return s+++CALC_NUMBERS = """+ <number:currency-style style:name="NGbpPos" style:volatile="true">+ <number:currency-symbol number:language="en" number:country="GB">£</number:currency-symbol>+ <number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>+ </number:currency-style>+ <number:currency-style style:name="NGbp">+ <style:text-properties fo:color="#c5372c"/>+ <number:text>-</number:text>+ <number:currency-symbol number:language="en" number:country="GB">£</number:currency-symbol>+ <number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>+ <style:map style:condition="value()>=0" style:apply-style-name="NGbpPos"/>+ </number:currency-style>+ <number:date-style style:name="NDate">+ <number:day number:style="long"/><number:text>/</number:text><number:month number:style="long"/><number:text>/</number:text><number:year number:style="long"/>+ </number:date-style>+ <number:date-style style:name="NDay">+ <number:day-of-week number:style="long"/><number:text> </number:text><number:day/><number:text> </number:text><number:month number:textual="true"/>+ </number:date-style>+ <number:date-style style:name="NDayShort">+ <number:day/><number:text> </number:text><number:month number:textual="true"/>+ </number:date-style>+ <number:time-style style:name="NTime">+ <number:hours number:style="long"/><number:text>:</number:text><number:minutes number:style="long"/>+ </number:time-style>+ <number:number-style style:name="NHours">+ <number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1"/>+ </number:number-style>+ <number:number-style style:name="NWhole">+ <number:number number:decimal-places="0" number:min-decimal-places="0" number:min-integer-digits="1" number:grouping="true"/>+ </number:number-style>+ <number:percentage-style style:name="NPercent">+ <number:number number:decimal-places="0" number:min-decimal-places="0" number:min-integer-digits="1"/><number:text>%</number:text>+ </number:percentage-style>+"""+++def calc_styles():+ return f"""<office:styles>+ {CALC_NUMBERS}+ <style:default-style style:family="table-cell">+ <style:paragraph-properties style:tab-stop-distance="1.25cm"/>+ <style:text-properties style:font-name="Carlito" fo:font-size="11pt" {LANG}/>+ </style:default-style>+ <style:style style:name="Default" style:family="table-cell">+ <style:table-cell-properties style:vertical-align="middle"/>+ <style:text-properties fo:color="{INK}"/>+ </style:style>+ <style:style style:name="Heading" style:family="table-cell" style:parent-style-name="Default">+ <style:text-properties fo:font-size="18pt" fo:font-weight="bold"/>+ </style:style>+ <style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="table-cell" style:parent-style-name="Heading">+ <style:text-properties fo:font-size="20pt"/>+ </style:style>+ <style:style style:name="Heading_20_2" style:display-name="Heading 2" style:family="table-cell" style:parent-style-name="Heading">+ <style:text-properties fo:font-size="13pt" fo:color="{BLUE}"/>+ </style:style>+ <style:style style:name="Note" style:family="table-cell" style:parent-style-name="Default">+ <style:text-properties fo:color="{MUTED}"/>+ </style:style>+ <style:style style:name="Accent" style:family="table-cell" style:parent-style-name="Default">+ <style:text-properties fo:font-weight="bold"/>+ </style:style>+ <style:style style:name="Currency" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="NGbp"/>+ <style:style style:name="Percent" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="NPercent"/>+</office:styles>"""+++class Sheet:+ """One sheet: column widths, row heights and cells by A1 address."""++ def __init__(self, name, widths, print_cols=None):+ self.name = name+ self.widths = widths+ self.cells = {}+ self.heights = {}+ self.merges = {}+ self.validations = {}+ self.print_cols = print_cols or len(widths)++ def set(self, ref, value=None, style="body", kind=None, formula=None, span=None):+ col = 0+ i = 0+ while ref[i].isalpha():+ col = col * 26 + ord(ref[i]) - 64+ i += 1+ row = int(ref[i:]) - 1+ self.cells[(row, col - 1)] = (value, style, kind, formula)+ if span:+ self.merges[(row, col - 1)] = span++ def height(self, row, cm):+ self.heights[row - 1] = cm+++class Calc:+ """Cell styles shared by every Tables template, in the TablesDoc look:+ a pale header band in bold, hairlines between rows, a dark rule above+ totals, money in pounds with negatives in red."""++ BASE = {+ "title": ('fo:font-size="20pt" fo:font-weight="bold"', "", None),+ "subtitle": (f'fo:color="{MUTED}"', "", None),+ "section": (f'fo:font-size="13pt" fo:font-weight="bold" fo:color="{{accent}}"', "", None),+ "head": ('fo:font-weight="bold"', f'fo:background-color="{{tint}}" fo:border-bottom="1pt solid {{accent}}"', None),+ "headr": ('fo:font-weight="bold"', f'fo:background-color="{{tint}}" fo:border-bottom="1pt solid {{accent}}"', "end"),+ "body": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None),+ "bodyc": ("", f'fo:border-bottom="0.5pt solid {RULE}"', "center"),+ "money": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, "NGbp"),+ "moneyb": ('fo:font-weight="bold"', f'fo:border-bottom="0.5pt solid {RULE}"', None, "NGbp"),+ "date": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, "NDate"),+ "day": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, "NDay"),+ "time": ("", f'fo:border-bottom="0.5pt solid {RULE}"', "center", "NTime"),+ "hours": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, "NHours"),+ "whole": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, "NWhole"),+ "total": ('fo:font-weight="bold"', f'fo:border-top="1pt solid {INK}"', None),+ "totalmoney": ('fo:font-weight="bold"', f'fo:border-top="1pt solid {INK}"', None, "NGbp"),+ "totalhours": ('fo:font-weight="bold"', f'fo:border-top="1pt solid {INK}"', None, "NHours"),+ "grand": ('fo:font-weight="bold" fo:font-size="13pt"', 'fo:background-color="{tint}"', None),+ "grandmoney": ('fo:font-weight="bold" fo:font-size="13pt"', 'fo:background-color="{tint}"', None, "NGbp"),+ "key": (f'fo:color="{MUTED}"', "", None),+ "keyr": (f'fo:color="{MUTED}"', "", "end"),+ "plain": ("", "", None),+ "plainb": ('fo:font-weight="bold"', "", None),+ "plainr": ("", "", "end"),+ "plaindate": ("", "", "end", "NDate"),+ "plainmoney": ("", "", None, "NGbp"),+ "percent": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, "NPercent"),+ "wrap": ("", f'fo:border-bottom="0.5pt solid {RULE}"', None, None, True),+ "slot": (f'fo:color="{MUTED}" fo:font-size="10pt"', f'fo:border-bottom="0.5pt solid {RULE}" fo:border-right="0.5pt solid {RULE}"', "end"),+ "cell": ("", f'fo:border-bottom="0.5pt solid {RULE}" fo:border-right="0.5pt solid {RULE}"', None, None, True),+ "dayhead": ('fo:font-weight="bold"', f'fo:background-color="{{tint}}" fo:border-bottom="1pt solid {{accent}}" fo:border-right="0.5pt solid #ffffff"', "center"),+ "daydate": (f'fo:color="{MUTED}"', f'fo:background-color="{{tint}}" fo:border-bottom="1pt solid {{accent}}" fo:border-right="0.5pt solid #ffffff"', "center", "NDayShort"),+ "box": ("", f'fo:border="0.5pt solid {RULE}"', None, None, True),+ }++ def __init__(self, accent=BLUE, tint=TINT_BLUE):+ self.accent = accent+ self.tint = tint++ def styles(self):+ out = []+ for name, spec in self.BASE.items():+ text, cell, align = spec[0], spec[1], spec[2]+ data = spec[3] if len(spec) > 3 else None+ wrap = spec[4] if len(spec) > 4 else False+ text = text.replace("{accent}", self.accent)+ cell = cell.replace("{accent}", self.accent).replace("{tint}", self.tint)+ ds = f' style:data-style-name="{data}"' if data else ""+ props = f'{cell} style:vertical-align="{"top" if wrap else "middle"}"'+ if wrap:+ props += ' fo:wrap-option="wrap"'+ if cell or data:+ props += ' fo:padding-left="0.1cm" fo:padding-right="0.1cm"'+ para = f'<style:paragraph-properties fo:text-align="{align}"/>' if align else ""+ if align:+ props += ' style:text-align-source="fix"'+ out.append(f'<style:style style:name="c-{name}" style:family="table-cell" style:parent-style-name="Default"{ds}>'+ f'<style:table-cell-properties {props}/>{para}<style:text-properties {text}/></style:style>')+ return "\n ".join(out)+++def cell_xml(value, style, kind, formula, span):+ attrs = [f'table:style-name="c-{style}"']+ if span:+ attrs.append(f'table:number-columns-spanned="{span}" table:number-rows-spanned="1"')+ if formula:+ attrs.append(f'table:formula="{escape(formula, {chr(34): """})}"')+ text = ""+ if kind == "money":+ attrs.append(f'office:value-type="currency" office:currency="GBP" office:value="{value or 0}"')+ elif kind == "number":+ attrs.append(f'office:value-type="float" office:value="{value or 0}"')+ elif kind == "percent":+ attrs.append(f'office:value-type="percentage" office:value="{value}"')+ elif kind == "date":+ attrs.append(f'office:value-type="date" office:date-value="{value}"')+ elif kind == "time":+ hh, mm = value.split(":")+ attrs.append(f'office:value-type="time" office:time-value="PT{hh}H{mm}M00S"')+ elif value is not None and value != "":+ attrs.append('office:value-type="string"')+ text = "".join(f"<text:p>{escape(line)}</text:p>" for line in str(value).split("\n"))+ elif formula:+ attrs.append('office:value-type="float" office:value="0"')+ return f'<table:table-cell {" ".join(attrs)}>{text}</table:table-cell>'+++def fods(title, sheets, calc, grid=True, landscape=False, fit_pages=None, validations=""):+ auto = [calc.styles()]+ tables = []+ for si, sh in enumerate(sheets):+ cols = []+ for i, w in enumerate(sh.widths):+ name = f"co{si}_{i}"+ auto.append(f'<style:style style:name="{name}" style:family="table-column"><style:table-column-properties fo:break-before="auto" style:column-width="{w}cm"/></style:style>')+ cols.append(f'<table:table-column table:style-name="{name}" table:default-cell-style-name="Default"/>')+ rows = []+ last = max(r for r, _ in sh.cells) if sh.cells else 0+ for r in range(last + 1):+ hname = f"ro{si}_{r}"+ hgt = sh.heights.get(r, 0.55)+ auto.append(f'<style:style style:name="{hname}" style:family="table-row"><style:table-row-properties style:row-height="{hgt}cm" fo:break-before="auto" style:use-optimal-row-height="false"/></style:style>')+ cells = []+ c = 0+ covered = 0+ while c < len(sh.widths):+ if covered:+ cells.append('<table:covered-table-cell/>')+ covered -= 1+ c += 1+ continue+ if (r, c) in sh.cells:+ value, style, kind, formula = sh.cells[(r, c)]+ span = sh.merges.get((r, c))+ cells.append(cell_xml(value, style, kind, formula, span))+ if span:+ covered = span - 1+ else:+ cells.append("<table:table-cell/>")+ c += 1+ rows.append(f'<table:table-row table:style-name="{hname}">{"".join(cells)}</table:table-row>')+ area = f"$'{sh.name}'.$A$1:.${col_letter(sh.print_cols - 1)}${last + 1}"+ tables.append(f'<table:table table:name="{escape(sh.name)}" table:style-name="ta1" table:print-ranges="{escape(area)}">'+ f'{"".join(cols)}{"".join(rows)}</table:table>')+ width, height = ("29.7cm", "21cm") if landscape else ("21cm", "29.7cm")+ scale = f'style:scale-to-pages="{fit_pages}"' if fit_pages else 'loext:scale-to-X="1" loext:scale-to-Y="0"'+ auto.append(f"""<style:style style:name="ta1" style:family="table" style:master-page-name="Default"><style:table-properties table:display="true" style:writing-mode="lr-tb"/></style:style>+ <style:page-layout style:name="pm1">+ <style:page-layout-properties fo:page-width="{width}" fo:page-height="{height}" style:print-orientation="{"landscape" if landscape else "portrait"}" fo:margin-top="1.5cm" fo:margin-bottom="1.5cm" fo:margin-left="1.5cm" fo:margin-right="1.5cm" style:print="objects charts drawings zero-values" style:print-page-order="ttb" style:first-page-number="continue" {scale} style:writing-mode="lr-tb"/>+ <style:header-style/><style:footer-style/>+ </style:page-layout>""")+ settings = f"""<office:settings>+ <config:config-item-set config:name="ooo:view-settings">+ <config:config-item-map-indexed config:name="Views"><config:config-item-map-entry>+ <config:config-item config:name="ViewId" config:type="string">view1</config:config-item>+ <config:config-item config:name="ActiveTable" config:type="string">{escape(sheets[0].name)}</config:config-item>+ <config:config-item config:name="ShowGrid" config:type="boolean">{"true" if grid else "false"}</config:config-item>+ <config:config-item config:name="ZoomValue" config:type="int">100</config:config-item>+ <config:config-item config:name="ShowZeroValues" config:type="boolean">true</config:config-item>+ <config:config-item config:name="HasColumnRowHeaders" config:type="boolean">true</config:config-item>+ <config:config-item config:name="HasSheetTabs" config:type="boolean">true</config:config-item>+ </config:config-item-map-entry></config:config-item-map-indexed>+ </config:config-item-set>+</office:settings>"""+ return f"""<?xml version="1.0" encoding="UTF-8"?>+<office:document {NS} office:version="1.3" office:mimetype="application/vnd.oasis.opendocument.spreadsheet">+{meta(title)}+{settings}+{FONTS}+{calc_styles()}+<office:automatic-styles>+ {chr(10).join(auto)}+</office:automatic-styles>+<office:master-styles>+ <style:master-page style:name="Default" style:page-layout-name="pm1">+ <style:header style:display="false"/><style:footer style:display="false"/>+ </style:master-page>+</office:master-styles>+<office:body><office:spreadsheet>+{validations}+{"".join(tables)}+</office:spreadsheet></office:body>+</office:document>+"""+++def budget():+ calc = Calc()+ s = Sheet("Budget", [6.2, 3.2, 3.2, 3.2, 0.5])+ s.set("A1", "Monthly budget", "title")+ s.height(1, 1.0)+ s.set("A2", "Put in what you plan to spend and what you really spent. The totals and differences work themselves out.", "subtitle", span=4)+ s.height(2, 0.7)+ row = 4+ s.set(f"A{row}", "Income", "section")+ s.height(row, 0.8)+ row += 1+ for col, text in zip("ABCD", ["", "Planned", "Actual", "Difference"]):+ s.set(f"{col}{row}", text, "headr" if col != "A" else "head")+ income = [("Pay after tax", 2450, 2450), ("Other income", 150, 210)]+ first_in = row + 1+ for name, plan, actual in income:+ row += 1+ s.set(f"A{row}", name)+ s.set(f"B{row}", plan, "money", "money")+ s.set(f"C{row}", actual, "money", "money")+ s.set(f"D{row}", None, "money", "money", f"of:=[.C{row}]-[.B{row}]")+ row += 1+ total_in = row+ s.set(f"A{row}", "Total income", "total")+ for col in "BCD":+ s.set(f"{col}{row}", None, "totalmoney", "money", f"of:=SUM([.{col}{first_in}:.{col}{row - 1}])")+ row += 2+ s.set(f"A{row}", "Spending", "section")+ s.height(row, 0.8)+ row += 1+ for col, text in zip("ABCD", ["", "Planned", "Actual", "Left"]):+ s.set(f"{col}{row}", text, "headr" if col != "A" else "head")+ spending = [+ ("Rent or mortgage", 850, 850), ("Council tax", 142, 142), ("Gas and electricity", 120, 134),+ ("Water", 38, 38), ("Phone and broadband", 55, 55), ("Food shopping", 320, 347),+ ("Travel", 140, 118), ("Insurance", 45, 45), ("Subscriptions", 30, 30),+ ("Eating out", 80, 96), ("Clothes", 50, 22), ("Presents", 25, 40), ("Savings", 300, 300),+ ]+ first_out = row + 1+ for name, plan, actual in spending:+ row += 1+ s.set(f"A{row}", name)+ s.set(f"B{row}", plan, "money", "money")+ s.set(f"C{row}", actual, "money", "money")+ s.set(f"D{row}", None, "money", "money", f"of:=[.B{row}]-[.C{row}]")+ row += 1+ total_out = row+ s.set(f"A{row}", "Total spending", "total")+ for col in "BCD":+ s.set(f"{col}{row}", None, "totalmoney", "money", f"of:=SUM([.{col}{first_out}:.{col}{row - 1}])")+ row += 2+ s.set(f"A{row}", "Left over this month", "grand")+ s.set(f"B{row}", None, "grandmoney", "money", f"of:=[.B{total_in}]-[.B{total_out}]")+ s.set(f"C{row}", None, "grandmoney", "money", f"of:=[.C{total_in}]-[.C{total_out}]")+ s.set(f"D{row}", "", "grand")+ s.height(row, 0.8)+ return fods("Budget", [s], calc)+++def invoice():+ calc = Calc()+ s = Sheet("Invoice", [8.4, 2.2, 3.1, 3.3])+ s.set("A1", "Invoice", "title")+ s.height(1, 1.1)+ for i, line in enumerate(["Riverside Joinery", "Unit 4, Mill Yard", "Hebden Bridge", "HX7 8AD", "[email protected]", "01422 000 000"]):+ s.set(f"A{3 + i}", line, "plainb" if i == 0 else "plain")+ s.set("C3", "Invoice number", "keyr")+ s.set("D3", "INV-0001", "plainr")+ s.set("C4", "Date", "keyr")+ s.set("D4", "2026-11-10", "plaindate", "date")+ s.set("C5", "Due date", "keyr")+ s.set("D5", None, "plaindate", "date", "of:=[.D4]+30")+ s.set("C6", "Your reference", "keyr")+ s.set("D6", "PO 1187", "plainr")+ s.set("A10", "Bill to", "section")+ for i, line in enumerate(["Hannah Clarke", "The Old Bakery", "12 Market Street", "Todmorden", "OL14 5AJ"]):+ s.set(f"A{11 + i}", line, "plainb" if i == 0 else "plain")+ head = 17+ for col, text in zip("ABCD", ["Description", "Quantity", "Unit price", "Amount"]):+ s.set(f"{col}{head}", text, "head" if col == "A" else "headr")+ s.height(head, 0.7)+ items = [+ ("Oak kitchen shelves, made to measure", 3, 85),+ ("Fitting shelves and brackets", 1, 120),+ ("Pine skirting board, per metre", 14, 6.5),+ ("Labour, hours", 6, 35),+ ]+ for i in range(10):+ r = head + 1 + i+ name, qty, price = items[i] if i < len(items) else ("", None, None)+ s.set(f"A{r}", name)+ s.set(f"B{r}", qty, "whole", "number" if qty is not None else None)+ s.set(f"C{r}", price, "money", "money" if price is not None else None)+ s.set(f"D{r}", None, "money", None, f'of:=IF([.B{r}]="";"";[.B{r}]*[.C{r}])')+ end = head + 10+ sub = end + 2+ s.set(f"C{sub}", "Subtotal", "keyr")+ s.set(f"D{sub}", None, "plainmoney", "money", f"of:=SUM([.D{head + 1}:.D{end}])")+ s.set(f"B{sub + 1}", 0.2, "percent", "percent")+ s.set(f"C{sub + 1}", "VAT", "keyr")+ s.set(f"D{sub + 1}", None, "plainmoney", "money", f"of:=ROUND([.D{sub}]*[.B{sub + 1}];2)")+ s.set(f"C{sub + 2}", "Total due", "grand")+ s.set(f"D{sub + 2}", None, "grandmoney", "money", f"of:=[.D{sub}]+[.D{sub + 1}]")+ s.height(sub + 2, 0.8)+ pay = sub + 5+ s.set(f"A{pay}", "How to pay", "section")+ for i, (k, v) in enumerate([("Bank", "Northern Bank"), ("Account name", "Riverside Joinery"), ("Sort code", "00-00-00"), ("Account number", "12345678")]):+ s.set(f"A{pay + 1 + i}", f"{k}: {v}", "plain")+ s.set(f"A{pay + 6}", "Please pay within 30 days, using the invoice number as the reference. Thank you.", "subtitle", span=4)+ return fods("Invoice", [s], calc, grid=False, fit_pages=1)+++def planner():+ calc = Calc(GREEN, TINT_GREEN)+ days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]+ s = Sheet("Week", [1.6] + [3.4] * 7)+ s.set("A1", "Week planner", "title", span=4)+ s.height(1, 1.0)+ s.set("A2", "Week starting", "key", span=2)+ s.set("C2", "2026-11-09", "plaindate", "date")+ s.set("A4", "", "dayhead")+ for i, d in enumerate(days):+ col = col_letter(i + 1)+ s.set(f"{col}4", d, "dayhead")+ s.set(f"{col}5", None, "daydate", "date", f"of:=[.$C$2]+{i}")+ s.set("A5", "", "dayhead")+ s.height(4, 0.65)+ s.height(5, 0.6)+ plans = {+ ("07:00", 0): "Gym", ("07:00", 2): "Gym", ("09:00", 0): "Team catch-up",+ ("12:00", 2): "Lunch with Sarah", ("15:00", 3): "Dentist, 15:30", ("18:00", 1): "Swimming lessons",+ ("18:00", 3): "Swimming lessons", ("19:00", 4): "Film night", ("10:00", 5): "Parkrun, then market",+ ("13:00", 6): "Lunch at Mum’s", ("16:00", 4): "Dry cleaning",+ }+ for i, hour in enumerate(range(7, 22)):+ r = 6 + i+ slot = f"{hour:02d}:00"+ s.set(f"A{r}", slot, "slot")+ for d in range(7):+ s.set(f"{col_letter(d + 1)}{r}", plans.get((slot, d), ""), "cell")+ s.height(r, 0.85)+ r = 6 + 15 + 1+ s.set(f"A{r}", "This week", "section", span=4)+ s.set(f"E{r}", "Shopping", "section", span=4)+ s.height(r, 0.8)+ todo = ["Book the car in for its MOT", "Renew the house insurance", "Birthday card for Dad", "Return library books"]+ shopping = ["Milk, bread, eggs", "Washing up liquid", "Birthday present for Dad", "Batteries for the smoke alarm"]+ for i in range(5):+ s.set(f"A{r + 1 + i}", ("☐ " + todo[i]) if i < len(todo) else "☐", "body", span=4)+ s.set(f"E{r + 1 + i}", ("☐ " + shopping[i]) if i < len(shopping) else "☐", "body", span=4)+ s.height(r + 1 + i, 0.65)+ return fods("Planner", [s], calc, landscape=True, fit_pages=1)+++def timesheet():+ calc = Calc()+ s = Sheet("Timesheet", [3.6, 2.6, 2.2, 2.2, 2.4, 2.2, 4.6])+ s.set("A1", "Timesheet", "title")+ s.height(1, 1.0)+ for i, (k, v, kind, style) in enumerate([+ ("Name", "Chris Morgan", None, "plainb"),+ ("Week starting", "2026-11-09", "date", "plaindate"),+ ("Pay per hour", 12.6, "money", "plainmoney"),+ ]):+ s.set(f"A{3 + i}", k, "key")+ s.set(f"B{3 + i}", v, style, kind, span=2)+ head = 7+ for col, text in zip("ABCDEFG", ["Day", "Date", "Start", "Finish", "Break (mins)", "Hours", "Notes"]):+ s.set(f"{col}{head}", text, "head" if col in "AG" else "headr")+ s.height(head, 0.7)+ days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]+ times = [("09:00", "17:30", 30, ""), ("09:00", "17:30", 30, ""), ("08:30", "16:00", 30, "Left early for the dentist"),+ ("09:00", "17:30", 30, ""), ("09:00", "18:30", 45, "Stocktake"), (None, None, None, ""), (None, None, None, "")]+ for i, d in enumerate(days):+ r = head + 1 + i+ start, finish, brk, note = times[i]+ s.set(f"A{r}", d)+ s.set(f"B{r}", None, "date", "date", f"of:=[.$B$4]+{i}")+ s.set(f"C{r}", start, "time", "time" if start else None)+ s.set(f"D{r}", finish, "time", "time" if finish else None)+ s.set(f"E{r}", brk, "whole", "number" if brk is not None else None)+ s.set(f"F{r}", None, "hours", None, f'of:=IF(OR([.C{r}]="";[.D{r}]="");"";ROUND(MOD([.D{r}]-[.C{r}];1)*24-[.E{r}]/60;2))')+ s.set(f"G{r}", note, "body")+ s.height(r, 0.65)+ end = head + 7+ s.set(f"A{end + 1}", "Total hours", "total")+ for col in "BCDEG":+ s.set(f"{col}{end + 1}", "", "total")+ s.set(f"F{end + 1}", None, "totalhours", None, f"of:=SUM([.F{head + 1}:.F{end}])")+ s.set(f"A{end + 3}", "Pay this week", "grand")+ s.set(f"B{end + 3}", None, "grandmoney", "money", f"of:=ROUND([.F{end + 1}]*[.B5];2)", span=2)+ s.height(end + 3, 0.8)+ s.set(f"A{end + 6}", "Signed", "key")+ s.set(f"B{end + 6}", "", "body", span=3)+ s.set(f"E{end + 6}", "Date", "keyr")+ s.set(f"F{end + 6}", "", "body", span=2)+ s.height(end + 6, 0.9)+ return fods("Timesheet", [s], calc, fit_pages=1)+++def expenses():+ calc = Calc(GREEN, TINT_GREEN)+ s = Sheet("Expenses", [2.3, 5.2, 2.6, 2.6, 2.4, 0.4, 2.4, 2.3])+ s.set("A1", "Expenses", "title")+ s.height(1, 1.0)+ s.set("A2", "One line for each thing you pay for. Pick a category and the totals on the right add themselves up.", "subtitle", span=5)+ head = 4+ for col, text in zip("ABCDE", ["Date", "What for", "Category", "Paid with", "Amount"]):+ s.set(f"{col}{head}", text, "headr" if col == "E" else "head")+ s.height(head, 0.7)+ rows = [+ ("2026-11-01", "Weekly shop, Co-op", "Food", "Debit card", 64.20),+ ("2026-11-02", "Train to Leeds and back", "Travel", "Debit card", 18.40),+ ("2026-11-03", "Gas and electricity", "Bills", "Direct debit", 134.00),+ ("2026-11-04", "Lunch with Ali", "Eating out", "Credit card", 23.50),+ ("2026-11-05", "Phone contract", "Bills", "Direct debit", 22.00),+ ("2026-11-07", "Weekly shop, Aldi", "Food", "Debit card", 58.75),+ ("2026-11-08", "Cinema tickets", "Going out", "Credit card", 19.80),+ ("2026-11-08", "Winter coat", "Clothes", "Credit card", 89.00),+ ("2026-11-09", "Bus pass top-up", "Travel", "Debit card", 25.00),+ ]+ count = 40+ for i in range(count):+ r = head + 1 + i+ if i < len(rows):+ date, what, cat, how, amount = rows[i]+ s.set(f"A{r}", date, "date", "date")+ s.set(f"B{r}", what)+ s.set(f"C{r}", cat)+ s.set(f"D{r}", how)+ s.set(f"E{r}", amount, "money", "money")+ else:+ for col, style in zip("ABCDE", ["date", "body", "body", "body", "money"]):+ s.set(f"{col}{r}", None, style)+ end = head + count+ s.set(f"A{end + 1}", "Total", "total")+ for col in "BCD":+ s.set(f"{col}{end + 1}", "", "total")+ s.set(f"E{end + 1}", None, "totalmoney", "money", f"of:=SUM([.E{head + 1}:.E{end}])")+ s.set(f"G{head}", "Category", "head")+ s.set(f"H{head}", "Spent", "headr")+ cats = ["Food", "Bills", "Travel", "Eating out", "Going out", "Clothes", "Home", "Other"]+ for i, c in enumerate(cats):+ r = head + 1 + i+ s.set(f"G{r}", c)+ s.set(f"H{r}", None, "money", "money", f"of:=SUMIF([.$C${head + 1}:.$C${end}];[.G{r}];[.$E${head + 1}:.$E${end}])")+ s.set(f"G{head + 1 + len(cats)}", "Total", "total")+ s.set(f"H{head + 1 + len(cats)}", None, "totalmoney", "money", f"of:=SUM([.H{head + 1}:.H{head + len(cats)}])")+ # A drop-down of the categories on the right, in every Category cell.+ validation = (f'<table:content-validations><table:content-validation table:name="cats" '+ f'table:condition="of:cell-content-is-in-list([.$G${head + 1}:.$G${head + len(cats)}])" '+ f'table:allow-empty-cell="true" table:display-list="unsorted" table:base-cell-address="'Expenses'.C{head + 1}">'+ f'<table:error-message table:display="false" table:message-type="stop"/></table:content-validation></table:content-validations>')+ return fods("Expenses", [s], calc, validations=validation), (head + 1, end)+++def calc_default():+ calc = Calc()+ s = Sheet("Sheet1", [2.26])+ return fods("Spreadsheet", [s], calc)+++def add_validation(xml, first, last):+ """Puts the category drop-down on column C of the expense rows."""+ rows = xml.split("<table:table-row ")+ for n in range(first, last + 1):+ row = rows[n]+ cells = row.split("<table:table-cell ")+ cells[3] = 'table:content-validation-name="cats" ' + cells[3]+ rows[n] = "<table:table-cell ".join(cells)+ return "<table:table-row ".join(rows)+++# Output++WRITE = [+ ("letter", letter),+ ("cv", cv),+ ("report", report),+ ("newsletter", newsletter),+ ("meeting-notes", meeting_notes),+]+TABLES = [+ ("budget", budget),+ ("invoice", invoice),+ ("planner", planner),+ ("timesheet", timesheet),+ ("expenses", expenses),+]+++def run(cmd, **kw):+ subprocess.run(cmd, check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, **kw)+++def convert(src, fmt, outdir, profile):+ run(["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--norestore",+ "--convert-to", fmt, "--outdir", outdir, src])+++def thumbnail(pdf, png):+ """The first page at the card's 2x size, cut to the card's shape+ (134 by 176) from the top left, so the heading stays in view; a+ landscape page keeps its full height and shows its left side."""+ base = png[:-4]+ run(["pdftoppm", "-png", "-r", "110", "-f", "1", "-l", "1", "-singlefile", pdf, base])+ size = subprocess.run(["identify", "-format", "%w %h", png], check=True, capture_output=True, text=True).stdout.split()+ fit = "x352" if int(size[0]) > int(size[1]) else "268x"+ run(["convert", png, "-resize", fit, "-gravity", "northwest", "-crop", "268x352+0+0", "+repage",+ "-strip", "-define", "png:compression-level=9", png])+++# Formulas in a flat file come without results. LibreOffice works them out+# on load only when told to, and the .ots then keeps the results; the+# setting goes into the profile after a first start has made it.+RECALC = (+ '<item oor:path="/org.openoffice.Office.Calc/Formula/Load">'+ '<prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item>'+)+++def main():+ work = tempfile.mkdtemp()+ profile = os.path.join(work, "profile")+ run(["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--norestore", "--terminate_after_init"])+ xcu = os.path.join(profile, "user", "registrymodifications.xcu")+ with open(xcu, encoding="utf-8") as f:+ registry = f.read()+ with open(xcu, "w", encoding="utf-8") as f:+ f.write(registry.replace("</oor:items>", RECALC + "</oor:items>"))+ for folder, items, ext, filt in (("write", WRITE, "fodt", "ott"), ("tables", TABLES, "fods", "ots")):+ dest = os.path.join(HERE, folder)+ os.makedirs(dest, exist_ok=True)+ for name, make in items:+ content = make()+ if isinstance(content, tuple):+ content, (first, last) = content+ content = add_validation(content, first, last)+ src = os.path.join(work, f"{name}.{ext}")+ with open(src, "w", encoding="utf-8") as f:+ f.write(content)+ convert(src, filt, dest, profile)+ if filt == "ots":+ # A flat file's formulas are only worked out once it has+ # been through LibreOffice, so the .ots goes round again.+ again = os.path.join(work, "again")+ convert(os.path.join(dest, f"{name}.{filt}"), filt, again, profile)+ shutil.move(os.path.join(again, f"{name}.{filt}"), os.path.join(dest, f"{name}.{filt}"))+ convert(os.path.join(dest, f"{name}.{filt}"), "pdf", work, profile)+ thumbnail(os.path.join(work, f"{name}.pdf"), os.path.join(dest, f"{name}.png"))+ print(f"{folder}/{name}.{filt}")+ dest = os.path.join(HERE, "default")+ os.makedirs(dest, exist_ok=True)+ for name, make, ext, filt in (("Default", writer_default, "fodt", "ott"), ("Default", calc_default, "fods", "ots")):+ src = os.path.join(work, f"{name}.{ext}")+ with open(src, "w", encoding="utf-8") as f:+ f.write(make())+ convert(src, filt, dest, profile)+ print(f"default/{name}.{filt}")+ if "--keep" not in sys.argv:+ shutil.rmtree(work)+ else:+ print(work)+++if __name__ == "__main__":+ main()diff --git a/packages/wildos-office/templates/tables/budget.ots b/packages/wildos-office/templates/tables/budget.otsnew file mode 100644index 0000000..07c1df9Binary files /dev/null and b/packages/wildos-office/templates/tables/budget.ots differdiff --git a/packages/wildos-office/templates/tables/budget.png b/packages/wildos-office/templates/tables/budget.pngnew file mode 100644index 0000000..c8a507bBinary files /dev/null and b/packages/wildos-office/templates/tables/budget.png differdiff --git a/packages/wildos-office/templates/tables/expenses.ots b/packages/wildos-office/templates/tables/expenses.otsnew file mode 100644index 0000000..3a7ef86Binary files /dev/null and b/packages/wildos-office/templates/tables/expenses.ots differdiff --git a/packages/wildos-office/templates/tables/expenses.png b/packages/wildos-office/templates/tables/expenses.pngnew file mode 100644index 0000000..dbab6fcBinary files /dev/null and b/packages/wildos-office/templates/tables/expenses.png differdiff --git a/packages/wildos-office/templates/tables/invoice.ots b/packages/wildos-office/templates/tables/invoice.otsnew file mode 100644index 0000000..6dce2faBinary files /dev/null and b/packages/wildos-office/templates/tables/invoice.ots differdiff --git a/packages/wildos-office/templates/tables/invoice.png b/packages/wildos-office/templates/tables/invoice.pngnew file mode 100644index 0000000..6c088bdBinary files /dev/null and b/packages/wildos-office/templates/tables/invoice.png differdiff --git a/packages/wildos-office/templates/tables/planner.ots b/packages/wildos-office/templates/tables/planner.otsnew file mode 100644index 0000000..839f0edBinary files /dev/null and b/packages/wildos-office/templates/tables/planner.ots differdiff --git a/packages/wildos-office/templates/tables/planner.png b/packages/wildos-office/templates/tables/planner.pngnew file mode 100644index 0000000..3bb9e1fBinary files /dev/null and b/packages/wildos-office/templates/tables/planner.png differdiff --git a/packages/wildos-office/templates/tables/timesheet.ots b/packages/wildos-office/templates/tables/timesheet.otsnew file mode 100644index 0000000..74f8dedBinary files /dev/null and b/packages/wildos-office/templates/tables/timesheet.ots differdiff --git a/packages/wildos-office/templates/tables/timesheet.png b/packages/wildos-office/templates/tables/timesheet.pngnew file mode 100644index 0000000..8254f50Binary files /dev/null and b/packages/wildos-office/templates/tables/timesheet.png differdiff --git a/packages/wildos-office/templates/write/cv.ott b/packages/wildos-office/templates/write/cv.ottnew file mode 100644index 0000000..46684e2Binary files /dev/null and b/packages/wildos-office/templates/write/cv.ott differdiff --git a/packages/wildos-office/templates/write/cv.png b/packages/wildos-office/templates/write/cv.pngnew file mode 100644index 0000000..dea066aBinary files /dev/null and b/packages/wildos-office/templates/write/cv.png differdiff --git a/packages/wildos-office/templates/write/letter.ott b/packages/wildos-office/templates/write/letter.ottnew file mode 100644index 0000000..8ad4898Binary files /dev/null and b/packages/wildos-office/templates/write/letter.ott differdiff --git a/packages/wildos-office/templates/write/letter.png b/packages/wildos-office/templates/write/letter.pngnew file mode 100644index 0000000..aa73259Binary files /dev/null and b/packages/wildos-office/templates/write/letter.png differdiff --git a/packages/wildos-office/templates/write/meeting-notes.ott b/packages/wildos-office/templates/write/meeting-notes.ottnew file mode 100644index 0000000..cad2f0cBinary files /dev/null and b/packages/wildos-office/templates/write/meeting-notes.ott differdiff --git a/packages/wildos-office/templates/write/meeting-notes.png b/packages/wildos-office/templates/write/meeting-notes.pngnew file mode 100644index 0000000..d11092fBinary files /dev/null and b/packages/wildos-office/templates/write/meeting-notes.png differdiff --git a/packages/wildos-office/templates/write/newsletter.ott b/packages/wildos-office/templates/write/newsletter.ottnew file mode 100644index 0000000..bb6256eBinary files /dev/null and b/packages/wildos-office/templates/write/newsletter.ott differdiff --git a/packages/wildos-office/templates/write/newsletter.png b/packages/wildos-office/templates/write/newsletter.pngnew file mode 100644index 0000000..adcc692Binary files /dev/null and b/packages/wildos-office/templates/write/newsletter.png differdiff --git a/packages/wildos-office/templates/write/report.ott b/packages/wildos-office/templates/write/report.ottnew file mode 100644index 0000000..b962ae3Binary files /dev/null and b/packages/wildos-office/templates/write/report.ott differdiff --git a/packages/wildos-office/templates/write/report.png b/packages/wildos-office/templates/write/report.pngnew file mode 100644index 0000000..e72f8ecBinary files /dev/null and b/packages/wildos-office/templates/write/report.png differdiff --git a/packages/wildos-office/tools/gen-icons.py b/packages/wildos-office/tools/gen-icons.pynew file mode 100644index 0000000..11de953--- /dev/null+++ b/packages/wildos-office/tools/gen-icons.py@@ -0,0 +1,308 @@+#!/usr/bin/env python3+"""Builds the Wild OS icon themes for Write and Tables.++ tools/gen-icons.py OUTDIR write images_wildos_svg.zip and+ images_wildos_dark_svg.zip into OUTDIR+ tools/gen-icons.py --coverage CONFIG_TREE STOCK_ZIP [UI ...]+ list the commands on our screens that+ still fall back to LibreOffice's icons,+ given its soffice.cfg tree and a stock+ theme such as images_colibre_svg.zip++The sources are line icons on a 24 pixel grid in lo/icons: svg/ holds the+ones drawn on the Wild OS design boards and our own, lucide/ the Lucide+icons we adapted (see lo/icons/CREDITS). lo/icons/icons.txt says which+icon each command or LibreOffice image uses, and in which tone.++Each command becomes three files, the 16 pixel cmd/sc_*.svg LibreOffice+asks for on toolbars and menus, the 24 pixel cmd/lc_*.svg for large+buttons and cmd/32/*.svg for large buttons on HiDPI screens. The same+source is written twice: light strokes for the dark theme and dark ones for+the light theme, because LibreOffice draws an SVG icon exactly as coloured.+"""++import os+import re+import sys+import zipfile+import xml.etree.ElementTree as ET++HERE = os.path.dirname(os.path.abspath(__file__))+ICONS = os.path.join(HERE, "..", "lo", "icons")+SVG_NS = "http://www.w3.org/2000/svg"+ET.register_namespace("", SVG_NS)++STROKE_WIDTH = 1.8++# Colours from the WildOS and WildOSLight colour schemes. The boards draw+# action buttons (Paste, Picture, Find) in the accent colour, formatting in+# the text colour and the sidebar strip and status bar in a quieter tone.+TONES = {+ "dark": {+ "fg": ("#eef1f8", None),+ "accent": ("#8fb4ff", None),+ "muted": ("#eef1f8", "0.62"),+ "red": ("#ff8a8a", None),+ "yellow": ("#ffd27a", None),+ "green": ("#8fd6a8", None),+ },+ "light": {+ "fg": ("#151b2c", None),+ "accent": ("#3563d8", None),+ "muted": ("#151b2c", "0.66"),+ "red": ("#c5372c", None),+ "yellow": ("#9a6400", None),+ "green": ("#2f7a1f", None),+ },+}++THEMES = {+ "images_wildos_svg.zip": "light",+ "images_wildos_dark_svg.zip": "dark",+}++COMMAND_SIZES = (("cmd/sc_%s.svg", (16, 16)), ("cmd/lc_%s.svg", (24, 24)), ("cmd/32/%s.svg", (32, 32)))+++def read_mapping():+ """Returns [(target, icon, tone)] from icons.txt.++ A target is a UNO command name, or a LibreOffice image path with the+ size it is drawn at, such as svx/res/doc_modified_no.png@16 or, for+ images that are not square, sw/res/twopages.png@25x16.+ """+ entries = []+ seen = set()+ with open(os.path.join(ICONS, "icons.txt"), encoding="utf-8") as f:+ for number, line in enumerate(f, 1):+ line = line.split("#", 1)[0].strip()+ if not line:+ continue+ parts = line.split()+ if len(parts) not in (2, 3):+ sys.exit("icons.txt:%d: expected 'target icon [tone]'" % number)+ target, icon = parts[0], parts[1]+ tone = parts[2] if len(parts) == 3 else "fg"+ if tone not in TONES["dark"]:+ sys.exit("icons.txt:%d: unknown tone %s" % (number, tone))+ if target.lower() in seen:+ sys.exit("icons.txt:%d: %s is mapped twice" % (number, target))+ seen.add(target.lower())+ entries.append((target, icon, tone))+ return entries+++def outputs(target):+ """Yields (path in the zip, (width, height)) for one mapping target."""+ if "/" not in target:+ name = target.lower()+ for pattern, size in COMMAND_SIZES:+ yield pattern % name, size+ return+ path, _, size = target.partition("@")+ if not re.fullmatch(r"\d+(x\d+)?", size):+ sys.exit("icons.txt: %s needs a size, as in %s@16" % (target, path))+ width, _, height = size.partition("x")+ yield os.path.splitext(path)[0] + ".svg", (int(width), int(height or width))+++# Path data is rewritten with every number and arc flag spelled out, as+# Lucide's compact arcs ("a2 2 0 012 2") are valid SVG that not every+# renderer reads the same way.+PATH_TOKEN = re.compile(r"[MmLlHhVvCcSsQqTtAaZz]|[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?")+ARGS = {"m": 2, "l": 2, "h": 1, "v": 1, "c": 6, "s": 4, "q": 4, "t": 2, "a": 7, "z": 0}+++def normalise_path(d):+ out = []+ pos = 0+ command = None+ while True:+ while pos < len(d) and d[pos] in " ,\t\n\r":+ pos += 1+ if pos >= len(d):+ break+ if d[pos].isalpha():+ command = d[pos]+ out.append(command)+ pos += 1+ if command in "Zz":+ continue+ if command is None:+ raise ValueError("path data does not start with a command: %r" % d)+ count = ARGS[command.lower()]+ values = []+ for index in range(count):+ while pos < len(d) and d[pos] in " ,\t\n\r":+ pos += 1+ if command in "Aa" and index in (3, 4):+ if d[pos] not in "01":+ raise ValueError("bad arc flag in %r" % d)+ values.append(d[pos])+ pos += 1+ continue+ match = PATH_TOKEN.match(d, pos)+ if not match or match.group(0).isalpha():+ raise ValueError("expected a number at %d in %r" % (pos, d))+ values.append(match.group(0))+ pos = match.end()+ out.append(" ".join(values))+ # Further coordinate pairs after a move are line segments.+ if command == "M":+ command = "L"+ elif command == "m":+ command = "l"+ return " ".join(out)+++def load_source(icon):+ path = os.path.join(ICONS, icon + ".svg") if "/" in icon else os.path.join(ICONS, "svg", icon + ".svg")+ if not os.path.exists(path):+ sys.exit("icons.txt: no source for icon %s (%s)" % (icon, path))+ root = ET.parse(path).getroot()+ if root.get("viewBox") != "0 0 24 24":+ sys.exit("%s: sources are drawn on a 0 0 24 24 viewBox" % path)+ return root+++def strip_ns(tag):+ return tag.split("}", 1)[-1]+++def render(root, size, tone, palette):+ """Returns one source as SVG text at one size in one theme's colours."""++ def colour(element, inherited):+ own = element.get("data-tone", inherited)+ return own, palette[own]++ def convert(element, inherited):+ tone_here, (value, opacity) = colour(element, inherited)+ attrs = {}+ for key, val in element.attrib.items():+ key = strip_ns(key)+ if key in ("class", "data-tone"):+ continue+ if key == "d":+ val = normalise_path(val)+ if val == "currentColor":+ val = value+ if opacity:+ attrs[key + "-opacity"] = opacity+ attrs[key] = val+ node = ET.Element(strip_ns(element.tag), attrs)+ for child in element:+ node.append(convert(child, tone_here))+ return node++ value, opacity = palette[tone]+ width, height = size+ # A source fills the shorter side of an image that is not square and+ # sits centred along the longer one.+ unit = 24 / min(width, height)+ box_w, box_h = width * unit, height * unit+ view_box = "%g %g %g %g" % ((24 - box_w) / 2, (24 - box_h) / 2, box_w, box_h)+ # Below 16 pixels the board's stroke would drop under a pixel and blur+ # away, so the smallest images keep a stroke of about one pixel.+ stroke = max(STROKE_WIDTH, round(1.1 * unit, 2))+ attrs = {+ "xmlns": SVG_NS,+ "width": str(width),+ "height": str(height),+ "viewBox": view_box,+ "fill": "none",+ "stroke": value,+ "stroke-width": "%g" % stroke,+ "stroke-linecap": "round",+ "stroke-linejoin": "round",+ }+ if opacity:+ attrs["stroke-opacity"] = opacity+ parts = []+ for child in root:+ if strip_ns(child.tag) in ("title", "desc", "metadata"):+ continue+ parts.append(ET.tostring(convert(child, tone), encoding="unicode"))+ head = " ".join('%s="%s"' % (k, v) for k, v in attrs.items())+ body = "".join(parts).replace(' xmlns="%s"' % SVG_NS, "")+ return "<svg %s>%s</svg>\n" % (head, body)+++def build(outdir):+ entries = read_mapping()+ sources = {}+ os.makedirs(outdir, exist_ok=True)+ for zipname, theme in THEMES.items():+ palette = TONES[theme]+ files = {}+ for target, icon, tone in entries:+ if icon not in sources:+ sources[icon] = load_source(icon)+ for path, size in outputs(target):+ files[path] = render(sources[icon], size, tone, palette)+ tmp = os.path.join(outdir, zipname + ".tmp")+ with zipfile.ZipFile(tmp, "w", zipfile.ZIP_DEFLATED) as z:+ for path in sorted(files):+ # Fixed dates keep the zips byte for byte reproducible.+ info = zipfile.ZipInfo(path, date_time=(2026, 1, 1, 0, 0, 0))+ info.compress_type = zipfile.ZIP_DEFLATED+ info.external_attr = 0o644 << 16+ z.writestr(info, files[path])+ os.replace(tmp, os.path.join(outdir, zipname))+ print("%s: %d icons" % (zipname, len(files)))+++def coverage(config_tree, stock_zip, ui_files):+ """Lists the commands on our screens that LibreOffice would still draw+ from its own theme: those the stock theme has an icon for and we have+ not mapped. Commands without a stock icon show no icon either way."""+ import glob+ mapped = {t.lower() for t, _, _ in read_mapping() if "/" not in t}+ with zipfile.ZipFile(stock_zip) as z:+ stock = set(z.namelist())+ if "links.txt" in stock:+ stock |= {line.split()[0] for line in z.read("links.txt").decode().splitlines() if line.strip()}+ stock = {os.path.splitext(n)[0] for n in stock}+ places = {}++ def scan(label, path):+ with open(path, encoding="utf-8") as f:+ for command in re.findall(r"\.uno:([A-Za-z0-9_]+)", f.read()):+ places.setdefault(command, set()).add(label)++ for path in ui_files:+ scan("ribbon", path)+ for module in ("swriter", "scalc"):+ for path in glob.glob(os.path.join(config_tree, "modules", module, "popupmenu", "*.xml")):+ scan("menus", path)+ for bar in ("tableobjectbar", "graphicobjectbar", "drawingobjectbar", "drawobjectbar",+ "frameobjectbar", "drawtextobjectbar", "textobjectbar", "formatobjectbar",+ "standardbar", "findbar"):+ path = os.path.join(config_tree, "modules", module, "toolbar", bar + ".xml")+ if os.path.exists(path):+ scan("toolbars", path)+ scan("status bar", os.path.join(config_tree, "modules", module, "statusbar", "statusbar.xml"))+ for pattern in ("svx/ui/sidebar*.ui", "modules/swriter/ui/sidebar*.ui", "modules/swriter/ui/page*panel.ui",+ "modules/swriter/ui/navigatorpanel.ui", "modules/scalc/ui/sidebar*.ui",+ "modules/scalc/ui/navigatorpanel.ui", "sfx/ui/templatepanel.ui"):+ for path in glob.glob(os.path.join(config_tree, pattern)):+ scan("sidebar", path)+ with_icon = {c for c in places if "cmd/sc_" + c.lower() in stock or "cmd/lc_" + c.lower() in stock}+ missing = sorted(c for c in with_icon if c.lower() not in mapped)+ print("%d commands with a stock icon, %d drawn for Wild OS, %d left to LibreOffice"+ % (len(with_icon), len(with_icon) - len(missing), len(missing)))+ for command in missing:+ print(" %s (%s)" % (command, ", ".join(sorted(places[command]))))+++def main():+ if len(sys.argv) >= 4 and sys.argv[1] == "--coverage":+ coverage(sys.argv[2], sys.argv[3], sys.argv[4:])+ elif len(sys.argv) == 2 and not sys.argv[1].startswith("-"):+ build(sys.argv[1])+ else:+ sys.exit(__doc__)+++if __name__ == "__main__":+ main()diff --git a/packages/wildos-office/tools/gen-ribbons.py b/packages/wildos-office/tools/gen-ribbons.pynew file mode 100644index 0000000..48f6802--- /dev/null+++ b/packages/wildos-office/tools/gen-ribbons.py@@ -0,0 +1,860 @@+#!/usr/bin/env python3+"""Writes the Wild OS ribbons for Write and Tables.++ tools/gen-ribbons.py regenerate lo/ui/{swriter,scalc}/notebookbar_wildos.ui+ tools/gen-ribbons.py --labels print the command label overrides the ribbons expect++The .ui files are GtkBuilder files in LibreOffice's notebookbar dialect. They+are long and repetitive, so the ribbon is described here as data and the+files are generated; edit this script, not the .ui files.++Button text on a ribbon comes from each command's label in LibreOffice's+registry, never from the .ui file, so the short Wild OS names ("Picture",+"Replace", "Font colour") need registry overrides. --labels prints them as+component-data blocks for wildos.xcd.+"""++import os+import sys+from xml.sax.saxutils import escape++HERE = os.path.dirname(os.path.abspath(__file__))+UI = os.path.join(HERE, "..", "lo", "ui")++FIND = "vnd.sun.star.findbar:FocusToFindbar"+++# Ribbon description. A tab is (id, label, groups); a group is+# (id, label, priority, columns). A column is one of+# ("big", [items]) large icons with the label underneath+# ("rows", [row, row]) up to three stacked rows, each a list of items+# and an item is "command" followed by optional flags: "|menu" for a+# drop-down arrow, "|text" to show the label beside a small icon, "|w=N" to+# fix the width of a box such as the font name.+# Bigger priority numbers fold away first in a narrow window, into the >>+# button at the end of the ribbon.++def big(*items):+ return ("big", list(items))+++def rows(*rs):+ return ("rows", [list(r) for r in rs])+++FILE_MENU = {+ "swriter": [+ ".uno:AddDirect", ".uno:Open", ".uno:RecentFileList", "-",+ ".uno:Save", ".uno:SaveAs", ".uno:SaveACopy", "-",+ ".uno:ExportToPDF", ".uno:ExportTo", ".uno:SendMailDocAsPDF", "-",+ ".uno:PrintPreview", ".uno:Print", "-",+ ".uno:SetDocumentProperties", ".uno:Signature", "-",+ ".uno:OptionsTreeDialog", ".uno:HelpIndex", "-",+ ".uno:CloseDoc",+ ],+ "scalc": [+ ".uno:AddDirect", ".uno:Open", ".uno:RecentFileList", "-",+ ".uno:Save", ".uno:SaveAs", ".uno:SaveACopy", "-",+ ".uno:ExportToPDF", ".uno:ExportTo", ".uno:SendMailDocAsPDF", "-",+ ".uno:PrintPreview", ".uno:Print", ".uno:PrinterSetup", "-",+ ".uno:SetDocumentProperties", ".uno:Signature", "-",+ ".uno:OptionsTreeDialog", ".uno:HelpIndex", "-",+ ".uno:CloseDoc",+ ],+}++CLIPBOARD = ("Clipboard", "Clipboard", 1, [+ big(".uno:Paste|menu"),+ rows([".uno:Cut|text"], [".uno:Copy|text"]),+])++WRITER = [+ ("Home", "Home", [+ CLIPBOARD,+ ("Text", "Text", 1, [+ rows([".uno:CharFontName|w=140", ".uno:FontHeight|w=70"],+ [".uno:Bold", ".uno:Italic", ".uno:Underline|menu", ".uno:Strikeout",+ ".uno:Color|menu", ".uno:CharBackColor|menu"]),+ ]),+ ("Paragraph", "Paragraph", 2, [+ rows([".uno:DefaultBullet", ".uno:DefaultNumbering", ".uno:IncrementIndent",+ ".uno:LineSpacing|menu"],+ [".uno:LeftPara", ".uno:CenterPara", ".uno:RightPara", ".uno:JustifyPara"]),+ ]),+ ("Styles", "Styles", 4, [+ big(".uno:TextBodyParaStyle", ".uno:TitleParaStyle", ".uno:Heading1ParaStyle",+ ".uno:Heading2ParaStyle", ".uno:QuoteParaStyle"),+ ]),+ ("Insert", "Insert", 5, [+ big(".uno:InsertGraphic", ".uno:InsertTable|menu"),+ ]),+ ("Editing", "Editing", 2, [+ rows([FIND + "|text"], [".uno:SearchDialog|text"]),+ ]),+ ]),+ ("Insert", "Insert", [+ ("Tables", "Tables", 1, [+ big(".uno:InsertTable|menu"),+ ]),+ ("Illustrations", "Illustrations", 1, [+ big(".uno:InsertGraphic", ".uno:InsertObjectChart", ".uno:BasicShapes|menu"),+ ]),+ ("Links", "Links", 2, [+ big(".uno:HyperlinkDialog"),+ rows([".uno:InsertBookmark|text"], [".uno:InsertReferenceField|text"]),+ ]),+ ("Comments", "Comments", 2, [+ big(".uno:InsertAnnotation"),+ ]),+ ("HeaderFooter", "Header and footer", 2, [+ rows([".uno:InsertPageHeader|text"], [".uno:InsertPageFooter|text"],+ [".uno:PageNumberWizard|text"]),+ ]),+ ("TextObjects", "Text", 3, [+ big(".uno:Text"),+ rows([".uno:InsertFieldCtrl|menu|text"], [".uno:InsertSection|text"]),+ ]),+ ("Symbols", "Symbols", 3, [+ big(".uno:CharmapControl|menu", ".uno:InsertObjectStarMath"),+ ]),+ ]),+ ("Layout", "Layout", [+ ("PageSetup", "Page setup", 1, [+ big(".uno:PageMargin|menu", ".uno:Orientation|menu", ".uno:AttributePageSize|menu",+ ".uno:PageColumnType|menu"),+ ]),+ ("Breaks", "Breaks", 2, [+ rows([".uno:InsertPagebreak|text"], [".uno:InsertColumnBreak|text"],+ [".uno:InsertBreak|text"]),+ ]),+ ("PageStyle", "Page", 2, [+ big(".uno:PageDialog"),+ rows([".uno:TitlePageDialog|text"], [".uno:FormatColumns|text"]),+ rows([".uno:LineNumberingDialog|text"], [".uno:Hyphenate|text"]),+ ]),+ ("Arrange", "Arrange", 3, [+ big(".uno:WrapMenu|menu"),+ rows([".uno:BringToFront|text"], [".uno:SendToBack|text"],+ [".uno:ObjectAlign|menu|text"]),+ ]),+ ]),+ ("References", "References", [+ ("Contents", "Table of contents", 1, [+ big(".uno:InsertMultiIndex"),+ rows([".uno:UpdateCurIndex|text"], [".uno:UpdateAllIndexes|text"]),+ ]),+ ("Footnotes", "Footnotes", 1, [+ big(".uno:InsertFootnote"),+ rows([".uno:InsertEndnote|text"], [".uno:FootnoteDialog|text"]),+ ]),+ ("Citations", "Citations", 2, [+ big(".uno:InsertAuthoritiesEntry"),+ ]),+ ("Captions", "Captions", 2, [+ big(".uno:InsertCaptionDialog"),+ rows([".uno:InsertReferenceField|text"], [".uno:InsertBookmark|text"]),+ ]),+ ("Index", "Index", 3, [+ big(".uno:InsertIndexesEntry"),+ ]),+ ("Update", "Update", 2, [+ big(".uno:UpdateAll"),+ ]),+ ]),+ ("Review", "Review", [+ ("Proofing", "Proofing", 1, [+ big(".uno:SpellingAndGrammarDialog"),+ rows([".uno:SpellOnline|text"], [".uno:ThesaurusDialog|text"],+ [".uno:WordCountDialog|text"]),+ ]),+ ("Comments", "Comments", 1, [+ big(".uno:InsertAnnotation"),+ rows([".uno:ShowAnnotations|text"], [".uno:DeleteAllNotes|text"]),+ ]),+ ("Tracking", "Track changes", 1, [+ big(".uno:TrackChanges"),+ rows([".uno:ShowTrackedChanges|text"], [".uno:AcceptTrackedChanges|text"]),+ ]),+ ("Changes", "Changes", 2, [+ rows([".uno:AcceptTrackedChange|text"], [".uno:RejectTrackedChange|text"]),+ rows([".uno:PreviousTrackedChange|text"], [".uno:NextTrackedChange|text"]),+ ]),+ ("Compare", "Compare", 3, [+ rows([".uno:CompareDocuments|text"], [".uno:ProtectTraceChangeMode|text"]),+ ]),+ ]),+ ("View", "View", [+ ("Views", "Views", 1, [+ big(".uno:PrintLayout", ".uno:BrowseView"),+ ]),+ ("Show", "Show", 1, [+ rows([".uno:Ruler|text"], [".uno:ControlCodes|text"], [".uno:ShowWhitespace|text"]),+ rows([".uno:Navigator|text"], [".uno:Sidebar|text"]),+ ]),+ ("Zoom", "Zoom", 1, [+ big(".uno:Zoom", ".uno:Zoom100Percent"),+ rows([".uno:ZoomPage|text"], [".uno:ZoomPageWidth|text"]),+ ]),+ ("Window", "Window", 2, [+ big(".uno:FullScreen"),+ ]),+ ]),+]++CALC = [+ ("Home", "Home", [+ CLIPBOARD,+ ("Text", "Text", 1, [+ rows([".uno:CharFontName|w=140", ".uno:FontHeight|w=70"],+ [".uno:Bold", ".uno:Italic", ".uno:Underline|menu",+ ".uno:Color|menu", ".uno:BackgroundColor|menu"]),+ ]),+ ("Alignment", "Alignment", 2, [+ rows([".uno:AlignLeft", ".uno:AlignHorizontalCenter", ".uno:AlignRight"],+ [".uno:WrapText", ".uno:ToggleMergeCells"]),+ ]),+ ("Number", "Number", 2, [+ rows([".uno:NumberFormatType"],+ [".uno:NumberFormatCurrency|menu", ".uno:NumberFormatPercent",+ ".uno:NumberFormatIncDecimals", ".uno:NumberFormatDecDecimals"]),+ ]),+ ("Cells", "Cells", 3, [+ big(".uno:InsertCell", ".uno:FormatCellDialog"),+ ]),+ ("Data", "Data", 3, [+ big(".uno:DataSort", ".uno:DataFilterAutoFilter", ".uno:InsertObjectChart"),+ ]),+ ("Editing", "Editing", 2, [+ rows([".uno:AutoSum|menu|text"], [FIND + "|text"]),+ ]),+ ]),+ ("Insert", "Insert", [+ ("Tables", "Tables", 1, [+ big(".uno:DataDataPilotRun"),+ ]),+ ("Illustrations", "Illustrations", 1, [+ big(".uno:InsertGraphic", ".uno:InsertObjectChart", ".uno:BasicShapes|menu"),+ rows([".uno:InsertSparkline|text"]),+ ]),+ ("Links", "Links", 2, [+ big(".uno:HyperlinkDialog"),+ ]),+ ("Comments", "Comments", 2, [+ big(".uno:InsertAnnotation"),+ ]),+ ("TextObjects", "Text", 3, [+ big(".uno:DrawText"),+ rows([".uno:EditHeaderAndFooter|text"], [".uno:CharmapControl|menu|text"],+ [".uno:InsertObjectStarMath|text"]),+ ]),+ ("Functions", "Functions", 2, [+ big(".uno:FunctionDialog"),+ rows([".uno:InsertName|text"], [".uno:DefineName|text"]),+ ]),+ ]),+ ("Layout", "Layout", [+ ("PageSetup", "Page setup", 1, [+ big(".uno:PageFormatDialog", ".uno:Margins|menu"),+ rows([".uno:EditHeaderAndFooter|text"]),+ ]),+ ("PrintArea", "Print area", 1, [+ rows([".uno:DefinePrintArea|text"], [".uno:EditPrintArea|text"],+ [".uno:DeletePrintArea|text"]),+ ]),+ ("Breaks", "Breaks", 2, [+ rows([".uno:InsertRowBreak|text"], [".uno:InsertColumnBreak|text"]),+ ]),+ ("Size", "Cell size", 2, [+ rows([".uno:RowHeight|text"], [".uno:SetOptimalRowHeight|text"]),+ rows([".uno:ColumnWidth|text"], [".uno:SetOptimalColumnWidth|text"]),+ ]),+ ("Styles", "Styles", 3, [+ big(".uno:ConditionalFormatMenu|menu", ".uno:AutoFormat"),+ ]),+ ]),+ ("Data", "Data", [+ ("SortFilter", "Sort and filter", 1, [+ rows([".uno:SortAscending"], [".uno:SortDescending"]),+ big(".uno:DataSort", ".uno:DataFilterAutoFilter"),+ rows([".uno:DataFilterStandardFilter|text"], [".uno:DataFilterRemoveFilter|text"]),+ ]),+ ("Tools", "Data tools", 1, [+ big(".uno:TextToColumns", ".uno:HandleDuplicateRecords", ".uno:Validation"),+ ]),+ ("Outline", "Outline", 2, [+ rows([".uno:Group|text"], [".uno:Ungroup|text"]),+ rows([".uno:ShowDetail|text"], [".uno:HideDetail|text"]),+ ]),+ ("Analysis", "Analysis", 2, [+ rows([".uno:DataSubTotals|text"], [".uno:DataConsolidate|text"]),+ rows([".uno:GoalSeekDialog|text"], [".uno:SolverDialog|text"]),+ ]),+ ("Ranges", "Ranges", 3, [+ rows([".uno:DefineDBName|text"], [".uno:DataAreaRefresh|text"]),+ ]),+ ]),+ ("Review", "Review", [+ ("Proofing", "Proofing", 1, [+ big(".uno:SpellDialog"),+ rows([".uno:SpellOnline|text"], [".uno:ThesaurusDialog|text"]),+ ]),+ ("Comments", "Comments", 1, [+ big(".uno:InsertAnnotation"),+ rows([".uno:ShowAllNotes|text"], [".uno:HideAllNotes|text"],+ [".uno:DeleteAllNotes|text"]),+ ]),+ ("Tracking", "Track changes", 1, [+ big(".uno:TraceChangeMode", ".uno:AcceptChanges"),+ ]),+ ("Compare", "Compare", 3, [+ big(".uno:CompareDocuments"),+ ]),+ ("Protect", "Protect", 2, [+ big(".uno:Protect", ".uno:ToolProtectionDocument"),+ ]),+ ]),+ ("View", "View", [+ ("Views", "Views", 1, [+ big(".uno:NormalViewMode", ".uno:PagebreakMode"),+ ]),+ ("Show", "Show", 1, [+ rows([".uno:InputLineVisible|text"], [".uno:ViewRowColumnHeaders|text"],+ [".uno:ToggleSheetGrid|text"]),+ rows([".uno:ViewValueHighlighting|text"], [".uno:ToggleFormula|text"],+ [".uno:Sidebar|text"]),+ ]),+ ("Zoom", "Zoom", 1, [+ big(".uno:Zoom", ".uno:Zoom100Percent"),+ rows([".uno:ZoomPlus|text"], [".uno:ZoomMinus|text"]),+ ]),+ ("Window", "Window", 2, [+ big(".uno:FreezePanes|menu", ".uno:SplitWindow", ".uno:FullScreen"),+ ]),+ ]),+ ("Sheet", "Sheet", [+ ("Sheets", "Sheets", 1, [+ big(".uno:Insert", ".uno:Remove"),+ rows([".uno:RenameTable|text"], [".uno:Move|text"], [".uno:SetTabBgColor|text"]),+ rows([".uno:Hide|text"], [".uno:Show|text"], [".uno:InsertSheetFromFile|text"]),+ ]),+ ("Rows", "Rows and columns", 1, [+ rows([".uno:InsertRowsBefore|text"], [".uno:InsertRowsAfter|text"],+ [".uno:DeleteRows|text"]),+ rows([".uno:InsertColumnsBefore|text"], [".uno:InsertColumnsAfter|text"],+ [".uno:DeleteColumns|text"]),+ ]),+ ("SheetCells", "Cells", 2, [+ big(".uno:InsertCell", ".uno:DeleteCell"),+ rows([".uno:FillDown|text"], [".uno:Delete|text"]),+ ]),+ ]),+]++# Short ribbon names, in sentence case and UK English. Menus keep+# LibreOffice's own wording: see labels().+LABELS = {+ ".uno:Paste": "Paste",+ ".uno:Cut": "Cut",+ ".uno:Copy": "Copy",+ ".uno:Color": "Font colour",+ ".uno:CharBackColor": "Highlight colour",+ ".uno:BackgroundColor": "Fill colour",+ ".uno:Strikeout": "Strikethrough",+ ".uno:DefaultBullet": "Bullets",+ ".uno:DefaultNumbering": "Numbering",+ ".uno:IncrementIndent": "Increase indent",+ ".uno:DecrementIndent": "Decrease indent",+ ".uno:LineSpacing": "Line spacing",+ ".uno:LeftPara": "Align left",+ ".uno:CenterPara": "Centre",+ ".uno:RightPara": "Align right",+ ".uno:JustifyPara": "Justify",+ ".uno:TextBodyParaStyle": "Body text",+ ".uno:TitleParaStyle": "Title",+ ".uno:Heading1ParaStyle": "Heading 1",+ ".uno:Heading2ParaStyle": "Heading 2",+ ".uno:QuoteParaStyle": "Quote",+ ".uno:InsertGraphic": "Picture",+ ".uno:InsertTable": "Table",+ FIND: "Find",+ ".uno:SearchDialog": "Replace",+ ".uno:CommandPopup": "Find a command",+ ".uno:InsertPagebreak": "Page break",+ ".uno:InsertObjectChart": "Chart",+ ".uno:BasicShapes": "Shapes",+ ".uno:HyperlinkDialog": "Link",+ ".uno:InsertBookmark": "Bookmark",+ ".uno:InsertReferenceField": "Cross-reference",+ ".uno:InsertAnnotation": "Comment",+ ".uno:InsertPageHeader": "Header",+ ".uno:InsertPageFooter": "Footer",+ ".uno:PageNumberWizard": "Page number",+ ".uno:Text": "Text box",+ ".uno:DrawText": "Text box",+ ".uno:InsertFieldCtrl": "Field",+ ".uno:InsertSection": "Section",+ ".uno:CharmapControl": "Symbol",+ ".uno:InsertObjectStarMath": "Equation",+ ".uno:PageMargin": "Margins",+ ".uno:Orientation": "Orientation",+ ".uno:AttributePageSize": "Size",+ ".uno:PageColumnType": "Columns",+ ".uno:InsertColumnBreak": "Column break",+ ".uno:InsertBreak": "More breaks",+ ".uno:Hyphenate": "Hyphenation",+ ".uno:LineNumberingDialog": "Line numbers",+ ".uno:PageDialog": "Page setup",+ ".uno:TitlePageDialog": "Title page",+ ".uno:FormatColumns": "Column settings",+ ".uno:WrapMenu": "Wrap text",+ ".uno:BringToFront": "Bring to front",+ ".uno:SendToBack": "Send to back",+ ".uno:ObjectAlign": "Align",+ ".uno:InsertMultiIndex": "Table of contents",+ ".uno:UpdateCurIndex": "Update table",+ ".uno:UpdateAllIndexes": "Update all tables",+ ".uno:InsertFootnote": "Footnote",+ ".uno:InsertEndnote": "Endnote",+ ".uno:FootnoteDialog": "Note settings",+ ".uno:InsertAuthoritiesEntry": "Citation",+ ".uno:InsertCaptionDialog": "Caption",+ ".uno:InsertIndexesEntry": "Index entry",+ ".uno:UpdateAll": "Update all",+ ".uno:SpellingAndGrammarDialog": "Spelling",+ ".uno:SpellDialog": "Spelling",+ ".uno:SpellOnline": "Check as you type",+ ".uno:ThesaurusDialog": "Thesaurus",+ ".uno:WordCountDialog": "Word count",+ ".uno:ShowAnnotations": "Show comments",+ ".uno:DeleteAllNotes": "Delete all comments",+ ".uno:TrackChanges": "Track changes",+ ".uno:TraceChangeMode": "Track changes",+ ".uno:ShowTrackedChanges": "Show changes",+ ".uno:AcceptTrackedChanges": "Manage changes",+ ".uno:AcceptChanges": "Manage changes",+ ".uno:AcceptTrackedChange": "Accept",+ ".uno:RejectTrackedChange": "Reject",+ ".uno:PreviousTrackedChange": "Previous",+ ".uno:NextTrackedChange": "Next",+ ".uno:CompareDocuments": "Compare",+ ".uno:ProtectTraceChangeMode": "Protect changes",+ ".uno:PrintLayout": "Print layout",+ ".uno:BrowseView": "Web layout",+ ".uno:Ruler": "Ruler",+ ".uno:ControlCodes": "Formatting marks",+ ".uno:ShowWhitespace": "Page gaps",+ ".uno:Navigator": "Navigator",+ ".uno:Sidebar": "Sidebar",+ ".uno:Zoom": "Zoom",+ ".uno:Zoom100Percent": "100%",+ ".uno:ZoomPage": "One page",+ ".uno:ZoomPageWidth": "Page width",+ ".uno:ZoomPlus": "Zoom in",+ ".uno:ZoomMinus": "Zoom out",+ ".uno:FullScreen": "Full screen",+ ".uno:AlignLeft": "Align left",+ ".uno:AlignHorizontalCenter": "Centre",+ ".uno:AlignRight": "Align right",+ ".uno:WrapText": "Wrap text",+ ".uno:ToggleMergeCells": "Merge and centre",+ ".uno:NumberFormatCurrency": "Currency",+ ".uno:NumberFormatPercent": "Percent",+ ".uno:NumberFormatIncDecimals": "More decimals",+ ".uno:NumberFormatDecDecimals": "Fewer decimals",+ ".uno:InsertCell": "Insert",+ ".uno:FormatCellDialog": "Format",+ ".uno:DataSort": "Sort",+ ".uno:DataFilterAutoFilter": "Filter",+ ".uno:AutoSum": "AutoSum",+ ".uno:DataDataPilotRun": "Pivot table",+ ".uno:InsertSparkline": "Sparkline",+ ".uno:EditHeaderAndFooter": "Header and footer",+ ".uno:FunctionDialog": "Function",+ ".uno:InsertName": "Use a name",+ ".uno:DefineName": "Manage names",+ ".uno:PageFormatDialog": "Page setup",+ ".uno:Margins": "Margins",+ ".uno:DefinePrintArea": "Set print area",+ ".uno:EditPrintArea": "Edit print area",+ ".uno:DeletePrintArea": "Clear print area",+ ".uno:InsertRowBreak": "Row break",+ ".uno:RowHeight": "Row height",+ ".uno:SetOptimalRowHeight": "Fit rows",+ ".uno:ColumnWidth": "Column width",+ ".uno:SetOptimalColumnWidth": "Fit columns",+ ".uno:ConditionalFormatMenu": "Conditional",+ ".uno:AutoFormat": "Table styles",+ ".uno:SortAscending": "Sort A to Z",+ ".uno:SortDescending": "Sort Z to A",+ ".uno:DataFilterStandardFilter": "Advanced filter",+ ".uno:DataFilterRemoveFilter": "Clear filter",+ ".uno:TextToColumns": "Text to columns",+ ".uno:HandleDuplicateRecords": "Duplicates",+ ".uno:Validation": "Validation",+ ".uno:Group": "Group",+ ".uno:Ungroup": "Ungroup",+ ".uno:ShowDetail": "Show detail",+ ".uno:HideDetail": "Hide detail",+ ".uno:DataSubTotals": "Subtotals",+ ".uno:DataConsolidate": "Consolidate",+ ".uno:GoalSeekDialog": "Goal seek",+ ".uno:SolverDialog": "Solver",+ ".uno:DefineDBName": "Define range",+ ".uno:DataAreaRefresh": "Refresh range",+ ".uno:ShowAllNotes": "Show all comments",+ ".uno:HideAllNotes": "Hide all comments",+ ".uno:Protect": "Protect sheet",+ ".uno:ToolProtectionDocument": "Protect workbook",+ ".uno:NormalViewMode": "Normal",+ ".uno:PagebreakMode": "Page break preview",+ ".uno:InputLineVisible": "Formula bar",+ ".uno:ViewRowColumnHeaders": "Headings",+ ".uno:ToggleSheetGrid": "Gridlines",+ ".uno:ViewValueHighlighting": "Highlight values",+ ".uno:ToggleFormula": "Show formulas",+ ".uno:FreezePanes": "Freeze panes",+ ".uno:SplitWindow": "Split",+ ".uno:Insert": "Insert sheet",+ ".uno:Remove": "Delete sheet",+ ".uno:RenameTable": "Rename",+ ".uno:Move": "Move or copy",+ ".uno:SetTabBgColor": "Tab colour",+ ".uno:Hide": "Hide sheet",+ ".uno:Show": "Unhide sheet",+ ".uno:InsertSheetFromFile": "Sheet from file",+ ".uno:InsertRowsBefore": "Rows above",+ ".uno:InsertRowsAfter": "Rows below",+ ".uno:DeleteRows": "Delete rows",+ ".uno:InsertColumnsBefore": "Columns before",+ ".uno:InsertColumnsAfter": "Columns after",+ ".uno:DeleteColumns": "Delete columns",+ ".uno:DeleteCell": "Delete",+ ".uno:FillDown": "Fill down",+ ".uno:Delete": "Clear",+}+++class Writer:+ def __init__(self, module):+ self.module = module+ self.out = []+ self.ids = set()++ def uid(self, base):+ base = base.replace(" ", "")+ n, i = base, 1+ while n in self.ids:+ i += 1+ n = "%s%d" % (base, i)+ self.ids.add(n)+ return n++ def w(self, depth, text):+ self.out.append(" " * depth + text)++ def props(self, d, props):+ for k, v in props:+ self.w(d, '<property name="%s">%s</property>' % (k, escape(str(v))))++ def packing(self, d, props):+ self.w(d, "<packing>")+ self.props(d + 1, props)+ self.w(d, "</packing>")++ def box_child(self, d, pos, fn, expand=False, fill=True, padding=None, end=False):+ self.w(d, "<child>")+ fn(d + 1)+ p = [("expand", expand), ("fill", fill)]+ if padding is not None:+ p.append(("padding", padding))+ if end:+ p.append(("pack_type", "end"))+ p.append(("position", pos))+ self.packing(d + 1, [(k, str(v) if not isinstance(v, bool) else ("True" if v else "False"))+ for k, v in p])+ self.w(d, "</child>")++ def toolbox(self, d, items, prefix, style, large=False):+ tid = self.uid(prefix + "-tb")+ self.w(d, '<object class="sfxlo-NotebookbarToolBox" id="%s">' % tid)+ p = [("visible", "True"), ("can_focus", "True"), ("valign", "center")]+ if style:+ p.append(("toolbar_style", style))+ p.append(("show_arrow", "False"))+ if large:+ p.append(("icon_size", "3"))+ self.props(d + 1, p)+ for it in items:+ parts = it.split("|")+ cmd = parts[0]+ cls = "GtkMenuToolButton" if "menu" in parts[1:] else "GtkToolButton"+ name = cmd.split(":")[-1].split("?")[0]+ self.w(d + 1, "<child>")+ self.w(d + 2, '<object class="%s" id="%s">' % (cls, self.uid(prefix + "-" + name)))+ props = [("visible", "True"), ("action_name", cmd)]+ props += [("width_request", x[2:]) for x in parts[1:] if x.startswith("w=")]+ self.props(d + 3, props)+ self.w(d + 2, "</object>")+ self.packing(d + 2, [("expand", "False"), ("homogeneous", "False")])+ self.w(d + 1, "</child>")+ self.w(d, "</object>")++ def column(self, d, col, prefix):+ kind, body = col+ if kind == "big":+ self.toolbox(d, body, prefix, "both", large=True)+ return+ bid = self.uid(prefix + "-rows")+ self.w(d, '<object class="GtkBox" id="%s">' % bid)+ self.props(d + 1, [("visible", "True"), ("can_focus", "False"), ("valign", "center"),+ ("orientation", "vertical"), ("spacing", "2")])+ for i, row in enumerate(body):+ texty = any("text" in it.split("|")[1:] for it in row)+ self.box_child(d + 1, i, lambda dd, row=row, texty=texty:+ self.toolbox(dd, row, prefix, "both-horiz" if texty else None))+ self.w(d, "</object>")++ def group(self, d, tab, grp, first):+ gid, label, prio, cols = grp+ prefix = "%s-%s" % (tab, gid)+ self.w(d, '<object class="VclOptionalBox" id="%s">' % self.uid(prefix))+ self.props(d + 1, [("visible", "True"), ("can_focus", "False"), ("vexpand", "True")])+ pos = 0+ if not first:+ def sep(dd):+ self.w(dd, '<object class="GtkSeparator" id="%s">' % self.uid(prefix + "-sep"))+ self.props(dd + 1, [("visible", "True"), ("can_focus", "False"),+ ("margin_top", "4"), ("margin_bottom", "4"),+ ("orientation", "vertical")])+ self.w(dd, "</object>")+ self.box_child(d + 1, pos, sep, padding=3)+ pos += 1++ def stack(dd):+ self.w(dd, '<object class="GtkBox" id="%s">' % self.uid(prefix + "-stack"))+ self.props(dd + 1, [("visible", "True"), ("can_focus", "False"),+ ("orientation", "vertical"), ("spacing", "2")])++ def content(d3):+ self.w(d3, '<object class="GtkBox" id="%s">' % self.uid(prefix + "-content"))+ self.props(d3 + 1, [("visible", "True"), ("can_focus", "False"),+ ("valign", "center"), ("vexpand", "True"), ("spacing", "2")])+ for i, col in enumerate(cols):+ self.box_child(d3 + 1, i, lambda d4, col=col: self.column(d4, col, prefix))+ self.w(d3, "</object>")+ self.box_child(dd + 1, 0, content, expand=True)++ def lab(d3):+ self.w(d3, '<object class="GtkLabel" id="%s">' % self.uid(prefix + "-label"))+ self.props(d3 + 1, [("visible", "True"), ("can_focus", "False")])+ self.w(d3 + 1, '<property name="label" translatable="yes">%s</property>' % escape(label))+ self.props(d3 + 1, [("halign", "center")])+ self.w(d3 + 1, "<attributes>")+ self.w(d3 + 2, '<attribute name="scale" value="0.85"/>')+ self.w(d3 + 1, "</attributes>")+ self.w(d3, "</object>")+ self.box_child(dd + 1, 1, lab)+ self.w(dd, "</object>")+ self.box_child(d + 1, pos, stack)+ self.w(d + 1, "<style>")+ # LibreOffice folds the lowest priority value first.+ self.w(d + 2, '<class name="priority-%d"/>' % (10 - prio))+ self.w(d + 1, "</style>")+ self.w(d, "</object>")++ def tab(self, d, pos, tab):+ tid, label, groups = tab++ def page(dd):+ self.w(dd, '<object class="GtkBox" id="%s Tab">' % tid)+ self.props(dd + 1, [("visible", "True"), ("can_focus", "False"), ("vexpand", "True")])++ def merged(d3):+ self.w(d3, '<object class="sfxlo-PriorityMergedHBox" id="%s">' % tid)+ self.props(d3 + 1, [("visible", "True"), ("can_focus", "False"),+ ("margin_start", "2"), ("margin_top", "4"),+ ("margin_bottom", "2"), ("vexpand", "True")])+ for i, g in enumerate(groups):+ self.box_child(d3 + 1, i, lambda d4, g=g, i=i: self.group(d4, tid, g, i == 0))+ self.w(d3, "</object>")+ # Expanded so the merged box gets the page's whole width to+ # decide what fits; it asks for almost none itself.+ self.box_child(dd + 1, 0, merged, expand=True)+ self.w(dd, "</object>")++ self.w(d, "<child>")+ page(d + 1)+ self.packing(d + 1, [("position", str(pos))])+ self.w(d, "</child>")+ self.w(d, '<child type="tab">')+ self.w(d + 1, '<object class="GtkLabel" id="%sLabel">' % tid)+ self.props(d + 2, [("visible", "True"), ("can_focus", "False")])+ self.w(d + 2, '<property name="label" translatable="yes">%s</property>' % escape(label))+ self.w(d + 1, "</object>")+ self.packing(d + 1, [("position", str(pos)), ("tab_fill", "False")])+ self.w(d, "</child>")++ def file_menu(self, d):+ self.w(d, '<object class="GtkMenu" id="FileMenu">')+ self.props(d + 1, [("visible", "True"), ("can_focus", "False")])+ for i, cmd in enumerate(FILE_MENU[self.module]):+ self.w(d + 1, "<child>")+ if cmd == "-":+ self.w(d + 2, '<object class="GtkSeparatorMenuItem" id="%s">' % self.uid("File-sep"))+ self.props(d + 3, [("visible", "True"), ("can_focus", "False")])+ else:+ self.w(d + 2, '<object class="GtkMenuItem" id="%s">' % self.uid("File-" + cmd.split(":")[-1]))+ self.props(d + 3, [("visible", "True"), ("can_focus", "False"), ("action_name", cmd)])+ self.w(d + 2, "</object>")+ self.w(d + 1, "</child>")+ self.w(d, "</object>")++ def build(self, tabs):+ self.w(0, '<?xml version="1.0" encoding="UTF-8"?>')+ self.w(0, "<!-- Generated by packages/wildos-office/tools/gen-ribbons.py; edit that, not this. -->")+ self.w(0, '<interface domain="%s">' % ("sw" if self.module == "swriter" else "sc"))+ self.w(1, '<requires lib="gtk+" version="3.20"/>')+ self.w(1, '<requires lib="LibreOffice" version="1.0"/>')+ self.file_menu(1)+ self.w(1, '<object class="GtkGrid" id="NotebookBar">')+ self.props(2, [("visible", "True"), ("can_focus", "False")])+ self.w(2, "<child>")+ self.w(3, '<object class="GtkBox" id="box">')+ self.props(4, [("visible", "True"), ("can_focus", "False"), ("hexpand", "True"),+ ("spacing", "4")])++ # File sits left of the tabs and Find a command right of them, as on+ # the boards. Neither can live in the tab row itself, so both are+ # siblings of the notebook, pinned to its top edge.+ def file_button(d):+ self.w(d, '<object class="svtlo-ManagedMenuButton" id="FileButton:FileMenu">')+ self.props(d + 1, [("visible", "True"), ("can_focus", "True"),+ ("has_default", "True"), ("valign", "start"),+ ("margin_start", "4"), ("margin_top", "6")])+ self.w(d + 1, '<property name="label" translatable="yes">File</property>')+ self.w(d, "</object>")+ self.box_child(4, 0, file_button)++ def notebook(d):+ self.w(d, '<object class="GtkNotebook" id="Tabs">')+ # A notebook asks for the width of its widest page, which would+ # make the whole bar wider than a small window. The fixed request+ # lets it shrink, and each page then folds groups to fit.+ self.props(d + 1, [("visible", "True"), ("can_focus", "True"), ("hexpand", "True"),+ ("width_request", "400"), ("show_border", "False")])+ for i, t in enumerate(tabs):+ self.tab(d + 1, i, t)+ self.w(d, "</object>")+ self.box_child(4, 1, notebook, expand=True)++ def find_command(d):+ self.w(d, '<object class="GtkButton" id="FindCommand">')+ self.props(d + 1, [("visible", "True"), ("can_focus", "True"),+ ("receives_default", "False"), ("valign", "start"),+ ("width_request", "170"), ("margin_end", "4"), ("margin_top", "6"),+ ("action_name", ".uno:CommandPopup"),+ ("xalign", "0")])+ self.w(d + 1, '<property name="label" translatable="yes">Find a command</property>')+ self.w(d, "</object>")+ self.box_child(4, 2, find_command)+ self.w(3, "</object>")+ self.packing(3, [("left_attach", "0"), ("top_attach", "0")])+ self.w(2, "</child>")+ self.w(1, "</object>")+ self.w(0, "</interface>")+ return "\n".join(self.out) + "\n"+++def commands(tabs):+ seen = []+ for _, _, groups in tabs:+ for _, _, _, cols in groups:+ for kind, body in cols:+ for it in (body if kind == "big" else [i for r in body for i in r]):+ c = it.split("|")[0]+ if c not in seen:+ seen.append(c)+ return seen+++def labels():+ """Registry overrides that give ribbon buttons their Wild OS names.++ A toolbar shows a command's Label; menus and tooltips prefer its+ ContextLabel. So the short name goes in Label and LibreOffice's original+ Label moves to ContextLabel where the command has none, which keeps+ menus as they were. Run against LibreOffice's own registry to get the+ originals: tools/gen-ribbons.py --labels main.xcd writer.xcd calc.xcd+ """+ from xml.etree import ElementTree as ET+ O = "{http://openoffice.org/2001/registry}"+ comps = {"GenericCommands": {}, "WriterCommands": {}, "CalcCommands": {}}+ for path in sys.argv[2:]:+ for cd in ET.parse(path).getroot():+ comp = comps.get(cd.get(O + "name"))+ if comp is None:+ continue+ # Most commands sit in the Commands set; the paragraph style+ # shortcuts sit in Popups.+ for st in cd.iter("node"):+ if st.get(O + "name") not in ("Commands", "Popups"):+ continue+ for n in st.findall("node"):+ d = comp.setdefault(n.get(O + "name"), {"sets": []})+ d["sets"].append(st.get(O + "name"))+ for p in n.findall("prop"):+ v = p.find("value")+ if st.get(O + "name") == "Commands" or p.get(O + "name") not in d:+ d[p.get(O + "name")] = v.text if v is not None else None+ used = set(commands(WRITER)) | set(commands(CALC)) | {".uno:CommandPopup"}+ out = []+ for comp, table in comps.items():+ # A command with a TargetURL may show its target's label, so the+ # target gets the same name.+ wanted = {}+ for cmd in sorted(used):+ if cmd in LABELS and cmd in table:+ wanted[cmd] = LABELS[cmd]+ target = table[cmd].get("TargetURL")+ if target in table:+ wanted[target] = LABELS[cmd]+ sets = {}+ for cmd, label in sorted(wanted.items()):+ orig = table[cmd]+ if (orig.get("Label") or "").replace("~", "") == label:+ continue+ for st in orig["sets"]:+ nodes = sets.setdefault(st, [])+ nodes.append(' <node oor:name="%s">' % escape(cmd, {'"': """}))+ nodes.append(' <prop oor:name="Label"><value xml:lang="en-US">%s</value>'+ '<value xml:lang="en-GB">%s</value></prop>' % ((escape(label),) * 2))+ if not orig.get("ContextLabel") and orig.get("Label"):+ nodes.append(' <prop oor:name="ContextLabel"><value xml:lang="en-US">%s</value></prop>'+ % escape(orig["Label"]))+ nodes.append(" </node>")+ if sets:+ out.append(' <oor:component-data oor:package="org.openoffice.Office.UI" oor:name="%s">' % comp)+ out.append(' <node oor:name="UserInterface">')+ for name, nodes in sorted(sets.items()):+ out.append(' <node oor:name="%s">' % name)+ out.extend(nodes)+ out.append(" </node>")+ out.append(" </node>")+ out.append(" </oor:component-data>")+ return "\n".join(out) + "\n"+++def main():+ if len(sys.argv) > 1 and sys.argv[1] == "--labels":+ sys.stdout.write(labels())+ return+ for module, tabs in (("swriter", WRITER), ("scalc", CALC)):+ path = os.path.join(UI, module, "notebookbar_wildos.ui")+ os.makedirs(os.path.dirname(path), exist_ok=True)+ with open(path, "w", encoding="utf-8", newline="\n") as f:+ f.write(Writer(module).build(tabs))+ print(path)+++if __name__ == "__main__":+ main()diff --git a/packages/wildos-remote/debian/changelog b/packages/wildos-remote/debian/changelogindex 1147af4..03ee9f6 100644--- a/packages/wildos-remote/debian/changelog+++ b/packages/wildos-remote/debian/changelog@@ -1,3 +1,18 @@+wildos-remote (0.1.2) trixie; urgency=medium++ * The loading splash shows on every start, for about a second, as Write+ and Tables do.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 15:00:00 +0000++wildos-remote (0.1.1) trixie; urgency=medium++ * A loading splash in Remote's orange shows while the home window loads,+ if that takes more than a third of a second. The home window now loads+ in the background, so the splash can draw while it waits.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 14:10:00 +0000+wildos-remote (0.1.0) trixie; urgency=medium* First release: saved desktop and SSH hosts, Remote Desktop sessions ondiff --git a/packages/wildos-remote/debian/control b/packages/wildos-remote/debian/controlindex fbf5b0d..0900d7c 100644--- a/packages/wildos-remote/debian/control+++ b/packages/wildos-remote/debian/control@@ -25,7 +25,7 @@ Architecture: anyDepends:${shlibs:Depends},${misc:Depends},- wildos-ui,+ wildos-ui (>= 0.1.1+r302),openssh-client,libfreerdp3-3 (>= 3.32),libfreerdp-client3-3 (>= 3.32),diff --git a/packages/wildos-remote/qml/Splash.qml b/packages/wildos-remote/qml/Splash.qmlnew file mode 100644index 0000000..5bff301--- /dev/null+++ b/packages/wildos-remote/qml/Splash.qml@@ -0,0 +1,17 @@+import QtQuick+import WildOS.UI as UI++// Remote's loading splash (board 12.5, LoSplash.dc), shown at once on every+// start, as Write and Tables do, for long enough to read before the home+// window takes over.+UI.LoadingSplash {+ appName: qsTr("Remote")+ iconSource: "qrc:/qt/qml/WildOS/Remote/data/org.wildos.remote.svg"+ accent: "#ffc25a"+ accentDeep: "#e2700f"+ status: qsTr("Opening your hosts")+ noteStart: qsTr("Terminal and remote desktop in one")+ noteEnd: qsTr("No cloud sync")+ showDelay: 0+ minimumTime: 1000+}diff --git a/packages/wildos-remote/src/main.cpp b/packages/wildos-remote/src/main.cppindex 52afc7e..216d8cb 100644--- a/packages/wildos-remote/src/main.cpp+++ b/packages/wildos-remote/src/main.cpp@@ -27,6 +27,9 @@#include <QDBusMessage>#include <QIcon>#include <QQmlApplicationEngine>+#include <QQmlComponent>+#include <QQmlIncubator>+#include <QTimer>#include <QQuickStyle>#include <QQuickWindow>@@ -127,15 +130,81 @@ int main(int argc, char *argv[])QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed, &app, []() {QCoreApplication::exit(1);}, Qt::QueuedConnection);- engine.loadFromModule("WildOS.Remote", "Main");- auto *exported = new Bus(&app);- if (bus.isConnected()) {- bus.registerObject(objectPath, exported, QDBusConnection::ExportScriptableSlots);- bus.registerService(serviceName);+ // The splash loads first and the home window after it, asynchronously:+ // loaded the usual way, the home window would hold the event loop and+ // the splash could never appear while it waited.+ engine.loadFromModule("WildOS.Remote", "Splash");+ auto *splash = engine.rootObjects().isEmpty() ? nullptr : qobject_cast<QQuickWindow *>(engine.rootObjects().constFirst());+ if (splash) {+ engine.setIncubationController(splash->incubationController());}- if (!arg.isEmpty()) {- QMetaObject::invokeMethod(App::instance(), [arg] { App::instance()->openArgument(arg); }, Qt::QueuedConnection);++ auto *exported = new Bus(&app);+ // Remote is ready for links and second launches only once its home+ // window exists to take them.+ auto ready = [&bus, exported, arg]() {+ if (bus.isConnected()) {+ bus.registerObject(objectPath, exported, QDBusConnection::ExportScriptableSlots);+ bus.registerService(serviceName);+ }+ if (!arg.isEmpty()) {+ App::instance()->openArgument(arg);+ }+ };++ QQmlComponent home(&engine);+ QQmlIncubator incubator(QQmlIncubator::Asynchronous);+ auto finishSplash = [splash]() {+ if (splash) {+ QMetaObject::invokeMethod(splash, "finish");+ }+ };+ auto create = [&]() {+ if (home.isError()) {+ qWarning().noquote() << home.errorString();+ QCoreApplication::exit(1);+ return;+ }+ home.create(incubator);+ };+ QTimer poll;+ poll.setInterval(16);+ QObject::connect(&poll, &QTimer::timeout, &app, [&]() {+ if (incubator.isLoading()) {+ return;+ }+ poll.stop();+ if (incubator.isError()) {+ for (const QQmlError &e : incubator.errors()) {+ qWarning().noquote() << e.toString();+ }+ QCoreApplication::exit(1);+ return;+ }+ QObject *object = incubator.object();+ QQmlEngine::setObjectOwnership(object, QQmlEngine::CppOwnership);+ object->setParent(&engine);+ auto *window = qobject_cast<QQuickWindow *>(object);+ if (splash && window && window->isVisible()) {+ // The home window comes up as the splash goes, not behind it.+ window->setVisible(false);+ QObject::connect(splash, SIGNAL(finished()), window, SLOT(show()));+ QObject::connect(splash, SIGNAL(finished()), window, SLOT(requestActivate()));+ }+ finishSplash();+ ready();+ });+ QObject::connect(&home, &QQmlComponent::statusChanged, &app, [&](QQmlComponent::Status status) {+ if (status == QQmlComponent::Ready || status == QQmlComponent::Error) {+ create();+ poll.start();+ }+ });+ home.loadFromModule("WildOS.Remote", "Main", QQmlComponent::Asynchronous);+ if (home.status() == QQmlComponent::Ready || home.status() == QQmlComponent::Error) {+ create();+ poll.start();}const int status = app.exec();Desktops::instance()->closeAll();diff --git a/packages/wildos-settings/data/settings-protection b/packages/wildos-settings/data/settings-protectionindex cafc410..5425d5d 100644--- a/packages/wildos-settings/data/settings-protection+++ b/packages/wildos-settings/data/settings-protection@@ -123,6 +123,17 @@ case "${1:-}" inelseecho "$1" > "$LEVEL_FILE"fi+ # Standard relaxes a few of Kicksecure's start-up options for speed+ # (/etc/default/grub.d/40_wildos.cfg reads the saved level), so+ # crossing between Standard and the stricter levels rebuilds the+ # start-up menu. It takes effect from the next start-up.+ case "$previous:$1" in+ standard:strict | standard:maximum | strict:standard | maximum:standard)+ if command -v update-grub >/dev/null 2>&1; then+ update-grub >/dev/null 2>&1 || true+ fi+ ;;+ esac;;boot)firewall "$(saved_level)"diff --git a/packages/wildos-settings/data/settings-users b/packages/wildos-settings/data/settings-usersindex 51d0e09..ce27f5b 100644--- a/packages/wildos-settings/data/settings-users+++ b/packages/wildos-settings/data/settings-users@@ -7,11 +7,16 @@# add NAME admin|standard "FULL NAME" password on stdin# remove NAME# admin NAME on|off-# autologin NAME|off only for the person asking+# autologin NAME only for the person asking; their+# own password on stdin+# autologin offset -euAUTOLOGIN=/etc/sddm.conf.d/95-wildos-autologin.conf+# Keeps the key that opens the auto sign-in account's wallet (wildos-setup).+# tidy removes every key but that account's.+KEYS=/usr/libexec/wildos/wildos-wallet-keys# The groups the installer gives the first account (usersq.conf). console# above all: Kicksecure's console lockdown refuses to let anyone outside it# sign in, SDDM included.@@ -95,6 +100,9 @@ case "${1:-}" infiuserdel --remove "$name" 2>/dev/null || [ $? -eq 12 ] || fail "The account could not be removed."rm -f "/var/lib/AccountsService/icons/$name" "/var/lib/AccountsService/users/$name"+ if [ -x "$KEYS" ]; then+ "$KEYS" tidy+ fi;;admin)name=${2:-}@@ -127,13 +135,26 @@ case "${1:-}" inif [ -e /etc/sddm.conf ]; thensed -i '/^\[Autologin\]/,/^\[/{/^User=/d}' /etc/sddm.conffi+ if [ -x "$KEYS" ]; then+ "$KEYS" tidy+ fielse[ "$target" = "$me" ] || fail "You can only turn on automatic sign-in for yourself." 4person "$target"+ # Checks the password with PAM and keeps the wallet key made from+ # it before anything changes. It reads the password itself, so+ # the password never passes through this script, and its own+ # sentence on failure is the one Settings shows.+ if [ -x "$KEYS" ] && ! "$KEYS" store "$target"; then+ exit 4+ fiinstall -d -m 755 /etc/sddm.conf.dprintf '# Written by Wild OS Settings > Accounts > Sign-in options.\n[Autologin]\nUser=%s\nSession=wildos\nRelogin=false\n' "$target" > "$AUTOLOGIN.new"chmod 644 "$AUTOLOGIN.new"mv -f "$AUTOLOGIN.new" "$AUTOLOGIN"+ if [ -x "$KEYS" ]; then+ "$KEYS" tidy+ fifi;;*)diff --git a/packages/wildos-settings/debian/changelog b/packages/wildos-settings/debian/changelogindex a7df4f7..7b66a7d 100644--- a/packages/wildos-settings/debian/changelog+++ b/packages/wildos-settings/debian/changelog@@ -1,3 +1,29 @@+wildos-settings (0.1.4) trixie; urgency=medium++ * Sign-in options has a saved passwords dialog, opened from that+ notification (--page signin-wallet): it checks your password, keeps the+ automatic sign-in key, and moves a wallet with another password to your+ account password.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 14:00:00 +0000++wildos-settings (0.1.3) trixie; urgency=medium++ * Changing your password works again: it goes through wildos-wallet-keys+ instead of passwd, and a password the rules turn down says why.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 13:00:00 +0000++wildos-settings (0.1.2) trixie; urgency=medium++ * Turning on automatic sign-in asks for your password, so your saved+ passwords (KWallet) open by themselves at each start. Turning it off,+ or removing the account, removes the key the system kept for it.+ * Changing your password moves your saved passwords to the new password,+ so they keep opening when you sign in, and refreshes the kept key.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 12:00:00 +0000+wildos-settings (0.1.1) trixie; urgency=medium* Accessibility has Outline windows, Stronger text on glass and Blur windowsdiff --git a/packages/wildos-settings/qml/Main.qml b/packages/wildos-settings/qml/Main.qmlindex 79ed9c2..a4205b7 100644--- a/packages/wildos-settings/qml/Main.qml+++ b/packages/wildos-settings/qml/Main.qml@@ -39,6 +39,9 @@ UI.AppWindow {}function openPage(id, fromHistory) {+ if (id === "signin-wallet") {+ Navigator.request = "wallet";+ }id = Pages.resolve(id);let p = Pages.page(id);if (!p || !Pages.exists(id)) {diff --git a/packages/wildos-settings/qml/components/BuildNotes.qml b/packages/wildos-settings/qml/components/BuildNotes.qmlnew file mode 100644index 0000000..4ae4e94--- /dev/null+++ b/packages/wildos-settings/qml/components/BuildNotes.qml@@ -0,0 +1,114 @@+import QtQuick+import QtQuick.Layouts+import WildOS.UI as UI++// What one or more Wild OS builds changed, under New, Improved and Fixed,+// one short line each. A computer several builds behind gets every build's+// lines together. Past `limit` lines the rest wait behind "Show all".+ColumnLayout {+ id: notes++ // Builds as Updates.notes gives them: {build, date, items}.+ property var builds: []+ property int limit: 6+ property bool expanded: false++ readonly property var sections: [+ { category: "new", title: "New" },+ { category: "improved", title: "Improved" },+ { category: "fixed", title: "Fixed" }+ ]++ // Every line once, in section order.+ readonly property var lines: {+ const seen = {};+ const all = [];+ for (const s of sections) {+ for (const b of builds) {+ for (const item of b.items) {+ if (item.category === s.category && !seen[item.text]) {+ seen[item.text] = true;+ all.push(item);+ }+ }+ }+ }+ return all;+ }+ // Collapsed, each section takes a line in turn, so a long list of new+ // things never hides that there are fixes too.+ readonly property var shown: {+ if (expanded || lines.length <= limit) {+ return lines;+ }+ const queues = sections.map(s => lines.filter(i => i.category === s.category));+ const picked = new Set();+ for (let round = 0; picked.size < limit; ++round) {+ for (const q of queues) {+ if (round < q.length && picked.size < limit) {+ picked.add(q[round]);+ }+ }+ }+ return lines.filter(i => picked.has(i));+ }++ spacing: 12++ Repeater {+ model: notes.sections++ ColumnLayout {+ id: section+ required property var modelData+ readonly property var items: notes.shown.filter(i => i.category === modelData.category)++ Layout.fillWidth: true+ visible: items.length > 0+ spacing: 4++ UI.Label {+ text: section.modelData.title+ size: 13+ font.weight: Font.DemiBold+ Accessible.role: Accessible.Heading+ }++ Repeater {+ model: section.items++ RowLayout {+ id: line+ required property var modelData+ Layout.fillWidth: true+ spacing: 8++ UI.Label {+ Layout.alignment: Qt.AlignTop+ text: "•"+ size: 13+ color: UI.Style.inkMuted+ lineHeight: 1.35+ }++ UI.Label {+ Layout.fillWidth: true+ text: line.modelData.text+ size: 13+ color: UI.Style.inkStatus+ lineHeight: 1.35+ wrapMode: Text.Wrap+ elide: Text.ElideNone+ }+ }+ }+ }+ }++ UI.LinkButton {+ Layout.leftMargin: -4+ visible: notes.lines.length > notes.limit+ text: notes.expanded ? "Show fewer" : "Show all " + notes.lines.length + " changes"+ onClicked: notes.expanded = !notes.expanded+ }+}diff --git a/packages/wildos-settings/qml/components/Navigator.qml b/packages/wildos-settings/qml/components/Navigator.qmlindex d4bc844..8060444 100644--- a/packages/wildos-settings/qml/components/Navigator.qml+++ b/packages/wildos-settings/qml/components/Navigator.qml@@ -6,6 +6,10 @@ import QtQuick// The window registers itself here when it starts.QtObject {property var window: null+ // Something a page should do once it is open, asked for from outside+ // (wildos-settings --page signin-wallet asks Sign-in options to open+ // its saved passwords dialog). The page clears it when done.+ property string request: ""function open(id) {if (window) {diff --git a/packages/wildos-settings/qml/components/Pages.qml b/packages/wildos-settings/qml/components/Pages.qmlindex eaaa600..554827a 100644--- a/packages/wildos-settings/qml/components/Pages.qml+++ b/packages/wildos-settings/qml/components/Pages.qml@@ -264,6 +264,8 @@ QtObject {"kcm_energyinfo": "power","kcm_kwin_virtualdesktops": "desktops","kcm_smserver": "signin",+ // From the saved passwords notification (wildos-setup-wallet).+ "signin-wallet": "signin","kcm_keyboard": "keyboard","kcm_device_automounter": "autoplay","kcm_gamecontroller": "gamecontrollers",diff --git a/packages/wildos-settings/qml/pages/SignInPage.qml b/packages/wildos-settings/qml/pages/SignInPage.qmlindex e3321eb..e785c7e 100644--- a/packages/wildos-settings/qml/pages/SignInPage.qml+++ b/packages/wildos-settings/qml/pages/SignInPage.qml@@ -6,7 +6,9 @@ import WildOS.UI as UI// Sign-in options, after Windows 11: changing the password (current one// first, then the new one twice and an optional hint), signing in// automatically when the computer starts, restarting apps after signing-// in, and the way to the screen lock.+// in, and the way to the screen lock. Turning automatic sign-in on asks for+// your own password, so the system can keep the key that opens your saved+// passwords (KWallet) when nobody types one.PageScroll {id: page@@ -36,15 +38,26 @@ PageScroll {notice.show("Password changed", message, false);}} else if (what === "autologin") {+ autoDialog.close();notice.show("Automatic sign-in", message, false);+ } else if (what === "wallet") {+ walletDialog.close();+ notice.show("Saved passwords", message, false);}}function onFailed(what, reason) {- if (what === "password") {+ if (what === "wallet" || what === "wallet-other") {+ walletDialog.needsOther = walletDialog.needsOther || what === "wallet-other";+ walletDialog.error = reason;+ } else if (what === "password") {passwordDialog.error = reason;} else if (what === "autologin") {- notice.show("Automatic sign-in was not changed", reason, true);autoToggle.checked = Qt.binding(() => page.autoOn);+ if (autoDialog.visible) {+ autoDialog.error = reason;+ } else {+ notice.show("Automatic sign-in was not changed", reason, true);+ }}}}@@ -53,6 +66,24 @@ PageScroll {id: notice}+ // The saved passwords notification (wildos-setup-wallet) opens this+ // page with Navigator.request "wallet".+ function takeRequest() {+ if (Navigator.request === "wallet") {+ Navigator.request = "";+ walletDialog.open();+ }+ }++ Component.onCompleted: takeRequest()++ Connections {+ target: Navigator+ function onRequestChanged() {+ page.takeRequest();+ }+ }+ColumnLayout {Layout.fillWidth: truespacing: 10@@ -101,7 +132,7 @@ PageScroll {minHeight: 72title: "Sign in automatically when this computer starts"description: page.autoOther ? "Set up for " + Users.autoLogin + ". Turning it on here moves it to you."- : "Anyone who turns the computer on gets straight to your files, so only use it on a computer that stays at home."+ : "Anyone who turns the computer on gets straight to your files and saved passwords, so only use it on a computer that stays at home."status: page.autoOn ? "On" : "Off"UI.Toggle {@@ -110,7 +141,14 @@ PageScroll {checked: page.autoOnenabled: Users.busy !== "autologin"Accessible.name: "Sign in automatically when this computer starts"- onToggled: Users.setAutoLogin(checked)+ onToggled: {+ if (checked) {+ checked = Qt.binding(() => page.autoOn);+ autoDialog.open();+ } else {+ Users.setAutoLogin(false);+ }+ }}}@@ -140,6 +178,137 @@ PageScroll {}}+ UI.Dialog {+ id: walletDialog++ property string error+ property bool needsOther: false++ title: "Open your saved passwords"+ text: needsOther+ ? "Your saved passwords use a different password from your account. Type both, and Wild OS moves them to your account password so they open when you sign in."+ : page.autoOn+ ? "This computer signs you in automatically, so your saved passwords need your password once. After this they open by themselves at every start."+ : "Type your account password so your saved passwords open when you sign in."+ onAboutToShow: {+ error = "";+ needsOther = false;+ walletPasswordField.text = "";+ walletOtherField.text = "";+ walletPasswordField.forceActiveFocus();+ }++ UI.TextField {+ id: walletPasswordField+ Layout.fillWidth: true+ placeholderText: "Your account password"+ revealable: true+ onTextChanged: walletDialog.error = ""+ onAccepted: walletDialog.needsOther ? walletOtherField.forceActiveFocus() : walletButton.clicked()+ }++ UI.TextField {+ id: walletOtherField+ Layout.fillWidth: true+ visible: walletDialog.needsOther+ placeholderText: "The password your saved passwords use"+ revealable: true+ onTextChanged: walletDialog.error = ""+ onAccepted: walletButton.clicked()+ }++ UI.Label {+ Layout.fillWidth: true+ visible: text.length > 0+ text: walletDialog.error+ size: 12+ color: UI.Style.danger+ wrapMode: Text.Wrap+ elide: Text.ElideNone+ }++ buttons: [+ UI.Button {+ id: walletButton+ text: "Continue"+ kind: "primary"+ busy: Users.busy === "wallet"+ enabled: walletPasswordField.text.length > 0 && (!walletDialog.needsOther || walletOtherField.text.length > 0)+ && Users.busy !== "wallet"+ onClicked: {+ if (!enabled) {+ return;+ }+ walletDialog.error = "";+ Users.openWallet(walletPasswordField.text, walletDialog.needsOther ? walletOtherField.text : "");+ }+ },+ UI.Button {+ text: "Cancel"+ enabled: Users.busy !== "wallet"+ onClicked: walletDialog.close()+ }+ ]+ }++ UI.Dialog {+ id: autoDialog++ property string error++ title: "Sign in automatically"+ text: (Protection.status.encryption === "on"+ ? "Anyone who gets past the disk password when this computer starts will reach your files and your saved passwords, without your account password."+ : "Anyone who turns this computer on will reach your files and your saved passwords, without a password.")+ + " Type your password so Wild OS can open your saved passwords for you."+ onAboutToShow: {+ error = "";+ autoPasswordField.text = "";+ autoPasswordField.forceActiveFocus();+ }++ UI.TextField {+ id: autoPasswordField+ Layout.fillWidth: true+ placeholderText: "Your password"+ revealable: true+ onTextChanged: autoDialog.error = ""+ onAccepted: turnOnButton.clicked()+ }++ UI.Label {+ Layout.fillWidth: true+ visible: text.length > 0+ text: autoDialog.error+ size: 12+ color: UI.Style.danger+ wrapMode: Text.Wrap+ elide: Text.ElideNone+ }++ buttons: [+ UI.Button {+ id: turnOnButton+ text: "Turn on"+ kind: "primary"+ busy: Users.busy === "autologin"+ enabled: autoPasswordField.text.length > 0 && Users.busy !== "autologin"+ onClicked: {+ if (!enabled) {+ return;+ }+ autoDialog.error = "";+ Users.setAutoLogin(true, autoPasswordField.text);+ }+ },+ UI.Button {+ text: "Cancel"+ enabled: Users.busy !== "autologin"+ onClicked: autoDialog.close()+ }+ ]+ }+UI.Dialog {id: passwordDialogdiff --git a/packages/wildos-settings/qml/pages/UpdatePage.qml b/packages/wildos-settings/qml/pages/UpdatePage.qmlindex fd7efe6..5ee277a 100644--- a/packages/wildos-settings/qml/pages/UpdatePage.qml+++ b/packages/wildos-settings/qml/pages/UpdatePage.qml@@ -1,5 +1,6 @@import QtQuickimport QtQuick.Layouts+import QtQuick.Templates as Timport WildOS.Settingsimport WildOS.UI as UI@@ -139,11 +140,22 @@ PageScroll {return groups.length > 1 ? prefix + ": " + listOf(groups.map(label)) : prefix;}- // Only the newest Wild OS update can show its notes: the changelog on- // disk is the one that update installed.- readonly property string releaseNotes: Updates.releaseNotes()+ // What the waiting Wild OS build brings, from the update site's notes:+ // every build since the one installed, or just the waiting one when the+ // installed build is not known. Empty when the notes could not be+ // fetched, and the page reads as it did before there were notes.+ readonly property var pendingNotes: Updates.notes, Updates.pendingBuild > 0+ ? Updates.notesBetween(Updates.installedBuild > 0 ? Updates.installedBuild : Updates.pendingBuild - 1, Updates.pendingBuild) : []+ readonly property string pendingSummary: Updates.notes, Updates.pendingBuild > 0+ ? Updates.summary(Updates.installedBuild > 0 ? Updates.installedBuild : Updates.pendingBuild - 1, Updates.pendingBuild) : ""+ // The builds this computer has had, newest first, for "What's new".+ readonly property var installedNotes: Updates.notes.filter(b => b.build <= Updates.installedBuild).slice(0, 10)readonly property int newestRelease: Updates.history.findIndex(e => e.kind === "update" && e.succeeded && e.packages.some(n => n.startsWith("wildos")))+ function sentence(text) {+ return text.length > 0 ? text.charAt(0).toUpperCase() + text.slice(1) + "." : "";+ }+StatusCard {iconCircle: 60iconSize: 30@@ -241,10 +253,20 @@ PageScroll {model: page.showAll ? page.pending : page.pending.slice(0, 6)UI.SettingRow {+ id: pendingRowrequired property var modelData- title: modelData.group === "app" ? modelData.app : page.groupTitle(modelData.group, modelData.security)- description: modelData.group === "app" ? "App update" : Format.plural(modelData.count, "update", "updates")+ readonly property bool wildos: modelData.group === "wildos"+ title: wildos && Updates.pendingBuild > 0 ? "Wild OS build " + Updates.pendingBuild+ : modelData.group === "app" ? modelData.app : page.groupTitle(modelData.group, modelData.security)+ description: wildos && page.pendingSummary.length > 0 ? page.sentence(page.pendingSummary)+ : modelData.group === "app" ? "App update" : Format.plural(modelData.count, "update", "updates")status: modelData.security ? "Security fix" : ""+ below: BuildNotes {+ width: parent ? parent.width : 0+ visible: pendingRow.wildos && page.pendingNotes.length > 0+ builds: page.pendingNotes+ limit: 5+ }}}@@ -346,13 +368,21 @@ PageScroll {UI.LinkButton {anchors.verticalCenter: parent.verticalCenter- visible: index === page.newestRelease && page.releaseNotes.length > 0+ visible: index === page.newestRelease && page.installedNotes.length > 0text: "What's new"onClicked: notesDialog.open()}}}+ UI.SettingRow {+ visible: page.installedNotes.length > 0+ title: "What's new in Wild OS"+ description: page.installedNotes.length > 0 ? "You have build " + Updates.installedBuild + ". See what recent builds changed." : ""+ chevron: true+ onClicked: notesDialog.open()+ }+UI.SettingRow {visible: Updates.history.length === 0title: "Nothing installed yet"@@ -383,15 +413,58 @@ PageScroll {UI.Dialog {id: notesDialog- title: "What's new in " + page.version.replace(/\.$/, "")+ title: "What's new in Wild OS"+ text: "You have build " + Updates.installedBuild + ". Newest first."- UI.Label {+ Flickable {+ id: notesScrollLayout.fillWidth: true- text: page.releaseNotes.split("\n").map(line => "• " + line).join("\n")- color: UI.Style.inkStatus- lineHeight: 1.4- wrapMode: Text.Wrap- elide: Text.ElideNone+ Layout.preferredHeight: Math.min(contentHeight, 440)+ contentHeight: notesColumn.implicitHeight+ clip: true+ boundsBehavior: Flickable.StopAtBounds+ T.ScrollBar.vertical: UI.ScrollBar {}++ ColumnLayout {+ id: notesColumn+ width: notesScroll.width - 12+ spacing: 20++ Repeater {+ model: notesDialog.visible ? page.installedNotes : []++ ColumnLayout {+ id: buildNotes+ required property var modelData+ Layout.fillWidth: true+ spacing: 8++ UI.Label {+ Layout.fillWidth: true+ text: "Build " + buildNotes.modelData.build+ + (Format.isValid(buildNotes.modelData.date) ? ", " + Format.day(buildNotes.modelData.date) : "")+ size: 15+ font.weight: Font.DemiBold+ Accessible.role: Accessible.Heading+ }++ BuildNotes {+ Layout.fillWidth: true+ visible: buildNotes.modelData.items.length > 0+ builds: [buildNotes.modelData]+ limit: 4+ }++ UI.Label {+ Layout.fillWidth: true+ visible: buildNotes.modelData.items.length === 0+ text: "Small changes under the surface."+ size: 13+ color: UI.Style.inkStatus+ }+ }+ }+ }}buttons: [diff --git a/packages/wildos-settings/src/system.cpp b/packages/wildos-settings/src/system.cppindex 2d5a01f..d90e9eb 100644--- a/packages/wildos-settings/src/system.cpp+++ b/packages/wildos-settings/src/system.cpp@@ -929,6 +929,15 @@ void System::setScreenCorner(int corner, const QString &action): QStringLiteral("None");config->group(QStringLiteral("ElectricBorders")).writeEntry(name, built);config->sync();+ // KWin's reconfigure only reaches the corners' own actions. Overview and+ // window view read which corners they hold when told to by name, so+ // without this Task view stayed where it was until the next sign-in.+ for (const QString &effect : {QStringLiteral("overview"), QStringLiteral("windowview")}) {+ auto message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.KWin"), QStringLiteral("/Effects"), QStringLiteral("org.kde.kwin.Effects"),+ QStringLiteral("reconfigureEffect"));+ message << effect;+ QDBusConnection::sessionBus().asyncCall(message);+ }reconfigureKWin();}diff --git a/packages/wildos-settings/src/updates.cpp b/packages/wildos-settings/src/updates.cppindex a47faf9..5cb1130 100644--- a/packages/wildos-settings/src/updates.cpp+++ b/packages/wildos-settings/src/updates.cpp@@ -10,12 +10,22 @@#include <QDBusObjectPath>#include <QDBusPendingCallWatcher>#include <QDBusPendingReply>+#include <QDir>#include <QFile>#include <QFileInfo>#include <QHash>+#include <QJsonArray>+#include <QJsonDocument>+#include <QJsonObject>+#include <QNetworkAccessManager>+#include <QNetworkProxy>+#include <QNetworkReply>#include <QProcess>#include <QRegularExpression>+#include <QSaveFile>+#include <QSet>#include <QStandardPaths>+#include <QUrl>using PackageKit::Daemon;using PackageKit::Transaction;@@ -29,6 +39,71 @@ QString restartMarker()return QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QStringLiteral("/wildos-restart-needed");}+// What the update that asked for a restart brings, for the restart prompt+// (wildos-system-dialogs), gone with the restart like the marker above.+QString summaryMarker()+{+ return QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QStringLiteral("/wildos-update-summary");+}++// The last notes fetched, so Settings still has them offline.+QString notesCache()+{+ return QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QStringLiteral("/wildos/update-notes.json");+}++// The build a package version was made in: 0.1.0+r261 is build 261. Local+// builds carry no +r and count as 0.+int buildOf(const QString &version)+{+ static const QRegularExpression revision(QStringLiteral("\\+r(\\d+)"));+ const auto match = revision.match(version);+ return match.hasMatch() ? match.captured(1).toInt() : 0;+}++// The notes come from the update site, so they go the way apt goes there:+// through Tor when Wild OS's source is a tor+https one, through apt's proxy+// when it has one, and straight there otherwise.+QNetworkProxy aptProxy()+{+ QFile sources(QStringLiteral("/etc/apt/sources.list.d/wildos.sources"));+ if (sources.open(QIODevice::ReadOnly) && sources.readAll().contains("tor+http")) {+ // apt-transport-tor's own default.+ return QNetworkProxy(QNetworkProxy::Socks5Proxy, QStringLiteral("127.0.0.1"), 9050);+ }+ QProcess config;+ config.start(QStringLiteral("apt-config"), {QStringLiteral("dump")});+ if (!config.waitForFinished(3000) || config.exitCode() != 0) {+ return QNetworkProxy(QNetworkProxy::NoProxy);+ }+ // apt's settings by key: "https", "https::deb.wildos.io", "http", ...+ QHash<QString, QString> proxies;+ static const QRegularExpression line(QStringLiteral("^Acquire::(https?)::Proxy(::deb\\.wildos\\.io)? \"(.*)\";$"));+ const auto lines = QString::fromUtf8(config.readAllStandardOutput()).split(QLatin1Char('\n'));+ for (const QString &text : lines) {+ const auto match = line.match(text);+ if (match.hasMatch()) {+ proxies.insert(match.captured(1) + match.captured(2), match.captured(3));+ }+ }+ // A proxy for this one host wins over the one for every https site,+ // which wins over the http one apt also uses for https.+ QString chosen;+ for (const char *key : {"https::deb.wildos.io", "https", "http::deb.wildos.io", "http"}) {+ chosen = proxies.value(QString::fromLatin1(key));+ if (!chosen.isEmpty()) {+ break;+ }+ }+ const QUrl url(chosen);+ if (chosen.isEmpty() || chosen.compare(QLatin1String("DIRECT"), Qt::CaseInsensitive) == 0 || !url.isValid() || url.host().isEmpty()) {+ return QNetworkProxy(QNetworkProxy::NoProxy);+ }+ const bool socks = url.scheme().startsWith(QLatin1String("socks"));+ return QNetworkProxy(socks ? QNetworkProxy::Socks5Proxy : QNetworkProxy::HttpProxy, url.host(), quint16(url.port(socks ? 1080 : 8080)),+ url.userName(), url.password());+}+// Debian rarely says a restart is needed (no /run/reboot-required without// update-notifier, and PackageKit only for a few packages), so Wild OS// decides from what was installed: anything that only takes effect at@@ -67,10 +142,17 @@ Updates::Updates(QObject *parent)// prompt ever appeared.PackageKit::Daemon::global()->setHints(QStringList{QStringLiteral("interactive=true")});m_restartNeeded = QFileInfo::exists(QStringLiteral("/run/reboot-required")) || QFileInfo::exists(restartMarker());+ m_network = new QNetworkAccessManager(this);+ readInstalledBuild();+ QFile cache(notesCache());+ if (cache.open(QIODevice::ReadOnly)) {+ readNotes(cache.readAll());+ }if (available()) {readLastChecked();listUpdates();loadHistory();+ fetchNotes();}}@@ -158,6 +240,7 @@ void Updates::check()readLastChecked();if (status == Transaction::ExitSuccess) {listUpdates();+ fetchNotes();} else if (m_state != QLatin1String("error")) {setState(QStringLiteral("error"), status == Transaction::ExitCancelled ? QStringLiteral("The check was cancelled."): QStringLiteral("Wild OS could not check for updates."));@@ -209,6 +292,13 @@ void Updates::listUpdates()});m_updates = *collected;m_pending = *ids;+ m_pendingBuild = 0;+ for (const QVariant &update : std::as_const(m_updates)) {+ const auto map = update.toMap();+ if (map.value(QStringLiteral("name")).toString().startsWith(QLatin1String("wildos"))) {+ m_pendingBuild = std::max(m_pendingBuild, buildOf(map.value(QStringLiteral("version")).toString()));+ }+ }Q_EMIT updatesChanged();setState(m_updates.isEmpty() ? QStringLiteral("uptodate") : QStringLiteral("available"));if (m_installAfterList) {@@ -267,8 +357,17 @@ void Updates::startInstall()Q_EMIT restartNeededChanged();}}+ // The restart prompt says what the restart finishes installing.+ const QString brought = needsRestart(m_pending) && m_pendingBuild > m_installedBuild ? summary(m_installedBuild, m_pendingBuild) : QString();+ QSaveFile summaryFile(summaryMarker());+ if (!brought.isEmpty() && summaryFile.open(QIODevice::WriteOnly)) {+ summaryFile.write(brought.toUtf8());+ summaryFile.commit();+ }+ readInstalledBuild();m_updates.clear();m_pending.clear();+ m_pendingBuild = 0;Q_EMIT updatesChanged();if (QFileInfo::exists(QStringLiteral("/run/reboot-required")) && !m_restartNeeded) {m_restartNeeded = true;@@ -473,38 +572,137 @@ QVariantMap Updates::describe(const QString &package) constreturn result("other");}-QString Updates::releaseNotes() const+void Updates::readInstalledBuild(){- // dh_installchangelogs puts a native package's changelog here.- const QString path = QStringLiteral("/usr/share/doc/wildos-base/changelog.gz");- if (!QFileInfo::exists(path)) {- return {};+ // A build stamps its number only on the packages it changed, so the+ // highest number among them is the build this computer has.+ QProcess query;+ query.start(QStringLiteral("dpkg-query"), {QStringLiteral("-W"), QStringLiteral("-f=${Status}\t${Version}\n"), QStringLiteral("wildos-*")});+ if (!query.waitForFinished(3000)) {+ return;}- QProcess zcat;- zcat.start(QStringLiteral("zcat"), {path});- if (!zcat.waitForFinished(3000) || zcat.exitCode() != 0) {- return {};+ int build = 0;+ const auto lines = QString::fromUtf8(query.readAllStandardOutput()).split(QLatin1Char('\n'), Qt::SkipEmptyParts);+ for (const QString &line : lines) {+ if (line.section(QLatin1Char('\t'), 0, 0).endsWith(QLatin1String(" installed"))) {+ build = std::max(build, buildOf(line.section(QLatin1Char('\t'), 1)));+ }}- const QString text = QString::fromUtf8(zcat.readAllStandardOutput());- // The newest entry runs from the first line to the first " -- " sign-off;- // its bullet lines are what changed.- QStringList notes;- const auto lines = text.split(QLatin1Char('\n'));- for (int i = 1; i < lines.size(); ++i) {- const QString line = lines.at(i);- if (line.startsWith(QLatin1String(" -- "))) {- break;+ if (build != m_installedBuild) {+ m_installedBuild = build;+ Q_EMIT installedBuildChanged();+ }+}++void Updates::fetchNotes()+{+ QNetworkRequest request{QUrl(QStringLiteral("https://deb.wildos.io/notes.json"))};+ request.setTransferTimeout(20000);+ request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::AlwaysNetwork);+ m_network->setProxy(aptProxy());+ QNetworkReply *reply = m_network->get(request);+ connect(reply, &QNetworkReply::finished, this, [this, reply] {+ reply->deleteLater();+ // A failure keeps the notes Settings already has, or none, and the+ // page then reads as it did before there were notes.+ if (reply->error() != QNetworkReply::NoError) {+ return;+ }+ const QByteArray json = reply->readAll();+ if (readNotes(json)) {+ QDir().mkpath(QFileInfo(notesCache()).path());+ QSaveFile cache(notesCache());+ if (cache.open(QIODevice::WriteOnly)) {+ cache.write(json);+ cache.commit();+ }}- static const QRegularExpression bullet(QStringLiteral("^\\s+\\*\\s+"));- const QString trimmed = line.trimmed();- if (trimmed.isEmpty()) {+ });+}++bool Updates::readNotes(const QByteArray &json)+{+ const QJsonDocument doc = QJsonDocument::fromJson(json);+ if (!doc.isObject() || !doc.object().value(QStringLiteral("builds")).isArray()) {+ return false;+ }+ static const QStringList categories = {QStringLiteral("new"), QStringLiteral("improved"), QStringLiteral("fixed")};+ QVariantList notes;+ const QJsonArray builds = doc.object().value(QStringLiteral("builds")).toArray();+ for (const QJsonValue &value : builds) {+ const QJsonObject build = value.toObject();+ const int number = build.value(QStringLiteral("build")).toInt();+ if (number <= 0) {continue;}- if (bullet.match(line).hasMatch()) {- notes << QString(line).remove(bullet);- } else if (!notes.isEmpty()) {- notes.last() += QLatin1Char(' ') + trimmed;+ QVariantList items;+ const QJsonArray entries = build.value(QStringLiteral("items")).toArray();+ for (const QJsonValue &entry : entries) {+ const QJsonObject item = entry.toObject();+ const QString category = item.value(QStringLiteral("category")).toString();+ const QString text = item.value(QStringLiteral("text")).toString().trimmed();+ if (!text.isEmpty() && categories.contains(category)) {+ items.append(QVariantMap{{QStringLiteral("category"), category}, {QStringLiteral("text"), text}});+ }+ }+ notes.append(QVariantMap{+ {QStringLiteral("build"), number},+ {QStringLiteral("date"), QDateTime::fromString(build.value(QStringLiteral("date")).toString(), Qt::ISODate).toLocalTime()},+ {QStringLiteral("items"), items},+ });+ }+ std::sort(notes.begin(), notes.end(), [](const QVariant &a, const QVariant &b) {+ return a.toMap().value(QStringLiteral("build")).toInt() > b.toMap().value(QStringLiteral("build")).toInt();+ });+ m_notes = notes;+ Q_EMIT notesChanged();+ return true;+}++QVariantList Updates::notesBetween(int after, int upTo) const+{+ QVariantList result;+ for (const QVariant &build : m_notes) {+ const int number = build.toMap().value(QStringLiteral("build")).toInt();+ if (number > after && number <= upTo) {+ result.append(build);+ }+ }+ return result;+}++QString Updates::summary(int after, int upTo) const+{+ QHash<QString, int> counts;+ QSet<QString> seen;+ const QVariantList builds = notesBetween(after, upTo);+ for (const QVariant &build : builds) {+ const QVariantList items = build.toMap().value(QStringLiteral("items")).toList();+ for (const QVariant &entry : items) {+ const auto item = entry.toMap();+ const QString text = item.value(QStringLiteral("text")).toString();+ if (!seen.contains(text)) {+ seen.insert(text);+ counts[item.value(QStringLiteral("category")).toString()] += 1;+ }}}- return notes.join(QLatin1Char('\n'));+ auto count = [](int n, const char *one, const char *many) {+ return QString::number(n) + QLatin1Char(' ') + QString::fromLatin1(n == 1 ? one : many);+ };+ QStringList parts;+ if (const int n = counts.value(QStringLiteral("new"))) {+ parts << count(n, "new feature", "new features");+ }+ if (const int n = counts.value(QStringLiteral("fixed"))) {+ parts << count(n, "fix", "fixes");+ }+ if (const int n = counts.value(QStringLiteral("improved"))) {+ parts << count(n, "improvement", "improvements");+ }+ if (parts.size() <= 1) {+ return parts.join(QString());+ }+ const QString last = parts.takeLast();+ return parts.join(QStringLiteral(", ")) + QStringLiteral(" and ") + last;}diff --git a/packages/wildos-settings/src/updates.h b/packages/wildos-settings/src/updates.hindex 998bfcb..f12101b 100644--- a/packages/wildos-settings/src/updates.h+++ b/packages/wildos-settings/src/updates.h@@ -10,6 +10,8 @@// Checks for and installs system updates through PackageKit, the service the// Store uses, so both always agree on what is waiting.+class QNetworkAccessManager;+class Updates : public QObject{Q_OBJECT@@ -27,6 +29,15 @@ class Updates : public QObjectQ_PROPERTY(QString error READ error NOTIFY stateChanged)Q_PROPERTY(bool restartNeeded READ restartNeeded NOTIFY restartNeededChanged)Q_PROPERTY(bool available READ available CONSTANT)+ // Wild OS builds: the one installed and the one waiting, 0 when unknown+ // or nothing from Wild OS is waiting. A build is the +rN every Wild OS+ // package's version carries.+ Q_PROPERTY(int installedBuild READ installedBuild NOTIFY installedBuildChanged)+ Q_PROPERTY(int pendingBuild READ pendingBuild NOTIFY updatesChanged)+ // What each recent build changed, newest first, from notes.json on the+ // update site: {build, date, items: [{category, text}]}, category new,+ // improved or fixed. Empty when it could never be fetched.+ Q_PROPERTY(QVariantList notes READ notes NOTIFY notesChanged)public:explicit Updates(QObject *parent = nullptr);@@ -41,6 +52,9 @@ public:QString error() const { return m_error; }bool restartNeeded() const { return m_restartNeeded; }bool available() const;+ int installedBuild() const { return m_installedBuild; }+ int pendingBuild() const { return m_pendingBuild; }+ QVariantList notes() const { return m_notes; }Q_INVOKABLE void check();Q_INVOKABLE void listUpdates();@@ -51,8 +65,11 @@ public:// wildos, core, browser, desktop, app, library or other; title is the// app's own name for an app and empty otherwise.Q_INVOKABLE QVariantMap describe(const QString &package) const;- // The newest entry of a Wild OS package's changelog, for "What's new".- Q_INVOKABLE QString releaseNotes() const;+ // The notes of the builds after `after`, up to and including `upTo`.+ Q_INVOKABLE QVariantList notesBetween(int after, int upTo) const;+ // Those builds' changes in a few words: "3 fixes and 2 improvements".+ Q_INVOKABLE QString summary(int after, int upTo) const;+ Q_INVOKABLE void fetchNotes();Q_SIGNALS:void stateChanged();@@ -61,6 +78,8 @@ Q_SIGNALS:void historyChanged();void progressChanged();void restartNeededChanged();+ void installedBuildChanged();+ void notesChanged();private Q_SLOTS:void onOldTransaction(const QDBusObjectPath &tid, const QString ×pec, bool succeeded, uint role, uint duration, const QString &data,@@ -74,6 +93,8 @@ private:static QString errorText(PackageKit::Transaction::Error error, bool installing);void startInstall();void refreshThenInstall();+ void readInstalledBuild();+ bool readNotes(const QByteArray &json);QString m_state = QStringLiteral("idle");QVariantList m_updates;@@ -92,4 +113,8 @@ private:bool m_staleRetrying = false;bool m_staleRetried = false;bool m_installAfterList = false;+ int m_installedBuild = 0;+ int m_pendingBuild = 0;+ QVariantList m_notes;+ QNetworkAccessManager *m_network = nullptr;};diff --git a/packages/wildos-settings/src/users.cpp b/packages/wildos-settings/src/users.cppindex 5626654..237dc97 100644--- a/packages/wildos-settings/src/users.cpp+++ b/packages/wildos-settings/src/users.cpp@@ -13,6 +13,7 @@#include <QFileInfo>#include <QImage>#include <QImageReader>+#include <QPasswordDigestor>#include <QPointer>#include <QProcess>#include <QRegularExpression>@@ -21,11 +22,7 @@#include <QUrl>#include <grp.h>-#include <poll.h>-#include <pty.h>#include <pwd.h>-#include <signal.h>-#include <sys/wait.h>#include <unistd.h>namespace@@ -33,6 +30,7 @@ namespaceconst QString accountsServiceName = QStringLiteral("org.freedesktop.Accounts");const QString userInterface = QStringLiteral("org.freedesktop.Accounts.User");const QString usersHelper = QStringLiteral("/usr/libexec/wildos/settings-users");+const QString walletKeysName = QStringLiteral("org.wildos.WalletKeys1");bool isAdmin(const char *name, gid_t gid){@@ -103,94 +101,110 @@ QString sddmAutoLogin()return user;}-// passwd on a pseudo-terminal, answering its prompts. Returns an empty-// string on success, otherwise what passwd said.-QString runPasswd(const QByteArray ¤t, const QByteArray &next)+// Changes your password through wildos-wallet-keys, as root: the hardened+// system keeps passwd without setuid, so an account cannot run it on its+// own password. The service checks the current password and applies the+// password rules as passwd would. Returns an empty string on success,+// otherwise the sentence to show.+QString changeOwnPassword(const QByteArray ¤t, const QByteArray &next){- int master = -1;- const pid_t pid = forkpty(&master, nullptr, nullptr, nullptr);- if (pid < 0) {- return QStringLiteral("Wild OS could not start the password change.");+ QDBusMessage change = QDBusMessage::createMethodCall(walletKeysName, QStringLiteral("/org/wildos/WalletKeys1"), walletKeysName,+ QStringLiteral("ChangePassword"));+ change << QString::fromUtf8(current) << QString::fromUtf8(next);+ const QDBusMessage reply = QDBusConnection::systemBus().call(change, QDBus::Block, 90000);+ if (reply.type() == QDBusMessage::ReplyMessage) {+ return {};}- if (pid == 0) {- setenv("LC_ALL", "C", 1);- setenv("LANGUAGE", "C", 1);- execl("/usr/bin/passwd", "passwd", static_cast<char *>(nullptr));- _exit(127);+ if (reply.errorName().startsWith(QLatin1String("org.wildos.WalletKeys1.Error.")) && !reply.errorMessage().isEmpty()) {+ return reply.errorMessage();}+ return QStringLiteral("Wild OS could not change the password.");+}- QByteArray pending;- QByteArray all;- int newPrompts = 0;- bool gaveUp = false;- while (true) {- pollfd fd{master, POLLIN, 0};- const int ready = poll(&fd, 1, 15000);- if (ready <= 0) {- gaveUp = ready == 0;- break;- }- char buffer[512];- const ssize_t n = read(master, buffer, sizeof buffer);- if (n <= 0) {- break;- }- pending.append(buffer, n);- all.append(buffer, n);- const QByteArray prompt = pending.trimmed().toLower();- if (!prompt.endsWith("password:")) {- continue;- }- const QByteArray last = prompt.mid(prompt.lastIndexOf('\n') + 1);- QByteArray answer;- if (last.contains("new") || last.contains("retype") || last.contains("again")) {- // A third "new password" prompt means the first was turned- // down; passwd has already said why.- if (++newPrompts > 2) {- gaveUp = true;- break;- }- answer = next;- } else {- answer = current;- }- answer.append('\n');- if (write(master, answer.constData(), size_t(answer.size())) < 0) {- break;- }- pending.clear();- }- if (gaveUp) {- kill(pid, SIGTERM);+// pam_kwallet's key: PBKDF2 SHA-512, 50000 rounds, 56 bytes (kwallet-pam's+// pam_kwallet.c), from the password and the salt in kdewallet.salt.+QByteArray walletKey(const QByteArray &password, const QByteArray &salt)+{+ return QPasswordDigestor::deriveKeyPbkdf2(QCryptographicHash::Sha512, password, salt, 50000, 56);+}++// After a password change, moves the wallet from the key made from the old+// password to the one made from the new password, through kwalletd's+// pamChangeHash (a Wild OS patch, build/patches/kwallet). kwalletd refuses+// when the old key does not open the wallet, which happens when someone+// gave it a password of its own. Returns false only for a wallet that+// exists and could not be moved.+constexpr int kwalletdUnreachable = -1000;++// Moves the wallet from the key made from one password to the key made from+// another (the same password checks the wallet opens with it), opening it+// afterwards when asked. Returns pamChangeHash's answer: 0 done, 1 no+// wallet (nor salt), a Backend error such as -9 when the first key does not+// open it, or kwalletdUnreachable.+int rekeyWallet(const QByteArray &from, const QByteArray &to, bool openAfter)+{+ // Where pam_kwallet looks, whatever XDG_DATA_HOME says.+ const QString dir = QDir::homePath() + QStringLiteral("/.local/share/kwalletd");+ QFile saltFile(dir + QStringLiteral("/kdewallet.salt"));+ const QByteArray salt = saltFile.open(QIODevice::ReadOnly) ? saltFile.read(57) : QByteArray();+ if (salt.size() != 56) {+ return 1;}- int status = 0;- waitpid(pid, &status, 0);- close(master);- if (!gaveUp && WIFEXITED(status) && WEXITSTATUS(status) == 0) {- return {};+ QDBusConnection session = QDBusConnection::sessionBus();+ auto kwallet = [](const QString &method) {+ return QDBusMessage::createMethodCall(QStringLiteral("org.kde.kwalletd6"), QStringLiteral("/modules/kwalletd6"), QStringLiteral("org.kde.KWallet"),+ method);+ };+ const QDBusReply<QString> local = session.call(kwallet(QStringLiteral("localWallet")), QDBus::Block, 10000);+ const QString wallet = local.isValid() && !local.value().isEmpty() ? local.value() : QStringLiteral("kdewallet");+ if (!QFileInfo::exists(dir + QLatin1Char('/') + wallet + QStringLiteral(".kwl"))) {+ return 1;}-- const QString output = QString::fromUtf8(all);- if (output.contains(QLatin1String("Authentication token manipulation error"), Qt::CaseInsensitive)- || output.contains(QLatin1String("Authentication failure"), Qt::CaseInsensitive)) {- if (newPrompts == 0) {- return QStringLiteral("The current password isn't right.");- }+ const QByteArray toKey = walletKey(to, salt);+ QDBusMessage change = kwallet(QStringLiteral("pamChangeHash"));+ change << wallet << walletKey(from, salt) << toKey;+ const QDBusReply<int> changed = session.call(change, QDBus::Block, 30000);+ if (!changed.isValid()) {+ return kwalletdUnreachable;}- static const QRegularExpression bad(QStringLiteral("BAD PASSWORD:\\s*(.+)"));- const auto match = bad.match(output);- if (match.hasMatch()) {- QString reason = match.captured(1).trimmed();- reason[0] = reason[0].toUpper();- if (!reason.endsWith(QLatin1Char('.'))) {- reason += QLatin1Char('.');- }- return QStringLiteral("Wild OS turned down the new password. ") + reason;+ if (changed.value() == 0 && openAfter) {+ // pamOpen never replies; isOpen, sent after it on the same+ // connection, answers once it has run.+ QDBusMessage open = kwallet(QStringLiteral("pamOpen"));+ open << wallet << toKey << 0;+ session.send(open);+ QDBusMessage isOpen = kwallet(QStringLiteral("isOpen"));+ isOpen << wallet;+ session.call(isOpen, QDBus::Block, 10000);}- if (output.contains(QLatin1String("same"), Qt::CaseInsensitive) || output.contains(QLatin1String("unchanged"), Qt::CaseInsensitive)) {- return QStringLiteral("Choose a password you have not used for this account before.");+ return changed.value();+}++// kwalletd's answers when a key does not open the wallet.+bool wrongWalletKey(int code)+{+ return code == -5 || code == -7 || code == -8 || code == -9;+}++bool moveWallet(const QByteArray ¤t, const QByteArray &next)+{+ const int code = rekeyWallet(current, next, false);+ return code == 0 || code == 1;+}++// The system's copy of the key, for the account that signs in+// automatically, follows the new password. A copy that cannot be refreshed+// is removed, since it no longer opens the wallet; the next start then asks+// for the password instead.+void refreshKeptKey(const QByteArray &next)+{+ QDBusConnection bus = QDBusConnection::systemBus();+ QDBusMessage store = QDBusMessage::createMethodCall(walletKeysName, QStringLiteral("/org/wildos/WalletKeys1"), walletKeysName, QStringLiteral("Store"));+ store << QString::fromUtf8(next);+ if (bus.call(store, QDBus::Block, 60000).type() != QDBusMessage::ReplyMessage) {+ bus.call(QDBusMessage::createMethodCall(walletKeysName, QStringLiteral("/org/wildos/WalletKeys1"), walletKeysName, QStringLiteral("Forget")),+ QDBus::Block, 10000);}- return QStringLiteral("The password was not changed.");}}@@ -362,9 +376,19 @@ void Users::changePassword(const QString ¤t, const QString &next, const QS{setBusy(QStringLiteral("password"));QPointer<Users> self(this);- QThread *thread = QThread::create([self, current = current.toUtf8(), next = next.toUtf8(), hint] {- const QString error = runPasswd(current, next);- QMetaObject::invokeMethod(qApp, [self, error, hint] {+ const bool automatic = !m_autoLogin.isEmpty() && m_autoLogin == m_me.value(QStringLiteral("userName")).toString();+ QThread *thread = QThread::create([self, current = current.toUtf8(), next = next.toUtf8(), hint, automatic] {+ const QString error = changeOwnPassword(current, next);+ bool walletMoved = true;+ if (error.isEmpty()) {+ walletMoved = moveWallet(current, next);+ // A wallet left on the old key still opens with the kept key,+ // so that key stays as it is.+ if (automatic && walletMoved) {+ refreshKeptKey(next);+ }+ }+ QMetaObject::invokeMethod(qApp, [self, error, hint, walletMoved] {if (!self) {return;}@@ -376,7 +400,56 @@ void Users::changePassword(const QString ¤t, const QString &next, const QSif (self->m_accountsService && hint != self->m_me.value(QStringLiteral("hint")).toString()) {self->callUser(QStringLiteral("SetPasswordHint"), hint, QStringLiteral("password"));}- Q_EMIT self->done(QStringLiteral("password"), QStringLiteral("Your password was changed. Use the new one next time you sign in."));+ Q_EMIT self->done(QStringLiteral("password"),+ walletMoved ? QStringLiteral("Your password was changed. Use the new one next time you sign in.")+ : QStringLiteral("Your password was changed. Your saved passwords still open with the old one, so apps may ask "+ "you for it."));+ });+ });+ connect(thread, &QThread::finished, thread, &QObject::deleteLater);+ thread->start();+}++void Users::openWallet(const QString &password, const QString &walletPassword)+{+ setBusy(QStringLiteral("wallet"));+ const bool automatic = !m_autoLogin.isEmpty() && m_autoLogin == m_me.value(QStringLiteral("userName")).toString();+ QPointer<Users> self(this);+ QThread *thread = QThread::create([self, password = password.toUtf8(), walletPassword = walletPassword.toUtf8(), automatic] {+ // The account password first, checked by PAM: a wallet moved to a+ // mistyped password would open with nothing. Store also keeps the+ // key for the automatic sign-in.+ QDBusMessage check = QDBusMessage::createMethodCall(walletKeysName, QStringLiteral("/org/wildos/WalletKeys1"), walletKeysName,+ automatic ? QStringLiteral("Store") : QStringLiteral("CheckPassword"));+ check << QString::fromUtf8(password);+ const QDBusMessage checked = QDBusConnection::systemBus().call(check, QDBus::Block, 60000);+ QString what = QStringLiteral("wallet");+ QString error;+ if (checked.type() != QDBusMessage::ReplyMessage) {+ error = checked.errorName().endsWith(QLatin1String("WrongPassword")) ? QStringLiteral("That password isn't right.")+ : QStringLiteral("Wild OS could not check your password.");+ } else {+ const int code = rekeyWallet(walletPassword.isEmpty() ? password : walletPassword, password, true);+ if (wrongWalletKey(code)) {+ what = QStringLiteral("wallet-other");+ error = walletPassword.isEmpty()+ ? QStringLiteral("Your saved passwords use a different password from your account. Type that one too, and they will move to your account password.")+ : QStringLiteral("That isn't the password your saved passwords use.");+ } else if (code != 0 && code != 1) {+ error = QStringLiteral("Wild OS could not open your saved passwords.");+ }+ }+ QMetaObject::invokeMethod(qApp, [self, what, error, automatic] {+ if (!self) {+ return;+ }+ self->setBusy({});+ if (!error.isEmpty()) {+ Q_EMIT self->failed(what, error);+ } else {+ Q_EMIT self->done(QStringLiteral("wallet"), automatic ? QStringLiteral("Your saved passwords are open, and open by themselves from now on.")+ : QStringLiteral("Your saved passwords are open, and open when you sign in."));+ }});});connect(thread, &QThread::finished, thread, &QObject::deleteLater);@@ -424,10 +497,12 @@ void Users::setAdmin(const QString &userName, bool admin)admin ? QStringLiteral("The account is now an administrator.") : QStringLiteral("The account is now a standard user."));}-void Users::setAutoLogin(bool on)+void Users::setAutoLogin(bool on, const QString &password){- helper(QStringLiteral("autologin"), {QStringLiteral("autologin"), on ? m_me.value(QStringLiteral("userName")).toString() : QStringLiteral("off")}, {},- on ? QStringLiteral("This computer will sign you in when it starts.") : QStringLiteral("This computer will ask for your password when it starts."));+ helper(QStringLiteral("autologin"), {QStringLiteral("autologin"), on ? m_me.value(QStringLiteral("userName")).toString() : QStringLiteral("off")},+ on ? password.toUtf8() + '\n' : QByteArray(),+ on ? QStringLiteral("This computer will sign you in when it starts, with your saved passwords ready.")+ : QStringLiteral("This computer will ask for your password when it starts."));}QString Users::suggestUserName(const QString &fullName) constdiff --git a/packages/wildos-settings/src/users.h b/packages/wildos-settings/src/users.hindex 4570022..0c3e8b3 100644--- a/packages/wildos-settings/src/users.h+++ b/packages/wildos-settings/src/users.h@@ -9,14 +9,22 @@//// Your own name, picture and password hint go through AccountsService,// which lets an account change its own details without a password. Your-// password goes through passwd on a pseudo-terminal, the way GNOME's-// Settings does it: it checks the current password itself and works for a-// standard account, where AccountsService on this system demands an-// administrator for any password change. Adding, removing and promoting+// password goes through wildos-wallet-keys (in wildos-setup), which checks+// the current one and changes it as root through PAM's passwd rules: the+// hardened system keeps passwd without setuid, so an account cannot run+// it on itself, and AccountsService demands an administrator for any+// password change. Adding, removing and promoting// people and automatic sign-in need root and go through// /usr/libexec/wildos/settings-users under pkexec, which also puts every// new account in the groups Wild OS needs (console above all, or the// console lockdown refuses to let them sign in).+//+// Your wallet (KWallet, where apps keep passwords) opens at sign-in with a+// key pam_kwallet makes from your password. Turning automatic sign-in on+// takes your password, so the system can keep that key and open the wallet+// when no password is typed (wildos-wallet-keys, in wildos-setup). A+// password change re-encrypts the wallet with the key from the new+// password and refreshes the kept key, so all three keep agreeing.class Users : public QObject{Q_OBJECT@@ -50,7 +58,13 @@ public:Q_INVOKABLE void addUser(const QString &fullName, const QString &userName, const QString &password, bool admin);Q_INVOKABLE void removeUser(const QString &userName);Q_INVOKABLE void setAdmin(const QString &userName, bool admin);- Q_INVOKABLE void setAutoLogin(bool on);+ // Turning it on needs your own password, for the wallet key.+ Q_INVOKABLE void setAutoLogin(bool on, const QString &password = QString());+ // Gets your saved passwords opening by themselves again: checks your+ // account password, keeps the automatic sign-in key when that is on,+ // and moves the wallet to your account password, from walletPassword+ // when it uses another one (fails with "wallet-other" until given it).+ Q_INVOKABLE void openWallet(const QString &password, const QString &walletPassword = QString());Q_INVOKABLE QString suggestUserName(const QString &fullName) const;// Empty when the name can be used, otherwise why not.diff --git a/packages/wildos-setup/CMakeLists.txt b/packages/wildos-setup/CMakeLists.txtindex ac76334..a001405 100644--- a/packages/wildos-setup/CMakeLists.txt+++ b/packages/wildos-setup/CMakeLists.txt@@ -8,21 +8,30 @@ include(GNUInstallDirs)find_package(Qt6 6.8 REQUIRED COMPONENTS Core DBus Network)qt_standard_project_setup(REQUIRES 6.8)-qt_add_executable(wildos-setup-helper src/main.cpp src/service.cpp src/service.h)+find_library(PAM_LIBRARY pam REQUIRED)++qt_add_executable(wildos-setup-helper src/main.cpp src/service.cpp src/service.h src/walletkey.cpp src/walletkey.h)target_link_libraries(wildos-setup-helper PRIVATE Qt6::Core Qt6::DBus Qt6::Network)-# Runs as the new account, in its first session.-qt_add_executable(wildos-setup-wallet src/wallet.cpp)-target_link_libraries(wildos-setup-wallet PRIVATE Qt6::Core Qt6::DBus)+# Root, activated by the system bus: the key that opens the wallet of the+# account that signs in automatically.+qt_add_executable(wildos-wallet-keys src/keys.cpp src/keys.h src/walletkey.cpp src/walletkey.h)+target_link_libraries(wildos-wallet-keys PRIVATE Qt6::Core Qt6::DBus Qt6::Network ${PAM_LIBRARY})++# Runs as the account, at the start of a session it signed in to without+# a password.+qt_add_executable(wildos-setup-wallet src/wallet.cpp src/walletkey.cpp src/walletkey.h)+target_link_libraries(wildos-setup-wallet PRIVATE Qt6::Core Qt6::DBus Qt6::Network)set(LIBEXEC ${CMAKE_INSTALL_PREFIX}/libexec/wildos)-install(TARGETS wildos-setup-helper wildos-setup-wallet RUNTIME DESTINATION ${LIBEXEC})+install(TARGETS wildos-setup-helper wildos-setup-wallet wildos-wallet-keys RUNTIME DESTINATION ${LIBEXEC})install(PROGRAMS data/wildos-setup-boot data/wildos-setup-session DESTINATION ${LIBEXEC})-install(FILES data/wildos-setup-boot.service data/wildos-setup-helper.service+install(FILES data/wildos-setup-boot.service data/wildos-setup-helper.service data/wildos-wallet-keys.serviceDESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system)-install(FILES data/wildos-setup-wallet.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/user)-install(FILES data/org.wildos.Setup1.service DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system-services)-install(FILES data/org.wildos.Setup1.conf DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system.d)+install(FILES data/wildos-setup-wallet.service data/wildos-wallet-notice.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/user)+install(FILES data/org.wildos.Setup1.service data/org.wildos.WalletKeys1.service DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system-services)+install(FILES data/org.wildos.Setup1.conf data/org.wildos.WalletKeys1.conf DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system.d)+install(FILES data/pam/wildos-wallet-keys DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d)install(FILES data/org.wildos.setup.policy DESTINATION ${CMAKE_INSTALL_DATADIR}/polkit-1/actions)install(FILES data/10-wildos-setup.rules DESTINATION ${CMAKE_INSTALL_DATADIR}/polkit-1/rules.d)install(FILES data/wildos-setup.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/wayland-sessions)diff --git a/packages/wildos-setup/data/org.wildos.WalletKeys1.conf b/packages/wildos-setup/data/org.wildos.WalletKeys1.confnew file mode 100644index 0000000..af50e58--- /dev/null+++ b/packages/wildos-setup/data/org.wildos.WalletKeys1.conf@@ -0,0 +1,16 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">+<!-- Anyone may ask. Every call acts only on the caller's own account, which+ the service learns from the bus (the caller's uid), never from an+ argument, and the key itself goes only to the account that signs in+ automatically, once per boot. -->+<busconfig>+ <policy user="root">+ <allow own="org.wildos.WalletKeys1"/>+ </policy>+ <policy context="default">+ <allow send_destination="org.wildos.WalletKeys1" send_interface="org.wildos.WalletKeys1"/>+ <allow send_destination="org.wildos.WalletKeys1" send_interface="org.freedesktop.DBus.Introspectable"/>+ </policy>+</busconfig>diff --git a/packages/wildos-setup/data/org.wildos.WalletKeys1.service b/packages/wildos-setup/data/org.wildos.WalletKeys1.servicenew file mode 100644index 0000000..85cb529--- /dev/null+++ b/packages/wildos-setup/data/org.wildos.WalletKeys1.service@@ -0,0 +1,5 @@+[D-BUS Service]+Name=org.wildos.WalletKeys1+Exec=/usr/libexec/wildos/wildos-wallet-keys+User=root+SystemdService=wildos-wallet-keys.servicediff --git a/packages/wildos-setup/data/pam/wildos-wallet-keys b/packages/wildos-setup/data/pam/wildos-wallet-keysnew file mode 100644index 0000000..7146b70--- /dev/null+++ b/packages/wildos-setup/data/pam/wildos-wallet-keys@@ -0,0 +1,5 @@+# Wild OS checks an account's password with this before it keeps the key+# that opens the account's wallet at an automatic sign-in+# (/usr/libexec/wildos/wildos-wallet-keys). Only the password is checked:+# the same rules, delays and lockouts as signing in.+@include common-authdiff --git a/packages/wildos-setup/data/wildos-setup-wallet.service b/packages/wildos-setup/data/wildos-setup-wallet.serviceindex 9f39d18..0e8799a 100644--- a/packages/wildos-setup/data/wildos-setup-wallet.service+++ b/packages/wildos-setup/data/wildos-setup-wallet.service@@ -1,17 +1,15 @@[Unit]-Description=Open the wallet of the account first boot setup made-# Setup leaves the wallet's salt and no wallet; every later session has both.-ConditionPathExists=%h/.local/share/kwalletd/kdewallet.salt-ConditionPathExists=!%h/.local/share/kwalletd/kdewallet.kwl+Description=Open the wallet of an account that signed in without a passwordPartOf=graphical-session.target# Where pam_kwallet's own unit opens the wallet, so nothing in the session-# asks for a secret first and gets KWallet's create-a-wallet dialog.+# asks for a secret first and gets KWallet's password prompt. After it, so+# a wallet it opened with the typed password is seen as open.Before=plasma-plasmashell.service plasma-kded6.service xdg-desktop-autostart.target-After=plasma-kwin_wayland.service plasma-kcminit.service+After=plasma-kwin_wayland.service plasma-kcminit.service plasma-kwallet-pam.service[Service]Type=oneshotExecStart=/usr/libexec/wildos/wildos-setup-walletSlice=background.slice-# The desktop waits for this; it must never hold the first sign-in up.+# The desktop waits for this; it must never hold the sign-in up.TimeoutStartSec=30diff --git a/packages/wildos-setup/data/wildos-wallet-keys.service b/packages/wildos-setup/data/wildos-wallet-keys.servicenew file mode 100644index 0000000..9a74844--- /dev/null+++ b/packages/wildos-setup/data/wildos-wallet-keys.service@@ -0,0 +1,24 @@+[Unit]+Description=Wild OS password changes and wallet key for automatic sign-in++[Service]+Type=dbus+BusName=org.wildos.WalletKeys1+ExecStart=/usr/libexec/wildos/wildos-wallet-keys+Environment=LANG=C.UTF-8+# Who has taken their key since the computer started. Kept when the+# service exits after a minute idle, gone at the next start.+RuntimeDirectory=wildos-wallet-keys+RuntimeDirectoryMode=0700+RuntimeDirectoryPreserve=yes+# Writes the key store, the account's wallet salt (as the account) and,+# for a password change, /etc/shadow, so /etc stays writable.+ProtectSystem=yes+PrivateTmp=yes+PrivateNetwork=yes+NoNewPrivileges=yes+ProtectKernelModules=yes+ProtectKernelTunables=yes+ProtectControlGroups=yes+RestrictRealtime=yes+LockPersonality=yesdiff --git a/packages/wildos-setup/data/wildos-wallet-notice.service b/packages/wildos-setup/data/wildos-wallet-notice.servicenew file mode 100644index 0000000..8f6c78b--- /dev/null+++ b/packages/wildos-setup/data/wildos-wallet-notice.service@@ -0,0 +1,12 @@+[Unit]+Description=Say when saved passwords could not open by themselves+PartOf=graphical-session.target+# The notification needs the desktop's notification server, and the verdict+# of the sign-in half (wildos-setup-wallet.service).+After=plasma-plasmashell.service wildos-setup-wallet.service++[Service]+# Waits for the person to answer the notification, so nothing waits on it.+Type=simple+ExecStart=/usr/libexec/wildos/wildos-setup-wallet --notice+Slice=background.slicediff --git a/packages/wildos-setup/debian/changelog b/packages/wildos-setup/debian/changelogindex f57519b..99a578c 100644--- a/packages/wildos-setup/debian/changelog+++ b/packages/wildos-setup/debian/changelog@@ -1,3 +1,31 @@+wildos-setup (0.1.3) trixie; urgency=medium++ * When saved passwords could not open by themselves, a notification says+ so once per boot and opens Settings at the fix: an account signing in+ automatically with no key kept (turned on before keys were kept), or a+ wallet whose password is not the account's.+ * wildos-wallet-keys checks the caller's own password (CheckPassword).++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 14:00:00 +0000++wildos-setup (0.1.2) trixie; urgency=medium++ * wildos-wallet-keys changes an account's own password (ChangePassword):+ it checks the current password, then runs the passwd PAM stack as root+ with the account as the real user, so the password rules apply. passwd+ has no setuid on Wild OS, so Settings could not change passwords.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 13:00:00 +0000++wildos-setup (0.1.1) trixie; urgency=medium++ * An account that signs in automatically gets its saved passwords too:+ wildos-wallet-keys keeps the key that opens its KWallet, readable by+ root only, and wildos-setup-wallet opens the wallet with it at each+ start. Setup keeps the key when it turns automatic sign-in on.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 12:00:00 +0000+wildos-setup (0.1.0) trixie; urgency=medium* Initial release.diff --git a/packages/wildos-setup/debian/control b/packages/wildos-setup/debian/controlindex 434c3d3..58f6fb8 100644--- a/packages/wildos-setup/debian/control+++ b/packages/wildos-setup/debian/control@@ -6,6 +6,7 @@ Build-Depends:debhelper-compat (= 13),cmake,qt6-base-dev,+ libpam0g-dev,Standards-Version: 4.7.0Rules-Requires-Root: no@@ -22,6 +23,7 @@ Depends:network-manager,accountsservice,passwd,+ libpam-runtime,procps,systemd,Description: Wild OS first boot setupdiff --git a/packages/wildos-setup/debian/links b/packages/wildos-setup/debian/linksindex b7407bf..2813fcf 100644--- a/packages/wildos-setup/debian/links+++ b/packages/wildos-setup/debian/links@@ -1 +1,2 @@usr/lib/systemd/user/wildos-setup-wallet.service usr/lib/systemd/user/plasma-workspace.target.wants/wildos-setup-wallet.service+usr/lib/systemd/user/wildos-wallet-notice.service usr/lib/systemd/user/plasma-workspace.target.wants/wildos-wallet-notice.servicediff --git a/packages/wildos-setup/debian/postrm b/packages/wildos-setup/debian/postrmindex 1992380..e817b65 100644--- a/packages/wildos-setup/debian/postrm+++ b/packages/wildos-setup/debian/postrm@@ -5,6 +5,9 @@ set -e# trying to start a session that is gone.if [ "$1" = "remove" ] || [ "$1" = "purge" ]; thenrm -f /etc/sddm.conf.d/99-wildos-setup.conf /etc/sddm.conf.d/98-wildos-first-sign-in.conf+ # Nothing is left to hand the wallet key out, so it must not stay on+ # the disk either.+ rm -rf /var/lib/wildos/walletfi#DEBHELPER#diff --git a/packages/wildos-setup/debian/rules b/packages/wildos-setup/debian/rulesindex b27d1a0..3ef90a7 100644--- a/packages/wildos-setup/debian/rules+++ b/packages/wildos-setup/debian/rules@@ -8,6 +8,7 @@override_dh_installsystemd:dh_installsystemd --no-restart-on-upgrade --no-start wildos-setup-boot.servicedh_installsystemd --no-enable --no-start --no-restart-on-upgrade wildos-setup-helper.service+ dh_installsystemd --no-enable --no-start --no-restart-on-upgrade wildos-wallet-keys.service# Not in the compat 13 sequence yet. Creates the wildos-setup account from# debian/wildos-setup.sysusers, before tmpfiles gives that account its home.diff --git a/packages/wildos-setup/debian/wildos-setup.tmpfiles b/packages/wildos-setup/debian/wildos-setup.tmpfilesindex 07d721f..9b7e426 100644--- a/packages/wildos-setup/debian/wildos-setup.tmpfiles+++ b/packages/wildos-setup/debian/wildos-setup.tmpfiles@@ -1,2 +1,4 @@d /run/wildos-setup 0700 wildos-setup wildos-setup -d /var/lib/wildos 0755 root root -+# The wallet key of the account that signs in automatically (wildos-wallet-keys).+d /var/lib/wildos/wallet 0700 root root -diff --git a/packages/wildos-setup/src/keys.cpp b/packages/wildos-setup/src/keys.cppnew file mode 100644index 0000000..c5136ba--- /dev/null+++ b/packages/wildos-setup/src/keys.cpp@@ -0,0 +1,517 @@+#include "keys.h"+#include "walletkey.h"++#include <QCoreApplication>+#include <QDBusConnection>+#include <QDBusConnectionInterface>+#include <QDBusMessage>+#include <QDBusReply>+#include <QProcess>+#include <QRegularExpression>++#include <cerrno>+#include <cstdio>+#include <cstdlib>+#include <cstring>+#include <fcntl.h>+#include <pwd.h>+#include <security/pam_appl.h>+#include <sys/stat.h>+#include <unistd.h>++namespace+{+// /run, so the record of who has taken their key this boot goes with the+// boot. The unit's RuntimeDirectory keeps it across this service's restarts.+const char givenDir[] = "/run/wildos-wallet-keys";++struct Conversation {+ QByteArray password;+ bool answered = false;+};++void freeReplies(struct pam_response *replies, int count)+{+ for (int i = 0; i < count; ++i) {+ if (replies[i].resp) {+ ::explicit_bzero(replies[i].resp, ::strlen(replies[i].resp));+ ::free(replies[i].resp);+ }+ }+ ::free(replies);+}++// Answers the one password prompt and nothing else: a second prompt (a+// new password, a one-time code) means this is not a plain password check.+int converse(int count, const struct pam_message **messages, struct pam_response **responses, void *data)+{+ auto *conversation = static_cast<Conversation *>(data);+ if (count <= 0 || count > PAM_MAX_NUM_MSG) {+ return PAM_CONV_ERR;+ }+ auto *replies = static_cast<struct pam_response *>(::calloc(size_t(count), sizeof(struct pam_response)));+ if (!replies) {+ return PAM_BUF_ERR;+ }+ for (int i = 0; i < count; ++i) {+ switch (messages[i]->msg_style) {+ case PAM_PROMPT_ECHO_OFF:+ if (conversation->answered) {+ freeReplies(replies, count);+ return PAM_CONV_ERR;+ }+ replies[i].resp = ::strndup(conversation->password.constData(), size_t(conversation->password.size()));+ conversation->answered = true;+ break;+ case PAM_ERROR_MSG:+ case PAM_TEXT_INFO:+ break;+ default:+ freeReplies(replies, count);+ return PAM_CONV_ERR;+ }+ }+ *responses = replies;+ return PAM_SUCCESS;+}++struct Account {+ uid_t uid = 0;+ QByteArray name;+};++// Accounts for people only, as Settings counts them.+bool account(uid_t uid, Account *out)+{+ const struct passwd *pw = ::getpwuid(uid);+ if (!pw || uid < 1000 || uid >= 60000) {+ return false;+ }+ out->uid = uid;+ out->name = pw->pw_name;+ return true;+}++// Checks the password and keeps the key made from it. PAM looks accounts up+// itself, which overwrites getpwuid's buffer, so the entry is fetched again+// after the check.+enum class StoreResult { Stored, WrongPassword, Failed };+StoreResult storeFor(const Account &who, const QByteArray &password)+{+ if (password.isEmpty() || password.contains('\0') || !checkPassword(who.name, password)) {+ return StoreResult::WrongPassword;+ }+ const struct passwd *pw = ::getpwuid(who.uid);+ if (!pw) {+ return StoreResult::Failed;+ }+ const QByteArray salt = WalletKey::accountSalt(pw);+ if (salt.size() != WalletKey::saltSize) {+ return StoreResult::Failed;+ }+ QByteArray key = WalletKey::derive(password, salt);+ const bool stored = WalletKey::store(who.uid, key);+ key.fill('\0');+ return stored ? StoreResult::Stored : StoreResult::Failed;+}++QByteArray givenMarker(uid_t uid)+{+ return QByteArray(givenDir) + '/' + QByteArray::number(uint(uid));+}++QByteArray readLine()+{+ char line[4097];+ if (!std::fgets(line, sizeof line, stdin)) {+ return {};+ }+ const size_t size = std::strlen(line);+ QByteArray text(line, qsizetype(size > 0 && line[size - 1] == '\n' ? size - 1 : size));+ ::explicit_bzero(line, sizeof line);+ return text;+}++struct ChangeConversation {+ QByteArray current;+ QByteArray next;+ int currentAsked = 0;+ int nextAsked = 0;+ QStringList errors;+};++// The passwd stack's prompts, answered by what they ask for: the current+// password, or the new one (asked twice). A third new-password prompt+// means the first was turned down and PAM is asking again after saying+// why, so the conversation stops there.+int converseChange(int count, const struct pam_message **messages, struct pam_response **responses, void *data)+{+ auto *conversation = static_cast<ChangeConversation *>(data);+ if (count <= 0 || count > PAM_MAX_NUM_MSG) {+ return PAM_CONV_ERR;+ }+ auto *replies = static_cast<struct pam_response *>(::calloc(size_t(count), sizeof(struct pam_response)));+ if (!replies) {+ return PAM_BUF_ERR;+ }+ for (int i = 0; i < count; ++i) {+ const QByteArray text = messages[i]->msg ? QByteArray(messages[i]->msg).trimmed() : QByteArray();+ switch (messages[i]->msg_style) {+ case PAM_PROMPT_ECHO_OFF: {+ const QByteArray prompt = text.toLower();+ const bool asksNew = prompt.contains("new") || prompt.contains("retype") || prompt.contains("again");+ if (asksNew ? ++conversation->nextAsked > 2 : ++conversation->currentAsked > 1) {+ freeReplies(replies, count);+ return PAM_CONV_ERR;+ }+ const QByteArray &answer = asksNew ? conversation->next : conversation->current;+ replies[i].resp = ::strndup(answer.constData(), size_t(answer.size()));+ break;+ }+ case PAM_ERROR_MSG:+ if (!text.isEmpty()) {+ conversation->errors << QString::fromUtf8(text);+ }+ break;+ case PAM_TEXT_INFO:+ break;+ default:+ freeReplies(replies, count);+ return PAM_CONV_ERR;+ }+ }+ *responses = replies;+ return PAM_SUCCESS;+}++QString sentence(QString text)+{+ text = text.trimmed();+ if (text.isEmpty()) {+ return text;+ }+ text[0] = text[0].toUpper();+ if (!text.endsWith(QLatin1Char('.')) && !text.endsWith(QLatin1Char('!'))) {+ text += QLatin1Char('.');+ }+ return text;+}++// What PAM said when it turned the new password down, as one sentence for+// Settings to show: pwquality's reason, or pam_unix's and pwhistory's own.+QString refusal(const QStringList &errors)+{+ if (errors.isEmpty()) {+ return QStringLiteral("The password was not changed.");+ }+ for (auto it = errors.crbegin(); it != errors.crend(); ++it) {+ static const QRegularExpression bad(QStringLiteral("^BAD PASSWORD:\\s*(.+)$"));+ const auto match = bad.match(*it);+ if (match.hasMatch()) {+ return QStringLiteral("Wild OS turned down the new password. ") + sentence(match.captured(1));+ }+ }+ const QString last = errors.constLast();+ if (last.contains(QLatin1String("unchanged"), Qt::CaseInsensitive)) {+ return QStringLiteral("The new password is the same as the current one.");+ }+ if (last.contains(QLatin1String("already used"), Qt::CaseInsensitive)) {+ return QStringLiteral("You have used that password for this account before. Choose another.");+ }+ return sentence(last);+}++// Run by ChangePassword as a child, as root: change-password UID, with the+// current and new passwords on standard input, one per line. The sentence+// on failure goes to standard error; 3 means the current password is wrong.+int changePassword(const QStringList &arguments)+{+ bool numeric = false;+ const uint uid = arguments.value(2).toUInt(&numeric);+ Account who;+ if (!numeric || !account(uid, &who)) {+ std::fputs("There is no such account.\n", stderr);+ return 2;+ }+ QByteArray current = readLine();+ QByteArray next = readLine();+ const auto forget = [&] {+ current.fill('\0');+ next.fill('\0');+ };+ if (current.isEmpty() || !checkPassword(who.name, current)) {+ forget();+ std::fputs("The current password isn't right.\n", stderr);+ return 3;+ }+ // The account as the real user, root as the effective one. pam_unix+ // and pwquality skip their rules when root changes a password, and apply+ // them when an account changes its own; root is still what writes+ // /etc/shadow.+ if (::setresuid(who.uid, 0, 0) != 0) {+ forget();+ std::fputs("The password was not changed.\n", stderr);+ return 1;+ }+ ChangeConversation conversation{current, next};+ forget();+ const struct pam_conv conv = {converseChange, &conversation};+ pam_handle_t *handle = nullptr;+ int result = ::pam_start("passwd", who.name.constData(), &conv, &handle);+ if (result == PAM_SUCCESS) {+ result = ::pam_chauthtok(handle, 0);+ ::pam_end(handle, result);+ }+ conversation.current.fill('\0');+ conversation.next.fill('\0');+ if (result == PAM_SUCCESS) {+ return 0;+ }+ std::fputs((refusal(conversation.errors) + QLatin1Char('\n')).toUtf8().constData(), stderr);+ return 4;+}++// settings-users runs these as root, through pkexec. The password comes on+// standard input, never on the command line.+int commandLine(const QStringList &arguments)+{+ if (::getuid() != 0 || ::geteuid() != 0) {+ std::fputs("Only Wild OS Settings can do this.\n", stderr);+ return 2;+ }+ const QString command = arguments.value(1);+ if (command == QLatin1String("change-password") && arguments.size() == 3) {+ return changePassword(arguments);+ }+ if (command == QLatin1String("tidy") && arguments.size() == 2) {+ WalletKey::forgetOthers();+ return 0;+ }+ if (command == QLatin1String("store") && arguments.size() == 3) {+ const struct passwd *pw = ::getpwnam(arguments.at(2).toUtf8().constData());+ Account who;+ if (!pw || !account(pw->pw_uid, &who)) {+ std::fputs("There is no such account.\n", stderr);+ return 2;+ }+ char line[4097];+ QByteArray password;+ if (std::fgets(line, sizeof line, stdin)) {+ password = QByteArray(line).chopped(line[0] && line[std::strlen(line) - 1] == '\n' ? 1 : 0);+ ::explicit_bzero(line, sizeof line);+ }+ const StoreResult result = storeFor(who, password);+ password.fill('\0');+ if (result == StoreResult::WrongPassword) {+ std::fputs("That password isn't right.\n", stderr);+ return 3;+ }+ if (result == StoreResult::Failed) {+ std::fputs("Wild OS could not keep the key that opens your saved passwords.\n", stderr);+ return 1;+ }+ return 0;+ }+ std::fputs("usage: wildos-wallet-keys store NAME | tidy | change-password UID\n", stderr);+ return 2;+}+}++bool checkPassword(const QByteArray &user, const QByteArray &password)+{+ Conversation conversation{password};+ const struct pam_conv conv = {converse, &conversation};+ pam_handle_t *handle = nullptr;+ if (::pam_start("wildos-wallet-keys", user.constData(), &conv, &handle) != PAM_SUCCESS) {+ return false;+ }+ const int result = ::pam_authenticate(handle, PAM_SILENT | PAM_DISALLOW_NULL_AUTHTOK);+ ::pam_end(handle, result);+ conversation.password.fill('\0');+ return result == PAM_SUCCESS;+}++WalletKeys::WalletKeys(QObject *parent)+ : QObject(parent)+{+ // Activated by the bus for a moment at sign-in or in Settings.+ m_idle.setInterval(60 * 1000);+ m_idle.setSingleShot(true);+ connect(&m_idle, &QTimer::timeout, qApp, &QCoreApplication::quit);+ m_idle.start();+}++bool WalletKeys::refuse(const QString &name, const QString &sentence)+{+ sendErrorReply(QStringLiteral("org.wildos.WalletKeys1.Error.") + name, sentence);+ return false;+}++bool WalletKeys::callerUid(uint *uid)+{+ m_idle.start();+ const QDBusReply<uint> caller = connection().interface()->serviceUid(message().service());+ if (!caller.isValid()) {+ return refuse(QStringLiteral("NotAllowed"), QStringLiteral("Wild OS could not tell which account is asking."));+ }+ *uid = caller.value();+ return true;+}++void WalletKeys::Store(const QString &password)+{+ uint uid = 0;+ Account who;+ if (!callerUid(&uid)) {+ return;+ }+ if (!account(uid, &who) || WalletKey::autoLoginUser().toUtf8() != who.name) {+ refuse(QStringLiteral("NotAutoSignIn"), QStringLiteral("This account does not sign in automatically."));+ return;+ }+ QByteArray secret = password.toUtf8();+ const StoreResult result = storeFor(who, secret);+ secret.fill('\0');+ if (result == StoreResult::WrongPassword) {+ refuse(QStringLiteral("WrongPassword"), QStringLiteral("That password isn't right."));+ } else if (result == StoreResult::Failed) {+ refuse(QStringLiteral("Failed"), QStringLiteral("Wild OS could not keep the key that opens your saved passwords."));+ } else {+ WalletKey::forgetOthers();+ }+}++QByteArray WalletKeys::Key()+{+ uint uid = 0;+ Account who;+ if (!callerUid(&uid)) {+ return {};+ }+ WalletKey::forgetOthers();+ if (!account(uid, &who) || WalletKey::autoLoginUser().toUtf8() != who.name) {+ refuse(QStringLiteral("NotAutoSignIn"), QStringLiteral("This account does not sign in automatically."));+ return {};+ }+ const QByteArray marker = givenMarker(uid);+ if (::access(marker.constData(), F_OK) == 0) {+ refuse(QStringLiteral("AlreadyTaken"), QStringLiteral("The key has already been used since this computer started."));+ return {};+ }+ const QByteArray key = WalletKey::load(uid);+ if (key.isEmpty()) {+ refuse(QStringLiteral("NoKey"), QStringLiteral("There is no key for this account."));+ return {};+ }+ // Recorded before the key leaves, so a failure here never hands it out+ // twice.+ ::mkdir(givenDir, 0700);+ const int fd = ::open(marker.constData(), O_WRONLY | O_CREAT | O_CLOEXEC | O_NOFOLLOW, 0600);+ if (fd < 0) {+ refuse(QStringLiteral("Failed"), QStringLiteral("Wild OS could not hand over the key."));+ return {};+ }+ ::close(fd);+ return key;+}++void WalletKeys::Forget()+{+ uint uid = 0;+ if (callerUid(&uid)) {+ WalletKey::forget(uid);+ }+}++void WalletKeys::CheckPassword(const QString &password)+{+ uint uid = 0;+ Account who;+ if (!callerUid(&uid)) {+ return;+ }+ QByteArray secret = password.toUtf8();+ const bool right = account(uid, &who) && !secret.isEmpty() && !secret.contains('\0') && checkPassword(who.name, secret);+ secret.fill('\0');+ if (!right) {+ refuse(QStringLiteral("WrongPassword"), QStringLiteral("That password isn't right."));+ }+}++void WalletKeys::ChangePassword(const QString ¤t, const QString &next)+{+ uint uid = 0;+ Account who;+ if (!callerUid(&uid)) {+ return;+ }+ if (!account(uid, &who)) {+ refuse(QStringLiteral("NotAllowed"), QStringLiteral("This account's password can't be changed here."));+ return;+ }+ for (const QString &password : {current, next}) {+ if (password.isEmpty() || password.size() > 4096 || password.contains(QLatin1Char('\n')) || password.contains(QLatin1Char('\r'))+ || password.contains(QChar(0))) {+ refuse(QStringLiteral("Refused"), QStringLiteral("A password can't be empty or contain a line break."));+ return;+ }+ }++ // A child does the work (PAM's rules can take seconds, and the child+ // changes its real user), so this replies when it is done.+ setDelayedReply(true);+ const QDBusMessage request = message();+ m_idle.stop();+ auto *process = new QProcess(this);+ QProcessEnvironment env;+ env.insert(QStringLiteral("PATH"), QStringLiteral("/usr/sbin:/usr/bin:/sbin:/bin"));+ env.insert(QStringLiteral("LC_ALL"), QStringLiteral("C"));+ process->setProcessEnvironment(env);+ auto *limit = new QTimer(process);+ limit->setSingleShot(true);+ connect(limit, &QTimer::timeout, process, &QProcess::kill);+ connect(process, &QProcess::finished, this, [this, process, request](int code, QProcess::ExitStatus status) {+ const QString said = QString::fromUtf8(process->readAllStandardError()).trimmed().section(QLatin1Char('\n'), -1);+ process->deleteLater();+ m_idle.start();+ QDBusMessage reply;+ if (status == QProcess::NormalExit && code == 0) {+ reply = request.createReply();+ } else if (status == QProcess::NormalExit && code == 3) {+ reply = request.createErrorReply(QStringLiteral("org.wildos.WalletKeys1.Error.WrongPassword"), said);+ } else {+ reply = request.createErrorReply(QStringLiteral("org.wildos.WalletKeys1.Error.Refused"),+ said.isEmpty() ? QStringLiteral("The password was not changed.") : said);+ }+ QDBusConnection::systemBus().send(reply);+ });+ process->start(QStringLiteral("/usr/libexec/wildos/wildos-wallet-keys"), {QStringLiteral("change-password"), QString::number(uid)});+ QByteArray input = current.toUtf8() + '\n' + next.toUtf8() + '\n';+ process->write(input);+ input.fill('\0');+ process->closeWriteChannel();+ limit->start(60 * 1000);+}++int main(int argc, char *argv[])+{+ QCoreApplication app(argc, argv);+ app.setApplicationName(QStringLiteral("wildos-wallet-keys"));+ ::umask(077);++ if (app.arguments().size() > 1) {+ return commandLine(app.arguments());+ }+ if (::geteuid() != 0) {+ qCritical("wildos-wallet-keys must run as root, started by the system bus");+ return 1;+ }+ QDBusConnection bus = QDBusConnection::systemBus();+ WalletKeys service;+ if (!bus.registerObject(QStringLiteral("/org/wildos/WalletKeys1"), &service, QDBusConnection::ExportAllSlots)+ || !bus.registerService(QStringLiteral("org.wildos.WalletKeys1"))) {+ qCritical("could not take org.wildos.WalletKeys1 on the system bus: %s", qPrintable(bus.lastError().message()));+ return 1;+ }+ return app.exec();+}diff --git a/packages/wildos-setup/src/keys.h b/packages/wildos-setup/src/keys.hnew file mode 100644index 0000000..a30a948--- /dev/null+++ b/packages/wildos-setup/src/keys.h@@ -0,0 +1,64 @@+#pragma once++#include <QDBusContext>+#include <QObject>+#include <QTimer>++/* org.wildos.WalletKeys1: the root-held wallet key of the account that+ * signs in automatically (see walletkey.h), and the root half of changing+ * your own password, which changes what that key is made from.+ *+ * Every call acts on the caller's own account, found from its uid on the+ * bus, never from an argument, so no account can reach another's key. The+ * key is handed out only to the account SDDM signs in automatically, once+ * per boot, for wildos-setup-wallet to open the wallet with at the start of+ * that session; anything asking later in the session is refused.+ */+class WalletKeys : public QObject, protected QDBusContext+{+ Q_OBJECT+ Q_CLASSINFO("D-Bus Interface", "org.wildos.WalletKeys1")++public:+ explicit WalletKeys(QObject *parent = nullptr);++public Q_SLOTS:+ /* Keeps the key made from the caller's password, after checking it+ * with PAM. Only for the auto sign-in account: Settings calls it when+ * that account's password changes. Turning automatic sign-in on keeps+ * the key through settings-users instead, as root. */+ void Store(const QString &password);++ /* The caller's key, if it is the auto sign-in account and nothing has+ * taken the key since the computer started. */+ QByteArray Key();++ /* Removes the caller's key, if there is one. */+ void Forget();++ /* Checks the caller's own password with PAM (the same delays and+ * lockouts as signing in), so Settings can be sure of it before it+ * moves the wallet to the key made from it. Fails with WrongPassword. */+ void CheckPassword(const QString &password);++ /* Changes the caller's own sign-in password. The hardened system keeps+ * passwd without setuid, so an account cannot change its password by+ * itself; this does it as root, but as PAM would for the account: the+ * current password is checked first, and the change goes through the+ * passwd PAM stack with the account as the real user, so the password+ * rules (length, similarity, history) apply as they would to passwd.+ * The work happens in a child of this program (change-password), which+ * gets both passwords on its standard input. Fails with+ * WrongPassword or Refused, with a sentence fit to show. */+ void ChangePassword(const QString ¤t, const QString &next);++private:+ bool refuse(const QString &name, const QString &sentence);+ bool callerUid(uint *uid);++ QTimer m_idle;+};++/* PAM's verdict on the password of the account called user, through the+ * wildos-wallet-keys PAM service (common-auth). */+bool checkPassword(const QByteArray &user, const QByteArray &password);diff --git a/packages/wildos-setup/src/service.cpp b/packages/wildos-setup/src/service.cppindex 0bd8f68..20f2b5a 100644--- a/packages/wildos-setup/src/service.cpp+++ b/packages/wildos-setup/src/service.cpp@@ -1,4 +1,5 @@#include "service.h"+#include "walletkey.h"#include <QCoreApplication>#include <QDBusArgument>@@ -13,7 +14,6 @@#include <QFileInfo>#include <QJsonDocument>#include <QJsonObject>-#include <QPasswordDigestor>#include <QProcess>#include <QRegularExpression>@@ -44,13 +44,6 @@ const QStringList baseGroups = {QStringLiteral("console"), QStringLiteral("audioQStringLiteral("netdev"), QStringLiteral("bluetooth"), QStringLiteral("scanner"), QStringLiteral("privleap")};const QStringList adminGroups = {QStringLiteral("sudo"), QStringLiteral("lpadmin")};-// pam_kwallet's own numbers (KWALLET_PAM_* in kwallet-pam's pam_kwallet.c).-// The key made here has to be the one it makes from the same password at-// every later sign-in, or the wallet stops opening.-constexpr int walletSaltSize = 56;-constexpr int walletKeySize = 56;-constexpr int walletIterations = 50000;-struct Result {int code = -1;QString error;@@ -448,6 +441,7 @@ void SetupService::removeEarlierAccount()}if (const struct passwd *pw = ::getpwnam(QFile::encodeName(earlier).constData())) {const qlonglong uid = pw->pw_uid;+ WalletKey::forget(pw->pw_uid);run(QStringLiteral("pkill"), {QStringLiteral("-KILL"), QStringLiteral("-u"), earlier});// Through AccountsService when it runs, so it forgets the account// instead of writing its user file back after userdel.@@ -564,6 +558,12 @@ QString SetupService::CreateAccount(const QString &realName, const QString &passrefuse(QStringLiteral("Failed"), QStringLiteral("Automatic sign-in could not be turned on."));return {};}+ // Every later start signs in without a password too, so the wallet+ // needs its key from the system each time, not only from this+ // process in the first session.+ if (!m_walletKey.isEmpty() && !WalletKey::store(m_walletUid, m_walletKey)) {+ qWarning("could not keep the wallet key for automatic sign-in");+ }} else if (namesUser(autoLoginConf, userName)) {removeDurably(autoLoginConf);}@@ -578,7 +578,7 @@ void SetupService::prepareWallet(const struct passwd *pw, const QString &passwor{forgetWalletKey();const QString dir = accountFolder(pw, {QStringLiteral(".local"), QStringLiteral("share"), QStringLiteral("kwalletd")});- QByteArray salt(walletSaltSize, '\0');+ QByteArray salt(WalletKey::saltSize, '\0');if (dir.isEmpty() || ::getrandom(salt.data(), salt.size(), 0) != salt.size()|| !writeAtomically(dir + QStringLiteral("/kdewallet.salt"), salt, 0600, pw->pw_uid, pw->pw_gid)) {// pam_kwallet makes its own salt at the first sign-in with the@@ -586,7 +586,7 @@ void SetupService::prepareWallet(const struct passwd *pw, const QString &passworqWarning("could not prepare the wallet's salt");return;}- m_walletKey = QPasswordDigestor::deriveKeyPbkdf2(QCryptographicHash::Sha512, password.toUtf8(), salt, walletIterations, walletKeySize);+ m_walletKey = WalletKey::derive(password.toUtf8(), salt);m_walletUid = pw->pw_uid;}diff --git a/packages/wildos-setup/src/wallet.cpp b/packages/wildos-setup/src/wallet.cppindex 104e01c..3b692e7 100644--- a/packages/wildos-setup/src/wallet.cpp+++ b/packages/wildos-setup/src/wallet.cpp@@ -1,21 +1,50 @@+#include "walletkey.h"+#include <QCoreApplication>#include <QDBusConnection>+#include <QDBusConnectionInterface>#include <QDBusMessage>#include <QDBusReply>#include <QDir>+#include <QElapsedTimer>+#include <QEventLoop>+#include <QFile>#include <QFileInfo>+#include <QProcess>+#include <QTimer>++#include <pwd.h>+#include <unistd.h>-/* wildos-setup-wallet: opens the KWallet of the account first boot setup- * made, in that account's first session (wildos-setup-wallet.service).+/* wildos-setup-wallet: opens the KWallet of an account that signed in+ * without typing a password (wildos-setup-wallet.service), and tells the+ * person when it could not (--notice, wildos-wallet-notice.service).+ *+ * pam_kwallet opens the wallet with a key it makes from the password typed+ * at sign-in. Two sign-ins type none, and without this the first app to ask+ * for a secret gets KWallet's own password prompt:+ *+ * - The first session after first boot setup, which signs the new account+ * in once. Setup's helper made the key from the password the person chose+ * and hands it over once (TakeWalletKey). No wallet exists yet; kwalletd+ * creates it with that key, so every later sign-in with the password+ * opens it.+ * - Every start of the account that signs in automatically. The system+ * keeps that account's key (wildos-wallet-keys) and hands it to the+ * account once per boot.+ *+ * A wallet already open (the password was typed after all) is left alone.*- * Setup signs the new account in automatically, so pam_kwallet has no- * password to create the wallet with, and the first app to ask for a- * secret would get KWallet's own create-a-wallet dialog. A wallet made- * there with another password never opens at sign-in again. Setup's- * helper made the key pam_kwallet makes from the password, with the salt- * pam_kwallet reads; kwalletd creates the wallet with that key here, the- * same way it does when pam_kwallet hands it one, and every later sign-in- * with the password opens it.+ * Two cases still end with KWallet's prompt, and the notice offers the way+ * out, in Settings, at most once per boot:+ *+ * - An account that signs in automatically with no key kept: it turned+ * automatic sign-in on before Wild OS kept keys, and nobody would guess+ * that turning it off and on again fixes it.+ * - A wallet still closed after the desktop started: its password is not+ * the account's (made in KWallet's own dialog, or left behind by a+ * password change before Settings moved wallets along), so pam_kwallet's+ * key, or the kept one, does not open it.*/namespace{@@ -24,46 +53,260 @@ QDBusMessage kwallet(const QString &method)return QDBusMessage::createMethodCall(QStringLiteral("org.kde.kwalletd6"), QStringLiteral("/modules/kwalletd6"), QStringLiteral("org.kde.KWallet"),method);}++QByteArray systemKey(const QString &service, const QString &path, const QString &method, QString *errorName = nullptr)+{+ const QDBusMessage call = QDBusMessage::createMethodCall(service, path, service, method);+ const QDBusReply<QByteArray> key = QDBusConnection::systemBus().call(call, QDBus::Block, 30000);+ if (!key.isValid()) {+ qWarning("no wallet key from %s: %s", qPrintable(service), qPrintable(key.error().message()));+ if (errorName) {+ *errorName = key.error().name();+ }+ return {};+ }+ return key.value();}-int main(int argc, char *argv[])+QString walletName(QDBusConnection &session){- QCoreApplication app(argc, argv);- app.setApplicationName(QStringLiteral("wildos-setup-wallet"));+ const QDBusReply<QString> local = session.call(kwallet(QStringLiteral("localWallet")), QDBus::Block, 30000);+ return local.isValid() && !local.value().isEmpty() ? local.value() : QStringLiteral("kdewallet");+}++bool walletOpen(QDBusConnection &session, const QString &wallet)+{+ QDBusMessage isOpen = kwallet(QStringLiteral("isOpen"));+ isOpen << wallet;+ const QDBusReply<bool> open = session.call(isOpen, QDBus::Block, 30000);+ return open.isValid() && open.value();+}- // Setup leaves the salt and no wallet. Anything else is a later- // session, or an account setup did not make.- const QString dir = QDir::homePath() + QStringLiteral("/.local/share/kwalletd");- if (!QFileInfo::exists(dir + QStringLiteral("/kdewallet.salt")) || QFileInfo::exists(dir + QStringLiteral("/kdewallet.kwl"))) {+// Left by the sign-in half for the notice half, in the session's runtime+// folder, so it goes with the session.+QString needsKeyMarker()+{+ return qEnvironmentVariable("XDG_RUNTIME_DIR") + QStringLiteral("/wildos-wallet-needs-key");+}++QString walletDir()+{+ return QDir::homePath() + QStringLiteral("/.local/share/kwalletd");+}++int openAtSignIn()+{+ // Setup leaves the salt and no wallet.+ const QString dir = walletDir();+ const bool firstSession = QFileInfo::exists(dir + QStringLiteral("/kdewallet.salt")) && !QFileInfo::exists(dir + QStringLiteral("/kdewallet.kwl"));+ const struct passwd *pw = ::getpwuid(::getuid());+ const bool automatic = pw && WalletKey::autoLoginUser() == QString::fromUtf8(pw->pw_name);+ QFile::remove(needsKeyMarker());+ if (!firstSession && !automatic) {return 0;}-- const QDBusMessage take = QDBusMessage::createMethodCall(QStringLiteral("org.wildos.Setup1"), QStringLiteral("/org/wildos/Setup1"),- QStringLiteral("org.wildos.Setup1"), QStringLiteral("TakeWalletKey"));- const QDBusReply<QByteArray> key = QDBusConnection::systemBus().call(take, QDBus::Block, 30000);- if (!key.isValid()) {- qWarning("no wallet key from setup: %s", qPrintable(key.error().message()));- return 1;+ // Set only when a password was typed: pam_kwallet has started kwalletd+ // with the key made from it. Asking kwalletd anything before that one+ // is on the bus would start a second one through the bus, without the+ // key.+ if (qEnvironmentVariableIsSet("PAM_KWALLET5_LOGIN")) {+ return 0;}QDBusConnection session = QDBusConnection::sessionBus();- const QDBusReply<QString> localWallet = session.call(kwallet(QStringLiteral("localWallet")), QDBus::Block, 30000);- const QString wallet = localWallet.isValid() && !localWallet.value().isEmpty() ? localWallet.value() : QStringLiteral("kdewallet");+ const QString wallet = walletName(session);+ if (walletOpen(session, wallet)) {+ return 0;+ }++ QByteArray key;+ if (firstSession) {+ key = systemKey(QStringLiteral("org.wildos.Setup1"), QStringLiteral("/org/wildos/Setup1"), QStringLiteral("TakeWalletKey"));+ }+ if (key.isEmpty() && automatic) {+ QString error;+ key = systemKey(QStringLiteral("org.wildos.WalletKeys1"), QStringLiteral("/org/wildos/WalletKeys1"), QStringLiteral("Key"), &error);+ // No key kept is expected on a computer that turned automatic+ // sign-in on before keys were kept; the notice offers the fix.+ if (error == QLatin1String("org.wildos.WalletKeys1.Error.NoKey")) {+ QFile marker(needsKeyMarker());+ marker.open(QIODevice::WriteOnly);+ return 0;+ }+ }+ if (key.isEmpty()) {+ return 1;+ }// pamOpen never replies. kwalletd handles one connection's calls in// order, so isOpen, sent after it, answers once it has run.QDBusMessage open = kwallet(QStringLiteral("pamOpen"));- open << wallet << key.value() << 0;+ open << wallet << key << 0;+ key.fill('\0');if (!session.send(open)) {qWarning("could not reach kwalletd");return 1;}- QDBusMessage isOpen = kwallet(QStringLiteral("isOpen"));- isOpen << wallet;- const QDBusReply<bool> opened = session.call(isOpen, QDBus::Block, 30000);- if (!opened.isValid() || !opened.value()) {- qWarning("kwalletd did not open %s with setup's key", qPrintable(wallet));+ if (!walletOpen(session, wallet)) {+ qWarning("kwalletd did not open %s with the key it was given", qPrintable(wallet));return 1;}return 0;}++// The notification's answer: the button, or the notification closing.+class Answer : public QObject+{+ Q_OBJECT++public:+ uint id = 0;+ bool accepted = false;++Q_SIGNALS:+ void finished();++public Q_SLOTS:+ void actionInvoked(uint notification, const QString &action)+ {+ if (id != 0 && notification == id) {+ accepted = action == QLatin1String("password") || action == QLatin1String("default");+ Q_EMIT finished();+ }+ }+ void closed(uint notification, uint reason)+ {+ if (id != 0 && notification == id) {+ qInfo("saved passwords notice closed (reason %u)", reason);+ Q_EMIT finished();+ }+ }+};++int notice()+{+ const bool needsKey = QFileInfo::exists(needsKeyMarker());+ if (!needsKey && !QFileInfo::exists(walletDir() + QStringLiteral("/kdewallet.kwl"))) {+ return 0;+ }+ // At most once per boot: the boot's id is kept once it has been shown.+ QFile bootIdFile(QStringLiteral("/proc/sys/kernel/random/boot_id"));+ const QByteArray bootId = bootIdFile.open(QIODevice::ReadOnly) ? bootIdFile.readAll().trimmed() : QByteArray();+ const QString stateDir = QDir::homePath() + QStringLiteral("/.local/state/wildos");+ const QString shownFile = stateDir + QStringLiteral("/wallet-notice-boot");+ QFile shown(shownFile);+ if (!bootId.isEmpty() && shown.open(QIODevice::ReadOnly) && shown.readAll().trimmed() == bootId) {+ return 0;+ }+ shown.close();++ QDBusConnection session = QDBusConnection::sessionBus();+ if (!needsKey) {+ // pam_kwallet's opener starts kwalletd alongside the desktop and+ // hands it the key; give it time before deciding the wallet did not+ // open. kwalletd is only asked once it is running: started here by+ // the bus first, it would never get pam_kwallet's key. Without+ // pam_kwallet starting it there is nothing to say.+ const QString kwalletd = QStringLiteral("org.kde.kwalletd6");+ bool running = false;+ for (int i = 0; i < 20; ++i) {+ running = session.interface()->isServiceRegistered(kwalletd);+ if (running && walletOpen(session, walletName(session))) {+ return 0;+ }+ QEventLoop wait;+ QTimer::singleShot(1000, &wait, &QEventLoop::quit);+ wait.exec();+ }+ if (!running || walletOpen(session, walletName(session))) {+ return 0;+ }+ }++ const QString summary = needsKey ? QStringLiteral("Saved passwords need your password") : QStringLiteral("Saved passwords didn't open");+ const QString body = needsKey+ ? QStringLiteral("You sign in automatically, so your saved passwords can't open by themselves yet. Enter your password once and they will. Until then, "+ "apps may ask for it.")+ : QStringLiteral("They use a different password from your account, so apps may ask for it. Move them to your account password to fix it.");+ QDBusMessage notify = QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.Notifications"), QStringLiteral("/org/freedesktop/Notifications"),+ QStringLiteral("org.freedesktop.Notifications"), QStringLiteral("Notify"));+ // Critical, so it stays until answered or closed: shortly after the+ // desktop starts Plasma lets ordinary notifications expire with their+ // popup, and the button would go with it. Once per boot at most.+ const QVariantMap hints = {{QStringLiteral("desktop-entry"), QStringLiteral("org.wildos.settings")},+ {QStringLiteral("urgency"), QVariant::fromValue<uchar>(2)}};+ notify << QStringLiteral("Settings") << uint(0) << QStringLiteral("dialog-password") << summary << body+ << QStringList{QStringLiteral("password"), needsKey ? QStringLiteral("Enter password") : QStringLiteral("Fix it")} << hints << int(0);++ const auto pause = [](int seconds) {+ QEventLoop wait;+ QTimer::singleShot(seconds * 1000, &wait, &QEventLoop::quit);+ wait.exec();+ };+ const QString service = QStringLiteral("org.freedesktop.Notifications");+ const QString path = QStringLiteral("/org/freedesktop/Notifications");+ // Plasma takes the notification name before its popups are ready and+ // closes what arrives in between at once. So this waits for the name+ // (without asking for it, which would make the bus start a server),+ // then a moment more, and tries once more if the first is closed+ // straight away.+ for (int i = 0; i < 60 && !session.interface()->isServiceRegistered(service); ++i) {+ pause(1);+ }+ pause(10);++ Answer answer;+ QEventLoop loop;+ QObject::connect(&answer, &Answer::finished, &loop, &QEventLoop::quit);+ session.connect(service, path, service, QStringLiteral("ActionInvoked"), &answer, SLOT(actionInvoked(uint, QString)));+ session.connect(service, path, service, QStringLiteral("NotificationClosed"), &answer, SLOT(closed(uint, uint)));+ for (int attempt = 0; attempt < 2; ++attempt) {+ const QDBusReply<uint> id = session.call(notify, QDBus::Block, 30000);+ if (!id.isValid()) {+ qWarning("could not show the saved passwords notice: %s", qPrintable(id.error().message()));+ return 1;+ }+ answer.id = id.value();+ qInfo("saved passwords notice shown (%s)", needsKey ? "no key kept" : "wallet closed");+ QElapsedTimer shownFor;+ shownFor.start();+ // The notification stays in the history; this waits for it a while.+ QTimer::singleShot(30 * 60 * 1000, &loop, &QEventLoop::quit);+ loop.exec();+ if (answer.accepted || shownFor.elapsed() > 5000) {+ break;+ }+ pause(10);+ }+ QDir().mkpath(stateDir);+ if (shown.open(QIODevice::WriteOnly | QIODevice::Truncate)) {+ shown.write(bootId + '\n');+ shown.close();+ }+ if (!answer.accepted) {+ return 0;+ }+ // Started as its own app unit, so it outlives this one and the+ // permission prompt names it as Settings. Waited for: systemd stops+ // whatever is left in this unit when it ends, systemd-run included.+ return QProcess::execute(QStringLiteral("systemd-run"),+ {QStringLiteral("--user"), QStringLiteral("--collect"), QStringLiteral("--quiet"),+ QStringLiteral("--unit=app-org.wildos.settings@wallet%1.service").arg(QCoreApplication::applicationPid()),+ QStringLiteral("/usr/bin/wildos-settings"), QStringLiteral("--page"), QStringLiteral("signin-wallet")})+ == 0+ ? 0+ : 1;+}+}++int main(int argc, char *argv[])+{+ QCoreApplication app(argc, argv);+ app.setApplicationName(QStringLiteral("wildos-setup-wallet"));+ if (app.arguments().contains(QStringLiteral("--notice"))) {+ return notice();+ }+ return openAtSignIn();+}++#include "wallet.moc"diff --git a/packages/wildos-setup/src/walletkey.cpp b/packages/wildos-setup/src/walletkey.cppnew file mode 100644index 0000000..0d1f6c3--- /dev/null+++ b/packages/wildos-setup/src/walletkey.cpp@@ -0,0 +1,254 @@+#include "walletkey.h"++#include <QDir>+#include <QFile>+#include <QPasswordDigestor>++#include <cerrno>+#include <cstring>+#include <fcntl.h>+#include <grp.h>+#include <pwd.h>+#include <sys/random.h>+#include <sys/stat.h>+#include <sys/wait.h>+#include <unistd.h>++namespace+{+const char storeDir[] = "/var/lib/wildos/wallet";++QByteArray keyPath(uid_t uid)+{+ return QByteArray(storeDir) + '/' + QByteArray::number(uint(uid)) + ".key";+}++void syncDir(const char *path)+{+ const int dir = ::open(path, O_RDONLY | O_DIRECTORY | O_CLOEXEC);+ if (dir >= 0) {+ ::fsync(dir);+ ::close(dir);+ }+}++// Made by root, for root: anything else there (a link, someone else's+// folder) means the store cannot be trusted.+bool ensureStoreDir()+{+ ::mkdir("/var/lib/wildos", 0755);+ if (::mkdir(storeDir, 0700) != 0 && errno != EEXIST) {+ return false;+ }+ struct stat st;+ return ::lstat(storeDir, &st) == 0 && S_ISDIR(st.st_mode) && st.st_uid == 0 && ::chmod(storeDir, 0700) == 0;+}++ssize_t writeAll(int fd, const char *data, size_t size)+{+ size_t done = 0;+ while (done < size) {+ const ssize_t n = ::write(fd, data + done, size - done);+ if (n < 0 && errno == EINTR) {+ continue;+ }+ if (n <= 0) {+ return -1;+ }+ done += size_t(n);+ }+ return ssize_t(done);+}++ssize_t readAll(int fd, char *data, size_t size)+{+ size_t done = 0;+ while (done < size) {+ const ssize_t n = ::read(fd, data + done, size - done);+ if (n < 0 && errno == EINTR) {+ continue;+ }+ if (n <= 0) {+ break;+ }+ done += size_t(n);+ }+ return ssize_t(done);+}++void mkpath(const char *path)+{+ char buffer[4096];+ const size_t size = ::strlen(path);+ if (size >= sizeof buffer) {+ return;+ }+ ::memcpy(buffer, path, size + 1);+ for (char *p = buffer + 1; *p; ++p) {+ if (*p == '/') {+ *p = '\0';+ ::mkdir(buffer, 0755);+ *p = '/';+ }+ }+ ::mkdir(buffer, 0700);+}++// The child's half of accountSalt: only plain system calls between fork+// and _exit, since the parent has other threads.+[[noreturn]] void saltAsAccount(const struct passwd *pw, const char *dir, const char *path, int out)+{+ if (::setgroups(0, nullptr) != 0 || ::setgid(pw->pw_gid) != 0 || ::setuid(pw->pw_uid) != 0 || ::getuid() != pw->pw_uid) {+ ::_exit(1);+ }+ struct stat st;+ if (::stat(path, &st) != 0 || st.st_size == 0 || !S_ISREG(st.st_mode)) {+ ::unlink(path);+ mkpath(dir);+ char fresh[WalletKey::saltSize];+ if (::getrandom(fresh, sizeof fresh, 0) != sizeof fresh) {+ ::_exit(1);+ }+ const int fd = ::open(path, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0600);+ if (fd < 0 || writeAll(fd, fresh, sizeof fresh) != sizeof fresh || ::fsync(fd) != 0) {+ ::unlink(path);+ ::_exit(1);+ }+ ::close(fd);+ }+ char salt[WalletKey::saltSize];+ const int fd = ::open(path, O_RDONLY | O_CLOEXEC);+ if (fd < 0 || readAll(fd, salt, sizeof salt) != sizeof salt || writeAll(out, salt, sizeof salt) != sizeof salt) {+ ::_exit(1);+ }+ ::_exit(0);+}+}++namespace WalletKey+{+QByteArray derive(const QByteArray &password, const QByteArray &salt)+{+ return QPasswordDigestor::deriveKeyPbkdf2(QCryptographicHash::Sha512, password, salt, iterations, keySize);+}++QByteArray accountSalt(const struct passwd *pw)+{+ const QByteArray dir = QByteArray(pw->pw_dir) + "/.local/share/kwalletd";+ const QByteArray path = dir + "/kdewallet.salt";+ int pipeFds[2];+ if (::pipe2(pipeFds, O_CLOEXEC) != 0) {+ return {};+ }+ const pid_t pid = ::fork();+ if (pid < 0) {+ ::close(pipeFds[0]);+ ::close(pipeFds[1]);+ return {};+ }+ if (pid == 0) {+ ::close(pipeFds[0]);+ saltAsAccount(pw, dir.constData(), path.constData(), pipeFds[1]);+ }+ ::close(pipeFds[1]);+ QByteArray salt(saltSize, '\0');+ const ssize_t got = readAll(pipeFds[0], salt.data(), size_t(salt.size()));+ ::close(pipeFds[0]);+ int status = 0;+ while (::waitpid(pid, &status, 0) < 0 && errno == EINTR) {+ }+ if (got != saltSize || !WIFEXITED(status) || WEXITSTATUS(status) != 0) {+ return {};+ }+ return salt;+}++QString autoLoginUser()+{+ QStringList files;+ for (const QString &dir : {QStringLiteral("/usr/lib/sddm/sddm.conf.d"), QStringLiteral("/etc/sddm.conf.d")}) {+ const auto names = QDir(dir).entryList({QStringLiteral("*.conf")}, QDir::Files, QDir::Name);+ for (const QString &name : names) {+ files << dir + QLatin1Char('/') + name;+ }+ }+ files << QStringLiteral("/etc/sddm.conf");+ QString user;+ for (const QString &path : std::as_const(files)) {+ QFile file(path);+ if (!file.open(QIODevice::ReadOnly)) {+ continue;+ }+ QString section;+ while (!file.atEnd()) {+ const QString line = QString::fromUtf8(file.readLine()).trimmed();+ if (line.startsWith(QLatin1Char('['))) {+ section = line;+ } else if (section == QLatin1String("[Autologin]") && line.startsWith(QLatin1String("User="))) {+ user = line.mid(5).trimmed();+ }+ }+ }+ return user;+}++bool store(uid_t uid, const QByteArray &key)+{+ if (key.size() != keySize || !ensureStoreDir()) {+ return false;+ }+ const QByteArray target = keyPath(uid);+ const QByteArray temp = target + ".new";+ ::unlink(temp.constData());+ const int fd = ::open(temp.constData(), O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC | O_NOFOLLOW, 0600);+ if (fd < 0) {+ return false;+ }+ const bool ok = writeAll(fd, key.constData(), size_t(key.size())) == key.size() && ::fchmod(fd, 0600) == 0 && ::fsync(fd) == 0;+ ::close(fd);+ if (!ok || ::rename(temp.constData(), target.constData()) != 0) {+ ::unlink(temp.constData());+ return false;+ }+ syncDir(storeDir);+ return true;+}++QByteArray load(uid_t uid)+{+ const int fd = ::open(keyPath(uid).constData(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW);+ if (fd < 0) {+ return {};+ }+ struct stat st;+ QByteArray key(keySize, '\0');+ const bool ok = ::fstat(fd, &st) == 0 && S_ISREG(st.st_mode) && st.st_uid == 0 && st.st_size == keySize+ && readAll(fd, key.data(), size_t(key.size())) == keySize;+ ::close(fd);+ return ok ? key : QByteArray();+}++void forget(uid_t uid)+{+ if (::unlink(keyPath(uid).constData()) == 0) {+ syncDir(storeDir);+ }+}++void forgetOthers()+{+ const QByteArray user = autoLoginUser().toUtf8();+ const struct passwd *pw = user.isEmpty() ? nullptr : ::getpwnam(user.constData());+ const QString keep = pw ? QString::number(uint(pw->pw_uid)) + QStringLiteral(".key") : QString();+ const auto names = QDir(QString::fromLatin1(storeDir)).entryList(QDir::Files | QDir::System | QDir::Hidden);+ bool removed = false;+ for (const QString &name : names) {+ if (name != keep) {+ removed |= ::unlink((QByteArray(storeDir) + '/' + QFile::encodeName(name)).constData()) == 0;+ }+ }+ if (removed) {+ syncDir(storeDir);+ }+}+}diff --git a/packages/wildos-setup/src/walletkey.h b/packages/wildos-setup/src/walletkey.hnew file mode 100644index 0000000..22a25ae--- /dev/null+++ b/packages/wildos-setup/src/walletkey.h@@ -0,0 +1,47 @@+#pragma once++#include <QByteArray>+#include <QString>++#include <sys/types.h>++struct passwd;++/* The key that opens an account's KWallet, and the root-held copy of it+ * kept for the one account that signs in automatically.+ *+ * pam_kwallet makes the key from the password typed at sign-in and the+ * salt in ~/.local/share/kwalletd/kdewallet.salt, then has kwalletd open+ * the wallet with it. An automatic sign-in types no password, so for that+ * account Wild OS keeps the same key in /var/lib/wildos/wallet/<uid>.key,+ * readable by root only, on the encrypted root filesystem. Everything here+ * that writes there runs as root.+ */+namespace WalletKey+{+// pam_kwallet's own numbers (KWALLET_PAM_* in kwallet-pam's pam_kwallet.c).+// The key made here has to be the one it makes from the same password, or+// the wallet opens with one and not the other.+constexpr int saltSize = 56;+constexpr int keySize = 56;+constexpr int iterations = 50000;++QByteArray derive(const QByteArray &password, const QByteArray &salt);++/* The account's kdewallet.salt, made first when it has none, the way+ * pam_kwallet makes it: by a child running as the account, so a link in the+ * home folder cannot point root at another file. Empty on failure. */+QByteArray accountSalt(const struct passwd *pw);++/* The account SDDM signs in automatically, as SDDM reads its files: the+ * drop-ins in order, then sddm.conf, the last [Autologin] User= winning.+ * Empty when there is none. */+QString autoLoginUser();++bool store(uid_t uid, const QByteArray &key);+QByteArray load(uid_t uid);+void forget(uid_t uid);+/* Removes every key but the auto sign-in account's, so a key never+ * outlives the setting it was kept for. */+void forgetOthers();+}diff --git a/packages/wildos-shell/CMakeLists.txt b/packages/wildos-shell/CMakeLists.txtindex d9207b4..d0fc4f9 100644--- a/packages/wildos-shell/CMakeLists.txt+++ b/packages/wildos-shell/CMakeLists.txt@@ -31,6 +31,8 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org/wildos/shell/qmldir DESTINATION ${# be rebuilt for each KWin version.install(DIRECTORY kwin/org.wildos.underglow DESTINATION ${CMAKE_INSTALL_DATADIR}/kwin/scripts)install(DIRECTORY kwin/org.wildos.appwindows DESTINATION ${CMAKE_INSTALL_DATADIR}/kwin/scripts)+install(DIRECTORY kwin/org.wildos.showdesktop DESTINATION ${CMAKE_INSTALL_DATADIR}/kwin/scripts)+install(DIRECTORY kwin/org.wildos.peekfade DESTINATION ${CMAKE_INSTALL_DATADIR}/kwin/effects)include(CTest)if(BUILD_TESTING)diff --git a/packages/wildos-shell/kwin/org.wildos.peekfade/contents/code/main.js b/packages/wildos-shell/kwin/org.wildos.peekfade/contents/code/main.jsnew file mode 100644index 0000000..8e7bd15--- /dev/null+++ b/packages/wildos-shell/kwin/org.wildos.peekfade/contents/code/main.js@@ -0,0 +1,44 @@+// While the desktop shows (the taskbar's peek), windows fade out where they+// stand and fade back in place afterwards, as on Windows. KWin's own Window+// Aperture slides them off to the screen edges instead, which looks like+// they are going somewhere. Clicking the taskbar corner and Windows key + D+// minimise windows instead (org.wildos.showdesktop).++"use strict";++const duration = animationTime(180);++function peeked(w) {+ return (w.normalWindow || w.dialog) && !w.desktopWindow && !w.dock;+}++function fade(w, opacity) {+ // A peek ended before its fade finished: the new fade replaces it.+ if (w.wildosPeekFade !== undefined) {+ cancel(w.wildosPeekFade);+ }+ opacity.type = Effect.Opacity;+ opacity.curve = QEasingCurve.OutCubic;+ w.wildosPeekFade = animate({ window: w, duration: duration, animations: [opacity] });+}++effects.showingDesktopChanged.connect(showing => {+ for (const w of effects.stackingOrder) {+ if (!peeked(w)) {+ continue;+ }+ if (showing) {+ if (w.visible) {+ w.wildosPeeked = true;+ fade(w, { to: 0.0 });+ }+ } else if (w.wildosPeeked) {+ w.wildosPeeked = false;+ // Minimised during the peek, so it went to the taskbar and stays+ // there.+ if (!w.minimized) {+ fade(w, { from: 0.0 });+ }+ }+ }+});diff --git a/packages/wildos-shell/kwin/org.wildos.peekfade/metadata.json b/packages/wildos-shell/kwin/org.wildos.peekfade/metadata.jsonnew file mode 100644index 0000000..f084faf--- /dev/null+++ b/packages/wildos-shell/kwin/org.wildos.peekfade/metadata.json@@ -0,0 +1,22 @@+{+ "KPackageStructure": "KWin/Effect",+ "KPlugin": {+ "Authors": [+ {+ "Email": "[email protected]",+ "Name": "Wild OS"+ }+ ],+ "Category": "Show Desktop Animation",+ "Description": "Windows fade out while the desktop shows and fade back after, so a peek at the desktop looks through them",+ "EnabledByDefault": true,+ "Id": "org.wildos.peekfade",+ "License": "GPL-3.0-or-later",+ "Name": "Peek at the desktop",+ "Version": "0.1.0",+ "Website": "https://wildos.io"+ },+ "X-KDE-Ordering": 50,+ "X-KWin-Exclusive-Category": "show-desktop",+ "X-Plasma-API": "javascript"+}diff --git a/packages/wildos-shell/kwin/org.wildos.showdesktop/contents/code/main.js b/packages/wildos-shell/kwin/org.wildos.showdesktop/contents/code/main.jsnew file mode 100644index 0000000..e931517--- /dev/null+++ b/packages/wildos-shell/kwin/org.wildos.showdesktop/contents/code/main.js@@ -0,0 +1,100 @@+// Show desktop as Windows does it. Windows key + D, or a click on the corner+// of the taskbar, minimises every window into the taskbar with the normal+// minimise animation. Doing it again brings back exactly those windows, in+// the order they were stacked, with the one that was in use in front.+// Opening or restoring a window in between starts afresh, so the next press+// minimises again.+//+// KWin's own Show Desktop moves the windows aside without minimising them,+// which reads as the windows flying off the screen. It keeps its action for+// the taskbar's peek, which fades the windows instead (org.wildos.peekfade).++const shortcut = "Wild OS show desktop";++// The windows this script minimised, bottom of the stack first.+let saved = [];+let savedActive = null;+// Set while this script minimises or restores, so its own changes do not+// count as the person restoring a window.+let busy = false;++function forget() {+ saved = [];+ savedActive = null;+}++function onCurrentDesktop(w) {+ return w.onAllDesktops || w.desktops.indexOf(workspace.currentDesktop) !== -1;+}++// Only windows with a taskbar button, so everything minimised can be found+// again. Dialogs follow their main window.+function minimisable(w) {+ return w.normalWindow && w.minimizable && !w.minimized && !w.skipTaskbar+ && !w.transient && onCurrentDesktop(w);+}++function watch(w) {+ w.minimizedChanged.connect(() => {+ if (!busy && !w.minimized) {+ forget();+ }+ });+}++function minimiseAll() {+ const windows = workspace.stackingOrder.filter(minimisable);+ if (windows.length === 0) {+ return;+ }+ const active = workspace.activeWindow;+ busy = true;+ for (let i = windows.length - 1; i >= 0; i--) {+ windows[i].minimized = true;+ }+ busy = false;+ saved = windows;+ savedActive = windows.indexOf(active) !== -1 ? active : windows[windows.length - 1];+}++function restore() {+ const windows = saved.filter(w => w.minimized);+ const active = savedActive;+ forget();+ busy = true;+ for (const w of windows) {+ w.minimized = false;+ }+ for (const w of windows) {+ workspace.raiseWindow(w);+ }+ busy = false;+ if (active && windows.indexOf(active) !== -1) {+ workspace.activeWindow = active;+ }+}++function toggle() {+ if (saved.length > 0 && !workspace.stackingOrder.some(minimisable)) {+ restore();+ } else {+ minimiseAll();+ }+}++workspace.windowList().forEach(watch);+workspace.windowAdded.connect(w => {+ watch(w);+ if (w.normalWindow && !w.skipTaskbar) {+ forget();+ }+});+workspace.windowRemoved.connect(w => {+ saved = saved.filter(s => s !== w);+ if (savedActive === w) {+ savedActive = null;+ }+});+workspace.currentDesktopChanged.connect(forget);++registerShortcut(shortcut, "Show the desktop (minimise every window)", "Meta+D", toggle);diff --git a/packages/wildos-shell/kwin/org.wildos.showdesktop/metadata.json b/packages/wildos-shell/kwin/org.wildos.showdesktop/metadata.jsonnew file mode 100644index 0000000..8889477--- /dev/null+++ b/packages/wildos-shell/kwin/org.wildos.showdesktop/metadata.json@@ -0,0 +1,20 @@+{+ "KPackageStructure": "KWin/Script",+ "KPlugin": {+ "Authors": [+ {+ "Email": "[email protected]",+ "Name": "Wild OS"+ }+ ],+ "Description": "Windows key + D and the corner of the taskbar minimise every window, and bring the same windows back the second time",+ "EnabledByDefault": true,+ "Id": "org.wildos.showdesktop",+ "License": "GPL-3.0-or-later",+ "Name": "Show desktop",+ "Version": "0.1.0",+ "Website": "https://wildos.io"+ },+ "X-Plasma-API": "javascript",+ "X-Plasma-MainScript": "code/main.js"+}diff --git a/packages/wildos-shell/panel/Panel.qml b/packages/wildos-shell/panel/Panel.qmlindex 8cd2b75..c7d8ddb 100644--- a/packages/wildos-shell/panel/Panel.qml+++ b/packages/wildos-shell/panel/Panel.qml@@ -22,6 +22,7 @@ import Qt5Compat.GraphicalEffectsimport QtQuick.Templates as Timport Qt.labs.folderlistmodelimport org.kde.plasma.plasma5support as P5Support+import org.kde.plasma.workspace.dbus as DBusimport org.wildos.shell as WildOSimport WildOS.UI as UI@@ -256,7 +257,10 @@ Item {readonly property int topPadding: Math.round(Math.min(thickPanelSvg.fixedMargins.top + Kirigami.Units.smallSpacing, spacingAtMinSize));readonly property int bottomPadding: Math.round(Math.min(thickPanelSvg.fixedMargins.bottom + Kirigami.Units.smallSpacing, spacingAtMinSize));readonly property int leftPadding: Math.round(Math.min(thickPanelSvg.fixedMargins.left + Kirigami.Units.smallSpacing, spacingAtMinSize));- readonly property int rightPadding: Math.round(Math.min(thickPanelSvg.fixedMargins.right + Kirigami.Units.smallSpacing, spacingAtMinSize));+ // Plasma's panel moves every pointer event inside these paddings onto+ // the nearest widget, so the show desktop sliver in the last 8 px would+ // never see the pointer. With the sliver on, nothing is padded there.+ readonly property int rightPadding: usePills && WildOS.TaskbarStyle.showDesktop ? 0 : Math.round(Math.min(thickPanelSvg.fixedMargins.right + Kirigami.Units.smallSpacing, spacingAtMinSize));readonly property int minPanelHeight: translucentItem.minimumDrawingHeightreadonly property int minPanelWidth: translucentItem.minimumDrawingWidth@@ -630,9 +634,10 @@ Item {// Show desktop, as on Windows: the last 8 px of the bar, down to the// screen's corner pixel, so a flick of the pointer into the corner finds- // it. Clicking shows the desktop and clicking again brings the windows- // back. With peek on, resting the pointer there shows the desktop until- // it moves away, and a click while peeking keeps it shown. Settings >+ // it. Clicking minimises every window and clicking again brings the same+ // windows back (the org.wildos.showdesktop KWin script, also on Win+D).+ // With peek on, resting the pointer there fades the windows out until it+ // moves away, and a click while peeking minimises them. Settings >// Personalisation > Taskbar turns both on and off (wildosrc [Taskbar]).MouseArea {id: showDesktopCorner@@ -648,6 +653,7 @@ Item {// The desktop is showing because of a peek, so leaving undoes it.property bool peeking: false+ property var pendingToggle: nullonContainsMouseChanged: {if (containsMouse) {@@ -664,11 +670,19 @@ Item {}onClicked: {peekTimer.stop();- if (peeking) {- peeking = false;+ if (!peeking) {+ root.toggleDesktop();return;}- KWindowSystem.showingDesktop = !KWindowSystem.showingDesktop;+ // The peek ends once the windows are minimised, so they stay+ // out of sight rather than fading back first.+ peeking = false;+ // Held here so the reply is not collected before it arrives.+ pendingToggle = root.toggleDesktop();+ pendingToggle.finished.connect(() => {+ KWindowSystem.showingDesktop = false;+ pendingToggle = null;+ });}onVisibleChanged: {if (!visible && peeking) {@@ -709,6 +723,18 @@ Item {}}+ // The same as Win+D: runs the org.wildos.showdesktop KWin script's+ // shortcut through the global shortcut service.+ function toggleDesktop(): var {+ return DBus.SessionBus.asyncCall({+ service: "org.kde.kglobalaccel",+ path: "/component/kwin",+ iface: "org.kde.kglobalaccel.Component",+ member: "invokeShortcut",+ arguments: [new DBus.string("Wild OS show desktop")],+ });+ }+function openTaskbarMenu(x: real): void {const entries = [];if (taskManagerEntry.count > 0) {@@ -721,7 +747,7 @@ Item {run: () => runner.connectSource("kstart --desktopfile org.wildos.settings -- wildos-settings --page taskbar") });}entries.push({ text: "Show the desktop", icon: "menu-desktop", shortcut: "Win+D",- run: () => KWindowSystem.showingDesktop = !KWindowSystem.showingDesktop });+ run: () => root.toggleDesktop() });taskbarMenu.entries = entries;taskbarMenu.x = Math.round(Math.max(8, Math.min(root.width - taskbarMenu.implicitWidth - 8, x)));taskbarMenu.y = -12 - taskbarMenu.implicitHeight;diff --git a/packages/wildos-store/data/curated.json b/packages/wildos-store/data/curated.jsonindex 5296e1f..58ae05f 100644--- a/packages/wildos-store/data/curated.json+++ b/packages/wildos-store/data/curated.json@@ -64,21 +64,19 @@"key": "libreoffice","ids": ["org.libreoffice.LibreOffice",- "libreoffice-startcenter.desktop",- "libreoffice-writer.desktop"+ "libreoffice-impress.desktop"],"packages": [- "libreoffice-writer",- "libreoffice-calc","libreoffice-impress",+ "libreoffice-draw","libreoffice-kf6"],"flatpak": "org.libreoffice.LibreOffice",- "desktop": "libreoffice-startcenter",+ "desktop": "libreoffice-impress","name": "LibreOffice",- "summary": "Documents, spreadsheets and presentations that work with Office files",- "tagline": "Documents, spreadsheets, slides",- "insteadOf": "Microsoft Office",+ "summary": "Presentations and drawings that work with PowerPoint files. Write and Tables, for documents and spreadsheets, come with Wild OS",+ "tagline": "Slides and drawings",+ "insteadOf": "PowerPoint","aliases": ["office","word",diff --git a/packages/wildos-system-dialogs/debian/changelog b/packages/wildos-system-dialogs/debian/changelogindex b456132..331fe34 100644--- a/packages/wildos-system-dialogs/debian/changelog+++ b/packages/wildos-system-dialogs/debian/changelog@@ -1,3 +1,22 @@+wildos-system-dialogs (0.1.3) trixie; urgency=medium++ * Board 9.9 also asks before Windows alone restarts or shuts down from+ the taskbar panel (windows-restart, windows-shutdown): no countdown,+ Go back as the safe answer, and for Shut down, Save to disk instead.+ * The minute before Windows apps' work is kept now counts down and ends:+ Qt 6 refused the timer's connection, so it stayed at 60 seconds.+ * Enter presses the button that has focus.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 14:50:00 +0000++wildos-system-dialogs (0.1.2) trixie; urgency=medium++ * The permission prompt names the app asking (such as Settings) while it+ is still checking where the request comes from, instead of reading+ "Allow to make changes".++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 13:00:00 +0000+wildos-system-dialogs (0.1.1) trixie; urgency=medium* Installing a package from a file is never shown as verified, nor asdiff --git a/packages/wildos-system-dialogs/qml/PermissionCard.qml b/packages/wildos-system-dialogs/qml/PermissionCard.qmlindex e699e50..e85e559 100644--- a/packages/wildos-system-dialogs/qml/PermissionCard.qml+++ b/packages/wildos-system-dialogs/qml/PermissionCard.qml@@ -94,7 +94,7 @@ Item {UI.Label {Layout.fillWidth: true- text: "Allow " + Agent.appName + " to make changes to this computer?"+ text: "Allow " + (Agent.appName.length > 0 ? Agent.appName : "this app") + " to make changes to this computer?"size: 20font.weight: Font.DemiBoldlineHeightMode: Text.FixedHeight@@ -127,7 +127,7 @@ Item {UI.Label {Layout.fillWidth: true- text: Agent.appName+ text: Agent.appName.length > 0 ? Agent.appName : "An app"size: 14font.weight: Font.DemiBold}diff --git a/packages/wildos-system-dialogs/qml/PromptWindow.qml b/packages/wildos-system-dialogs/qml/PromptWindow.qmlindex 239e1f6..7644d7a 100644--- a/packages/wildos-system-dialogs/qml/PromptWindow.qml+++ b/packages/wildos-system-dialogs/qml/PromptWindow.qml@@ -77,6 +77,7 @@ Window {id: restartRestartCard {security: Prompts.info.security === true+ summary: Prompts.info.summary || ""countdown: Prompts.info.mode === "countdown"seconds: Prompts.countdownscheduled: Prompts.info.scheduled || ""diff --git a/packages/wildos-system-dialogs/qml/RestartCard.qml b/packages/wildos-system-dialogs/qml/RestartCard.qmlindex 9430a40..11225b7 100644--- a/packages/wildos-system-dialogs/qml/RestartCard.qml+++ b/packages/wildos-system-dialogs/qml/RestartCard.qml@@ -11,6 +11,8 @@ PromptCard {id: cardproperty bool security: false+ // "3 fixes and 2 improvements", when Settings knows what the update brings.+ property string summaryproperty bool countdown: falseproperty int seconds: 0property string scheduled@@ -25,7 +27,8 @@ PromptCard {title: countdown ? "Restarting to finish updating" : "Restart to finish updating"text: countdown? "Wild OS will restart in " + seconds + (seconds === 1 ? " second" : " seconds") + ", at the time you chose. Your apps and windows will reopen where you left them."- : (security ? "A security update is ready." : "An update is ready.") + " Your apps and windows will reopen where you left them."+ : (security ? "A security update is ready" : "An update is ready") + (summary.length > 0 ? ", with " + summary + "." : ".")+ + " Your apps and windows will reopen where you left them."picture: Rectangle {width: 40diff --git a/packages/wildos-system-dialogs/qml/WindowsShutdownCard.qml b/packages/wildos-system-dialogs/qml/WindowsShutdownCard.qmlindex 462aabc..74817fc 100644--- a/packages/wildos-system-dialogs/qml/WindowsShutdownCard.qml+++ b/packages/wildos-system-dialogs/qml/WindowsShutdownCard.qml@@ -8,10 +8,16 @@ import WildOS.UI as UI// radius 18, a 20px title, the open documents with their state, the// accent card saying what keeping does, and a footer with "Close without// saving" at the left. After 60 seconds the safe choice is taken.+//+// The taskbar panel's Restart and Shut down for Windows alone ask the same+// way (actions windows-restart and windows-shutdown) when an app may have+// unsaved work, with no countdown: restarting can't keep the work, so Go+// back is the main button; shutting down offers Save to disk instead,+// which keeps it and still frees the memory.Item {id: card- // shutdown, restart or signout+ // shutdown, restart or signout; windows-restart or windows-shutdownproperty string action: "shutdown"property var apps: []property string reopen@@ -21,7 +27,21 @@ Item {signal discard()signal back()- readonly property string keepText: action === "restart" ? "Keep my work and restart" : action === "signout" ? "Keep my work and sign out" : "Keep my work and shut down"+ readonly property bool windowsOnly: action.startsWith("windows-")+ readonly property bool canKeep: action !== "windows-restart"+ readonly property string keepText: action === "windows-shutdown" ? "Save to disk instead"+ : action === "restart" ? "Keep my work and restart" : action === "signout" ? "Keep my work and sign out" : "Keep my work and shut down"+ readonly property string keepDetail: action === "windows-shutdown"+ ? "Windows mode is saved to disk as it is, in about 5 seconds, and uses no memory until you open a Windows app."+ : "Windows mode is saved to disk as it is, in about 5 seconds. Next time, " + (card.reopen.startsWith("Your ") ? "your " + card.reopen.slice(5) : card.reopen)+ readonly property string discardText: action === "windows-restart" ? "Restart without saving"+ : action === "windows-shutdown" ? "Shut down without saving" : "Close without saving"+ readonly property string body: action === "windows-restart"+ ? "Restarting Windows closes them, and changes that aren't saved are lost. Save your work in them first, then restart."+ : action === "windows-shutdown"+ ? "Shutting down Windows closes them, and changes that aren't saved are lost. Save your work in them first, or save Windows mode to disk instead, which keeps everything as it is."+ : "Nothing will be lost. Wild OS can keep them exactly as they are, unsaved changes included, and reopen them next time you "+ + (action === "signout" ? "sign in." : "switch on.")readonly property string title: "Your Windows apps are still open"width: 640@@ -70,8 +90,7 @@ Item {UI.Label {Layout.fillWidth: true- text: "Nothing will be lost. Wild OS can keep them exactly as they are, unsaved changes included, and reopen them next time you "- + (card.action === "signout" ? "sign in." : "switch on.")+ text: card.bodysize: 13color: UI.Style.inkAlpha(0.82, 0.76)wrapMode: Text.Wrap@@ -113,6 +132,7 @@ Item {}Rectangle {+ visible: card.canKeepLayout.fillWidth: trueimplicitHeight: keepRow.implicitHeight + 32radius: UI.Style.radiusMd@@ -159,7 +179,7 @@ Item {UI.Label {Layout.fillWidth: true- text: "Windows mode is saved to disk as it is, in about 5 seconds. Next time, " + (card.reopen.startsWith("Your ") ? "your " + card.reopen.slice(5) : card.reopen)+ text: card.keepDetailsize: 13color: UI.Style.inkStatuswrapMode: Text.Wrap@@ -200,7 +220,8 @@ Item {spacing: 10UI.LinkButton {- text: "Close without saving"+ id: discardLink+ text: card.discardTextonClicked: card.discard()}@@ -209,12 +230,15 @@ Item {}UI.Button {+ id: backButton+ kind: card.canKeep ? "secondary" : "primary"text: "Go back"onClicked: card.back()}UI.Button {id: keepButton+ visible: card.canKeepkind: "primary"text: card.keepTextonClicked: card.keep()@@ -224,7 +248,20 @@ Item {}Keys.onEscapePressed: card.back()+ // Enter presses the button that has focus, which is the safe one to+ // start with; the buttons themselves only take Space.+ function enter() {+ if (discardLink.activeFocus) {+ card.discard();+ } else if (keepButton.activeFocus && card.canKeep) {+ card.keep();+ } else {+ card.back();+ }+ }+ Keys.onReturnPressed: card.enter()+ Keys.onEnterPressed: card.enter()function takeFocus() {- keepButton.forceActiveFocus();+ (card.canKeep ? keepButton : backButton).forceActiveFocus();}}diff --git a/packages/wildos-system-dialogs/src/agent.cpp b/packages/wildos-system-dialogs/src/agent.cppindex 0f49194..5704bc1 100644--- a/packages/wildos-system-dialogs/src/agent.cpp+++ b/packages/wildos-system-dialogs/src/agent.cpp@@ -111,6 +111,9 @@ void Agent::begin(const Request &request)m_trust = QStringLiteral("checking");m_verdict = {};m_verdict.purpose = Verifier::purposeOf(request.actionId, request.details.value(QStringLiteral("program")));+ // Until the check is done the prompt would otherwise read "Allow to+ // make changes".+ m_verdict.appName = Verifier::quickName(request.actionId, request.details, &m_verdict.iconName);++m_serial;Q_EMIT serialChanged();diff --git a/packages/wildos-system-dialogs/src/prompts.cpp b/packages/wildos-system-dialogs/src/prompts.cppindex a168b1a..90375bf 100644--- a/packages/wildos-system-dialogs/src/prompts.cpp+++ b/packages/wildos-system-dialogs/src/prompts.cpp@@ -127,6 +127,15 @@ Prompts::Prompts(QObject *parent)}Q_EMIT countdownChanged();});+ // Connected once here: Qt 6 refuses Qt::UniqueConnection for a lambda,+ // which left the minute before Windows apps' work is kept never ending.+ m_shutdownTimer.setInterval(1000);+ connect(&m_shutdownTimer, &QTimer::timeout, this, [this] {+ if (--m_countdown <= 0) {+ answerWindowsShutdown(QStringLiteral("keep"));+ }+ Q_EMIT countdownChanged();+ });}void Prompts::show(const QString &kind)@@ -331,8 +340,18 @@ void Prompts::showRestart()if (m_demo) {security = true;}+ // What the Wild OS update waiting on this restart brings, in a few+ // words, left by Settings > Updates when it installed it.+ QString summary;+ QFile summaryFile(QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QStringLiteral("/wildos-update-summary"));+ if (!m_demo && summaryFile.open(QIODevice::ReadOnly)) {+ summary = QString::fromUtf8(summaryFile.readAll()).trimmed();+ } else if (m_demo) {+ summary = QStringLiteral("3 fixes and 2 improvements");+ }const QDateTime at = scheduled();m_info.insert(QStringLiteral("security"), security);+ m_info.insert(QStringLiteral("summary"), summary);m_info.insert(QStringLiteral("mode"), QStringLiteral("ask"));m_info.insert(QStringLiteral("scheduled"), at.isValid() ? describe(at, QDateTime::currentDateTime()) : QString());m_restartAsked = true;@@ -470,9 +489,10 @@ void Prompts::askWindowsShutdown(const QString &action, const QString &appsJson,// A second ask while one is showing (two sign-outs at once) settles the// first the safe way.if (m_shutdownReply.type() == QDBusMessage::MethodCallMessage) {- QDBusConnection::sessionBus().send(m_shutdownReply.createReply(QStringLiteral("keep")));+ QDBusConnection::sessionBus().send(m_shutdownReply.createReply(safeShutdownAnswer()));}m_shutdownReply = reply;+ m_shutdownAction = action;QVariantList apps;QStringList unsavedDocs;QString unsavedApp;@@ -510,21 +530,26 @@ void Prompts::askWindowsShutdown(const QString &action, const QString &appsJson,{QStringLiteral("apps"), apps},{QStringLiteral("reopen"), reopen},};- m_countdown = 60;+ // Wild OS shutting down can't wait for ever, so after a minute the work+ // is kept. Restarting or shutting down Windows alone can wait: nothing+ // happens until the person says.+ const bool windowsOnly = action.startsWith(QLatin1String("windows-"));+ m_countdown = windowsOnly ? 0 : 60;Q_EMIT countdownChanged();- if (!m_shutdownTimer.isActive()) {- m_shutdownTimer.setInterval(1000);- connect(&m_shutdownTimer, &QTimer::timeout, this, [this] {- if (--m_countdown <= 0) {- answerWindowsShutdown(QStringLiteral("keep"));- }- Q_EMIT countdownChanged();- }, Qt::UniqueConnection);+ m_shutdownTimer.stop();+ if (!windowsOnly) {+ m_shutdownTimer.start();}- m_shutdownTimer.start();show(QStringLiteral("windowsshutdown"));}+QString Prompts::safeShutdownAnswer() const+{+ // Wild OS ending the session keeps the work; Windows' own restart or+ // shutdown simply doesn't happen.+ return m_shutdownAction.startsWith(QLatin1String("windows-")) ? QStringLiteral("back") : QStringLiteral("keep");+}+void Prompts::answerWindowsShutdown(const QString &choice){m_shutdownTimer.stop();@@ -629,6 +654,13 @@ void Prompts::demo(const QString &kind)"{\"app\":\"Excel\",\"document\":\"Book1\",\"unsaved\":true},""{\"app\":\"Word\",\"document\":\"Quote for Harbour Café.docx\",\"unsaved\":false}]"),QDBusMessage());+ } else if (kind == QLatin1String("windowsrestart") || kind == QLatin1String("windowspoweroff")) {+ // The taskbar panel's Restart and Shut down for Windows alone.+ askWindowsShutdown(kind == QLatin1String("windowsrestart") ? QStringLiteral("windows-restart") : QStringLiteral("windows-shutdown"),+ QStringLiteral("[{\"app\":\"Excel\",\"document\":\"Budget 2027.xlsx\",\"unsaved\":true},"+ "{\"app\":\"Invoice Maker\",\"document\":\"March invoices\",\"unsaved\":null},"+ "{\"app\":\"Notepad\",\"document\":\"notes.txt\",\"unsaved\":false}]"),+ QDBusMessage());} else if (kind == QLatin1String("windowsdevices")) {askWindowsDevices(QStringLiteral("Zoom"),QStringLiteral("{\"cameras\":[\"Integrated webcam\"],\"microphones\":[{\"id\":\"alsa_input.pci\",\"name\":\"Laptop microphone\"}]}"),diff --git a/packages/wildos-system-dialogs/src/prompts.h b/packages/wildos-system-dialogs/src/prompts.hindex ed0faf9..92a1139 100644--- a/packages/wildos-system-dialogs/src/prompts.h+++ b/packages/wildos-system-dialogs/src/prompts.h@@ -119,6 +119,10 @@ private:QString m_windowsId;QString m_windowsTarget;QDBusMessage m_shutdownReply;+ // shutdown, restart or signout (Wild OS ending the session), or+ // windows-shutdown or windows-restart (Windows alone, from the panel).+ QString m_shutdownAction;+ QString safeShutdownAnswer() const;QDBusMessage m_devicesReply;QTimer m_shutdownTimer;};diff --git a/packages/wildos-system-dialogs/src/verifier.cpp b/packages/wildos-system-dialogs/src/verifier.cppindex 04b4da8..64cd84d 100644--- a/packages/wildos-system-dialogs/src/verifier.cpp+++ b/packages/wildos-system-dialogs/src/verifier.cpp@@ -589,6 +589,29 @@ QString Verifier::purposeOf(const QString &actionId, const QString &program)return {};}+QString Verifier::quickName(const QString &actionId, const QHash<QString, QString> &details, QString *iconName)+{+ const auto &map = wordings();+ const auto wording = map.constFind(actionId);+ if (wording != map.constEnd() && wording->app) {+ *iconName = QString::fromUtf8(wording->icon);+ return QString::fromUtf8(wording->app);+ }+ bool ok = false;+ const qint64 pid = details.value(QStringLiteral("polkit.subject-pid")).toLongLong(&ok);+ if (!ok || pid <= 0) {+ return {};+ }+ bool flatpak = false;+ const QString appId = appIdOf(pid, &flatpak);+ const KService::Ptr service = appId.isEmpty() ? KService::Ptr() : KService::serviceByDesktopName(appId);+ if (!service || service->name().isEmpty()) {+ return {};+ }+ *iconName = service->icon();+ return service->name();+}+Verdict Verifier::check(const QString &actionId, const QString &message, const QHash<QString, QString> &details){Verdict verdict;diff --git a/packages/wildos-system-dialogs/src/verifier.h b/packages/wildos-system-dialogs/src/verifier.hindex 7e08bde..f24e078 100644--- a/packages/wildos-system-dialogs/src/verifier.h+++ b/packages/wildos-system-dialogs/src/verifier.h@@ -43,4 +43,9 @@ Verdict check(const QString &actionId, const QString &message, const QHash<QStri// One plain line for an action, or empty when Wild OS has none.QString purposeOf(const QString &actionId, const QString &program);++// The name to show while check() runs, which can take seconds: the+// action's own wording, or the app the subject's systemd scope names.+// Cheap; empty when neither says. check() has the last word.+QString quickName(const QString &actionId, const QHash<QString, QString> &details, QString *iconName);}diff --git a/packages/wildos-ui/CMakeLists.txt b/packages/wildos-ui/CMakeLists.txtindex 93272a9..96b98a4 100644--- a/packages/wildos-ui/CMakeLists.txt+++ b/packages/wildos-ui/CMakeLists.txt@@ -31,6 +31,7 @@ qt_add_qml_module(wildosuiPLUGIN_TARGET wildosuiNO_PLUGIN_OPTIONALQML_FILES ${QML_SOURCES}+ RESOURCES data/wildos-mark.svgSOURCESsrc/theme.cpp src/theme.hsrc/windowframe.cpp src/windowframe.hdiff --git a/packages/wildos-ui/data/wildos-mark.svg b/packages/wildos-ui/data/wildos-mark.svgnew file mode 100644index 0000000..ae8c5d2--- /dev/null+++ b/packages/wildos-ui/data/wildos-mark.svg@@ -0,0 +1,8 @@+<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">+<rect x="2" y="2" width="96" height="96" rx="23" fill="#121a33"/>+<g transform="translate(13 13) scale(0.493333) translate(-18 10.5)">+<defs><linearGradient id="m" gradientUnits="userSpaceOnUse" x1="0" y1="17" x2="0" y2="113"><stop offset="0" stop-color="#b4caff"/><stop offset="0.5" stop-color="#7d97ec"/><stop offset="1" stop-color="#f0a3ae"/></linearGradient></defs>+<path d="M37 17 L50.34 40 L64.75 64.84 L79.16 40 L92.5 17 L105.84 40 L134.26 89 L120.76 112.28 L92.5 63.55 L64.91 111.12 L23.66 40Z" fill="url(#m)"/>+<path d="M148.5 17 L162 40 L148.5 63 L135 40Z" fill="url(#m)"/>+</g>+</svg>diff --git a/packages/wildos-ui/qml/LoadingSplash.qml b/packages/wildos-ui/qml/LoadingSplash.qmlnew file mode 100644index 0000000..5400abe--- /dev/null+++ b/packages/wildos-ui/qml/LoadingSplash.qml@@ -0,0 +1,244 @@+import QtQuick+import QtQuick.Shapes+import QtQuick.Window++// The app loading splash shared by Mail, Write, Tables and Remote (board+// 12.5, LoSplash.dc): the app's icon, colour and name, what it is opening,+// two short notes and a bar gliding in the app's colour. finish() fades it+// out into the window that takes over.+//+// Opening a document it waits a third of a second first, so a quick open+// never flashes. Launching an app it shows at once and stays long enough to+// read, as Office apps do: set showDelay to 0 and minimumTime.+Window {+ id: splash++ property string appName: ""+ property url iconSource+ // The app's colour, light end and deep end of its tile.+ property color accent: "#9d7bff"+ property color accentDeep: "#5631c9"+ property string status: ""+ property string noteStart: ""+ property string noteEnd: ""+ // LibreOffice gives no sign that it is ready, so Write and Tables take+ // the document's window gaining focus as the sign instead.+ property bool finishOnFocusLoss: false+ property int showDelay: 333+ property int minimumTime: 0+ property double shownAt: 0+ readonly property bool shown: visible++ signal finished()++ function finish() {+ if (!visible) {+ showTimer.stop();+ finished();+ return;+ }+ const left = minimumTime - (Date.now() - shownAt);+ if (left > 0) {+ holdTimer.interval = left;+ holdTimer.restart();+ return;+ }+ fade.start();+ }++ Timer {+ id: holdTimer+ onTriggered: fade.start()+ }++ width: 600+ height: 320+ flags: Qt.FramelessWindowHint | Qt.Window+ color: "transparent"+ title: appName+ visible: false++ Timer {+ id: showTimer+ interval: Math.max(1, splash.showDelay)+ running: true+ onTriggered: {+ splash.shownAt = Date.now();+ splash.visible = true;+ splash.requestActivate();+ }+ }++ onActiveChanged: {+ if (!active && visible && finishOnFocusLoss) {+ finish();+ }+ }++ NumberAnimation {+ id: fade+ target: card+ property: "opacity"+ to: 0+ duration: Style.reducedMotion ? 0 : 200+ onFinished: {+ splash.visible = false;+ splash.finished();+ }+ }++ Item {+ id: card+ anchors.fill: parent++ Shape {+ anchors.fill: parent+ preferredRendererType: Shape.CurveRenderer++ ShapePath {+ strokeWidth: -1+ fillGradient: LinearGradient {+ x1: 0; y1: 0; x2: 120; y2: 320+ GradientStop { position: 0; color: "#161c40" }+ GradientStop { position: 0.55; color: "#0f1432" }+ GradientStop { position: 1; color: "#0b1026" }+ }+ PathRectangle { width: 600; height: 320; radius: 18 }+ }+ ShapePath {+ strokeWidth: -1+ fillGradient: RadialGradient {+ centerX: 0; centerY: 0; centerRadius: 360+ focalX: 0; focalY: 0+ GradientStop { position: 0; color: Qt.alpha(splash.accent, 0.26) }+ GradientStop { position: 0.7; color: Qt.alpha(splash.accent, 0) }+ }+ PathRectangle { width: 600; height: 320; radius: 18 }+ }+ ShapePath {+ strokeWidth: -1+ fillGradient: RadialGradient {+ centerX: 600; centerY: 320; centerRadius: 300+ focalX: 600; focalY: 320+ GradientStop { position: 0; color: Qt.alpha(splash.accent, 0.10) }+ GradientStop { position: 0.7; color: Qt.alpha(splash.accent, 0) }+ }+ PathRectangle { width: 600; height: 320; radius: 18 }+ }+ ShapePath {+ strokeColor: Qt.rgba(1, 1, 1, 0.10)+ strokeWidth: 1+ fillColor: "transparent"+ PathRectangle { x: 0.5; y: 0.5; width: 599; height: 319; radius: 17.5 }+ }+ }++ Image {+ x: 36+ y: 34+ width: 72+ height: 72+ source: splash.iconSource+ sourceSize.width: 144+ sourceSize.height: 144+ smooth: true+ }++ Row {+ anchors.right: parent.right+ anchors.rightMargin: 40+ y: 44+ spacing: 8++ Image {+ width: 22+ height: 22+ anchors.verticalCenter: parent.verticalCenter+ source: "data/wildos-mark.svg"+ sourceSize.width: 44+ sourceSize.height: 44+ }+ Text {+ anchors.verticalCenter: parent.verticalCenter+ text: "Wild OS"+ font.family: Style.fontFamily+ font.pixelSize: 13+ font.weight: Font.DemiBold+ color: Qt.rgba(238 / 255, 241 / 255, 248 / 255, 0.82)+ }+ }++ Column {+ x: 40+ y: 136+ spacing: 6++ Text {+ text: splash.appName+ font.family: Style.fontFamily+ font.pixelSize: 36+ font.weight: Font.DemiBold+ font.letterSpacing: -0.72+ color: "#eef1f8"+ }+ Text {+ width: 520+ elide: Text.ElideMiddle+ text: splash.status+ font.family: Style.fontFamily+ font.pixelSize: 14+ color: Qt.rgba(232 / 255, 236 / 255, 248 / 255, 0.70)+ }+ }++ Item {+ x: 40+ y: 238+ width: 520+ height: 16++ Text {+ text: splash.noteStart+ font.family: Style.fontFamily+ font.pixelSize: 12+ color: Qt.rgba(232 / 255, 236 / 255, 248 / 255, 0.55)+ }+ Text {+ anchors.right: parent.right+ text: splash.noteEnd+ font.family: Style.fontFamily+ font.pixelSize: 12+ color: Qt.rgba(232 / 255, 236 / 255, 248 / 255, 0.55)+ }+ }++ Rectangle {+ x: 40+ y: 270+ width: 520+ height: 4+ radius: 2+ color: Qt.rgba(1, 1, 1, 0.10)+ clip: true++ Rectangle {+ width: 156+ height: 4+ radius: 2+ x: Style.reducedMotion ? 182 : 0+ gradient: Gradient {+ orientation: Gradient.Horizontal+ GradientStop { position: 0; color: splash.accentDeep }+ GradientStop { position: 1; color: splash.accent }+ }++ SequentialAnimation on x {+ running: !Style.reducedMotion && splash.visible+ loops: Animation.Infinite+ NumberAnimation { from: 0; to: 364; duration: 1200; easing.type: Easing.InOutQuad }+ NumberAnimation { from: 364; to: 0; duration: 1200; easing.type: Easing.InOutQuad }+ }+ }+ }+ }+}diff --git a/packages/wildos-ui/qml/Style.qml b/packages/wildos-ui/qml/Style.qmlindex 6d1941b..845eed0 100644--- a/packages/wildos-ui/qml/Style.qml+++ b/packages/wildos-ui/qml/Style.qml@@ -293,8 +293,12 @@ QtObject {readonly property int windowButtonWidth: 46readonly property int windowRadius: 14- readonly property int hoverDuration: 150- readonly property int quickDuration: 120+ // Every duration follows KDE's animation speed, so Wild OS apps keep pace+ // with window and menu animations.+ readonly property real animationFactor: Theme.animationFactor+ // Colour fades stay at full length with reduced motion, as before.+ readonly property int hoverDuration: reducedMotion ? 150 : Math.round(150 * animationFactor)+ readonly property int quickDuration: reducedMotion ? 120 : Math.round(120 * animationFactor)// Movement (slides, scaling, travelling highlights) stops when this is// on; colour and opacity changes may stay.readonly property bool reducedMotion: Theme.reducedMotion@@ -303,9 +307,9 @@ QtObject {// leave faster on an accelerating one, and nothing travels far. With// reduced motion every duration is 0, every travel is 0 and nothing// scales, so surfaces simply appear in their final place.- readonly property int motionFast: reducedMotion ? 0 : 120- readonly property int motionNormal: reducedMotion ? 0 : 200- readonly property int motionSlow: reducedMotion ? 0 : 300+ readonly property int motionFast: reducedMotion ? 0 : Math.round(120 * animationFactor)+ readonly property int motionNormal: reducedMotion ? 0 : Math.round(200 * animationFactor)+ readonly property int motionSlow: reducedMotion ? 0 : Math.round(300 * animationFactor)// easing.type values: OutQuint is close to Fluent's decelerate// (0.1, 0.9, 0.2, 1), InCubic to its accelerate, InOutCubic to its// standard curve for something that moves from one place to another.diff --git a/packages/wildos-ui/src/theme.cpp b/packages/wildos-ui/src/theme.cppindex 86bffc2..536cb6f 100644--- a/packages/wildos-ui/src/theme.cpp+++ b/packages/wildos-ui/src/theme.cpp@@ -1,6 +1,7 @@#include "theme.h"#include <KConfigGroup>+#include <algorithm>#include <KSharedConfig>#include <QEvent>@@ -126,9 +127,11 @@ void Theme::read()Q_EMIT darkChanged();}- const bool reduced = config->group(QStringLiteral("KDE")).readEntry("AnimationDurationFactor", 1.0) <= 0.0;- if (reduced != m_reducedMotion) {+ const qreal factor = std::clamp(config->group(QStringLiteral("KDE")).readEntry("AnimationDurationFactor", 1.0), 0.0, 4.0);+ const bool reduced = factor <= 0.0;+ if (reduced != m_reducedMotion || !qFuzzyCompare(1.0 + factor, 1.0 + m_animationFactor)) {m_reducedMotion = reduced;+ m_animationFactor = factor;Q_EMIT reducedMotionChanged();}}diff --git a/packages/wildos-ui/src/theme.h b/packages/wildos-ui/src/theme.hindex cc6f155..d578777 100644--- a/packages/wildos-ui/src/theme.h+++ b/packages/wildos-ui/src/theme.h@@ -33,6 +33,10 @@ class Theme : public QObject// Settings > Accessibility > Reduce motion, which sets KDE's animation// speed to instant (kdeglobals [KDE] AnimationDurationFactor=0).Q_PROPERTY(bool reducedMotion READ reducedMotion NOTIFY reducedMotionChanged)+ // KDE's animation speed (AnimationDurationFactor) as a multiplier for+ // every Style duration, so Wild OS apps keep pace with the window+ // manager. 0 with reduced motion.+ Q_PROPERTY(qreal animationFactor READ animationFactor NOTIFY reducedMotionChanged)// Settings > Accessibility > Stronger text on glass (wildosrc// [Accessibility] StrongerText): Style makes glass nearly solid and// muted text brighter.@@ -66,6 +70,7 @@ public:bool highContrast() const { return m_scheme == QLatin1String("WildOSHighContrast"); }qreal fontPointSize() const;bool reducedMotion() const { return m_reducedMotion; }+ qreal animationFactor() const { return m_animationFactor; }bool strongerText() const { return m_strongerText; }QString themeId() const { return m_themeId; }@@ -101,6 +106,7 @@ private:QColor m_accent;bool m_dark = true;bool m_reducedMotion = false;+ qreal m_animationFactor = 1.0;bool m_strongerText = false;QString m_scheme;diff --git a/packages/wildos-winmode/data/compat/00-wildos.json b/packages/wildos-winmode/data/compat/00-wildos.jsonindex 60c54b0..152d9d5 100644--- a/packages/wildos-winmode/data/compat/00-wildos.json+++ b/packages/wildos-winmode/data/compat/00-wildos.json@@ -112,7 +112,7 @@"engine": "windows-mode","alternative": {"storeId": "org.libreoffice.LibreOffice",- "text": "LibreOffice opens and saves Word, Excel and PowerPoint files, and it's free in the Store."+ "text": "Write and Tables come with Wild OS and open and save Word and Excel files. For PowerPoint files, LibreOffice is free in the Store."}},{@@ -219,7 +219,7 @@"engine": "native","alternative": {"storeId": "org.libreoffice.LibreOffice",- "text": "LibreOffice has a Wild OS version in the Store, so it doesn't need Windows app support."+ "text": "Write and Tables, built on LibreOffice, come with Wild OS. The rest of LibreOffice is free in the Store, so it doesn't need Windows app support."}},{diff --git a/packages/wildos-winmode/data/logind/50-wildos-winmode.conf b/packages/wildos-winmode/data/logind/50-wildos-winmode.confnew file mode 100644index 0000000..18f998f--- /dev/null+++ b/packages/wildos-winmode/data/logind/50-wildos-winmode.conf@@ -0,0 +1,5 @@+# Windows mode saves Windows to disk, or shuts it down, as the PC shuts+# down (winmoded holds a delay lock while Windows runs). Saving several GB+# can take longer than logind's default wait.+[Login]+InhibitDelayMaxSec=60diff --git a/packages/wildos-winmode/data/system/wildos-winmoded.service b/packages/wildos-winmode/data/system/wildos-winmoded.serviceindex c495fe3..9d5d5ad 100644--- a/packages/wildos-winmode/data/system/wildos-winmoded.service+++ b/packages/wildos-winmode/data/system/wildos-winmoded.service@@ -1,6 +1,8 @@[Unit]Description=Windows mode-After=libvirtd.service virtqemud.service network.target+# Stopped before libvirt-guests, which would otherwise shut Windows down+# under a save to disk that is still being written.+After=libvirtd.service virtqemud.service libvirt-guests.service network.target[Service]# Started on demand over D-Bus, never at boot: Windows itself only starts@@ -10,3 +12,6 @@ BusName=org.wildos.WindowsMode1ExecStart=/usr/libexec/wildos/winmoded# Pausing or saving Windows can take a while with several GB in memory.TimeoutStopSec=120+# A save to disk under way at shutdown is let finish (main() waits for+# it): only winmoded itself is asked to stop, not the virsh doing the save.+KillMode=mixeddiff --git a/packages/wildos-winmode/debian/changelog b/packages/wildos-winmode/debian/changelogindex c5a697b..5e5c41a 100644--- a/packages/wildos-winmode/debian/changelog+++ b/packages/wildos-winmode/debian/changelog@@ -1,3 +1,33 @@+wildos-winmode (0.3.2) trixie; urgency=medium++ * Save to disk is back. It was held back because a save would not load+ on a PC with the old virtiofs shared folder; the folders now travel+ over the RemoteApp connection, a Windows still carrying that share+ loses it at its next start from off, and the code that took the+ share out and put it back is gone. Windows is paused before it is+ saved and comes back running, and the connection ends as it saves,+ so Remote Desktop can't reopen the first app a second time when+ Windows comes back; a new connection brings its windows back.+ * Resume, Start, Restart and Shut down for the taskbar's Windows mode+ panel (Power on the service and the agent, "wildos-winmode power").+ Shut down goes through Windows' guest agent, else the power button,+ and Windows is switched off after 90 seconds if it hasn't finished,+ which is said. Restart is a shut down and a start from off.+ * Unsaved work: wild-guest reads Word, Excel and PowerPoint's own Saved+ state over COM ("documents"), and window titles mark it for apps+ such as Notepad. Restart and Shut down ask first when anything is,+ or might be, unsaved.+ * Shutting down, restarting or signing out of Wild OS with Windows apps+ open asks (board 9.9) through ksmserver's session management, as an+ app with unsaved work does: Keep my work saves Windows to disk and+ the next sign-in brings its apps back; after 60 seconds that is the+ choice. A PC shut down any other way with apps open saves Windows+ too, under a logind delay lock (InhibitDelayMaxSec 60).+ * The panel says how long Windows has been paused, saved or off, and+ how long it last took to start and to come back from disk.++ -- Wild OS Developers <[email protected]> Tue, 10 Nov 2026 13:30:00 +0000+wildos-winmode (0.3.1) trixie; urgency=medium* Windows has all the memory it is set to while any Windows app is open.diff --git a/packages/wildos-winmode/debian/control b/packages/wildos-winmode/debian/controlindex 183ee53..3190712 100644--- a/packages/wildos-winmode/debian/control+++ b/packages/wildos-winmode/debian/control@@ -36,6 +36,8 @@ Depends:gir1.2-glib-2.0,python3-xlib,python3-pil,+ libsm6,+ libice6,dbus,polkitd,nftables,@@ -67,7 +69,6 @@ Depends:ovmf,swtpm,swtpm-tools,- virtiofsd,freerdp3-x11,wildos-rdp,xorriso,diff --git a/packages/wildos-winmode/debian/wildos-winmode.install b/packages/wildos-winmode/debian/wildos-winmode.installindex 0ec4220..dd083b5 100644--- a/packages/wildos-winmode/debian/wildos-winmode.install+++ b/packages/wildos-winmode/debian/wildos-winmode.install@@ -14,6 +14,9 @@ winmode/system.py usr/lib/wildos/winmode/winmodewinmode/theme.py usr/lib/wildos/winmode/winmodewinmode/virsh.py usr/lib/wildos/winmode/winmodewinmode/windows.py usr/lib/wildos/winmode/winmode+winmode/documents.py usr/lib/wildos/winmode/winmode+winmode/xsmp.py usr/lib/wildos/winmode/winmode+data/logind/50-wildos-winmode.conf usr/lib/systemd/logind.conf.dbin/winmoded usr/libexec/wildosbin/wildos-winmode usr/binbuild/wild-guest.exe usr/share/wildos/winmode/guestdiff --git a/packages/wildos-winmode/guest/api.txt b/packages/wildos-winmode/guest/api.txtindex 175b2b2..ca9c818 100644--- a/packages/wildos-winmode/guest/api.txt+++ b/packages/wildos-winmode/guest/api.txt@@ -134,6 +134,7 @@ member [mscorlib]System.Math.Min :: int32(int32, int32)member [mscorlib]System.NotSupportedException..ctor :: instance void()member [mscorlib]System.Object..ctor :: instance void()member [mscorlib]System.Object.GetType :: instance class [mscorlib]System.Type()+member [mscorlib]System.Object.ReferenceEquals :: bool(object, object)member [mscorlib]System.Object.ToString :: instance string()member [mscorlib]System.ParamArrayAttribute..ctor :: instance void()member [mscorlib]System.Reflection.Assembly.GetExecutingAssembly :: class [mscorlib]System.Reflection.Assembly()@@ -149,6 +150,7 @@ member [mscorlib]System.Runtime.InteropServices.GCHandle.Free :: instance void()member [mscorlib]System.Runtime.InteropServices.Marshal.AllocHGlobal :: native int(int32)member [mscorlib]System.Runtime.InteropServices.Marshal.Copy :: void(native int, unsigned int8[], int32, int32)member [mscorlib]System.Runtime.InteropServices.Marshal.FreeHGlobal :: void(native int)+member [mscorlib]System.Runtime.InteropServices.Marshal.GetActiveObject :: object(string)member [mscorlib]System.Runtime.InteropServices.Marshal.GetLastWin32Error :: int32()member [mscorlib]System.Runtime.InteropServices.Marshal.PtrToStringUni :: string(native int)member [mscorlib]System.Runtime.InteropServices.Marshal.PtrToStructure :: object(native int, class [mscorlib]System.Type)@@ -258,6 +260,7 @@ member class [mscorlib]System.Collections.Generic.Dictionary`2<string,object>.semember class [mscorlib]System.Collections.Generic.Dictionary`2<string,string>..ctor :: instance void(class [mscorlib]System.Collections.Generic.IEqualityComparer`1<!0>)member class [mscorlib]System.Collections.Generic.Dictionary`2<string,string>.Add :: instance void(!0, !1)member class [mscorlib]System.Collections.Generic.Dictionary`2<string,string>.ContainsKey :: instance bool(!0)+member class [mscorlib]System.Collections.Generic.Dictionary`2<string,string>.GetEnumerator :: instance valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator<!0,!1>()member class [mscorlib]System.Collections.Generic.Dictionary`2<string,string>.TryGetValue :: instance bool(!0, [out] !1&)member class [mscorlib]System.Collections.Generic.Dictionary`2<unsigned int32,class WildOS.Guest.SessionClient>..ctor :: instance void()member class [mscorlib]System.Collections.Generic.Dictionary`2<unsigned int32,class WildOS.Guest.SessionClient>.ContainsKey :: instance bool(!0)@@ -316,12 +319,16 @@ member class [mscorlib]System.Func`1<!0>.Invoke :: instance !0()member class [mscorlib]System.Func`1<class [mscorlib]System.Collections.Generic.Dictionary`2<string,object>>..ctor :: instance void(object, native int)member class [mscorlib]System.Func`1<class [mscorlib]System.Collections.Generic.List`1<object>>..ctor :: instance void(object, native int)member class [mscorlib]System.Predicate`1<class WildOS.Guest.WarmPool/Entry>..ctor :: instance void(object, native int)+member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator<string,string>.MoveNext :: instance bool()+member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Enumerator<string,string>.get_Current :: instance valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2<!0,!1>()member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<unsigned int32,class WildOS.Guest.SessionClient>.MoveNext :: instance bool()member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<unsigned int32,class WildOS.Guest.SessionClient>.get_Current :: instance !0()member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<string,object>.MoveNext :: instance bool()member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<string,object>.get_Current :: instance !1()member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<unsigned int32,class WildOS.Guest.SessionClient>.MoveNext :: instance bool()member valuetype [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<unsigned int32,class WildOS.Guest.SessionClient>.get_Current :: instance !1()+member valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2<string,string>.get_Key :: instance !0()+member valuetype [mscorlib]System.Collections.Generic.KeyValuePair`2<string,string>.get_Value :: instance !1()member valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class WildOS.Guest.SessionClient>.MoveNext :: instance bool()member valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class WildOS.Guest.SessionClient>.get_Current :: instance !0()member valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator<class WildOS.Guest.WarmPool/Entry>.MoveNext :: instance bool()@@ -369,6 +376,7 @@ type [mscorlib]System.Bytetype [mscorlib]System.Chartype [mscorlib]System.Collections.DictionaryEntrytype [mscorlib]System.Collections.Generic.Dictionary`2+type [mscorlib]System.Collections.Generic.Dictionary`2/Enumeratortype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollectiontype [mscorlib]System.Collections.Generic.Dictionary`2/KeyCollection/Enumeratortype [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection@@ -376,6 +384,7 @@ type [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection/Enumeratotype [mscorlib]System.Collections.Generic.IDictionary`2type [mscorlib]System.Collections.Generic.IEnumerable`1type [mscorlib]System.Collections.Generic.IEqualityComparer`1+type [mscorlib]System.Collections.Generic.KeyValuePair`2type [mscorlib]System.Collections.Generic.List`1type [mscorlib]System.Collections.Generic.List`1/Enumeratortype [mscorlib]System.Collections.IDictionarydiff --git a/packages/wildos-winmode/guest/wild-guest/Service.cs b/packages/wildos-winmode/guest/wild-guest/Service.csindex 7191dec..9466b96 100644--- a/packages/wildos-winmode/guest/wild-guest/Service.cs+++ b/packages/wildos-winmode/guest/wild-guest/Service.cs@@ -241,6 +241,7 @@ namespace WildOS.Guestcase "running":case "launch":case "warm-list":+ case "documents":var target = Target(m);if (target != null){diff --git a/packages/wildos-winmode/guest/wild-guest/Session.cs b/packages/wildos-winmode/guest/wild-guest/Session.csindex 5e9fe40..8836fac 100644--- a/packages/wildos-winmode/guest/wild-guest/Session.cs+++ b/packages/wildos-winmode/guest/wild-guest/Session.cs@@ -252,6 +252,14 @@ namespace WildOS.Guestcase "warm-list":reply = Message("warm-list", "apps", pool.Describe());break;+ case "documents":+ // Office busy past the wait still leaves the window+ // titles to go by; office is then null, not empty.+ List<object> office = null;+ try { office = pool.OfficeDocuments(); }+ catch (Exception e) { Log.Write("documents: " + e.Message); }+ reply = Message("documents", "office", office, "windows", Windows.List());+ break;case "theme":Theme.Apply(m);reply = Message("theme", "ok", true, "applied", true);diff --git a/packages/wildos-winmode/guest/wild-guest/Warm.cs b/packages/wildos-winmode/guest/wild-guest/Warm.csindex d7d6ef0..04f6cd3 100644--- a/packages/wildos-winmode/guest/wild-guest/Warm.cs+++ b/packages/wildos-winmode/guest/wild-guest/Warm.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.Globalization;using System.IO;using System.Reflection;using System.Runtime.InteropServices;@@ -120,6 +121,62 @@ namespace WildOS.Guestreturn Call(delegate { return Take(path, args); }, 15000);}+ // The documents open in Word, Excel and PowerPoint, each with Office's+ // own Saved property, for the question asked before Windows shuts+ // down. Only the instance Windows hands out for each app (the first+ // one registered) can be reached; a second Excel started on its own+ // is not, and its windows go by their titles alone. Warm instances+ // are hidden and hold nothing, so they are passed over.+ public List<object> OfficeDocuments()+ {+ return Call(delegate { return ReadOfficeDocuments(); }, 8000);+ }++ List<object> ReadOfficeDocuments()+ {+ var list = new List<object>();+ foreach (var pair in officeProgIds)+ {+ if (System.Diagnostics.Process.GetProcessesByName(pair.Key).Length == 0) continue;+ object app;+ try { app = Marshal.GetActiveObject(pair.Value); }+ catch (Exception) { continue; }+ // The same COM object on the same thread is the same wrapper,+ // so a warm entry is recognised by reference.+ if (warm.Exists(e => ReferenceEquals(e.Office, app))) continue;+ try+ {+ object docs = Get(app, pair.Key == "excel" ? "Workbooks" : pair.Key == "powerpnt" ? "Presentations" : "Documents");+ long count = Convert.ToInt64(Get(docs, "Count"), CultureInfo.InvariantCulture);+ for (long i = 1; i <= count; i++)+ {+ object doc = docs.GetType().InvokeMember("Item", BindingFlags.InvokeMethod | BindingFlags.GetProperty, null, docs,+ new object[] { (int)i });+ // PowerPoint answers with an MsoTriState, -1 for true.+ object saved = Get(doc, "Saved");+ var d = new Dictionary<string, object>();+ d["app"] = pair.Key;+ d["name"] = Convert.ToString(Get(doc, "Name"));+ d["path"] = Convert.ToString(Get(doc, "FullName"));+ d["saved"] = saved is bool ? (bool)saved : Convert.ToInt64(saved, CultureInfo.InvariantCulture) != 0;+ list.Add(d);+ Marshal.ReleaseComObject(doc);+ }+ Marshal.ReleaseComObject(docs);+ }+ catch (Exception e)+ {+ // Busy with a dialog of its own, Office refuses calls.+ Log.Write("documents: " + pair.Key + ": " + e.Message);+ }+ finally+ {+ Marshal.ReleaseComObject(app);+ }+ }+ return list;+ }+void Run(){DateTime nextCheck = DateTime.UtcNow.AddSeconds(15);diff --git a/packages/wildos-winmode/setup/qml/StepLicence.qml b/packages/wildos-winmode/setup/qml/StepLicence.qmlindex b763612..46d454a 100644--- a/packages/wildos-winmode/setup/qml/StepLicence.qml+++ b/packages/wildos-winmode/setup/qml/StepLicence.qml@@ -41,7 +41,7 @@ Page {id: withKeychecked: truetitle: "Enter a product key"- description: "A Windows 11 Pro key, from a sticker, an email or a licence you bought for another PC."+ description: "A Windows 11 Pro key from a sticker, an email or another PC."RowLayout {spacing: 8@@ -80,23 +80,27 @@ Page {id: thisPcvisible: page.kind === "inuse" && Setup.edition !== "home"title: "Use this PC's licence"- description: "Windows mode activates with the licence built into this PC. The Windows already installed isn't changed. Microsoft's terms count each copy of Windows, so you may want to remove the old one later."+ description: "Activates with this PC's built-in licence and leaves the installed Windows alone. Microsoft's terms count each copy, so you may want to remove the old one later."}RadioCard {id: noKeytitle: "Continue without activating"- description: "Windows and your programs work the same. Microsoft's terms ask you to buy a licence; you can add a key any time in Settings."- }-- RadioCard {- id: skipNone- title: "Skip Windows mode for now"- description: "Many Windows programs still run on the desktop without it, and Office works in the browser. Turn it on later in Settings."+ description: "Everything works the same. Microsoft's terms still ask you to buy a licence, and you can add a key later in Settings."}}+ // Skipping is not a licence choice, so it sits in the footer rather than+ // taking a card of its own.buttons: [+ UI.LinkButton {+ text: "Skip Windows mode for now"+ size: 12+ onClicked: page.skipped()+ },+ Item {+ implicitWidth: 6+ },UI.Button {text: "Back"onClicked: page.back()@@ -106,9 +110,7 @@ Page {text: "Continue"enabled: !withKey.checked || Setup.keyShapeValid(keyField.text)onClicked: {- if (skipNone.checked) {- page.skipped();- } else if (thisPc.checked && thisPc.visible) {+ if (thisPc.checked && thisPc.visible) {page.chosen("firmware", "", "");} else if (noKey.checked) {page.chosen("none", "", "");diff --git a/packages/wildos-winmode/setup/qml/StepOptions.qml b/packages/wildos-winmode/setup/qml/StepOptions.qmlindex 0f7c5e0..b092c3d 100644--- a/packages/wildos-winmode/setup/qml/StepOptions.qml+++ b/packages/wildos-winmode/setup/qml/StepOptions.qml@@ -17,8 +17,8 @@ Page {property bool termsAccepted: falsetitle: "Choose options"- text: "These suit most people. You can change any of them later in Settings, under Windows apps."- note: Setup.office ? "About 30 GB in total, including Microsoft 365." : "About 26 GB in total."+ text: "These suit most people. You can change any of them later in Settings, under Windows apps. "+ + (Setup.office ? "About 30 GB in total, including Microsoft 365." : "About 26 GB in total.")UI.Card {Layout.fillWidth: true@@ -146,73 +146,23 @@ Page {}}- ColumnLayout {- Layout.fillWidth: true- spacing: 10-- UI.Label {- text: "Your files"- size: 15- font.weight: Font.DemiBold- Accessible.role: Accessible.Heading- }-- UI.Card {- Layout.fillWidth: true-- Column {- width: parent.width-- UI.ListRow {- title: "Folders Windows apps can see"- description: "Saving in Word or Excel goes straight into these folders on Wild OS"-- Row {- anchors.verticalCenter: parent.verticalCenter- spacing: 6-- Repeater {- model: Setup.folders-- UI.Chip {- required property string modelData- text: modelData- }- }- }- }- }- }- }-- UI.Card {- Layout.fillWidth: true-- Column {- width: parent.width-- UI.ListRow {- title: "I accept Microsoft's licence terms"- description: Setup.office- ? "Windows and Microsoft 365 are installed under Microsoft's licence terms."- : "Windows is installed under Microsoft's licence terms."- interactive: true- onClicked: page.termsAccepted = !page.termsAccepted- leading: UI.CheckBox {- checked: page.termsAccepted- Accessible.name: "I accept Microsoft's licence terms"- onToggled: page.termsAccepted = checked- }- }- }- }-+ // The terms tick sits in the footer beside Set up, so it is never+ // scrolled out of sight.buttons: [+ UI.CheckBox {+ text: "I accept Microsoft's licence terms"+ checked: page.termsAccepted+ onToggled: page.termsAccepted = checked+ },UI.LinkButton {- text: "Read the terms"+ text: "Read them"size: 12+ Accessible.name: "Read Microsoft's licence terms"onClicked: Setup.openUrl("https://www.microsoft.com/en-gb/useterms")},+ Item {+ implicitWidth: 6+ },UI.Button {text: "Back"onClicked: page.back()diff --git a/packages/wildos-winmode/tests/test_power.py b/packages/wildos-winmode/tests/test_power.pynew file mode 100644index 0000000..7a03dd5--- /dev/null+++ b/packages/wildos-winmode/tests/test_power.py@@ -0,0 +1,258 @@+"""Save to disk, Resume, Start, Restart and Shut down, and the question+asked before Windows or Wild OS shuts down with work open."""++import base64+import json+import os+import unittest++from winmode import documents, rdp++DATA = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "data")+++def window(image, title, **extra):+ return dict({"hwnd": hash(title) & 0xffff, "image": image, "title": title, "visible": True, "tool": False, "owner": 0}, **extra)+++class Documents(unittest.TestCase):+ def test_office_says_itself_and_titles_say_the_rest(self):+ excel = r"C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"+ ws = [+ window(excel, "Budget 2027 - Excel"),+ window(excel, "Book1 - Excel"),+ window(r"C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE", "Quote.docx - Word"),+ # Windows 11's Notepad, as seen in the test VM.+ window(r"C:\Windows\System32\notepad.exe", "*save and restore test, unsaved - Notepad"),+ window(r"C:\Windows\System32\notepad.exe", "notes.txt - Notepad"),+ window(r"C:\Program Files\Some\viewer.exe", "Map"),+ window(r"C:\Windows\explorer.exe", "Documents"),+ window(r"C:\Windows\System32\notepad.exe", "Save as", owner=12),+ ]+ office = [{"app": "excel", "name": "Budget 2027.xlsx", "saved": False},+ {"app": "excel", "name": "Book1", "saved": True},+ {"app": "winword", "name": "Quote.docx", "saved": True}]+ docs = documents.documents(ws, office)+ got = {d["document"]: d["unsaved"] for d in docs}+ self.assertEqual(got, {"Budget 2027.xlsx": True, "Book1": False, "Quote.docx": False,+ "save and restore test, unsaved": True, "notes.txt": False, "Map": None})+ # Unsaved first, then what can't be told, then what is saved.+ self.assertEqual([d["unsaved"] for d in docs], [True, True, None, False, False, False])+ self.assertEqual(docs[0]["app"], "Excel")++ def test_office_out_of_reach_is_not_taken_as_saved(self):+ ws = [window(r"C:\O\WINWORD.EXE", "Document1 - Word")]+ self.assertIsNone(documents.documents(ws, None)[0]["unsaved"])+ # A document Office didn't list (a second Word, say).+ self.assertIsNone(documents.documents(ws, [{"app": "winword", "name": "Other.docx", "saved": True}])[0]["unsaved"])++ def test_dot_markers_and_app_names(self):+ ws = [window(r"C:\VS\Code.exe", "\u25cf main.py - project - Visual Studio Code")]+ doc = documents.documents(ws, None, lambda image: "Visual Studio Code")[0]+ self.assertEqual((doc["app"], doc["document"], doc["unsaved"]), ("Visual Studio Code", "main.py - project", True))++ def test_asking_first(self):+ self.assertFalse(documents.needs_asking([]))+ self.assertFalse(documents.needs_asking([{"unsaved": False}]))+ self.assertTrue(documents.needs_asking([{"unsaved": False}, {"unsaved": None}]))+ self.assertTrue(documents.needs_asking([{"unsaved": True}]))+++class SaveToDisk(unittest.TestCase):+ OLD = """<domain type='kvm'>+ <name>wildos-windows</name>+ <memoryBacking>+ <source type='memfd'/>+ <access mode='shared'/>+ </memoryBacking>+ <devices>+ <disk type='file' device='disk'><source file='/x.qcow2'/></disk>+ <filesystem type='mount' accessmode='passthrough'>+ <driver type='virtiofs' queue='1024'/>+ <binary path='/usr/libexec/virtiofsd'/>+ <source dir='/var/lib/wildos/winmode/share'/>+ <target dir='wildos'/>+ </filesystem>+ <filesystem type='mount'><source dir='/other'/><target dir='9p'/></filesystem>+ <channel type='unix'><target type='virtio' name='org.wildos.guest.0'/></channel>+ </devices>+</domain>"""++ def test_the_old_shared_folder_comes_out(self):+ from winmode import system+ self.assertTrue(system.has_virtiofs(self.OLD))+ new = system.drop_virtiofs(self.OLD)+ self.assertFalse(system.has_virtiofs(new))+ self.assertNotIn("memoryBacking", new)+ # Everything else stays, another kind of shared folder included.+ self.assertIn("target dir='9p'", new)+ self.assertIn("org.wildos.guest.0", new)+ self.assertIn("/x.qcow2", new)+ with open(os.path.join(DATA, "templates", "domain.xml.in"), encoding="utf-8") as f:+ template = f.read()+ self.assertFalse(system.has_virtiofs(template))+ self.assertEqual(system.drop_virtiofs(template), template)++ def test_since_survives_a_service_restart_only_when_it_still_holds(self):+ from winmode import system+ s = system.Service.__new__(system.Service)+ s.state = {"since": {"state": "shut off", "at": 100}}+ s.save_state = lambda: None+ s.note_since("", "shut off")+ self.assertEqual(s.state["since"], {"state": "shut off", "at": 100})+ s.note_since("", "paused")+ self.assertEqual(s.state["since"], {"state": "paused", "at": None})+ s.state["kept"] = {"at": 1}+ s.note_since("paused", "saved")+ self.assertIn("kept", s.state)+ self.assertGreater(s.state["since"]["at"], 0)+ s.note_since("saved", "running")+ self.assertNotIn("kept", s.state)++ def test_a_reconnection_brings_windows_back_without_starting_an_app(self):+ args = rdp.resume_arguments("192.168.207.10", 3389, "wild", "PC-W", drive="/tmp/drive")+ app = [a for a in args if a.startswith("/app:")][0]+ start = json.loads(base64.b64decode(app.split("cmd:--start ", 1)[1]))+ self.assertEqual(start["path"], "")+ self.assertIn("+auto-reconnect", args)+++class Defer:+ def __init__(self):+ self.out = []++ def done(self, value):+ self.out.append(value)+++class Power(unittest.TestCase):+ def agent(self, docs):+ from winmode import agent+ a = agent.Agent.__new__(agent.Agent)+ a.calls, a.asked, a.closed, a.answers = [], [], [], []+ a.windows, a.host, a.registry, a.waking = [], {}, {}, False+ a.conn = type("Conn", (), {"open": True, "running": True, "close": lambda c: a.closed.append(True)})()+ a.documents_now = lambda done, timeout=20, unanswered=None: unanswered() if docs is None and unanswered else done(docs or [])+ a.ask = lambda action, d, answered: (a.asked.append(action), answered(a.answers.pop(0)))+ a.call_json = lambda method, args=None, signature=None, done=None, timeout=600: (+ a.calls.append((method, args)), done and done({"ok": True}))+ a.refresh_host = lambda then=None: None+ a.reopen_windows = lambda within=90: None+ a.prepare_session = lambda: None+ a.notify = lambda text: a.calls.append(("notify", text))+ return a++ def test_shut_down_with_nothing_unsaved_goes_ahead(self):+ a = self.agent([{"app": "Notepad", "document": "a.txt", "unsaved": False}])+ d = Defer()+ a.m_power(None, "shutdown", d)+ self.assertEqual(a.asked, [])+ self.assertEqual(a.calls, [("Power", ("shutdown",))])+ self.assertEqual(d.out, [""])+ # The connection ends first, or it would reconnect by itself.+ self.assertTrue(a.closed)++ def test_restart_with_unsaved_work_asks_and_go_back_changes_nothing(self):+ a = self.agent([{"app": "Excel", "document": "Budget", "unsaved": True}])+ a.answers = ["back"]+ d = Defer()+ a.m_power(None, "restart", d)+ self.assertEqual(a.asked, ["windows-restart"])+ self.assertEqual(a.calls, [])+ self.assertEqual(d.out, [""])++ def test_save_to_disk_instead_of_shutting_down(self):+ a = self.agent([{"app": "Excel", "document": "Budget", "unsaved": True}])+ a.answers = ["keep"]+ a.m_power(None, "shutdown", Defer())+ self.assertEqual(a.calls, [("Power", ("save",))])++ def test_switched_off_is_said(self):+ a = self.agent([])+ a.call_json = lambda method, args=None, signature=None, done=None, timeout=600: done({"ok": True, "forced": True})+ d = Defer()+ a.m_power(None, "shutdown", d)+ self.assertIn("switched it off", d.out[0])++ def leave(self, docs, answer, keep_ok=True):+ a = self.agent(docs)+ a.leaving = type("L", (), {"current": lambda self: "restart"})()+ a.answers = [answer]+ if not keep_ok:+ a.call_json = lambda method, args=None, signature=None, done=None, timeout=600: (+ a.calls.append((method, args)), done and done({"ok": args != ("keep",), "error": "x"}))+ finished = []+ a.ask_before_leaving(finished.append)+ return a, finished++ def test_leaving_keeps_work_by_default(self):+ a, finished = self.leave([{"app": "Excel", "document": "Budget", "unsaved": True}], "keep")+ self.assertEqual(a.asked, ["restart"])+ self.assertEqual(a.calls, [("Power", ("keep",))])+ self.assertEqual(finished, [False])+ self.assertTrue(a.closed)++ def test_leaving_unasked_is_kept_too(self):+ a, finished = self.leave([{"app": "Excel", "document": "Budget", "unsaved": True}], "error")+ self.assertEqual(a.calls, [("Power", ("keep",))])++ def test_leaving_goes_back_or_closes_without_saving(self):+ a, finished = self.leave([{"app": "Excel", "document": "Budget", "unsaved": True}], "back")+ self.assertEqual((a.calls, finished), ([], [True]))+ a, finished = self.leave([{"app": "Excel", "document": "Budget", "unsaved": True}], "discard")+ self.assertEqual((a.calls, finished), ([("Power", ("shutdown",))], [False]))++ def test_leaving_with_nothing_open_asks_nothing(self):+ a, finished = self.leave([], "keep")+ self.assertEqual((a.asked, a.calls, finished), ([], [], [False]))++ def test_a_missing_service_never_holds_the_session(self):+ # winmoded not answering: nothing asked, the session ends.+ a, finished = self.leave(None, "keep")+ self.assertEqual((a.asked, a.calls, finished), ([], [], [False]))++ def test_a_save_that_does_not_answer_lets_the_session_end(self):+ a = self.agent([{"app": "Excel", "document": "Budget", "unsaved": True}])+ a.leaving = type("L", (), {"current": lambda self: "signout"})()+ a.answers = ["keep"]+ a.call_json = lambda method, args=None, signature=None, done=None, timeout=600: done(+ {"ok": False, "error": "Timeout was reached", "unanswered": True})+ finished = []+ a.ask_before_leaving(finished.append)+ self.assertEqual(finished, [False])++ def test_the_session_manager_is_never_left_waiting(self):+ from unittest import mock+ from winmode import xsmp+ c = xsmp.Client.__new__(xsmp.Client)+ c.log, c.pending, c.conn = (lambda *a: None), True, 1+ done = []+ c.sm = type("SM", (), {"SmcInteractDone": lambda self, conn, cancel: done.append(("interact", cancel)),+ "SmcSaveYourselfDone": lambda self, conn, ok: done.append(("saved", ok))})()+ timers = []+ c.ask = lambda finish: None # the question never comes back+ with mock.patch.object(xsmp.GLib, "timeout_add_seconds", lambda s, fn: (timers.append((s, fn)), 7)[1]), \+ mock.patch.object(xsmp.GLib, "source_remove", lambda t: None):+ c._interact_granted(None, None)+ self.assertEqual(timers[0][0], xsmp.Client.INTERACT_LIMIT)+ timers[0][1]()+ self.assertEqual(done, [("interact", 0), ("saved", 1)])++ def test_a_save_that_fails_calls_the_shutdown_off_and_says_so(self):+ a, finished = self.leave([{"app": "Excel", "document": "Budget", "unsaved": True}], "keep", keep_ok=False)+ self.assertEqual(finished, [True])+ self.assertTrue(any(c[0] == "notify" and "didn't restart" in c[1] for c in a.calls))+ # And the apps come back.+ self.assertIn(("Power", ("resume",)), a.calls)++ def test_a_connection_ends_as_windows_goes_to_disk(self):+ a = self.agent([])+ a.end_connection_if_gone({"action": "save", "vm": "running"})+ self.assertEqual(a.closed, [True])+ a.closed.clear()+ a.end_connection_if_gone({"action": None, "vm": "paused"})+ self.assertEqual(a.closed, [])+++if __name__ == "__main__":+ unittest.main()diff --git a/packages/wildos-winmode/winmode/agent.py b/packages/wildos-winmode/winmode/agent.pyindex 8a317c9..6f0e3e8 100644--- a/packages/wildos-winmode/winmode/agent.py+++ b/packages/wildos-winmode/winmode/agent.py@@ -22,7 +22,7 @@ import timefrom gi.repository import Gio, GLib-from . import config, dbusutil, launchers, msdl, paths, rdp, theme+from . import config, dbusutil, documents, launchers, msdl, paths, rdp, theme, xsmpXML = """<node>@@ -50,6 +50,11 @@ XML = """<arg name="files" type="as" direction="in"/><arg type="as" direction="out"/></method>+ <method name="Power">+ <arg name="action" type="s" direction="in"/>+ <arg type="s" direction="out"/>+ </method>+ <method name="Documents"><arg type="s" direction="out"/></method><method name="RefreshApps"><arg type="s" direction="out"/></method><method name="SetOption"><arg name="key" type="s" direction="in"/>@@ -87,6 +92,17 @@ NOT_YET = "This isn't available yet."SESSION_WAIT = 90# Seconds after sign-in before Windows is started ahead of time.PRESTART_DELAY = 45+# Seconds after the agent starts before Windows apps kept as Wild OS shut+# down are brought back.+KEPT_DELAY = 5+# The question before Windows (or Wild OS) shuts down waits for the person;+# the system dialog takes the safe choice itself after 60 seconds.+ASK_TIMEOUT = 600+# Windows' own restart and shutdown can take minutes with updates.+POWER_TIMEOUT = 900+# Keeping Windows apps' work as the session ends: a save that takes longer+# carries on, but the session's end no longer waits for it.+LEAVE_SAVE_TIMEOUT = 75# A launch is watched every 1.5 s for up to two minutes; its program gone# on three polls in a row (4.5 s, longer than any launcher takes to hand# over) with no new window means it ended before it opened.@@ -262,6 +278,8 @@ class Agent:"OutsideSharedFolders": (self.m_outside, "as", False),"CopyIntoDocuments": (self.m_copy, "as", False),"RefreshApps": (self.m_refresh, "s", False),+ "Power": (self.m_power, "s", False),+ "Documents": (self.m_documents, "s", False),"SetOption": (self.m_set_option, "s", False),"SetProductKey": (self.m_set_product_key, "s", False),"CheckUpdates": (lambda sender: NOT_YET, "s", False),@@ -297,8 +315,16 @@ class Agent:# memory into a session that is ready. The service declines on battery,# without enough free memory, or when Windows is already up.GLib.timeout_add_seconds(PRESTART_DELAY, lambda: (self.prestart(), False)[1])+ # Work kept as Wild OS last shut down (board 9.9) comes back a moment+ # after sign-in, once the desktop is up.+ GLib.timeout_add_seconds(KEPT_DELAY, lambda: (self.reopen_kept(), False)[1])+ # Asked as the session ends, like an app with unsaved work.+ self.leaving = xsmp.LeaveWatcher(log)+ self.session_end = xsmp.Client(session, self.windows_open, self.ask_before_leaving, log)def prestart(self):+ if self.host.get("kept"):+ returndef done(reply):if isinstance(reply, GLib.Error):log("starting Windows ahead of time:", reply.message)@@ -367,7 +393,9 @@ class Agent:def call_json(self, method, args=None, signature=None, done=None, timeout=600):def parsed(value):if isinstance(value, GLib.Error):- done({"ok": False, "error": value.message})+ # The service didn't answer at all (not there, crashed or+ # too slow), as against answering with an error.+ done({"ok": False, "error": value.message, "unanswered": True})returntry:done(json.loads(value) if isinstance(value, str) else {})@@ -406,11 +434,23 @@ class Agent:self.setup_finished()if isinstance(st.get("windows"), list):self.set_windows(st["windows"])+ self.end_connection_if_gone(st)self.changed()if then:then()self.call_json("Status", done=got, timeout=10)+ def end_connection_if_gone(self, st):+ """A connection to a Windows that is being saved to disk, or is off,+ ends here. Left to itself it reconnects once Windows is back, and+ Remote Desktop then starts the connection's first app again: a+ second copy of whatever was opened first. Windows' own windows come+ back through a new connection (reopen_windows)."""+ if st.get("action") in ("save", "keep", "shutdown", "restart") or st.get("vm") == "saved":+ if self.conn.open and not self.waking:+ log("Windows is going to disk or off: ending the connection")+ self.conn.close()+def changed(self):self.export.emit("Changed")@@ -440,6 +480,7 @@ class Agent:for w in ws:seen = self.tagger.seen_at_handle(w.get("hwnd")) if self.tagger else Noneself.window_appeared(self.app_for(w), w.get("hwnd"), seen or now, "window on screen" if seen else "window listed")+ self.reopen_if_needed()# Per-launch timing (brief 5.5a). Each launch records, in seconds from# the click: connection_ready (Windows awake and the session able to@@ -1062,6 +1103,195 @@ class Agent:self.call("Firmware", None, None, lambda r: defer.done(r if isinstance(r, str) else "{}"), timeout=120)return defer+ # Pause, Save to disk, Resume, Start, Restart and Shut down (the taskbar's+ # Windows mode panel), and the question before Windows or Wild OS shuts+ # down with work open (board 9.9).+ def m_power(self, sender, action, defer):+ """"" when done, or a sentence to show. Restart and Shut down ask+ first when an app has unsaved changes, or might (an app whose state+ Windows can't tell): Go back leaves everything as it is; for Shut+ down, Save to disk instead keeps the work and frees the memory."""+ if action not in ("pause", "save", "resume", "start", "restart", "shutdown"):+ return "That isn't something Windows mode can do."++ def answered(choice):+ if choice == "back":+ defer.done("")+ elif choice == "error":+ defer.done("Windows mode couldn't check for unsaved work, so Windows was left as it is.")+ else:+ self.power(lambda message: defer.done(message), "save" if choice == "keep" else action)++ def checked(docs):+ if not documents.needs_asking(docs):+ self.power(defer.done, action)+ else:+ self.ask("windows-" + action, docs, answered)++ if action in ("restart", "shutdown"):+ self.documents_now(checked)+ else:+ self.power(defer.done, action)+ return defer++ def power(self, done, action):+ failed = {"pause": "Windows couldn't be paused.", "save": "Windows couldn't be saved to disk.",+ "resume": "Windows couldn't be resumed.", "start": "Windows couldn't start.",+ "restart": "Windows couldn't restart.", "shutdown": "Windows couldn't shut down."}++ def finished(reply):+ self.refresh_host()+ if not reply.get("ok"):+ log(action, "failed:", reply.get("error"))+ done(reply.get("message") or failed.get(action, "That didn't work.") + " Try again, or restart the PC.")+ return+ if action in ("resume", "start", "restart"):+ self.reopen_windows()+ if action in ("start", "restart"):+ self.prepare_session()+ if reply.get("forced"):+ done("Windows didn't finish shutting down, so Windows mode switched it off.")+ return+ done("")++ # The connection ends first: it would otherwise reconnect to the+ # restored or restarted Windows by itself (end_connection_if_gone).+ if action in ("save", "restart", "shutdown"):+ self.conn.close()+ self.call_json("Power", (action,), "(s)", finished, timeout=POWER_TIMEOUT)++ def reopen_windows(self, within=90):+ """Windows' own windows back on the desktop after a resume: through+ the open connection if it lived through the pause, or through a new+ one that asks for no app. Waits for wild-guest's window list, which+ follows a restore by a few seconds."""+ self.reopen_until = time.monotonic() + within+ self.reopen_if_needed()++ def reopen_if_needed(self):+ if time.monotonic() > getattr(self, "reopen_until", 0) or self.conn.running or self.waking:+ return+ if not any(self.app_for(w) != "" for w in self.windows):+ return+ self.reopen_until = 0++ def go(creds):+ if not creds.get("password") or self.conn.running:+ return+ args = rdp.resume_arguments(self.host.get("guest_address"), self.host.get("rdp_port", 3389), creds["account"],+ creds.get("domain", ""), drive=self.drive_folder())+ try:+ self.conn.start(args, creds["password"])+ log("Windows apps open in Windows are back on the desktop")+ except OSError as e:+ log("couldn't bring Windows apps back:", e)+ self.credentials(go)++ def reopen_kept(self):+ """Windows apps kept as Wild OS last shut down, signed out or+ restarted: Windows is restored and its windows come back."""+ if not self.host.get("kept") or self.waking:+ return+ log("bringing back the Windows apps kept when Wild OS last shut down")+ self.power(lambda message: message and log("reopening kept work:", message), "resume")++ def windows_open(self):+ """Whether the session's end should ask (board 9.9): any Windows app+ open that could hold work."""+ return bool(documents.documents(self.windows, None, self.app_name))++ def app_name(self, image):+ app = self.registry.get(launchers.app_id_for_image(image, self.registry) or "")+ return app["name"] if app else None++ def documents_now(self, done, timeout=20, unanswered=None):+ """What is open in Windows, with what is unsaved (documents.py).+ unanswered(), when given, runs instead when the service doesn't+ answer in time."""+ def got(reply):+ if unanswered and reply.get("unanswered"):+ unanswered()+ return+ windows = reply.get("windows") if isinstance(reply.get("windows"), list) else self.windows+ done(documents.documents(windows, reply.get("office"), self.app_name))+ self.call_json("Documents", done=got, timeout=timeout)++ def m_documents(self, sender, defer):+ self.documents_now(lambda docs: defer.done(json.dumps(docs)))+ return defer++ def ask(self, action, docs, answered):+ """Board 9.9 through wildos-dialogs; answered(keep, discard, back,+ or error when it couldn't be asked)."""+ payload = json.dumps([{"app": d["app"], "document": d["document"], "unsaved": d["unsaved"]} for d in docs])++ def finished(conn, res):+ try:+ choice = conn.call_finish(res).unpack()[0]+ except GLib.Error as e:+ log("the question about open Windows apps couldn't be asked:", e.message)+ choice = "error"+ answered(choice)++ self.session.call("org.wildos.SystemDialogs", "/Dialogs", "org.wildos.SystemDialogs", "AskWindowsShutdown",+ GLib.Variant("(ss)", (action, payload)), GLib.VariantType("(s)"), Gio.DBusCallFlags.NONE,+ ASK_TIMEOUT * 1000, None, finished)++ def ask_before_leaving(self, finish):+ """Wild OS is shutting down, restarting or signing out with Windows+ apps open: board 9.9. Keep my work saves Windows to disk as it is+ (the next sign-in brings it back), Close without saving shuts it+ down, Go back calls the session's end off. finish(cancel)."""+ action = self.leaving.current()+ words = {"restart": "restart", "signout": "sign out"}.get(action, "shut down")++ def kept(reply):+ if reply.get("ok"):+ finish(False)+ return+ if reply.get("unanswered"):+ # Never hold a sign-out for a service that doesn't answer;+ # one still saving carries on, and the PC's own shutdown+ # waits for it.+ log("Windows mode's service didn't answer in time; letting the session end:", reply.get("error"))+ finish(False)+ return+ log("keeping Windows apps' work failed:", reply.get("error"))+ self.notify(f"Windows mode couldn't keep your Windows apps, so Wild OS didn't {words}. "+ "Save your work in them, then try again.")+ finish(True)+ self.power(lambda message: None, "resume")++ def answered(choice):+ if choice == "back":+ finish(True)+ elif choice == "discard":+ self.conn.close()+ self.call_json("Power", ("shutdown",), "(s)", lambda reply: None, timeout=POWER_TIMEOUT)+ finish(False)+ else:+ # Keep, the default after 60 seconds, and the safe choice+ # when the question couldn't be asked at all.+ self.conn.close()+ self.call_json("Power", ("keep",), "(s)", kept, timeout=LEAVE_SAVE_TIMEOUT)++ def checked(docs):+ if docs:+ self.ask(action, docs, answered)+ else:+ finish(False)++ def no_service():+ # Nothing can be kept without it, so nothing is promised.+ log("Windows mode's service didn't answer; not asking about Windows apps")+ finish(False)+ self.documents_now(checked, timeout=8, unanswered=no_service)++ def notify(self, text):+ self.session.call("org.freedesktop.Notifications", "/org/freedesktop/Notifications", "org.freedesktop.Notifications", "Notify",+ GLib.Variant("(susssasa{sv}i)", ("Windows mode", 0, "wildos-windows-app", "Windows mode", text, [], {}, -1)),+ None, Gio.DBusCallFlags.NONE, 5000, None, None)+def setup_finished(self):"""Windows is ready: its apps get Start entries, and files open inthem if the person chose that in setup."""diff --git a/packages/wildos-winmode/winmode/cli.py b/packages/wildos-winmode/winmode/cli.pyindex a35e274..67b056d 100644--- a/packages/wildos-winmode/winmode/cli.py+++ b/packages/wildos-winmode/winmode/cli.py@@ -14,7 +14,11 @@ agent itself.notifies (the taskbar asks every few seconds)wildos-winmode refresh-apps make Start entries for Windows' apps againwildos-winmode windows the Windows windows open now- wildos-winmode idle pause|save pause or save Windows now (the taskbar panel's buttons)+ wildos-winmode idle pause|save pause or save Windows now, straight to the system service+ wildos-winmode power <action> pause, save, resume, start, restart or shutdown (the+ taskbar panel's buttons); restart and shutdown ask+ first when an app may have unsaved work+ wildos-winmode documents what is open in Windows and whether it is savedwildos-winmode launch-stats [--check] launch times by state, 50th and 95th percentile;--check fails when a 95th percentile misses its targetwildos-winmode install-guest put this package's wild-guest into Windows@@ -226,6 +230,14 @@ def main(argv):if cmd == "idle" and rest and rest[0] in ("pause", "save"):print(host("Idle", (rest[0],), "(s)"))return 0+ if cmd == "power" and len(rest) == 1:+ sentence = agent("Power", (rest[0],), "(s)", timeout=1800)+ if sentence:+ tell(sentence)+ return 1 if sentence else 0+ if cmd == "documents":+ print(json.dumps(json.loads(agent("Documents", timeout=30)), indent=1))+ return 0if cmd == "guest" and len(rest) == 1:print(host("GuestRequest", (rest[0],), "(s)"))return 0diff --git a/packages/wildos-winmode/winmode/documents.py b/packages/wildos-winmode/winmode/documents.pynew file mode 100644index 0000000..7385bd5--- /dev/null+++ b/packages/wildos-winmode/winmode/documents.py@@ -0,0 +1,104 @@+"""Which Windows apps hold work not yet saved, for the question asked before+Windows shuts down or restarts (board 9.9 and the panel's Restart and Shut+down). No I/O here, so it can be tested on its own.++What Windows can tell, from best to least:+ - Word, Excel and PowerPoint: Office's own Saved property for each+ document, read by wild-guest over COM ("documents" request). Only the+ instance Windows hands out for each app is reached; a document not in+ that list goes by its window title like any other app.+ - Apps that mark unsaved work in their title, with a "*" (Notepad,+ Notepad++, Paint.NET) or a dot (Visual Studio Code, Sublime Text): a+ marker means unsaved, its absence means saved.+ - Anything else: open, state unknown. Most apps say nothing in their+ title, so an unknown app is never reported as saved.+"""++import os+import re++# Programs that put a marker in their window title while there are unsaved+# changes, so a title without one means everything is saved.+MARKS_UNSAVED = {"notepad", "notepad++", "code", "sublime_text", "paintdotnet"}+# Programs that never hold a document of their own.+NOTHING_TO_SAVE = {"explorer", "calc", "calculatorapp", "systemsettings", "taskmgr", "charmap", "mmc", "control",+ "applicationframehost", "msiexec", "setup"}+OFFICE = {"winword": "Word", "excel": "Excel", "powerpnt": "PowerPoint"}+MARKERS = ("*", "\u25cf", "\u2022")+++def stem(image):+ """C:\\Program Files\\Microsoft Office\\root\\Office16\\WINWORD.EXE -> winword"""+ base = re.split(r"[\\/]", image or "")[-1]+ return os.path.splitext(base)[0].lower()+++def split_title(title):+ """A window title as (document, marked): the document's name without+ the app's name after it, and whether it carries an unsaved marker."""+ t = (title or "").strip()+ marked = False+ for mark in MARKERS:+ if t.startswith(mark):+ t, marked = t[len(mark):].strip(), True+ if t.endswith(mark):+ t, marked = t[:-len(mark)].strip(), True+ # "Budget 2027.xlsx - Excel", "*notes.txt - Notepad": the app comes last.+ if " - " in t:+ t = t.rsplit(" - ", 1)[0].strip()+ # Visual Studio Code: "file.py - folder - Visual Studio Code".+ for mark in MARKERS:+ if t.startswith(mark):+ t, marked = t[len(mark):].strip(), True+ return t, marked+++def _office_match(name, docs):+ """The Office document whose name is this window's: titles drop the+ extension when Windows hides them, so the stem counts too."""+ key = (name or "").lower()+ for d in docs:+ n = str(d.get("name") or "")+ if n.lower() == key or os.path.splitext(n)[0].lower() == key:+ return d+ return None+++def documents(windows, office=None, app_name=None):+ """[{app, document, unsaved: True|False|None, hwnd}] for the app windows+ open in Windows. windows: wild-guest's window list. office: wild-guest's+ Office documents, or None when Office could not be asked. app_name(image)+ gives the name Wild OS shows for a program (its Start entry), or None."""+ out = []+ office = office if isinstance(office, list) else None+ for w in windows or []:+ if not isinstance(w, dict) or not w.get("visible", True) or w.get("tool") or w.get("owner"):+ continue+ s = stem(w.get("image")) or str(w.get("app") or "")+ if s in NOTHING_TO_SAVE:+ continue+ name = (app_name(w.get("image")) if app_name else None) or OFFICE.get(s) or (s[:1].upper() + s[1:])+ document, marked = split_title(w.get("title"))+ unsaved = None+ if s in OFFICE and office is not None:+ d = _office_match(document, [d for d in office if isinstance(d, dict) and d.get("app") == s])+ if d is not None:+ document = str(d.get("name") or document)+ unsaved = not bool(d.get("saved"))+ elif marked:+ unsaved = True+ elif s in MARKS_UNSAVED:+ unsaved = False+ out.append({"app": name[:80], "document": (document or name)[:120], "unsaved": unsaved, "hwnd": w.get("hwnd")})+ # Unsaved first, then the unknown, then what is saved: what matters most+ # reads first in the list.+ rank = {True: 0, None: 1, False: 2}+ out.sort(key=lambda d: rank[d["unsaved"]])+ return out+++def needs_asking(docs):+ """Before Windows itself restarts or shuts down (the panel): asked when+ something is unsaved, or might be. Only what is known to be saved, or+ nothing at all, goes ahead without a question."""+ return any(d.get("unsaved") is not False for d in docs)diff --git a/packages/wildos-winmode/winmode/rdp.py b/packages/wildos-winmode/winmode/rdp.pyindex dd6a719..9cdfea8 100644--- a/packages/wildos-winmode/winmode/rdp.py+++ b/packages/wildos-winmode/winmode/rdp.py@@ -105,6 +105,15 @@ def prepare_arguments(host, port, account, domain, drive=None):return [a for a in out if a != "+auto-reconnect"]+def resume_arguments(host, port, account, domain, drive=None):+ """A connection that brings back the windows already open in Windows'+ session, after a save to disk or a lost connection: Remote Desktop+ shows every window of the session it reconnects to. It asks for no+ app (wild-guest's --start with nothing to start ends at once), so a+ reconnect later on starts nothing again either."""+ return arguments(host, port, account, domain, "Windows mode", "", [], drive=drive)++def prepare_session(args, password, log_path, done, native=NATIVE_CLIENT):"""Runs the sign-in-only connection; done(ok) when it ends. Returns theprocess, so a launch that comes first can end it."""diff --git a/packages/wildos-winmode/winmode/setup.py b/packages/wildos-winmode/winmode/setup.pyindex bc2abbb..2b7b6d0 100644--- a/packages/wildos-winmode/winmode/setup.py+++ b/packages/wildos-winmode/winmode/setup.py@@ -863,7 +863,6 @@ class Setup:started = self.rec.get("install_started")if virsh.state(domain) in ("shut off", "saved"):firewall.apply(self.cfg, False)- self.svc.bind_folders()virsh.start(domain)if not started:self.press_to_boot(domain)diff --git a/packages/wildos-winmode/winmode/system.py b/packages/wildos-winmode/winmode/system.pyindex 294a42e..29d0fa4 100644--- a/packages/wildos-winmode/winmode/system.py+++ b/packages/wildos-winmode/winmode/system.py@@ -21,7 +21,7 @@ import timefrom gi.repository import Gio, GLib-from . import config, dbusutil, firewall, guestlink, hostinfo, lifecycle, paths, qga, setup, virsh+from . import config, dbusutil, documents, firewall, guestlink, hostinfo, lifecycle, paths, qga, setup, virshXML = """<node>@@ -33,6 +33,11 @@ XML = """<arg name="mode" type="s" direction="in"/><arg type="s" direction="out"/></method>+ <method name="Power">+ <arg name="action" type="s" direction="in"/>+ <arg type="s" direction="out"/>+ </method>+ <method name="Documents"><arg type="s" direction="out"/></method><method name="Launch"><arg name="path" type="s" direction="in"/><arg name="args" type="as" direction="in"/>@@ -110,6 +115,16 @@ PRESTART_SIGN_IN_SECONDS = 45WINDOW_LIST_HOLD = "window list"# A wild-guest that never reports must not keep Windows awake for good.WINDOW_LIST_WAIT = 600+# Resume, Start, Restart and Shut down from the taskbar's panel, and keep+# (saved to disk as Wild OS shuts down, signs out or restarts, board 9.9).+POWER_HOLD = "power"+POWER_ACTIONS = ("resume", "start", "restart", "shutdown", "keep")+# How long a clean Windows shutdown may take before Windows is switched+# off instead, which is reported.+SHUTDOWN_WAIT = 90+# The share of logind's InhibitDelayMaxSec (60 s, data/logind) that saving+# or shutting Windows down may use when the PC itself shuts down.+PC_SHUTDOWN_BUDGET = 50def log(*parts):@@ -148,7 +163,21 @@ def app_windows(windows):return [w for w in windows if isinstance(w, dict) and w.get("visible", True) and not w.get("tool")]-SAVE_TO_DISK = False+def has_virtiofs(xml):+ """Whether a domain definition carries a virtiofs shared folder."""+ return bool(re.search(r"<filesystem\b[^>]*>(?:(?!</filesystem>).)*<driver\b[^>]*type=['\"]virtiofs['\"]", xml, re.S))+++def drop_virtiofs(xml):+ """The definition without its virtiofs shared folders, and without the+ shared memory backing that only virtiofs needed (it kept Windows'+ memory from going back to Wild OS)."""+ xml = re.sub(r"\s*<filesystem\b(?:(?!</filesystem>).)*<driver\b[^>]*type=['\"]virtiofs['\"](?:(?!</filesystem>).)*</filesystem>",+ "", xml, flags=re.S)+ return re.sub(r"\s*<memoryBacking>(?:(?!</memoryBacking>).)*<access mode=['\"]shared['\"]/>(?:(?!</memoryBacking>).)*</memoryBacking>",+ "", xml, flags=re.S)++# Windows' processor share while it boots ahead of time (the default is 100).BACKGROUND_CPU_WEIGHT = 20# Windows' share of memory follows what it uses (trim_memory), in KiB.@@ -172,6 +201,14 @@ class Service:self.windows = {}self.error = Noneself.busy_action = None+ # A save to disk under way, which winmoded's own stop waits for.+ self.saving = False+ # The live Windows still carries the old virtiofs share (save_ok).+ self.old_share = False+ # logind's delay lock (hold_shutdown) and whether the PC is on its+ # way down.+ self.inhibitor = None+ self.pc_shutting_down = Falseself.memory_tried = -MEMORY_RETRYself.idle_timer = Noneself.window_list_timer = None@@ -185,6 +222,8 @@ class Service:"Wake": (self.m_wake, "s", True),"Prestart": (self.m_prestart, "s", True),"Idle": (self.m_idle, "s", True),+ "Power": (self.m_power, "s", True),+ "Documents": (self.m_documents, "s", True),"Launch": (self.m_launch, "s", True),"Windows": (self.m_windows, "s", True),"Window": (self.m_window, "s", True),@@ -205,7 +244,6 @@ class Service:self.power = hostinfo.Power(bus, self.host_changed)self.pressure = hostinfo.PressureWatch(self.host_changed)self.watch_libvirt()- self.bind_folders()if virsh.state(self.domain) != "":ok, why = firewall.apply(self.cfg, self.state.get("file_sharing", False))if not ok:@@ -219,37 +257,95 @@ class Service:"/org/freedesktop/login1", None, Gio.DBusSignalFlags.NONE, self.preparing_shutdown)def preparing_shutdown(self, conn, sender, path, iface, signal, params):- if params.unpack()[0]:- threading.Thread(target=self.shut_down_windows, name="shutdown", daemon=True).start()+ self.pc_shutting_down = bool(params.unpack()[0])+ if self.pc_shutting_down:+ def work():+ try:+ self.shut_down_windows()+ finally:+ GLib.idle_add(lambda: (self.hold_shutdown(False), False)[1])+ threading.Thread(target=work, name="shutdown", daemon=True).start()+ else:+ # Shutting down was called off: held again while Windows runs.+ self.refresh()++ def hold_shutdown(self, on):+ """logind's delay lock while Windows runs: the PC's shutdown waits+ for Windows to be saved or shut down (up to InhibitDelayMaxSec, 60 s+ with Wild OS's logind drop-in) instead of libvirt-guests switching+ it off part way through a save."""+ if on and self.inhibitor is None and not self.pc_shutting_down:+ try:+ reply, fds = self.bus.call_with_unix_fd_list_sync(+ "org.freedesktop.login1", "/org/freedesktop/login1", "org.freedesktop.login1.Manager", "Inhibit",+ GLib.Variant("(ssss)", ("shutdown", "Windows mode", "Keeping Windows apps' work", "delay")),+ GLib.VariantType("(h)"), Gio.DBusCallFlags.NONE, 5000, None, None)+ self.inhibitor = fds.get(reply.unpack()[0])+ except GLib.Error as e:+ log("couldn't hold the PC's shutdown for Windows:", e.message)+ elif not on and self.inhibitor is not None:+ os.close(self.inhibitor)+ self.inhibitor = Nonedef shut_down_windows(self):- """libvirt holds the PC's shutdown back while Windows runs, and only- lets go when logind's InhibitDelayMaxSec runs out (30 s); then- libvirt-guests shuts Windows down. Shutting it down as soon as the PC- starts to removes that wait: libvirt lets go when Windows is off,- about ten seconds in, under the shutdown screen. A setup in progress- is left to libvirt-guests, so setup carries on after the restart as- it was."""+ """The PC is shutting down, restarting or updating. With Windows apps+ open the person was asked as the session ended (board 9.9, the+ agent), unless the PC was shut down some other way, so the safe+ choice is taken here: Windows saved to disk as it is, and the next+ sign-in reopens it. With nothing open it shuts down cleanly, which+ also spares libvirt-guests' wait. A save or shutdown the person+ chose is let finish first. A setup in progress is left to+ libvirt-guests, so setup carries on after the restart as it was."""if self.setup.thread and self.setup.thread.is_alive():return+ deadline = time.monotonic() + PC_SHUTDOWN_BUDGET+ while (self.busy_action or self.saving) and time.monotonic() < deadline:+ time.sleep(0.2)state = virsh.state(self.domain)if state not in ("running", "paused"):return+ if self.all_windows() and self.save_ok():+ log("the PC is shutting down with Windows apps open: saving Windows to disk so nothing is lost")+ try:+ self.do_save()+ self.state["kept"] = {"at": int(time.time())}+ self.save_state()+ return+ except virsh.VirshError as e:+ log("saving Windows as the PC shuts down:", e)log("the PC is shutting down: shutting Windows down")+ self.stop_windows(max(5, deadline - time.monotonic()))++ def stop_windows(self, wait=SHUTDOWN_WAIT):+ """Shuts Windows down cleanly, as its own Shut down would: through the+ guest agent, which closes apps without asking (Wild OS asked first),+ or the power button when the agent can't be reached. A saved+ Windows is loaded back first, so it shuts down properly rather than+ losing the save as a power cut would. Switched off if it hasn't+ finished in `wait` seconds; returns True then, so it can be said."""+ st = virsh.state(self.domain)+ if st in ("", "shut off"):+ return False+ if st == "saved":+ self.wake()+ elif st == "paused":+ virsh.resume(self.domain)+ deadline = time.monotonic() + waittry:- if state == "paused":- virsh.resume(self.domain)- virsh.run("shutdown", self.domain, timeout=15)+ # libvirt answers only once Windows has switched itself off, so+ # running out of time here means Windows is still shutting down.+ virsh.run("shutdown", self.domain, "--mode", "agent", timeout=max(5, int(wait)))except virsh.VirshError as e:- log("shutdown:", e)- # Inside logind's 30 s, so libvirt never holds the PC to the limit.- deadline = time.monotonic() + 22+ if "took longer" not in str(e) and virsh.state(self.domain) == "running":+ log("shutting Windows down through its agent:", e)+ virsh.run("shutdown", self.domain, "--mode", "acpi", check=False, timeout=20)while time.monotonic() < deadline:- if virsh.state(self.domain) not in ("running", "paused", "in shutdown"):- return+ if virsh.state(self.domain) in ("shut off", ""):+ return Falsetime.sleep(0.5)- log("Windows did not shut down in time: turning it off")+ log(f"Windows didn't shut down in {round(wait)} s: switching it off")virsh.run("destroy", self.domain, check=False, timeout=15)+ return Truedef save_state(self):try:@@ -341,7 +437,6 @@ class Service:self.state["owner_uid"] = uidself.save_state()log(f"Windows mode now belongs to uid {uid}")- self.bind_folders()return Noneif owner != uid:try:@@ -351,13 +446,6 @@ class Service:return f"Windows mode on this PC is set up for {name}."return None- def bind_folders(self):- """Nothing to do: the shared folders reach Windows through the- RemoteApp connection's drive redirection (the agent's FreeRDP shares- them, wild-guest maps them to Z:), not through mounts made here.- virtiofs failed on real hardware: reads broke partway and a save to- disk would not load back."""-def runtime_installed(self):"""From setup's thread, once the virtual PC package is in: until thenthere was no virsh to watch."""@@ -392,7 +480,7 @@ class Service:action = self.life.reconsider_paused(self.state["when_idle"], self.power.on_battery, *hostinfo.meminfo(),hostinfo.under_pressure())# A wake or anything else holding Windows awake comes first.- if action == lifecycle.SAVE and SAVE_TO_DISK and not self.busy_action and not self.life.busy_reasons:+ if action == lifecycle.SAVE and self.save_ok() and not self.busy_action and not self.life.busy_reasons:log("host needs the memory or is on battery: saving the paused guest to disk")self.run_idle(lifecycle.SAVE)@@ -490,6 +578,14 @@ class Service:prev = self.life.vm_statenow = time.monotonic()self.life.update(now, vm_state=st)+ if st != prev:+ self.note_since(prev, st)+ if st in ("running", "paused") and prev not in ("running", "paused"):+ try:+ self.old_share = has_virtiofs(virsh.dumpxml(self.domain))+ except virsh.VirshError:+ self.old_share = False+ self.hold_shutdown(st in ("running", "paused"))if st == "running":if prev != "running":self.await_window_list(True)@@ -503,6 +599,32 @@ class Service:if st != prev:self.changed()+ def note_since(self, prev, st):+ """When Windows went into the state it is in, for the panel's "Paused+ for 12 minutes" and "Shut down 2 hours ago". A service that has only+ just started cannot know, unless the state is still the one it+ recorded before (Windows shut down as the PC did, say)."""+ since = self.state.get("since") or {}+ if prev == "":+ if since.get("state") == st:+ return+ self.state["since"] = {"state": st, "at": None}+ else:+ self.state["since"] = {"state": st, "at": int(time.time())}+ # Work kept for the next sign-in is gone once Windows is anything+ # but saved: reopened, or shut down by hand.+ if st != "saved" and prev == "saved":+ self.state.pop("kept", None)+ self.save_state()++ def note_timing(self, result):+ """How long the last start from off and restore from disk took, to+ Remote Desktop answering: what the panel says the next one takes."""+ came_from = result.get("from") if isinstance(result, dict) else None+ key = {"stopped": "start", "shut off": "start", "saved": "restore"}.get(came_from)+ if key and isinstance(result.get("seconds"), (int, float)):+ self.state["timings"] = dict(self.state.get("timings") or {}, **{key: round(result["seconds"], 1)})+def await_window_list(self, waiting):if self.window_list_timer:GLib.source_remove(self.window_list_timer)@@ -696,22 +818,25 @@ class Service:return Falsedef run_idle(self, action, done=None):- # Saving to disk is off: on a test PC (libvirt 11.3, virtiofs- # attached) the save was written but would not load back, which- # left Windows unable to start. Paused in memory it resumes in a- # second and loses nothing; saving comes back once restore is proven.- if action == lifecycle.SAVE and not SAVE_TO_DISK:+ # A Windows still carrying the old virtiofs share would not load+ # back from disk (that is what failed on real hardware), so until+ # its next cold start takes the share out it is paused instead.+ if action == lifecycle.SAVE and not self.save_ok():action = lifecycle.PAUSEif virsh.state(self.domain) == "paused":returnself.busy_action = action+ # Said at once: the agent ends its connection as a save starts, or+ # the connection would reconnect to the restored Windows by itself+ # and Windows would start its first app again.+ self.changed()def work():t0 = time.monotonic()if action == lifecycle.PAUSE:virsh.suspend(self.domain)else:- self.do_save(open_windows=False)+ self.do_save()return time.monotonic() - t0def finished(result):@@ -724,63 +849,51 @@ class Service:self.state["last"] = {"action": action, "seconds": round(result, 2), "at": int(time.time())}self.save_state()self.refresh()+ self.changed()if done:done(result)dbusutil.in_thread(work, done=finished)- def do_save(self, open_windows):- """virsh managedsave. Held until the bare-metal transport test- decides between virtiofs and Samba:- libvirt before 10.6 and virtiofsd before 1.11 refuse while the- virtiofs share is attached (phase 1, risk 10.7), and then the share- is taken out first and put back on restore. That is only safe with- nothing open on it, which the idle path guarantees."""+ def save_ok(self):+ """Whether Windows can go to disk now: set up, and not carrying the+ virtiofs share of Windows modes set up before 2026-11-08, which+ drop_old_share takes out at the next cold start."""+ return virsh.state(self.domain) != "" and not self.old_share++ def do_save(self):+ """virsh managedsave. Windows is paused first, so the save writes its+ memory once instead of chasing pages it keeps changing, and nothing+ it does after the decision (an app saving, an update installing)+ is half done in the image. --running brings it back running.++ A shutdown that stops winmoded meanwhile waits for this (main())."""+ self.saving = Truetry:- virsh.managedsave(self.domain)- self.state["share_detached"] = False- return+ if virsh.state(self.domain) == "running":+ virsh.suspend(self.domain)+ virsh.run("managedsave", self.domain, "--running", timeout=300)+ finally:+ self.saving = False++ def drop_old_share(self):+ """Takes the virtiofs shared folder out of the definition of a Windows+ set up before the folders moved to the RemoteApp connection. With it+ attached a save to disk would not load back. Only from switched+ off: the running Windows keeps the definition it started with."""+ try:+ xml = virsh.dumpxml(self.domain, inactive=True)except virsh.VirshError as e:- if "migrat" not in str(e).lower() and "virtiofs" not in str(e).lower():- raise- log("managed save refused with the shared folder attached:", e)- if open_windows:- log("warning: taking the shared folder out with Windows apps open; files open on it will need saving again")- xml = self.filesystem_xml()- if not xml:- raise virsh.VirshError("managed save refused and no shared folder to take out")- path = os.path.join(config.STATE_DIR, "filesystem.xml")+ log("old shared folder:", e)+ return+ if not has_virtiofs(xml):+ return+ path = os.path.join(config.STATE_DIR, "domain.xml")with open(path, "w") as f:- f.write(xml)- virsh.run("detach-device", self.domain, path, "--live", timeout=30)- deadline = time.monotonic() + 30- while time.monotonic() < deadline and "<filesystem " in virsh.dumpxml(self.domain):- time.sleep(0.25)- self.state["share_detached"] = True- self.save_state()- try:- virsh.managedsave(self.domain)- except virsh.VirshError:- # Still running: Windows must not be left without its drive.- if virsh.state(self.domain) == "running":- self.reattach_share()- raise-- def filesystem_xml(self):- xml = virsh.dumpxml(self.domain)- start = xml.find("<filesystem ")- end = xml.find("</filesystem>", start)- return xml[start:end + len("</filesystem>")] if start >= 0 and end > 0 else None-- def reattach_share(self):- path = os.path.join(config.STATE_DIR, "filesystem.xml")- virsh.run("attach-device", self.domain, path, "--live", timeout=30)- # The virtiofs service only mounts at start.- drive = self.cfg["drive"]- qga.powershell(self.domain, "Restart-Service VirtioFsSvc -Force; $d = (Get-Date).AddSeconds(60); "- f"while (-not (Test-Path {drive}:\\) -and (Get-Date) -lt $d) {{ Start-Sleep -Milliseconds 200 }}", 90)- self.state["share_detached"] = False- self.save_state()+ f.write(drop_virtiofs(xml))+ virsh.run("define", path)+ self.old_share = False+ log("took the old virtiofs shared folder out of Windows; saving to disk works from now on")def reopen_guest_channel(self):"""After a restore the guest channel has a new host end, which@@ -824,8 +937,7 @@ class Service:firewall.apply(self.cfg, self.state.get("file_sharing", False))if st == "shut off":self.match_cpus()- # virtiofsd starts with the guest and sees the binds made before it.- self.bind_folders()+ self.drop_old_share()try:virsh.start(self.domain)if background:@@ -863,14 +975,6 @@ class Service:log("guest-set-time:", e)if st == "saved":self.reopen_guest_channel()- # Also covers a save that took the drive out and then failed. A- # fresh start has it back already, from the guest's definition.- if self.state.get("share_detached"):- if st == "shut off":- self.state["share_detached"] = False- self.save_state()- else:- self.reattach_share()if not self.wait_rdp(30 if st != "shut off" else 240):raise RuntimeError("Windows isn't accepting the connection")stages["remote_desktop"] = round(time.monotonic() - t0, 2)@@ -924,10 +1028,16 @@ class Service:"guest": {"connected": self.link.connected, "version": (self.link.hello or {}).get("version"),"sessions": (self.link.hello or {}).get("sessions")},"edition": self.state.get("edition"),- "share_detached": self.state.get("share_detached", False),"last": self.state.get("last"),+ # {state, at}: since when Windows has been as it is (note_since).+ "since": self.state.get("since"),+ # {start, restore}: seconds the last of each took (note_timing).+ "timings": self.state.get("timings") or {},+ # Saved as Wild OS shut down with apps open, for the next sign-in+ # to reopen.+ "kept": bool(self.state.get("kept")) and st == "saved","action": self.busy_action,- "save_to_disk": SAVE_TO_DISK,+ "save_to_disk": self.save_ok(),"memory_pending": bool(self.state.get("memory_pending")),"error": self.error,"computer_name": self.cfg["computer_name"] or self.state.get("computer_name", ""),@@ -969,6 +1079,7 @@ class Service:defer.done(json.dumps({"ok": False, "error": str(result)}))else:self.state["last"] = {"action": "wake", "seconds": result["seconds"], "from": result["from"], "at": int(time.time())}+ self.note_timing(result)self.save_state()defer.done(json.dumps(result))@@ -1058,13 +1169,112 @@ class Service:if mode not in (lifecycle.PAUSE, lifecycle.SAVE):return json.dumps({"ok": False, "error": "mode is pause or save"})st = virsh.state(self.domain)+ if self.busy_action:+ return json.dumps({"ok": False, "error": "busy", "message": "Windows mode is busy. Try again in a moment."})+ if mode == lifecycle.SAVE and not self.save_ok():+ return json.dumps({"ok": False, "error": "old shared folder",+ "message": "Windows mode can save to disk once Windows has restarted. Restart it from here first."})# A paused Windows can still go to disk, which frees its memory.- if st != "running" and not (st == "paused" and mode == lifecycle.SAVE and SAVE_TO_DISK):+ if st != "running" and not (st == "paused" and mode == lifecycle.SAVE):return json.dumps({"ok": False, "error": "not running"})self.run_idle(mode, done=lambda r: defer.done(json.dumps({"ok": False, "error": str(r)} if isinstance(r, Exception) else {"ok": True, "seconds": round(r, 2)})))return defer+ def m_power(self, sender, action, defer):+ """The panel's Resume, Start, Restart and Shut down, and keep: saved+ to disk because Wild OS is shutting down or signing out with+ Windows apps open, which the next sign-in reopens. Answers+ {ok, from, seconds, forced (switched off after SHUTDOWN_WAIT)} or+ {ok: false, error, message}. The agent asks about unsaved work+ before Restart and Shut down; this does what it is told."""+ if action in (lifecycle.PAUSE, lifecycle.SAVE):+ return self.m_idle(sender, action, defer)+ if action not in POWER_ACTIONS:+ return json.dumps({"ok": False, "error": "unknown action"})+ if self.state.get("setting_up"):+ return json.dumps({"ok": False, "error": "setting up", "message": "Windows mode is still being set up."})+ why = self.claim(sender)+ if why:+ return json.dumps({"ok": False, "error": why, "message": why})+ if action == "keep" and not self.save_ok() and virsh.state(self.domain) in ("running", "paused"):+ return json.dumps({"ok": False, "error": "old shared folder"})+ self.life.hold(time.monotonic(), POWER_HOLD, True)+ self.schedule_idle()++ def work():+ # A pause or save already under way finishes first.+ while self.busy_action:+ time.sleep(0.1)+ self.busy_action = action+ GLib.idle_add(lambda: (self.changed(), False)[1])+ t0 = time.monotonic()+ came_from = virsh.state(self.domain)+ out = {"ok": True, "from": came_from}+ if action in ("resume", "start"):+ out.update(self.wake())+ elif action == "keep":+ if came_from in ("running", "paused"):+ self.do_save()+ self.state["kept"] = {"at": int(time.time())}+ self.save_state()+ else:+ out["forced"] = self.stop_windows()+ if action == "restart":+ # From off it is a cold start, so a new memory limit or+ # processor count comes with it.+ self.state["memory_pending"] = False+ self.state["restart_pending"] = False+ self.wake()+ out["seconds"] = round(time.monotonic() - t0, 2)+ return out++ def finished(result):+ self.busy_action = None+ self.life.hold(time.monotonic(), POWER_HOLD, False)+ if action in ("start", "restart") and not isinstance(result, Exception):+ # Signed in to by the agent next, as after a start ahead of+ # time; paused halfway through signing in, Windows did not+ # answer when it was woken.+ self.life.hold(time.monotonic(), PRESTART_HOLD, True)+ GLib.timeout_add_seconds(PRESTART_SIGN_IN_SECONDS, lambda: (+ self.life.hold(time.monotonic(), PRESTART_HOLD, False), self.schedule_idle(), False)[2])+ if isinstance(result, Exception):+ log(f"{action} failed:", result)+ reply = {"ok": False, "error": str(result)}+ else:+ self.state["last"] = {"action": action, "seconds": result["seconds"], "at": int(time.time()),+ "forced": bool(result.get("forced"))}+ if result.get("forced"):+ log(f"{action}: Windows was switched off after it didn't shut down in {SHUTDOWN_WAIT} s")+ self.save_state()+ if action in ("resume", "start"):+ self.note_timing(result)+ reply = result+ self.refresh()+ self.schedule_idle()+ self.changed()+ defer.done(json.dumps(reply))++ dbusutil.in_thread(work, done=finished)+ return defer++ def m_documents(self, sender, defer):+ """What is open in Windows, for the question before it shuts down:+ wild-guest's Office documents (with Office's own Saved state) and+ window list. A wild-guest from before "documents" answers with an+ error, and the window list alone is used."""+ if not self.link.connected or virsh.state(self.domain) != "running":+ return json.dumps({"office": None, "windows": self.all_windows()})++ def got(reply):+ if reply.get("type") == "documents":+ defer.done(json.dumps({"office": reply.get("office"), "windows": reply.get("windows") or self.all_windows()}))+ else:+ defer.done(json.dumps({"office": None, "windows": self.all_windows()}))+ self.link.request({"type": "documents"}, got, timeout=12)+ return defer+def guest_request(self, msg, defer, timeout=15):if not self.link.connected:self.connect_guest()@@ -1222,7 +1432,6 @@ class Service:self.save_state()def work():- self.bind_folders()return self.setup.start(req, uid)dbusutil.in_thread(work, done=lambda r: defer.done(f"Windows mode couldn't start setting up. ({r})"@@ -1377,6 +1586,12 @@ def main():lambda conn, name: log(f"winmoded: serving {name}"), lost)GLib.unix_signal_add(GLib.PRIORITY_HIGH, 15, loop.quit)loop.run()+ # Stopped as the PC shuts down while Windows is being saved: half a save+ # would not load back, so it is let finish (systemd allows 120 s and,+ # with KillMode=mixed, leaves virsh running meanwhile).+ deadline = time.monotonic() + 110+ while service.saving and time.monotonic() < deadline:+ time.sleep(0.2)# Held until here, so it lives as long as the loop.del servicereturn 0diff --git a/packages/wildos-winmode/winmode/xsmp.py b/packages/wildos-winmode/winmode/xsmp.pynew file mode 100644index 0000000..cba17c9--- /dev/null+++ b/packages/wildos-winmode/winmode/xsmp.py@@ -0,0 +1,320 @@+"""Taking part in Plasma's sign-out, shut down and restart the way an app+with unsaved work does: as a client of ksmserver's X session management+(XSMP, through libSM). When the session ends, ksmserver asks every client+to save itself and lets one at a time interact with the person; a client+can then call the whole thing off. Plasma 6 does this before KWin closes+the remaining windows (plasma-shutdown: closeSession, then+closeWaylandWindows), so Windows apps are still open while the question+is asked, and ksmserver's 15 second limit for clients is stopped while+one interacts.++ksmserver puts its address and the ICE authority file in the session's+environment (SESSION_MANAGER, ICEAUTHORITY), which a D-Bus started agent+may have started without; both are read from systemd's user environment+when missing.++LeaveWatcher says which of the three is happening: the session bus calls+to org.kde.Shutdown, which every way of leaving in Plasma goes through+(Start's power menu, Win+X, the lock screen, Settings and the restart+prompt after updates), seen as a monitor.+"""++import ctypes+import ctypes.util+import os+import time++from gi.repository import Gio, GLib++SM_INTERACT_STYLE_NONE = 0+SM_DIALOG_NORMAL = 1+SM_RESTART_NEVER = 3++_SaveYourself = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_int, ctypes.c_int, ctypes.c_int, ctypes.c_int)+_Simple = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p)+_IceIOError = ctypes.CFUNCTYPE(None, ctypes.c_void_p)+_IceError = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_int, ctypes.c_int, ctypes.c_ulong, ctypes.c_int, ctypes.c_int,+ ctypes.c_void_p)+_SmcError = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_int, ctypes.c_int, ctypes.c_ulong, ctypes.c_int, ctypes.c_int,+ ctypes.c_void_p)+++class _Callbacks(ctypes.Structure):+ _fields_ = [("save_yourself", _SaveYourself), ("save_yourself_data", ctypes.c_void_p),+ ("die", _Simple), ("die_data", ctypes.c_void_p),+ ("save_complete", _Simple), ("save_complete_data", ctypes.c_void_p),+ ("shutdown_cancelled", _Simple), ("shutdown_cancelled_data", ctypes.c_void_p)]+++class _PropValue(ctypes.Structure):+ _fields_ = [("length", ctypes.c_int), ("value", ctypes.c_void_p)]+++class _Prop(ctypes.Structure):+ _fields_ = [("name", ctypes.c_char_p), ("type", ctypes.c_char_p), ("num_vals", ctypes.c_int),+ ("vals", ctypes.POINTER(_PropValue))]+++def _libraries():+ sm = ctypes.CDLL(ctypes.util.find_library("SM") or "libSM.so.6")+ ice = ctypes.CDLL(ctypes.util.find_library("ICE") or "libICE.so.6")+ sm.SmcOpenConnection.restype = ctypes.c_void_p+ sm.SmcOpenConnection.argtypes = [ctypes.c_char_p, ctypes.c_void_p, ctypes.c_int, ctypes.c_int, ctypes.c_ulong,+ ctypes.POINTER(_Callbacks), ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p), ctypes.c_int,+ ctypes.c_char_p]+ sm.SmcGetIceConnection.restype = ctypes.c_void_p+ sm.SmcGetIceConnection.argtypes = [ctypes.c_void_p]+ sm.SmcInteractRequest.restype = ctypes.c_int+ sm.SmcInteractRequest.argtypes = [ctypes.c_void_p, ctypes.c_int, _Simple, ctypes.c_void_p]+ sm.SmcInteractDone.argtypes = [ctypes.c_void_p, ctypes.c_int]+ sm.SmcSaveYourselfDone.argtypes = [ctypes.c_void_p, ctypes.c_int]+ sm.SmcSetProperties.argtypes = [ctypes.c_void_p, ctypes.c_int, ctypes.POINTER(ctypes.POINTER(_Prop))]+ sm.SmcCloseConnection.argtypes = [ctypes.c_void_p, ctypes.c_int, ctypes.c_void_p]+ sm.SmcSetErrorHandler.argtypes = [_SmcError]+ sm.SmcSetErrorHandler.restype = ctypes.c_void_p+ ice.IceConnectionNumber.restype = ctypes.c_int+ ice.IceConnectionNumber.argtypes = [ctypes.c_void_p]+ ice.IceProcessMessages.restype = ctypes.c_int+ ice.IceProcessMessages.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]+ ice.IceSetIOErrorHandler.argtypes = [_IceIOError]+ ice.IceSetIOErrorHandler.restype = ctypes.c_void_p+ ice.IceSetErrorHandler.argtypes = [_IceError]+ ice.IceSetErrorHandler.restype = ctypes.c_void_p+ return sm, ice+++def session_environment(bus, names):+ """Values from systemd's user environment, where ksmserver puts its own."""+ try:+ value = bus.call_sync("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.DBus.Properties", "Get",+ GLib.Variant("(ss)", ("org.freedesktop.systemd1.Manager", "Environment")), GLib.VariantType("(v)"),+ Gio.DBusCallFlags.NONE, 3000, None).unpack()[0]+ except GLib.Error:+ return {}+ out = {}+ for item in value:+ key, _, val = item.partition("=")+ if key in names:+ out[key] = val+ return out+++class Client:+ """One XSMP connection to ksmserver. wanted() says whether the person+ should be asked now (Windows apps are open); ask(finish) asks them and+ calls finish(cancel) once, cancel True to call the session's end off.+ Connects when it can and again after ksmserver goes away."""++ RETRY_SECONDS = 30+ # ksmserver waits for a client that is asking the person with no limit+ # of its own, so this is the limit: whatever happens to the question,+ # the dialog or Windows mode's services, the session's end goes ahead+ # after this long.+ INTERACT_LIMIT = 150++ def __init__(self, bus, wanted, ask, log):+ self.bus = bus+ self.wanted = wanted+ self.ask = ask+ self.log = log+ self.conn = None+ self.watch = None+ self.pending = False+ self.address = None+ try:+ self.sm, self.ice = _libraries()+ except OSError as e:+ log("session end checks are off (libSM):", e)+ self.sm = None+ return+ # libICE and libSM end the process on a lost connection unless told+ # otherwise; a lost ksmserver only means connecting again.+ self._io_error = _IceIOError(lambda ice: None)+ self._ice_error = _IceError(lambda *a: None)+ self._smc_error = _SmcError(lambda *a: None)+ self.ice.IceSetIOErrorHandler(self._io_error)+ self.ice.IceSetErrorHandler(self._ice_error)+ self.sm.SmcSetErrorHandler(self._smc_error)+ self._callbacks = _Callbacks(_SaveYourself(self._save_yourself), None, _Simple(self._die), None,+ _Simple(lambda conn, data: None), None, _Simple(self._cancelled), None)+ self._interact = _Simple(self._interact_granted)+ self.connect()+ GLib.timeout_add_seconds(self.RETRY_SECONDS, self._retry)++ def _retry(self):+ if self.conn is None:+ self.connect()+ return True++ def connect(self):+ env = session_environment(self.bus, ("SESSION_MANAGER", "ICEAUTHORITY"))+ address = os.environ.get("SESSION_MANAGER") or env.get("SESSION_MANAGER")+ if not address:+ return False+ # libICE reads the authority file's name from the environment.+ if env.get("ICEAUTHORITY"):+ os.environ["ICEAUTHORITY"] = env["ICEAUTHORITY"]+ error = ctypes.create_string_buffer(256)+ client_id = ctypes.c_void_p()+ conn = self.sm.SmcOpenConnection(address.encode(), None, 1, 0, 15, ctypes.byref(self._callbacks), None,+ ctypes.byref(client_id), len(error), error)+ if not conn:+ if address != self.address:+ self.log("couldn't reach the session manager:", error.value.decode(errors="replace"))+ self.address = address+ return False+ if client_id.value:+ ctypes.CDLL(None).free(client_id)+ self.conn, self.address = conn, address+ self._set_properties()+ fd = self.ice.IceConnectionNumber(self.sm.SmcGetIceConnection(conn))+ self.watch = GLib.io_add_watch(fd, GLib.PRIORITY_DEFAULT, GLib.IO_IN | GLib.IO_HUP | GLib.IO_ERR, self._readable)+ self.log("taking part in the session's end, to keep Windows apps' work")+ return True++ def _set_properties(self):+ """What XSMP asks every client to say about itself, and that it is+ never to be started again by the session: the agent starts by+ itself when needed."""+ keep = []++ def value(text):+ b = ctypes.create_string_buffer(text.encode())+ keep.append(b)+ return _PropValue(len(text.encode()), ctypes.cast(b, ctypes.c_void_p))++ def prop(name, kind, values):+ arr = (_PropValue * len(values))(*values)+ keep.append(arr)+ p = _Prop(name.encode(), kind.encode(), len(values), arr)+ keep.append(p)+ return ctypes.pointer(p)++ hint = ctypes.create_string_buffer(bytes([SM_RESTART_NEVER]), 1)+ keep.append(hint)+ props = [+ prop("Program", "ARRAY8", [value("wildos-winmode")]),+ prop("UserID", "ARRAY8", [value(str(os.getuid()))]),+ prop("RestartCommand", "LISTofARRAY8", [value("wildos-winmode"), value("agent")]),+ prop("CloneCommand", "LISTofARRAY8", [value("wildos-winmode"), value("agent")]),+ prop("RestartStyleHint", "CARD8", [_PropValue(1, ctypes.cast(hint, ctypes.c_void_p))]),+ ]+ array = (ctypes.POINTER(_Prop) * len(props))(*props)+ self.sm.SmcSetProperties(self.conn, len(props), array)++ def _readable(self, fd, cond):+ if self.conn is None:+ return False+ status = self.ice.IceProcessMessages(self.sm.SmcGetIceConnection(self.conn), None, None)+ if status != 0 or cond & (GLib.IO_HUP | GLib.IO_ERR):+ self._lost(status)+ return False+ return True++ def _lost(self, status=0):+ self.log("the session manager went away", f"(ICE status {status})" if status else "")+ self.watch = None+ self.conn = None+ self.pending = False++ def _save_yourself(self, conn, data, save_type, shutdown, interact_style, fast):+ self.log("the session is ending" if shutdown else "the session is being saved", f"(interact style {interact_style})")+ try:+ if shutdown and interact_style != SM_INTERACT_STYLE_NONE and self._safe(self.wanted):+ if self.sm.SmcInteractRequest(conn, SM_DIALOG_NORMAL, self._interact, None):+ self.pending = True+ return+ except Exception as e:+ self.log("session end check:", e)+ self.sm.SmcSaveYourselfDone(conn, 1)++ def _interact_granted(self, conn, data):+ answered = []+ timer = []++ def finish(cancel):+ if timer:+ GLib.source_remove(timer.pop())+ if answered or not self.pending or self.conn is None:+ return+ answered.append(cancel)+ self.pending = False+ self.sm.SmcInteractDone(self.conn, 1 if cancel else 0)+ self.sm.SmcSaveYourselfDone(self.conn, 1)++ def too_long():+ timer.clear()+ self.log(f"no answer about Windows apps in {self.INTERACT_LIMIT} s: letting the session end")+ finish(False)+ return False++ timer.append(GLib.timeout_add_seconds(self.INTERACT_LIMIT, too_long))+ try:+ self.ask(finish)+ except Exception as e:+ # Never leave the session hanging on a question nobody asked.+ self.log("asking before the session ends:", e)+ finish(False)++ def _cancelled(self, conn, data):+ # Another client called the session's end off: a question still on+ # screen answers into nothing (finish sees pending is gone).+ self.pending = False++ def _die(self, conn, data):+ if self.watch:+ GLib.source_remove(self.watch)+ self.watch = None+ self.sm.SmcCloseConnection(conn, 0, None)+ self.conn = None++ def _safe(self, fn):+ try:+ return bool(fn())+ except Exception as e:+ self.log("session end check:", e)+ return False+++class LeaveWatcher:+ """Which way the session is ending, from the calls Plasma makes to+ org.kde.Shutdown, seen on a monitor connection of its own (the session+ bus lets its own user monitor it)."""++ ACTIONS = {"logoutAndShutdown": "shutdown", "logoutAndReboot": "restart", "logout": "signout"}+ # A choice older than this belongs to a sign-out that was called off.+ FRESH = 300++ def __init__(self, log):+ self.action = None+ self.at = 0.0+ self.conn = None+ try:+ address = Gio.dbus_address_get_for_bus_sync(Gio.BusType.SESSION, None)+ self.conn = Gio.DBusConnection.new_for_address_sync(+ address, Gio.DBusConnectionFlags.AUTHENTICATION_CLIENT | Gio.DBusConnectionFlags.MESSAGE_BUS_CONNECTION, None, None)+ self.conn.add_filter(self._filter)+ rules = [f"type='method_call',interface='org.kde.Shutdown',member='{m}'" for m in self.ACTIONS]+ self.conn.call_sync("org.freedesktop.DBus", "/org/freedesktop/DBus", "org.freedesktop.DBus.Monitoring", "BecomeMonitor",+ GLib.Variant("(asu)", (rules, 0)), None, Gio.DBusCallFlags.NONE, 3000, None)+ except GLib.Error as e:+ log("can't tell shutting down from restarting:", e.message)+ self.conn = None++ def _filter(self, conn, message, incoming):+ # GDBus's own thread: only plain assignments here. The calls seen+ # as a monitor are dropped once read; anything else, the outgoing+ # BecomeMonitor and its reply included, goes on as usual.+ if not incoming or message.get_message_type() != Gio.DBusMessageType.METHOD_CALL:+ return message+ if message.get_interface() == "org.kde.Shutdown":+ action = self.ACTIONS.get(message.get_member())+ if action:+ self.action, self.at = action, time.monotonic()+ return None++ def current(self):+ """shutdown, restart or signout; shutdown when nothing was seen."""+ if self.action and time.monotonic() - self.at < self.FRESH:+ return self.action+ return "shutdown"