From 8df2786662eab8d39cbd5cd8b7f6ac2d5e710246 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Mon, 27 Mar 2017 15:23:10 -0300 Subject: Fix and improve help contents in LibreLogo Unit #33628624 (uk) Unit #33628659 (uk) Unit #33628628 (uk) Change-Id: Id4e911c58bd353f8aa46020c185bb6763fbd1bf9 Reviewed-on: https://gerrit.libreoffice.org/35772 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot --- source/text/swriter/librelogo/LibreLogo.xhp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/text/swriter/librelogo/LibreLogo.xhp b/source/text/swriter/librelogo/LibreLogo.xhp index 8619c4c330..a95d803159 100644 --- a/source/text/swriter/librelogo/LibreLogo.xhp +++ b/source/text/swriter/librelogo/LibreLogo.xhp @@ -218,7 +218,7 @@ Shape grouping ; PICTURE [ LibreLogo_commands ]
PICTURE [ FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape
See also “Group” in LibreOffice Writer Help. - TO tree location
PENUP POSITION location HEADING 0 PENDOWN
PICTURE [ FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape
END

PICTURE [ tree [30, 50] tree [100, 50] ] ; grouped shapes in a grouped shape
+ TO tree location
PENUP POSITION location HEADING 0 PENDOWN
PICTURE [ FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape
END

PICTURE [ tree [230, 400] tree [300, 400] ] ; grouped shapes in a grouped shape
Starting new line shapes PICTURE ; start a new line shape
FORWARD 10 PICTURE FORWARD 10 ; two line shapes
Saving SVG images @@ -226,7 +226,7 @@ Saving SVG/SMIL animations (drawings with SLEEP commands) PICTURE “animation.svg” [ CIRCLE 5 SLEEP 1000 CIRCLE 99 ] ; save as an SVG/SMIL animation (see also SLEEP)
PICTURE “animation2.svg” [ CIRCLE 5 SLEEP 1000 CIRCLE 99 SLEEP 2000 ] ; as above, but using SLEEP after the last object will result looping: after 2 seconds the SVG animation restarts in SMIL-conformant browsers
Consistency at the left border -Use picture to keep the consistency of positions and line shapes at the left border of Writer: +Use PICTURE to keep the consistency of positions and line shapes at the left border of Writer: PICTURE [ CIRCLE 20 POSITION [-100, 100] CIRCLE 20 ]
Loops REPEAT @@ -257,7 +257,7 @@ Subroutines TO, END New word (or procedure). - TO triangle
REPEAT [ FORWARD 100 RIGHT 120 ] FILL
END

REPEAT 10 [ triangle PENUP POSITION ANY PENDOWN ]
+ TO triangle
REPEAT 2 [ FORWARD 100 RIGHT 120 ] FILL
END

REPEAT 10 [ triangle PENUP POSITION ANY PENDOWN ]
OUTPUT Return value of the function. TO randomletter
OUTPUT RANDOM “qwertzuiopasdfghjklyxcvbnm”
END

PRINT randomletter + randomletter + randomletter ; print 3-letter random character sequence
-- cgit