LibreOffice Basic用語集

この用語集では、LibreOffice Basicで使われるいくつかの専門用語について解説します。

AppFont Units

Map AppFont units are device and resolution independent. One Map AppFont unit is equal to one eighth of the average character (Systemfont) height and one quarter of the average character width.

Twips

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.

URL 指定

URL (Uniform Resource Locators) とは、ファイルシステム中に存在するファイルなどのリソースの位置を指定するための方式の 1 つで、通常はネットワーク環境で使用されます。 個々の URL は、プロトコルの指示部、ホストの指示部、ファイルとパスの指示部から構成されます。

protocol://host.name/path/to/the/file.html

URL が最も広範に利用されている分野は、インターネット上に存在する Web ページの指定です。またプロトコルとしては、httpftpfile などが用いられています。たとえば file プロトコルは、ローカルファイルシステム中に存在するファイルを参照する際に使用します。

URL notation does not allow certain special characters to be used. These are either replaced by other characters or encoded. A slash (/) is used as a path separator. For example, a file referred to as C:\Users\alice\Documents\My File.odt on the local host in "Windows notation" becomes file:///C:/Users/alice/Documents/My%20File.odt in URL notation.

使用する単位

LibreOffice Basicのメソッドパラメーター属性で用いられる情報は、単位の付かない整数やロング整数としてか、単位を含めた文字列として指定できます。メソッドに単位が渡されなかった場合は、各ドキュメントの種類ごとに設定されたデフォルトの単位が使用されます。使用する単位を含めた文字列としてパラメーターが渡された場合は、デフォルト設定は無視されます。ドキュメントの種類ごとに使用する単位のデフォルト設定は、メニュー → (ドキュメントの種類) → 全般 を選択して指定します。

小数点

LibreOffice Basicで数値を変換する際には、システムのロケール設定に応じた小数点および桁区切り記号が使用されます。

The behavior has an effect on both the implicit conversion ( 1 + "2.3" = 3.3 ) as well as the function IsNumeric.

LibreOffice Basicでの表示色は、ロング整数値として扱われています。色関係の関数の戻り値も、こうしたロング整数値で返されます。色の属性を設定する際には、RGB 関数によりロング整数値に変換された RGB コードを使用します。

ご支援をお願いします!