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

⌈⌋ branch:  PageTranslate


Artifact Content

Artifact f3a0482ef3007fed29249eb7e19092de28882a72:

  • File OptionsSchema.xcs — part of check-in [5a0ee83349] at 2020-06-10 05:08:32 on branch trunk — Add default flags `-o -t {lang}` for cli backend. (user: mario size: 2845)

<?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 -o -f auto -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>