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

⌈⌋ branch:  PageTranslate

Artifact Content

Artifact 72cc52be538dc6b3447f2bc9394498c7d160423a:

  • File OptionsDialog.xcu — part of check-in [2d2c5955a6] at 2020-05-29 15:04:35 on branch trunk — AOO compat. OptionsDialog XCU requires leaf name to equal handler ID. (user: mario size: 1543)

<?xml version="1.0" encoding="UTF-8"?>
  oor:name="OptionsDialog" oor:package="org.openoffice.Office"
  <node oor:name="Nodes">
    <node oor:name="LanguageSettings" oor:op="fuse">  <!-- previously in name="Writer" -->
      <node oor:name="Leaves">
        <node oor:name="vnd.include-once.OptionsPageTranslate" oor:op="fuse">
                   <!-- apparently AOO needs ↑ this equivalent to the EventHandlerService
                        identifier to pick up the relation between XDL and callback -->
          <prop oor:name="Id">
            <!-- seems irrelevant / just an ID,
                 and can be different from EventHandlerService even -->
          <prop oor:name="Label">
            <value xml:lang="en-US">PageTranslate</value>
          <prop oor:name="OptionsPage">
          <prop oor:name="EventHandlerService">
            <!-- must match g_ImplementationHelper.addImplementation(class, "IMPLEMENTATION_NAME", ())
                 and doesn't even have to be a service:….pyuno.… URL or anything specific -->