LibreOffice plugin to pipe whole Writer documents through Google Translate, that ought to keep most of the page formatting.

⌈⌋ branch:  PageTranslate


Artifact [96b987b063]

Artifact 96b987b063cc617643103965b63bac0f24d9e4e4:

  • File Accelerators.xcu — part of check-in [a0244ed81d] at 2023-02-01 09:09:14 on branch trunk — sample keyboard bindings (disabled in manifest.xml however) (user: mario size: 1802)

<?xml version="1.0" encoding="UTF-8"?>
<!-- https://wiki.openoffice.org/wiki/Framework/Article/Accelerators_Configuration -->
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:install="http://openoffice.org/2004/installation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Accelerators" oor:package="org.openoffice.Office">
  <node oor:name="PrimaryKeys">
    <node oor:name="Modules">
      <node oor:name="com.sun.star.text.TextDocument">
        <node oor:name="E_SHIFT_MOD1_MOD2" oor:op="replace">
          <prop oor:name="Command">
            <value xml:lang="en-US">service:org.openoffice.comp.pyuno.pagetranslate?trigger&amp;lang=en</value>
          </prop>
        </node>
        <node oor:name="C_SHIFT_MOD1_MOD2" oor:op="replace">
          <prop oor:name="Command">
            <value xml:lang="en-US">service:org.openoffice.comp.pyuno.pagetranslate?trigger&amp;lang=zh-CN</value>
          </prop>
        </node>
        <node oor:name="D_SHIFT_MOD1_MOD2" oor:op="replace">
          <prop oor:name="Command">
            <value xml:lang="en-US">service:org.openoffice.comp.pyuno.pagetranslate?trigger&amp;lang=de</value>
          </prop>
        </node>
        <node oor:name="S_SHIFT_MOD1_MOD2" oor:op="replace">
          <prop oor:name="Command">
            <value xml:lang="en-US">service:org.openoffice.comp.pyuno.pagetranslate?trigger&amp;lang=es</value>
          </prop>
        </node>
        <node oor:name="F_SHIFT_MOD1_MOD2" oor:op="replace">
          <prop oor:name="Command">
            <value xml:lang="en-US">service:org.openoffice.comp.pyuno.pagetranslate?trigger&amp;lang=fr</value>
          </prop>
        </node>
      </node>
    </node>
  </node>
</oor:component-data>