home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #3 / K-CD-3-2002.ISO / OpenOffice / f_0046 / sbasic.jar / text / sbasic / common / 00000002.xml next >
Encoding:
Extensible Markup Language  |  2001-09-07  |  7.3 KB  |  64 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>OpenOffice.org Basic Glossary</title><meta name="filename" content="text/sbasic/common/00000002"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 margin-left:0cm; margin-right:0cm;}
  6.         span.Tabelle1A{
  7.                 width:3.5cm;}
  8.         span.Tabelle1B{
  9.                 width:14.496cm;}
  10.         p.P1{
  11.                 }
  12.         span.T1{
  13.                 font-weight:bold;}
  14.         </style></head><body>
  15.   
  16.   
  17.   <p class="P1"/>
  18.   <p class="Head1"><a name="glossar"/><help:link Id="66636" xmlns:help="http://openoffice.org/2000/help">OpenOffice.org Basic Glossary</help:link></p>
  19.   <p class="Paragraph">In addition to several technical terms, this glossary also explains some of the most important functions that you will come across in programming with OpenOffice.org Basic.<a name="ende"/></p>
  20.   <p class="Paragraph">Click on the desired term, or browse through the alphabetical list of descriptions.</p>
  21.   <p class="Paragraph"><help:link Id="66636" Eid="dezimal" xmlns:help="http://openoffice.org/2000/help">Decimal Point</help:link>, <help:link Id="66636" Eid="farben" xmlns:help="http://openoffice.org/2000/help"> Colors</help:link>, <help:link Id="66636" Eid="masseinheiten" xmlns:help="http://openoffice.org/2000/help">measurement units</help:link>, <help:link Id="66636" Eid="twips" xmlns:help="http://openoffice.org/2000/help">Twips</help:link></p>
  22.   <p class="PropText"/>
  23.   <help:to-popup Eid="dezimal" xmlns:help="http://openoffice.org/2000/help">
  24.   <p class="Head2"><a name="dezimal"/>Decimal Point</p>
  25.   <p class="Paragraph">When converting numbers, OpenOffice.org Basic takes country settings into effect. If you have specified a country in your system settings where decimal points in numbers are represented by a comma, and thousand separators are represented by a point, this setting also applies to calculations in OpenOffice.org Basic.</p>
  26.   <p class="Paragraph">The behavior has an effect on both the implicit conversion ( 1 + "2,3" = 3,3 ) as well as the runtime function <help:link Id="66406">IsNumeric</help:link>. The thousand separator corresponds to the system settings.</p>
  27.   </help:to-popup>
  28.   <p class="Head2"><a name="farben"/>Colors</p>
  29.   <p class="Paragraph">In OpenOffice.org Basic, colors are generally treated as long integer variables; the return value is also always long integer. When defining properties, colors can also be set in <help:link Id="66436" Eid="rgb" xmlns:help="http://openoffice.org/2000/help">RGB code</help:link> and thus treated as long integer values.</p>
  30.   <help:embedded Id="66475" Eid="farbcodes" xmlns:help="http://openoffice.org/2000/help"/>
  31.   <p class="Head2"><a name="masseinheiten"/>Measurement units</p>
  32.   <p class="Paragraph">The pass parameters of a method, which contain the measurement unit information, can be set in OpenOffice.org Basic either as an integer or long integer expression without a defined unit, or as a character string with a defined unit. If such a parameter is passed as an integer or long integer expression, the default unit defined for the active document type in the <span class="T1">Layout</span> tab under <span class="T1">Tools - Options</span> will be used as the measurement unit. If the parameter is passed as a character string with a defined measurement unit, the default setting will be ignored. The following are valid measurement units:</p>
  33.   <p class="Paragraph">Millimeter ("20mm"), centimeter ("2.00cm"), inch ("0.79in"), pica and point ("59.9pt").</p>
  34.   <p class="Paragraph">For properties, the same applies: parameters can be set with or without a defined measurement unit as a string, or as an integer or long integer. However, for integer or long integer variables, the measurement unit is set according to the default settings. In the Help, a return value is characterized as an integer or long integer expression, depending on the respective variable type. Note that this value can also be returned as a character string.</p>
  35.   <p class="Paragraph">This rule is generally valid, unless defined otherwise in the Help. The settings in the <span class="T1">Layout</span> tab do not apply to font sizes or window positioning. Font sizes can also be set either as a long integer variable without a defined unit or with the desired measurement unit. If no unit is specified, the default unit is point. The return value also uses the point unit, regardless of if a string or a numerical value is queried. Window positions are always specified in pixel. To find out which unit is used by the program, please refer to the appropriate topic in the documentation.</p>
  36.   <table><tr class=""><th style="text-align:left;"><span class="Tabelle1A">
  37.       <p class="TextInTable"/>
  38.      </span></th><th style="text-align:left;"><span class="Tabelle1B">
  39.       <p class="TextInTable"/>
  40.      </span></th></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  41.      <p class="TextInTable"/>
  42.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  43.      <p class="TextInTable"/>
  44.     </span></td></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  45.      <p class="TextInTable"/>
  46.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  47.      <p class="TextInTable"/>
  48.     </span></td></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  49.      <p class="TextInTable"/>
  50.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  51.      <p class="TextInTable"/>
  52.     </span></td></tr></table>
  53.   <p class="Paragraph"/>
  54.   <help:to-popup Eid="twips" xmlns:help="http://openoffice.org/2000/help"><a name="twips"/>
  55.   <p class="Head2"><help:key-word value="Twips" tag="kw66636_1"/>Twips</p>
  56.   <p class="Paragraph">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 thus 1440 twips to an inch or about 567 twips to a centimeter.</p>
  57.   </help:to-popup>
  58.   <p class="Head2"><a name="urllocal"/>URL notation</p>
  59.   <p class="Paragraph"><span class="T1">Example</span>: file:///c|/autoexec.bat</p>
  60.   <p class="Paragraph">Even individual files can be determined worldwide by a URL. This example shows the address of the file autoexec.bat on the C: drive of the computer on which this file is referenced. The name of the computer is missing in this example - if you want to add it, insert it between the second and third slash.</p>
  61.   <p class="Paragraph">In OpenOffice.org you can also enter the path for your files with the backslash "\" as the separator; the application will convert it to the correct URL convention with a slash "/". Since the colon (used by many operating systems to separate the disk drive letter from the next part of the address) already has a different function in a URL address, convention dictates that it is replaced by a vertical line "|" here.</p>
  62.   <p class="Paragraph">If a folder name referred to in a URL contains spaces, you should replace these using the syntax for special characters. For example, instead of entering the folder name "My Files," name it "My%20Files". After the percentage sign comes the two-digit hexadecimal ASCII code for a space (decimal 32 = hexadecimal 20).</p>
  63.   <p class="Paragraph"/>
  64.  </body></html>