From 77cb682cd1b004e7247560e60f603a4bb0565b8d Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 13 Mar 2023 16:04:19 +0100 Subject: convert plain paragraphs with role="heading" → h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i.e. without child elements and also drop the language that was changed to implied in the dtd previously/defaults to en-US unless specified. This change doesn't affect translations, only the content of the paragraph/headings is extracted. done with: perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?\d+)"|(?id="[^"]+")/;} s#(?[^<]+)#$+{body}#g' (all permutations re order of attributes, and xml-lang="en-US" being optional / implied) Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/sbasic/shared/03104000.xhp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/text/sbasic/shared/03104000.xhp') diff --git a/source/text/sbasic/shared/03104000.xhp b/source/text/sbasic/shared/03104000.xhp index 721a7f56d0..55e4fb2500 100644 --- a/source/text/sbasic/shared/03104000.xhp +++ b/source/text/sbasic/shared/03104000.xhp @@ -36,11 +36,11 @@ Tests if a function is called with an optional parameter. See also: Optional -Syntax: +

Syntax:

IsMissing( ArgumentName ) -Parameters: +

Parameters:

ArgumentName: the name of an optional argument. IsMissing returns True if no value has been passed for the ArgumentName; otherwise, it returns False. -- cgit