xref: /AOO42X/main/helpcontent2/source/text/sbasic/shared/00000002.xhp (revision 10b94d0034942efcb70900f8f5144327884e2b04)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3d33d0967SAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
5d33d0967SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6d33d0967SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7d33d0967SAndrew Rist * distributed with this work for additional information
8d33d0967SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9d33d0967SAndrew Rist * to you under the Apache License, Version 2.0 (the
10d33d0967SAndrew Rist * "License"); you may not use this file except in compliance
11d33d0967SAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
13d33d0967SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
15d33d0967SAndrew Rist * Unless required by applicable law or agreed to in writing,
16d33d0967SAndrew Rist * software distributed under the License is distributed on an
17d33d0967SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18d33d0967SAndrew Rist * KIND, either express or implied.  See the License for the
19d33d0967SAndrew Rist * specific language governing permissions and limitations
20d33d0967SAndrew Rist * under the License.
21cdf0e10cSrcweir *
22d33d0967SAndrew Rist ***********************************************************-->
23d33d0967SAndrew Rist
24cdf0e10cSrcweir<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textsbasicshared00000002xml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">$[officename] Basic Glossary</title>
28cdf0e10cSrcweir<filename>/text/sbasic/shared/00000002.xhp</filename>
29cdf0e10cSrcweir</topic>
301c8e30e9Smseidel<comment>fixed #i30799#, added sections and sort element</comment>
31cdf0e10cSrcweir</meta>
32cdf0e10cSrcweir<body>
33*10b94d00Smseidel<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1" l10n="U"><link href="text/sbasic/shared/00000002.xhp" name="$[officename] Basic Glossary">$[officename] Basic Glossary</link></paragraph>
34*10b94d00Smseidel<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U">This glossary explains some technical terms that you may come across when working with $[officename] Basic.</paragraph>
35cdf0e10cSrcweir<sort order="asc">
36cdf0e10cSrcweir<section id="dezimal">
37*10b94d00Smseidel<paragraph role="heading" id="hd_id3155133" xml-lang="en-US" level="2" l10n="U">Decimal Point</paragraph>
38*10b94d00Smseidel<paragraph role="paragraph" id="par_id3156443" xml-lang="en-US" l10n="U">When converting numbers, $[officename] Basic uses the locale settings of the system for determining the type of decimal and thousand separator.</paragraph>
39*10b94d00Smseidel<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U">The behavior has an effect on both the implicit conversion ( 1 + "2.3" = 3.3 ) as well as the runtime function <link href="text/sbasic/shared/03102700.xhp" name="IsNumeric">IsNumeric</link>.</paragraph>
40cdf0e10cSrcweir</section>
41cdf0e10cSrcweir<section id="colors">
42*10b94d00Smseidel<paragraph role="heading" id="hd_id3155854" xml-lang="en-US" level="2" l10n="U">Colors</paragraph>
43*10b94d00Smseidel<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U">In $[officename] Basic, colors are treated as long integer value. The return value of color queries is also always a long integer value. When defining properties, colors can be specified using their RGB code that is converted to a long integer value using the <link href="text/sbasic/shared/03010305.xhp" name="RGB function">RGB function</link>.</paragraph>
44cdf0e10cSrcweir</section>
45cdf0e10cSrcweir<section id="measurementunits">
46*10b94d00Smseidel<paragraph role="heading" id="hd_id3146119" xml-lang="en-US" level="2" l10n="U">Measurement Units</paragraph>
47*10b94d00Smseidel<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="CHG">In $[officename] Basic, a <emph>method parameter</emph> or a <emph>property</emph> expecting unit information can be specified either as integer or long integer expression without a unit, or as a character string containing a unit. If no unit is passed to the method the default unit defined for the active document type will be used. If the parameter is passed as a character string containing a measurement unit, the default setting will be ignored. The default measurement unit for a document type can be set under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - (Document Type) - General</emph>.</paragraph>
48cdf0e10cSrcweir</section>
49cdf0e10cSrcweir<section id="twips">
50046da525Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3145801">
51046da525Smseidel<bookmark_value>twips; definition</bookmark_value>
52cdf0e10cSrcweir</bookmark>
53*10b94d00Smseidel<paragraph role="heading" id="hd_id3145801" xml-lang="en-US" level="2">Twips</paragraph>
54*10b94d00Smseidel<paragraph role="paragraph" id="par_id3154731" xml-lang="en-US" l10n="U">A twip is a screen-independent unit which is used to define the uniform position and size of screen elements on all display systems. A twip is 1/1440th of an inch or 1/20 of a printer's point. There are 1440 twips to an inch or about 567 twips to a centimeter.</paragraph>
55cdf0e10cSrcweir</section>
56cdf0e10cSrcweir<section id="urlnotation">
57*10b94d00Smseidel<paragraph role="heading" id="hd_id3153159" xml-lang="en-US" level="2" l10n="U">URL Notation</paragraph>
58*10b94d00Smseidel<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U">URLs (<emph>Uniform Resource Locators</emph>) are used to determine the location of a resource like a file in a file system, typically inside a network environment. A URL consists of a protocol specifier, a host specifier and a file and path specifier:</paragraph>
59*10b94d00Smseidel<paragraph role="paragraph" id="par_id3149121" xml-lang="en-US" l10n="U"><emph>protocol</emph>://<emph>host.name</emph>/<emph>path/to/the/file.html</emph></paragraph>
60*10b94d00Smseidel<paragraph role="paragraph" id="par_id3168612" xml-lang="en-US" l10n="U">The most common usage of URLs is on the internet when specifying web pages. Example for protocols are <emph>http</emph>, <emph>ftp</emph>, or <emph>file</emph>. The <emph>file</emph> protocol specifier is used when referring to a file on the local file system.</paragraph>
61*10b94d00Smseidel<paragraph role="paragraph" id="par_id3150324" xml-lang="en-US" l10n="U">URL notation does not allow certain special characters to be used. These are either replaced by other characters or encoded. A slash (<emph>/</emph>) is used as a path separator. For example, a file referred to as <emph>C:\My File.odt</emph> on the local host in "Windows notation" becomes <emph>file:///C|/My%20File.odt</emph> in URL notation.</paragraph>
62cdf0e10cSrcweir</section>
63cdf0e10cSrcweir</sort>
64cdf0e10cSrcweir</body>
65cdf0e10cSrcweir</helpdocument>
66