BuildingBlocks

BuildingBlock(ハイパーリンクの定義)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8]
[9][10][11]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8]
[9][10][11]
add(blockType, [appliedCharacterStyle], [customText], [withProperties]) BuildingBlock新しいオブジェクトを作成し、それを返す
blockType BuildingBlockTypes
BuildingBlockTypes
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
BOOKMARK_NAME_ BUILDING_BLOCK1650614894
bbbn
Bookmark name building block type.
[7][7.5][8]
[9][10][11]
CHAPTER_NUMBER_ BUILDING_BLOCK1650615150
bbcn
Chapter number building block type.
[7][7.5][8]
[9][10][11]
CUSTOM_STRING_ BUILDING_BLOCK1650615155
bbcs
Custom string building block type.
[7][7.5][8]
[9][10][11]
FILE_NAME_BUILDING_BLOCK1650615918
bbfn
File name building block type.
[7][7.5][8]
[9][10][11]
FULL_PARAGRAPH_ BUILDING_BLOCK1650615920
bbfp
Full paragraph building block type.
[7][7.5][8]
[9][10][11]
PAGE_NUMBER_BUILDING_BLOCK1650618478
bbpn
Page number building block type.
[7][7.5][8]
[9][10][11]
PARAGRAPH_NUMBER_ BUILDING_BLOCK1651533678
bpgn
Paragraph number building block type.
[7][7.5][8]
[9][10][11]
PARAGRAPH_TEXT_ BUILDING_BLOCK1650618484
bbpt
Paragraph text building block type.
[appliedCharacterStyle] CharacterStyle適用される文字スタイル
[customText] 文字列値
[withProperties] Objectプロパティの初期値を設定
[7][7.5][8]
[9][10][11]
anyItem() BuildingBlock
[7][7.5][8]
[9][10][11]
count() 数値要素数を返す
[7][7.5][8]
[9][10][11]
everyItem() Array( BuildingBlock )
[7][7.5][8]
[9][10][11]
firstItem() BuildingBlock最初のオブジェクトを返す
[7][7.5][8]
[9][10][11]
item(index) BuildingBlockインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[7][7.5][8]
[9][10][11]
itemByRange(from, to) Array( BuildingBlock )範囲で指定したオブジェクトを返す
from BuildingBlock, 数値, 文字列値範囲の開始
to BuildingBlock, 数値, 文字列値範囲の終了
[7][7.5][8]
[9][10][11]
lastItem() BuildingBlock最後のオブジェクトを返す
[7][7.5][8]
[9][10][11]
middleItem() BuildingBlock
[7][7.5][8]
[9][10][11]
nextItem(obj) BuildingBlock一つ後のオブジェクトを返す
obj BuildingBlock位置の基準になるオブジェクト
[7][7.5][8]
[9][10][11]
previousItem(obj) BuildingBlock一つ前のオブジェクトを返す
obj BuildingBlock位置の基準になるオブジェクト
[7][7.5][8]
[9][10][11]
toSource() 文字列値ソースコードを表示

BuildingBlock

ハイパーリンクの定義

プロパティ(parentとその逆)

Ver.プロパティR/O
[7][7.5][8]
[9][10][11]
parent CrossReferenceFormat
[7][7.5][8]
[9][10][11]
eventListeners EventListeners
[7][7.5][8]
[9][10][11]
events Events

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8]
[9][10][11]
appliedCharacterStyle CharacterStyle適用される文字スタイル
[7][7.5][8]
[9][10][11]
appliedDelimiter 文字列値Delimiter character for paragraph text and full paragraph building blocks. It is ignored for other types of building blocks.
[7][7.5][8]
[9][10][11]
blockType BuildingBlockTypes
BuildingBlockTypes
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
BOOKMARK_NAME_ BUILDING_BLOCK1650614894
bbbn
Bookmark name building block type.
[7][7.5][8]
[9][10][11]
CHAPTER_NUMBER_ BUILDING_BLOCK1650615150
bbcn
Chapter number building block type.
[7][7.5][8]
[9][10][11]
CUSTOM_STRING_ BUILDING_BLOCK1650615155
bbcs
Custom string building block type.
[7][7.5][8]
[9][10][11]
FILE_NAME_BUILDING_BLOCK1650615918
bbfn
File name building block type.
[7][7.5][8]
[9][10][11]
FULL_PARAGRAPH_ BUILDING_BLOCK1650615920
bbfp
Full paragraph building block type.
[7][7.5][8]
[9][10][11]
PAGE_NUMBER_BUILDING_BLOCK1650618478
bbpn
Page number building block type.
[7][7.5][8]
[9][10][11]
PARAGRAPH_NUMBER_ BUILDING_BLOCK1651533678
bpgn
Paragraph number building block type.
[7][7.5][8]
[9][10][11]
PARAGRAPH_TEXT_ BUILDING_BLOCK1650618484
bbpt
Paragraph text building block type.
Type of the building block.
[7][7.5][8]
[9][10][11]
customText 文字列値Building block custom text. Currently this is only useful in custom string building block. It is ignored for other types of building blocks.
[7][7.5][8]
[9][10][11]
includeDelimiter 真偽値If true, the source generated for the building block includes the delimiter. It is ignored if no delimiter is specified on the building block.
[7][7.5][8]
[9][10][11]
index 数値インデックス
[7][7.5][8]
[9][10][11]
isValid 真偽値
[7][7.5][8]
[9][10][11]
properties Object

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8]
[9][10][11]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値このパラメータは旧式です
[7][7.5][8]
[9][10][11]
getElements() Array( BuildingBlock )Resolves the object specifier, creating an array of object references.
[7][7.5][8]
[9][10][11]
remove() なし削除
[7][7.5][8]
[9][10][11]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値このパラメータは旧式です
[7][7.5][8]
[9][10][11]
toSource() 文字列値ソースコードを表示
[7][7.5][8]
[9][10][11]
toSpecifier() 文字列値Retrieves the object specifier.