From f0f2cba1d40a248f3cc24ecaa60d403586894780 Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Wed, 24 Nov 2021 16:24:40 +0200 Subject: tdf#143846 Separate help pages for ASC/JIS text functions Change-Id: I9b5ae9b14ea98fe9edbf84a433ad4b7ed3bfcf39 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125720 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/scalc/01/04060110.xhp | 30 ++-------------------------- source/text/scalc/01/func_asc.xhp | 42 +++++++++++++++++++++++++++++++++++++++ source/text/scalc/01/func_jis.xhp | 41 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 28 deletions(-) create mode 100644 source/text/scalc/01/func_asc.xhp create mode 100644 source/text/scalc/01/func_jis.xhp (limited to 'source') diff --git a/source/text/scalc/01/04060110.xhp b/source/text/scalc/01/04060110.xhp index 2fe9ef7455..9ddbcf00a7 100644 --- a/source/text/scalc/01/04060110.xhp +++ b/source/text/scalc/01/04060110.xhp @@ -75,20 +75,7 @@
- - ASC function - -i79585 - - -

ASC

-The ASC function converts full-width to half-width ASCII and katakana characters. Returns a text string. -See https://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions for a conversion table. - - -ASC("Text") - Text is the text that contains characters to be converted. -See also JIS function. +
@@ -325,20 +312,7 @@
- - JIS function - - - - -

JIS

-The JIS function converts half-width to full-width ASCII and katakana characters. Returns a text string. -See https://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions for a conversion table. - - -JIS("Text") - Text is the text that contains characters to be converted. -See also ASC function. +
diff --git a/source/text/scalc/01/func_asc.xhp b/source/text/scalc/01/func_asc.xhp new file mode 100644 index 0000000000..c828efb665 --- /dev/null +++ b/source/text/scalc/01/func_asc.xhp @@ -0,0 +1,42 @@ + + + + + + + ASC Function + /text/scalc/01/func_asc.xhp + + + +
+ + + ASC function + text functions;katakana characters + +

ASC

+ Converts double-byte (full-width) characters to single-byte (half-width) ASCII and katakana characters. +
+ See https://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions for a conversion table. + + ASC(Text) + Text: the text string that contains characters to be converted. + Applying the ASC function to a string composed of single-byte characters will return the input string without any modifications. + + =ASC("LibreOffice") returns the string "LibreOffice". No modifications were made because all characters are single-byte characters. + =ASC("ライト") returns the string "ライト", which is composed of single-byte characters. + +
+ + +
+ +
diff --git a/source/text/scalc/01/func_jis.xhp b/source/text/scalc/01/func_jis.xhp new file mode 100644 index 0000000000..ef94de403e --- /dev/null +++ b/source/text/scalc/01/func_jis.xhp @@ -0,0 +1,41 @@ + + + + + + + JIS Function + /text/scalc/01/func_jis.xhp + + + +
+ + + JIS function + +

JIS

+ Converts single-byte (half-width) ASCII or katakana characters to double-byte (full-width) characters. +
+ See https://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions for a conversion table. + + JIS(Text) + Text: the text string that contains characters to be converted. + Applying the JIS function to a string composed of double-byte characters will return the input string without any modifications. + + =JIS("LibreOffice") returns the string "LibreOffice". Note that the returned string uses double-byte characters. + =JIS("ライト") returns the string "ライト", which is composed of double-byte characters. + +
+ + +
+ +
-- cgit