Kaydet (Commit) 74abeff0 authored tarafından Andras Timar's avatar Andras Timar

integrate librelogo to the build

Change-Id: I4cd29f6a893d72a49233bb53d19701d0bdd0e078
üst 0facaa9f
......@@ -110,6 +110,7 @@ libcmis\
libmspub\
liborcus\
libpng\
librelogo\
libvisio\
libwpd\
libwpg\
......
......@@ -96,6 +96,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
libcmis \
libmspub \
liborcus \
librelogo \
libvisio \
libwpd \
libwpg \
......
......@@ -107,6 +107,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
libmspub \
liborcus \
libpng \
librelogo \
libvisio \
libwpd \
libwpg \
......
......@@ -297,6 +297,7 @@ bool includeProject(rtl::OUString const & project) {
"framework",
"helpcontent2",
"instsetoo_native",
"librelogo",
"mysqlc",
"nlpsolver",
"officecfg",
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Configuration_Configuration,librelogo,nodeliver))
$(eval $(call gb_Configuration_add_localized_datas,librelogo,librelogo/source/registry/data,\
org/openoffice/Office/Addons.xcu \
org/openoffice/Office/UI/StartModuleWindowState.xcu \
org/openoffice/Office/UI/WriterWindowState.xcu \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Extension_Extension,librelogo,librelogo/source))
$(eval $(call gb_Extension_add_files,librelogo,icons,\
$(SRCDIR)/librelogo/source/icons/lc_arrowshapes.circular-arrow.png \
$(SRCDIR)/librelogo/source/icons/lc_arrowshapes.circular-leftarrow.png \
$(SRCDIR)/librelogo/source/icons/lc_arrowshapes.down-arrow.png \
$(SRCDIR)/librelogo/source/icons/lc_arrowshapes.up-arrow.png \
$(SRCDIR)/librelogo/source/icons/lc_basicstop.png \
$(SRCDIR)/librelogo/source/icons/lc_editglossary.png \
$(SRCDIR)/librelogo/source/icons/lc_navigationbarleft.png \
$(SRCDIR)/librelogo/source/icons/lc_newdoc.png \
$(SRCDIR)/librelogo/source/icons/lc_runbasic.png \
$(SRCDIR)/librelogo/source/icons/sc_arrowshapes.circular-arrow.png \
$(SRCDIR)/librelogo/source/icons/sc_arrowshapes.circular-leftarrow.png \
$(SRCDIR)/librelogo/source/icons/sc_arrowshapes.down-arrow.png \
$(SRCDIR)/librelogo/source/icons/sc_arrowshapes.up-arrow.png \
$(SRCDIR)/librelogo/source/icons/sc_basicstop.png \
$(SRCDIR)/librelogo/source/icons/sc_editglossary.png \
$(SRCDIR)/librelogo/source/icons/sc_navigationbarleft.png \
$(SRCDIR)/librelogo/source/icons/sc_newdoc.png \
$(SRCDIR)/librelogo/source/icons/sc_runbasic.png \
))
$(eval $(call gb_Extension_add_file,librelogo,LibreLogoDummy.py,$(SRCDIR)/librelogo/source/LibreLogoDummy.py))
$(eval $(call gb_Extension_add_file,librelogo,pythonpath/librelogodummy_path.py,$(SRCDIR)/librelogo/source/pythonpath/librelogodummy_path.py))
$(eval $(call gb_Extension_add_file,librelogo,LibreLogo/LibreLogo.py,$(SRCDIR)/librelogo/source/LibreLogo/LibreLogo.py))
$(eval $(call gb_Extension_add_file,librelogo,Addons.xcu,$(call gb_XcuFile_for_extension,librelogo/source/registry/data/org/openoffice/Office/Addons.xcu)))
$(eval $(call gb_Extension_add_file,librelogo,Office/UI/StartModuleWindowState.xcu,$(call gb_XcuFile_for_extension,librelogo/source/registry/data/org/openoffice/Office/UI/StartModuleWindowState.xcu)))
$(eval $(call gb_Extension_add_file,librelogo,Office/UI/WriterWindowState.xcu,$(call gb_XcuFile_for_extension,librelogo/source/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu)))
$(eval $(call gb_Extension_localize_properties,librelogo,pythonpath/LibreLogo_en_US.properties,$(SRCDIR)/librelogo/source/pythonpath/LibreLogo_en_US.properties))
$(eval $(call gb_Extension_add_helpfile,librelogo,$(SRCDIR)/librelogo/source/help/en-US,org.openoffice.comp.pyuno.LibreLogo/LibreLogo.xhp,LibreLogo.xhp))
$(eval $(call gb_Extension_add_helptreefile,librelogo,$(SRCDIR)/librelogo/source/help/en-US,/help.tree,/help.tree,org.openoffice.comp.pyuno.LibreLogo))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,librelogo))
$(eval $(call gb_Module_add_targets,librelogo,\
Configuration_librelogo \
Extension_librelogo \
))
# vim: set noet sw=4 ts=4:
LibreOffice Logo 0.2 RC2
License: GNU LGPL & GPL, MPL
Home page: http://www.numbertext.org/logo
(c) László Németh (nemeth at numbertextdotorg)
FSF.hu Foundation, http://www.fsf.hu
Icons copyright: OpenOffice.org/LibreOffice
Introduction
============
LibreLogo is a Logo-like progamming language with interactive vectorgraphics for education and DTP
- presentation: http://www.numbertext.org/logo/librelogo.pdf
- basic Logo syntax for back compability with educational Logo systems
- interactive vectorgraphics in LibreOffice Writer
- native commands (easily translatable)
- Python data structures (list, tuple, set, dictionary) and other Python features
Usage
=====
See Logo in LibreOffice Help and http://www.numbertext.org/logo for documentation.
Translation
===========
create your_language_id.lng in LibreOffice/ based on en.lng.
Compilation:
python make.py
Development
===========
LibreLogo uses the PyUNO scripting framework, so Addons.xcu URLs depend from the
full name of the package. Modify them according to the package name with the
version number.
LibreLogo is a Logo-like programming language with interactive vectorgraphics for education and DTP
Programozási nyelv és környezet oktatáshoz, számítógépes grafikához és kiadványszerkesztéshez. Használat: Nézet→Eszköztárak→Logo eszköztár a Writerben. L. Logo a LibreOffice Súgóban.
This diff is collapsed.
#!/bin/sh
cat doc.txt | awk 'BEGIN{system("cat head")}/^ /{code = code $0 "<br/>";next}{if (code != ""){print "<paragraph role=\"code\">" gensub(" ", "\\&#160;", "g", code) "</paragraph>";code=""}}/^=+/{l=length($1);print "<paragraph role=\"heading\" level=\"" l "\">"substr($0, l+2, length($0)-l*2-2)"</paragraph>";next}/^[{][|]/{print "<table><tablerow>";next}/^[|]}/{print "</tablerow></table>";next}/^[|]-/{print "</tablerow><tablerow>";next}/^[|]/{print "<tablecell>"gensub("^.*[|]","","g")"</tablecell>";next}{print "<paragraph role=\"paragraph\">" $0 "</paragraph>" }END{print "</body></helpdocument>"}' >LibreLogo.xhp
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="LibreLogo" indexer="include" status="PUBLISH">
<title id="title">LibreLogo</title>
<filename>/LibreLogo/LibreLogo.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en" branch="index" id="bm1">
<bookmark_value>LibreLogo</bookmark_value>
<bookmark_value>Logo</bookmark_value>
<bookmark_value>Turtle graphics</bookmark_value>
</bookmark>
# -*- encoding: UTF-8 -*-
import sys, os, zipfile
distname = 'librelogo-0.2.oxt'
z = zipfile.ZipFile(distname, mode='w', compression = zipfile.ZIP_DEFLATED)
for i in ["LibreLogo/LibreLogo.py", "pythonpath/en.properties", "pythonpath/hu.properties", \
"META-INF/manifest.xml", "description.xml", "Addons.xcu", "README", \
"Office/UI/WriterWindowState.xcu", "Office/UI/StartModuleWindowState.xcu", \
"help/en-US/LibreLogo/LibreLogo.xhp", "help/en-US/help.tree", "pythonpath/librelogodummy_path.py", \
"description-en.txt", "description-hu.txt", "LibreLogoDummy.py" ] + \
"""icons/lc_arrowshapes.circular-arrow.png
icons/lc_arrowshapes.circular-leftarrow.png
icons/lc_arrowshapes.down-arrow.png
icons/lc_arrowshapes.up-arrow.png
icons/lc_basicstop.png
icons/lc_editglossary.png
icons/lc_navigationbarleft.png
icons/lc_newdoc.png
icons/lc_runbasic.png
icons/sc_arrowshapes.circular-arrow.png
icons/sc_arrowshapes.circular-leftarrow.png
icons/sc_arrowshapes.down-arrow.png
icons/sc_arrowshapes.up-arrow.png
icons/sc_basicstop.png
icons/sc_editglossary.png
icons/sc_navigationbarleft.png
icons/sc_newdoc.png
icons/sc_runbasic.png""".split("\n"):
z.writestr(i, open(i, "r").read())
librelogo librelogo : TRANSLATIONS:translations offapi officecfg comphelper unotools l10ntools cppu tools cppuhelper sal javaunohelper officecfg DESKTOP:xmlhelp DESKTOP:helpcompiler NULL
librelogo librelogo\prj nmake - all librelogo_prj NULL
# turtle graphics
FORWARD=el\u0151re|e
BACKWARD=h\u00e1tra|h
TURNLEFT=balra|b
TURNRIGHT=jobbra|j
PENUP=tollatfel|tf
PENDOWN=tollatle|tl
HOME=haza
POINT=pont
CIRCLE=k\u00f6r
ELLIPSE=ellipszis
SQUARE=n\u00e9gyzet
RECTANGLE=t\u00e9glalap
LABEL=c\u00edmke
PENCOLOR=tollsz\u00edn|tollsz\u00edn!|tsz!?|vonalsz\u00edn
ANY=tetsz\u0151leges|tetsz
PENWIDTH=tollvastags\u00e1g|tollvastags\u00e1g!|tv!?|vonalvastags\u00e1g
PENSTYLE=tollst\u00edlus|vonalst\u00edlus
PENJOINT=tollsarok|vonalsarok
NONE=nincs
BEVEL=tompa
ROUNDED=kerek
MITER=hegyes
SOLID=folyamatos
DASH=szaggatott
DOTTED=pontozott
CLOSE=z\u00e1r
FILL=t\u00f6lt
FILLCOLOR=t\u00f6lt\u0151sz\u00edn|t\u00f6lt\u0151sz\u00edn!|tlsz!?
FILLSTYLE=t\u00f6lt\u0151st\u00edlus
FONTCOLOR=bet\u0171sz\u00edn
FONTHEIGHT=bet\u0171m\u00e9ret
FONTWEIGHT=bet\u0171vastags\u00e1g
FONTSTYLE=bet\u0171st\u00edlus
BOLD=f\u00e9lk\u00f6v\u00e9r|k\u00f6v\u00e9r|vastag
ITALIC=kurz\u00edv|d\u0151lt
UPRIGHT=\u00e1ll\u00f3|norm\u00e1l
NORMAL=norm\u00e1l
FONTFAMILY=bet\u0171csal\u00e1d
CLEARSCREEN=t\u00f6r\u00f6lk\u00e9perny\u0151|t\u00f6r\u00f6lk\u00e9p|t\u00f6r\u00f6lrajzlap|tr
TEXT=sz\u00f6veg
HIDETURTLE=l\u00e1thatatlan|elrejttekn\u0151c|rejttek|elrejt
SHOWTURTLE=l\u00e1that\u00f3
POSITION=hely|hely!|poz\u00edci\u00f3|xy!
HEADING=ir\u00e1ny|ir\u00e1ny!
PAGESIZE=oldalm\u00e9ret
GROUP=k\u00e9p
# control structures
TO=ez|elj\u00e1r\u00e1s|elj|tanuld
END=v\u00e9ge
STOP=stop|visszat\u00e9r
OUTPUT=eredm\u00e9ny
REPEAT=ism\u00e9t|ism|ism\u00e9tl\u00e9s|v\u00e9gtelenszer|vszer
REPCOUNT=h\u00e1nyadik
BREAK=kil\u00e9p
CONTINUE=\u00fajra
WHILE=am\u00edg
FOR=fut
IN=-ban|-ben
IF=ha
LEFTSTRING=\u201e
RIGHTSTRING=\u201d
TRUE=igaz
FALSE=hamis
NOT=nem
AND=\u00e9s
OR=vagy
INPUT=be
PRINT=ki|ki\u00edr
SLEEP=v\u00e1r|v\u00e1rj
GLOBAL=glob\u00e1lis|glob\u00e1lisv\u00e1ltoz\u00f3|globv\u00e1l
# functions
RANDOM=v\u00e9letlen|v\u00e9letlensz\u00e1m|vsz\u00e1m|kiv\u00e1laszt
INT=eg\u00e9szsz\u00e1m|eg\u00e9sz
FLOAT=t\u00f6rtsz\u00e1m|t\u00f6rt
STR=karakterl\u00e1nc|l\u00e1nc
SQRT=gy\u00f6k
SIN=sin
COS=cos
ROUND=kerek|kerek\u00edt\u00e9s
ABS=abszol\u00fat\u00e9rt\u00e9k|absz?
COUNT=darab|db|elemsz\u00e1m
SET=halmaz
RANGE=sor
LIST=lista
TUPLE=fix
SORTED=rendez
RESUB=cser\u00e9l
RESEARCH=keres
REFINDALL=tal\u00e1l
MIN=min
MAX=max
PI=pi|\u03c0
# measurement
DECIMAL=,
DEG=\u00b0
HOUR=\u00f3|h
MM=mm
CM=cm
PT=pt
INCH=in|"
# color constants
INVISIBLE=l\u00e1thatatlan
BLACK=fekete
SILVER=vil\u00e1gossz\u00fcrke|ez\u00fcst
GRAY=sz\u00fcrke
WHITE=feh\u00e9r
MAROON=s\u00f6t\u00e9tbarna
RED=piros|v\u00f6r\u00f6s
PURPLE=lila
FUCHSIA=b\u00edbor|cikl\u00e1men
GREEN=z\u00f6ld
LIME=vil\u00e1gosz\u00f6ld
OLIVE=olajz\u00f6ld
YELLOW=s\u00e1rga
NAVY=s\u00f6t\u00e9tk\u00e9k
BLUE=k\u00e9k
TEAL=k\u00e9kesz\u00f6ld
AQUA=ci\u00e1nk\u00e9k|ci\u00e1n
PINK=r\u00f3zsasz\u00edn
TOMATO=vil\u00e1gospiros
ORANGE=narancss\u00e1rga|narancs
GOLD=aranys\u00e1rga|arany
VIOLET=ibolyak\u00e9k|ibolya|viola
SKYBLUE=\u00e9gsz\u00ednk\u00e9k|vil\u00e1gosk\u00e9k
CHOCOLATE=vil\u00e1gosbarna
BROWN=barna
# messages
LIBRELOGO=LibreLogo
ERROR=Hiba (%s. sor)
ERR_ZERODIVISION=Oszt\u00e1s null\u00e1val.
ERR_NAME=Ismeretlen n\u00e9v: \u201e%s\u201d.
ERR_ARGUMENTS=%s: %s adatot v\u00e1r, de %s lett megadva.
ERR_BLOCK=Hiba (hi\u00e1nyz\u00f3 vagy felesleges sz\u00f3k\u00f6z a kapcsos z\u00e1r\u00f3jeln\u00e9l?)
ERR_KEY=Ismeretlen elem: %s
ERR_INDEX=Nem l\u00e9tez\u0151 elemre hivatkoz\u00e1s.
ERR_STOP=A fut\u00e1s le\u00e1ll\u00edtva:
ERR_MAXRECURSION=el\u00e9rve az \u00fajrah\u00edv\u00e1si korl\u00e1t (%d).
ERR_MEMORY=nincs el\u00e9g mem\u00f3ria.
ERR_NOTAPROGRAM=Futtatni akarja ezt a sz\u00f6veges dokumentumot?
......@@ -6,7 +6,7 @@ import threading, time as __time__
ctx = uno.getComponentContext()
__lngpath__ = re.sub("[\w_.]*$", "", ctx.ServiceManager.createInstanceWithContext("org.openoffice.LibreLogo.LibreLogoDummy", ctx).get_path())
__translang__ = "cz|de|dk|en|es|fr|hu|it|nl|no|pl|pt|ru|se|sl" # FIXME supported languages for language guessing, expand this list, according to the localizations
__translang__ = "cz|de|dk|en_US|es|fr|hu|it|nl|no|pl|pt|ru|se|sl" # FIXME supported languages for language guessing, expand this list, according to the localizations
__lng__ = {}
__docs__ = {}
__prevcode__ = None
......@@ -118,7 +118,7 @@ def __l12n__(lng):
return __lng__[lng]
except:
try:
__lng__[lng] = dict([[i.split("=")[0].strip(), i.split("=")[1].strip().decode("unicode-escape")] for i in open(__lngpath__ + lng + ".properties", 'r').readlines() if "=" in i])
__lng__[lng] = dict([[i.split("=")[0].strip(), i.split("=")[1].strip().decode("unicode-escape")] for i in open(__lngpath__ + "LibreLogo_" + lng + ".properties", 'r').readlines() if "=" in i])
return __lng__[lng]
except:
return None
......@@ -281,7 +281,7 @@ def __translate__(arg = None):
if not lang:
lang = __l12n__(_.lng)
if not lang:
lang = __l12n__("en")
lang = __l12n__("en_US")
lq = '\'' + lang['LEFTSTRING'].replace("|", "")
rq = '\'' + lang['RIGHTSTRING'].replace("|", "")
......@@ -521,7 +521,7 @@ def __setlang__():
if not __l12n__(_.lng):
_.lng = loc.Language
if not __l12n__(_.lng):
_.lng = "en"
_.lng = "en_US"
def run(arg=None, arg2 = -1):
global _, __thread__, __halt__, _, __prevcode__, __prevlang__, __prevcompiledcode__
......
LibreOffice Logo 0.2 RC2
License: GNU LGPL & GPL, MPL
Home page: http://www.numbertext.org/logo
(c) László Németh (nemeth at numbertextdotorg)
FSF.hu Foundation, http://www.fsf.hu
Icons copyright: OpenOffice.org/LibreOffice
Introduction
============
LibreLogo is a Logo-like programming language with interactive vectorgraphics for education and DTP
- presentation: http://www.numbertext.org/logo/librelogo.pdf
- basic Logo syntax for back compability with educational Logo systems
- interactive vectorgraphics in LibreOffice Writer
- native commands (easily translatable)
- Python data structures (list, tuple, set, dictionary) and other Python features
Usage
=====
See Logo in LibreOffice Help and http://www.numbertext.org/logo for documentation.
Translation
===========
create your_language_id.lng in LibreOffice/ based on en.lng.
Compilation:
python make.py
Development
===========
LibreLogo uses the PyUNO scripting framework, so Addons.xcu URLs depend from the
full name of the package. Modify them according to the package name with the
version number.
......@@ -8,12 +8,11 @@
</display-name>
<version value="0.2rc2" />
<publisher>
<name lang="en" xlink:href="http://www.numbertext.org/logo">László Németh</name>
<name lang="en-US" xlink:href="http://www.numbertext.org/logo">László Németh</name>
<name lang="hu" xlink:href="http://www.numbertext.org/logo">Németh László</name>
</publisher>
<extension-description>
<src lang="en" xlink:href="description-en.txt" />
<src lang="hu" xlink:href="description-hu.txt" />
<src lang="en-US" xlink:href="description-en-US.txt" />
</extension-description>
<dependencies>
<OpenOffice.org-minimal-version value="3.2" d:name="OpenOffice.org 3.2" />
......
This diff is collapsed.
......@@ -10,9 +10,9 @@
-->
<tree_view>
<help_section application="swriter" id="02" title="Presenter Console Keyboard Shortcuts">
<node id="0211" title="LibreLogo">
<topic id="LibreLogo/LibreLogo.xhp">LibreLogo</topic>
<help_section application="swriter" id="02" title="LibreLogo">
<node id="0225" title="LibreLogo">
<topic id="help/org.openoffice.comp.pyuno.LibreLogo/LibreLogo.xhp">LibreLogo</topic>
</node>
</help_section>
</tree_view>
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<meta>
<topic id="tree_stringsxml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" id="tit" localize="false">Note to translators:</title>
<filename>/mediawiki/help/treestrings.xhp</filename>
</topic>
</meta>
<body>
<comment>This file contains extra strings for the contents (*.tree) files. No indexing!</comment>
<switch select="sys"> <case select="OS2">
<paragraph role="heading" level="1" id="hd_id3150150" xml-lang="en-US" localize="false">File: help.tree</paragraph>
<paragraph role="paragraph" id="par_id3160160" xml-lang="en-US">&lt;help_section application=&quot;swriter&quot; id=&quot;02&quot; title=&quot;LibreLogo&quot;&gt;</paragraph>
<paragraph role="paragraph" id="par_id3170170" xml-lang="en-US">&lt;node id=&quot;0225&quot; title=&quot;LibreLogo&quot;&gt;</paragraph>
</case> </switch>
</body>
</helpdocument>
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
oor:name="Addons"
oor:package="org.openoffice.Office">
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="LibreLogo.OfficeToolBar" oor:op="replace">
......@@ -15,8 +11,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$goforward?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Forward</value>
<value xml:lang="hu">Előre</value>
<value xml:lang="en-US">Forward</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -30,8 +25,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$gobackward?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Back</value>
<value xml:lang="hu">Hátra</value>
<value xml:lang="en-US">Back</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -45,8 +39,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$left?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Left</value>
<value xml:lang="hu">Balra</value>
<value xml:lang="en-US">Left</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -60,8 +53,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$right?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Right</value>
<value xml:lang="hu">Jobbra</value>
<value xml:lang="en-US">Right</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -75,8 +67,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$run?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Start (the program in the Writer document)</value>
<value xml:lang="hu">Indítás (a Writer dokumentumban lévő programé)</value>
<value xml:lang="en-US">Start (the program in the Writer document)</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -90,8 +81,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$stop?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Stop</value>
<value xml:lang="hu">Leállítás</value>
<value xml:lang="en-US">Stop</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -105,8 +95,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$home?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Home</value>
<value xml:lang="hu">Haza</value>
<value xml:lang="en-US">Home</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -120,8 +109,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$clearscreen?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Clear screen</value>
<value xml:lang="hu">Képernyőtörlés</value>
<value xml:lang="en-US">Clear screen</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -132,7 +120,7 @@
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$commandline?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">FORWARD (fd), BACK (bk), LEFT (lt), RIGHT (rt) • fd 72, bk 1cm + 1in + 1", lt 90, rt 1.5h
<value xml:lang="en-US">FORWARD (fd), BACK (bk), LEFT (lt), RIGHT (rt) • fd 72, bk 1cm + 1in + 1", lt 90, rt 1.5h
REPEAT num [ commands ], REPCOUNT • repeat 100 [ fd repcount lt 91 ]
PENUP (pu), PENDOWN (pd), FILL, CLOSE, HOME, CLEARSCREEN (cs), PENSIZE (ps 5)
PENCOLOR (pc), FILLCOLOR (fc) • pc “red”, pc 0xff0000, fc [255, 0, 0], fc any
......@@ -143,17 +131,6 @@ FONTFAMILY “Font” FONTSIZE 9 FONTCOLOR “red” FONTWEIGHT “bold”
TO name arguments ... END, TO name arguments, OUTPUT return_value, END
RANDOM, SQRT, INT, COUNT, ABS, SIN, COS, INPUT • ps random 100, print count “string”
PICTURE (pic) [ ... ] • group different shapes: pic [ fd 100 circle 50 ]</value>
<value xml:lang="hu">ELŐRE (e), HÁTRA (h), BALRA (b), JOBBRA (j) • e 72, h 1cm + 1in + 1", b 90, j 1,5ó
ISMÉTLÉS (ism) hányszor [ parancsok ], HÁNYADIK • ism 100 [ e hányadik b 91 ]
TOLLATFEL (tf), TOLLATLE (tl), TÖLT, ZÁR, HAZA, TÖRÖLKÉP, TOLLVASTAGSÁG (tv 5)
TOLLSZÍN (tsz), TÖLTŐSZÍN (tlsz) • tsz „kék”, tsz 0xff0000, tsz [0, 0, 0], tsz tetsz
HELY, IRÁNY • hely [0, 0], hely oldalméret, irány 60, irány [0, 0]
KÖR, ELLIPSZIS, NÉGYZET, TÉGLALAP • kör 100, ellipszis [50, 100], négyzet 100
CÍMKE, SZÖVEG, KI • „címke szöveg”, kör 200 szöveg „körfelirat” ki 5+5
BETŰCSALÁD „betű” BETŰMÉRET 24 BETŰSZÍN „kék” BETŰVASTAGSÁG „vastag”
EZ név változók ... VÉGE, EZ név változók, EREDMÉNY visszatérési_érték, VÉGE
VÉLETLENSZÁM (vszám), GYÖK, EGÉSZ, DARAB (db), BE • e vszám 100, ki db „betűk”
KÉP [ ... ] • alakzatok csoportosítása: kép [ e 100 kör 50 ]</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......@@ -176,8 +153,7 @@ KÉP [ ... ] • alakzatok csoportosítása: kép [ e 100 kör 50 ]</value>
<value>vnd.sun.star.script:librelogo-0.2.oxt|LibreLogo|LibreLogo.py$__translate__?language=Python&amp;location=user:uno_packages</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Uppercase commands, also translate them to the language of the document</value>
<value xml:lang="hu">Parancsok nagybetűsítése és fordítása a dokumentum nyelvére</value>
<value xml:lang="en-US">Uppercase commands, also translate them to the language of the document</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
......
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
oor:name="StartModuleWindowState"
oor:package="org.openoffice.Office.UI">
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="StartModuleWindowState" oor:package="org.openoffice.Office.UI">
<node oor:name="UIElements">
<node oor:name="States">
<node oor:name="private:resource/toolbar/addon_LibreLogo.OfficeToolBar" oor:op="replace">
<prop oor:name="UIName" oor:type="xs:string">
<value lang="en">Logo</value>
<value lang="hu">Logo</value>
<value xml:lang="en-US">Logo</value>
</prop>
<prop oor:name="Visible" oor:type="xs:boolean">
<value>false</value>
......
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
oor:name="WriterWindowState"
oor:package="org.openoffice.Office.UI">
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="WriterWindowState" oor:package="org.openoffice.Office.UI">
<node oor:name="UIElements">
<node oor:name="States">
<node oor:name="private:resource/toolbar/addon_LibreLogo.OfficeToolBar" oor:op="replace">
<prop oor:name="UIName" oor:type="xs:string">
<value lang="en">Logo</value>
<value lang="hu">Logo</value>
<value xml:lang="en-US">Logo</value>
</prop>
<prop oor:name="Visible" oor:type="xs:boolean">
<value>false</value>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment