BuildingBlock

ハイパーリンクの定義

プロパティ(オブジェクト)

Ver.プロパティ名説明

677.5
parentCrossReferenceFormat

77.5
eventListenersEventListeners

77.5
eventsEventsイベント

プロパティ

Ver.プロパティ名R/O説明

677.5
appliedCharacterStyle CharacterStyle 適用される文字スタイル

677.5
appliedDelimiter 文字列型 Delimiter character for paragraph text and full paragraph building blocks.

677.5
blockType BuildingBlockTypes
BuildingBlockTypes
Ver.10進数説明

677.5
BOOKMARK_NAME_BUILDING_BLOCK1650614894Bookmark name building block type.

677.5
CHAPTER_NUMBER_BUILDING_BLOCK1650615150Chapter number building block type.

677.5
CUSTOM_STRING_BUILDING_BLOCK1650615155Custom string building block type.

677.5
FILE_NAME_BUILDING_BLOCK1650615918File name building block type.

677.5
FULL_PARAGRAPH_BUILDING_BLOCK1650615920Full paragraph building block type.

677.5
PAGE_NUMBER_BUILDING_BLOCK1650618478Page number building block type.

677.5
PARAGRAPH_NUMBER_BUILDING_BLOCK1651533678Paragraph number building block type.

677.5
PARAGRAPH_TEXT_BUILDING_BLOCK1650618484Paragraph text building block type.

677.5
customText 文字列型 Building block custom text. Currently this is only useful in custom string building block. It is ignored for other types of building blocks.

677.5
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.

677.5
index 数値型 インデックス

677.5
isValid ブール型

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明

77.5
addEventListener(eventType, handler, [captures])EventListenerEventListenerを作成
eventType 文字列型
handler File型, JavaScript関数
[captures] ブール型(既定値=false) This parameter is obsolete.

677.5
getElements()BuildingBlock

677.5
remove()なし削除

77.5
removeEventListener(eventType, handler, [captures])ブール型EventListenerを削除
eventType 文字列型
handler File型, JavaScript関数
[captures] ブール型(既定値=false) This parameter is obsolete.

677.5
toSource()文字列型

677.5
toSpecifier()文字列型

コレクションオブジェクトのプロパティ BuildingBlocks

Ver.プロパティ名R/O説明

677.5
length 数値型 オブジェクト数

コレクションオブジェクトのメソッド BuildingBlocks

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明

677.5
add(blockType, [appliedCharacterStyle], [customText], [withProperties])BuildingBlock新しいオブジェクトを作成し、それを返す
blockType BuildingBlockTypes
BuildingBlockTypes
Ver.10進数説明

677.5
BOOKMARK_NAME_BUILDING_BLOCK1650614894Bookmark name building block type.

677.5
CHAPTER_NUMBER_BUILDING_BLOCK1650615150Chapter number building block type.

677.5
CUSTOM_STRING_BUILDING_BLOCK1650615155Custom string building block type.

677.5
FILE_NAME_BUILDING_BLOCK1650615918File name building block type.

677.5
FULL_PARAGRAPH_BUILDING_BLOCK1650615920Full paragraph building block type.

677.5
PAGE_NUMBER_BUILDING_BLOCK1650618478Page number building block type.

677.5
PARAGRAPH_NUMBER_BUILDING_BLOCK1651533678Paragraph number building block type.

677.5
PARAGRAPH_TEXT_BUILDING_BLOCK1650618484Paragraph text building block type.
[appliedCharacterStyle] CharacterStyle
[customText] 文字列型 Building block custom text. Currently this is only useful in custom string building block. It is ignored for other types of building blocks.
[withProperties] Object プロパティの初期値を設定

677.5
anyItem()BuildingBlock

677.5
count()数値型要素数を返す

677.5
everyItem()BuildingBlock

677.5
firstItem()BuildingBlock最初のオブジェクトを返す

677.5
item(index)BuildingBlockインデックスまたは名前で指定したオブジェクトを返す
index 数値型, 文字列型 番号もしくは名前

6
itemByName(name)BuildingBlock名前で指定したオブジェクトを返す
name 文字列型 名前

677.5
itemByRange(from, to)BuildingBlock範囲で指定したオブジェクトを返す
from BuildingBlock, 数値型, 文字列型 範囲の開始
to BuildingBlock, 数値型, 文字列型 範囲の終了

677.5
lastItem()BuildingBlock最後のオブジェクトを返す

677.5
middleItem()BuildingBlock

677.5
nextItem(obj)BuildingBlock一つ後のオブジェクトを返す
obj BuildingBlock 位置の基準になるオブジェクト

677.5
previousItem(obj)BuildingBlock一つ前のオブジェクトを返す
obj BuildingBlock 位置の基準になるオブジェクト

677.5
toSource()文字列型