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

⌈⌋ ⎇ branch:  PageTranslate


Artifact [6fcd871095]

Artifact 6fcd8710950515381a77a49dcd2e262fa48f7935:

  • File OptionsSchema.xcs — part of check-in [534df482b5] at 2020-06-01 19:05:55 on branch trunk — Introduce cmd and email fields, redesign dialog to make association clearer. (user: mario size: 2834)

<?xml version="1.0" encoding="UTF-8"?>
<!-- oor:name must be identical to the filename of this xcs file //-->
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  oor:name="Options"
  oor:package="vnd.include-once.pagetranslate" xml:lang="en-US">
  
  <!-- struct for config nodes `/vnd.include-once.pagetranslate.Options/Leaves/Flags` -->
  
  <info>
    <author></author>
    <desc>List of config options for pagetranslate.</desc>
  </info>
  <templates>
    <group oor:name="Leaf">
      <info><desc>The data for one leaf. Works without, so not relevant for storage. Purpose unclear.</desc></info>
      <!--prop oor:name="String0" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String1" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String2" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String3" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String4" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String5" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String6" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String7" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String8" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String9" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String10" oor:type="xs:string"><value></value></prop>
      <prop oor:name="String11" oor:type="xs:string"><value></value></prop-->
    </group>
  </templates>
  <component>
    <group oor:name="Leaves">
      <group oor:name="Flags" oor:type="Leaf">
        <prop oor:name="google" oor:type="xs:short"><value>1</value></prop>
        <prop oor:name="deepl_web" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="deepl_api" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="api_key" oor:type="xs:string"><value></value></prop>
        <prop oor:name="microsoft" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="mymemory" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="email" oor:type="xs:string"><value></value></prop>
        <prop oor:name="cli" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="cmd" oor:type="xs:string"><value>translate-cli -t {lang} {text}</value></prop>
        <prop oor:name="quick" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="frames" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="slow" oor:type="xs:short"><value>0</value></prop>
        <prop oor:name="debug" oor:type="xs:short"><value>1</value></prop>
      </group>
    </group>
  </component>
</oor:component-schema>