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

⌈⌋ ⎇ branch:  PageTranslate


Check-in [90cf15335d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:move Addons.xcu out from excessively nested folder structure (serves no factual purpose AFAIK; prolly just a Javaism) prepare Makefile for pythonloader/ population.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 90cf15335d926e96589421793e97b59efd5bbd9e
User & Date: mario 2020-05-23 09:37:03
Context
2020-05-23
14:05
Introduce pt_opts handler for settings window check-in: 748623aaf6 user: mario tags: trunk
09:37
move Addons.xcu out from excessively nested folder structure (serves no factual purpose AFAIK; prolly just a Javaism) prepare Makefile for pythonloader/ population. check-in: 90cf15335d user: mario tags: trunk
09:35
move license text to pkg-desc/ check-in: 3ab89c30c4 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Name change from registry/data/org/openoffice/Office/Addons.xcu to Addons.xcu.

Changes to META-INF/manifest.xml.

1
2
3
4

5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest>
 <manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description" manifest:full-path="pkg-desc/pkg-description.txt"/>
 <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="registry/data/org/openoffice/Office/Addons.xcu"/>

 <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python" manifest:full-path="pagetranslate.py"/>
 <manifest:file-entry manifest:media-type="image/png" manifest:full-path="icons/flags.png"/>
</manifest:manifest>



|
>



1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest>
 <manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description" manifest:full-path="pkg-desc/pkg-description.txt"/>
 <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="./Addons.xcu"/>
 <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="./OptionsDialog.xcu"/>
 <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Python" manifest:full-path="pagetranslate.py"/>
 <manifest:file-entry manifest:media-type="image/png" manifest:full-path="icons/flags.png"/>
</manifest:manifest>

Changes to Makefile.

1
2
3
4
5
6
7
8
9




all:	oxt install

install:
	unopkg remove pagetranslate.oxt
	unopkg add --log-file log.txt -s pagetranslate.oxt

oxt:
	version  read pagetranslate.py  write description.xml
	zip pagetranslate.oxt -r META-INF pagetranslate.py *desc* reg* icons







|



|
|
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
all:	oxt install

install:
	unopkg remove vnd.include-once.pagetranslate
	unopkg add --log-file log.txt -s pagetranslate.oxt

oxt:
	version  --read pagetranslate.py  --incr  --write pagetranslate.py  --write description.xml
	zip pagetranslate.oxt -r META-INF pagetranslate.py *xcu *xcs *xdl *desc* icons

pythonloader:
	pip install requests -t pythonloader/ --upgrade