XMLImportMaps
XMLImportMap(A mapping object that maps an XML tag to a style (paragraph, character, table, or cell).)のコレクション
プロパティ
Ver. | プロパティ名 | R/O | 値 | 説明 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
length | ○ |
数値 | オブジェクト数 |
メソッド
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
add(markupTag, mappedStyle, [withProperties]) |
XMLImportMap | 新しいオブジェクトを作成し、それを返す |
| markupTag |
XMLTag, 文字列値 | | XMLタグ |
| mappedStyle |
ParagraphStyle, CharacterStyle, TableStyle, CellStyle, 文字列値 | | 関連付けるスタイル |
| [withProperties] |
Object | | プロパティを設定 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
anyItem() |
XMLImportMap | どれかのオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
count() |
数値 | 要素数を返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
everyItem() |
Array( XMLImportMap ) | 全てのオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
firstItem() |
XMLImportMap | 最初のオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
item(index) |
XMLImportMap | インデックスまたは名前で指定したオブジェクトを返す |
| index |
数値, 文字列値 | | インデックスまたは名前 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
itemByRange(from, to) |
Array( XMLImportMap ) | 範囲で指定したオブジェクトを返す |
| from |
XMLImportMap, 数値, 文字列値 | | 範囲の開始 |
| to |
XMLImportMap, 数値, 文字列値 | | 範囲の終了 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
lastItem() |
XMLImportMap | 最後のオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
middleItem() |
XMLImportMap | 真ん中のオブジェクトを返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
nextItem(obj) |
XMLImportMap | 一つ後のオブジェクトを返す |
| obj |
XMLImportMap | | 位置の基準になるオブジェクト |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
previousItem(obj) |
XMLImportMap | 一つ前のオブジェクトを返す |
| obj |
XMLImportMap | | 位置の基準になるオブジェクト |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
toSource() |
文字列値 | ソースコードを表す文字列を返す |
XMLImportMap
A mapping object that maps an XML tag to a style (paragraph, character, table, or cell).
プロパティ(parentとその逆)
プロパティ
メソッド
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
addEventListener(eventType, handler, [captures]) |
EventListener | EventListenerを作成 |
| eventType |
文字列値 | | |
| handler |
ファイル, JavaScript関数 | | |
| [captures] |
真偽値 | | (廃止) |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
getElements() |
Array( XMLImportMap ) | オブジェクト参照を返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
remove() |
なし | 削除 |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
removeEventListener(eventType, handler, [captures]) |
真偽値 | EventListenerを削除 |
| eventType |
文字列値 | | |
| handler |
ファイル, JavaScript関数 | | |
| [captures] |
真偽値 | | (廃止) |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
toSource() |
文字列値 | ソースコードを表す文字列を返す |
![[12]](12e.png) ![[13]](13e.png) ![[14]](14e.png) ![[15]](15e.png)
![[16]](16e.png) ![[17]](17e.png) ![[18]](18e.png) ![[19]](19e.png) |
toSpecifier() |
文字列値 | Retrieves the object specifier. |