InDesign Hacking with JavaScript

関数の要約
 void __deleteRuleProcessor(rProcessor)
          
 Object __makeRuleProcessor(ruleSet, prefixMappingTable)
          
 void __processChildren(rProcessor)
          
 void __processMatchData(matchData, rProcessor)
          
 void __processRuleSet(root, ruleSet, prefixMappingTable)
          
 void __processTree(root, rProcessor)
          
 void __skipChildren(rProcessor)
          
 nothing addHyperlink(<Object> obj)
           指定要素に外部ハイパーリンクを付ける実体
 Nothing applyImageObjectstyle(<Document> document, <String> tagname, <String> ostyle)
           指定のXML要素を持つrectangleにオブジェクトスタイルを適用する。ostyle属性が付いているときにはその値のオブジェクトスタイル名を使う
 String arabic2roman(<Long> s)
           アラビア数字からローマ数字に変換する
 Nothing backGroundImage(<String> layername, <Story> story, <Long> startpoint, <Long> endpoint, <Long[][4]> offsetunits, <File[]> files, <ObjectStyle> ostyle, <boolean> l<boolean> fit, <Float> width, fit)
           指定の画像をストーリーの開始オフセットから終了オフセットのボックス範囲の背景に配置する。オブジェクトオフセットおよび画像ファイルオブジェクトはページごとに指定できる。配列がページ数に満たなかった場合、その最後のオブジェクトが使われる。オフセットとファイルは別個に指定できる
 Nothing backGroundImage3(<Object> obj)
           指定の画像をストーリーの開始オフセットから終了オフセットのボックス範囲の背景に配置する。オブジェクトオフセットおよび画像ファイルオブジェクトはページごとに指定できる。配列がページ数に満たなかった場合、その最後のオブジェクトが使われる。オフセットとファイルは別個に指定できる
 Object callScripts(<String> sarray)
           スクリプト名の配列順にスクリプトを実行する
 nothing clearBookmarks(<Document> document)
           tmp-autoラベルのあるブックマークおよびハイパーリンクのオブジェクトを削除する
 Object createBGProgressBar(<Long> maxValue, <Long> width, <String> tag)
           プログレスバーの作成
 String endBenchMark(<Long> starttime, <String> prefix)
           ベンチマーク用に時間差を返す
 Object extendObj(<Object> obj)
           XML要素内にあるただ1つのグラフィック系オブジェクトの幅をXML要素の指定属性の値に変更する
 Nothing extendTextFrame(<Document> document, <String> pname, <Long> maxlines)
           行頭が指定の空行スタイルで始まっている場合、前ページのテキストフレームを下に広げる
 Object[] findContentFromObjectByStyles(<Object> obj, <String[]> pnames, <String> type)
           オブジェクトから指定の段落スタイルを検索し、コンテンツを返す
 Object[] findContentFromPageByStyles(<Page> page, <String[]> pnames, <String> type)
           ページから指定の段落スタイルを検索し、コンテンツを返す
 Object[] findMasterSpread(<Object> spreads, <String> search, <String> type)
           スプレッドから指定の文字列を検索し、スプレッドの配列を返す
 TextFrame[] findStringFromObject(<Object> obj, <String> search)
           オブジェクトから指定の文字列を検索し、テキストフレームの配列を返す
 TextFrame[] findStringFromObjectWithGroup(<Object> obj, <String> search)
           グループオブジェクトから指定の文字列を検索し、テキストフレームの配列を返す
 Long[4] getBoundsOfPage(<Document> document, <Page> page)
           指定のページの版面座標をgeometricBounds形式で返す
 CellStyle getCellStyleByName(<Document> document, <String> name)
           指定の名前のセルスタイルオブジェクトを返す
 CellStyle getCellStyleByNameFromGroup(<CellStyleGroups> egroups, <String> name)
           指定の名前のセルスタイルオブジェクトを返す(セルスタイルグループ)
 CellStyle[] getCellStyles(<Document> document)
           セルスタイルのハッシュリストを返す
 CharacterStyle getCharacterStyleByName(<Document> document, <String> name)
           指定の名前の文字スタイルオブジェクトを返す
 CharacterStyle getCharacterStyleByNameFromGroup(<CharacterStyleGroups> cgroups, <String> name)
           指定の名前の文字スタイルオブジェクトを返す(文字スタイルグループ)
 CharacterStyle[] getCharacterStyles(<Document> document)
           文字スタイルのハッシュリストを返す
 String getCSPath()
           スクリプトフォルダのパスを返す
 Float getCSVersion()
           InDesignのCSバージョンを返す
 Long getEndStoryPoint(<XMLElement|XMLItem> element)
           XML要素のストーリーオブジェクト上の終端オフセット値を返す
 insertionPoint getEndStoryPoint2(<XMLElement|XMLItem> element)
           XML要素のストーリーオブジェクト上の終端オフセット値を返す。終端オフセットの文字が65279(タグ等)であれば、さらに前にさかのぼる
 String getFilePath(<Document> document, <String> filename)
           指定のファイルを探すのに1つ上のディレクトリも探す
 Long[] getFrameIdFromPage(<Document> document)
           テキストフレームのIDをキー、ページのドキュメントオフセットを値にしたハッシュリストを返す。通常はTextFrame.parentを取得するほうが早い
 Float getLastX(<Line> line)
           行末文字の水平座標(左)を返す
 String getMetaInfo(<Document> document, <String> key)
           最初に登場するコメントをメタ情報として取得し、指定属性名の値を返す
 ObjectStyle getObjectStyleByName(<Document> document, <String> name)
           指定の名前のオブジェクトスタイルオブジェクトを返す
 ObjectStyle getObjectStyleByNameFromGroup(<ObjectStyleGroups> ogroups, <String> name)
           指定の名前のオブジェクトスタイルオブジェクトを返す(オブジェクトスタイルグループ)
 ObjectStyle[] getObjectStyles(<Document> document)
           オブジェクトスタイルのハッシュリストを返す
 String[] getPagenumFromSection(<Document> document)
           ドキュメントオフセットをキー、ノンブル文字列を値にしたハッシュリストを返す
 ParagraphStyle getParagraphStyleByName(<Document> document, <String> name)
           指定の名前の段落スタイルオブジェクトを返す
 ParagraphStyle getParagraphStyleByNameFromGroup(<ParagraphStyleGroups> pgroups, <String> name)
           指定の名前の段落スタイルオブジェクトを返す(段落スタイルグループ)
 ParagraphStyle[] getParagraphStyles(<Document> document)
           段落スタイルのハッシュリストを返す
 TableStyle getTableStyleByName(<Document> document, <String> name)
           指定の名前の表スタイルオブジェクトを返す
 TableStyle getTableStyleByNameFromGroup(<TableStyleGroups> tgroups, <String> name)
           指定の名前の表スタイルオブジェクトを返す(表スタイルグループ)
 TableStyle[] getTableStyles(<Document> document)
           表スタイルのハッシュリストを返す
 String[] getTOC(<Document> document, <Long> level)
           XML構造ドキュメントを指定して目次配列を返す
 Nothing handleOverwrapSidenotes(<Document> document, <Float> ymargin)
           _sidenotearray配列の情報を基に、側注フレームの重なりを調整する
 Nothing insertImageIcon1(<Document> document, <String[]> pnames)
           段落の前にテキストフレームを作成し、テンポラリマスターページに記録する
 Nothing insertImageIcon2(<Document> document, <String> oname, <File> file)
           テンポラリマスターページに記録されたテキストフレームに指定の画像を貼る
 Nothing insertItemMark(<Document> document, <String[]> pnames, <String> prefix, <String> cname, <String> postfix)
           特定の段落スタイルに指定の先頭文字を挿入する
 Nothing insertPrefix(<Document> document, <Object> obj, <String> chars, <String> cname, <String> postfix, <boolean> remove)
           コンテンツオブジェクトの前に文字列を挿入する
 Boolean lineBreak(<Paragraph> para, <Integer> no, <Float> offset, <String> postfix, <CharacterStyle> bstyle)
           指定の段落を、テキストフレームの幅-オフセット値で、単語単位ではなく文字単位で折り返す
 nothing lineBreakOfStory(<Story> story, <Float> offset, <String> postfix, <String[]> styles, <CharacterStyle> bstyle)
           指定のストーリーの各段落をチェックして文字単位で折り返す
 Array[] loadDaiwariPageFile()
           ノンブルとファイル名のマップを読み込む。ファイル名は、「ノンブル タブ ドキュメントオフセット タブ ファイルパス」(本文)か、「ノンブル タブ ドキュメントオフセット タブ ファイルパス タブ PRE」(前付)の行で構成する
 Object locateObject(<Document> document, <Page> page, <Object> obj, <Long[4]> unit)
           オブジェクトをコピーして指定の位置に配置する
 Nothing MakeBlock(<Document> document, <String> xpath, <Object> obj)
           ドキュメント情報とXPathを受けて、独立したテキストフレームを作成する
 Nothing makeCodeBlock1(<Document> document, <String> tagname, <Long> boxwidth, <String> oname, <Long[4]> offsets)
           指定のXML要素を探して、テンポラリマスターページに移動する
 Nothing makeCodeBlock2(<Document> document)
           テンポラリマスターページからXML要素の内容をインラインテキストフレームに貼り付ける
 Spread makeMasterPage(<Document> document, <Spread> template, <String> secprefix, <String> leftname, <String> leftcontent, <String> leftnumstylename, <boolean> leftnumonly, <String> rightname, <String> rightcontent, <String> rightnumstylename, <boolean> rightnumonly)
           マスターページのコピーを作成し、左右柱のテンプレート文字列を置換する
 Spread makeMasterPage2(<Document> document, <Object> obj)
           マスターページのコピーを作成し、左右柱のテンプレート文字列を置換する
 Nothing makeTobira(<Document> document, <Spread> obj)
           インストラクションと要素を元に章番号、章タイトル、リードを入れた新規のマスターページを作成し、1ページ目に適用する
 Nothing modifyTable(<Table> table, <Object> obj)
           指定の表オブジェクトのcolspan、rowspanの処理を行い、その他のオプショナルな操作も行う
 Object moveFootnoteToSide(<XMLElement> element, <Object> obj)
           processSideNoteから呼び出され側傍注を最初のページにとりあえず配置する
 Object placeDecoratedPanel(<XMLElement> obj)
           processXMLforDecoratedPanelから呼び出され、オブジェクトをタグの存在するページの指定位置に配置する。2つのプレースホルダを置き換える
 Nothing placeNextToIcon(<Integer> place, <Page> page, <File> file, <ObjectStyle> ostyle, <String> layername, <Float> bounds, <Float> offset)
           指定位置にアイコンを配置する
 Nothing placeNextToText(<Integer> place, <Page> page, <Object> obj, <Float> bounds)
           指定位置にテキストを配置する
 Object placeSideNote(<XMLElement> element, <Object> obj)
           指定のXML要素を探して、側注の位置を合わせる
 void plusTen(prices)
          
 Nothing ProcessPlaceBlock()
           切り出されたテキストフレームを適切な位置・大きさで配置するコールバック
 boolean processXMLforBackgroundImage(<String> layername, <XMLItems> items, <String> tagname, <Long[][4]> offsets, <File[]> files, <ObjectStyle> ostyle, <boolean> l<boolean> fit, <Float> width, fit)
           XML要素を探してその範囲の背景に指定のファイルを配置する。オブジェクトオフセットおよび画像ファイルオブジェクトはページごとに指定できる。配列がページ数に満たなかった場合、その最後のオブジェクトが使われる。オフセットとファイルは別個に指定できる
 boolean processXMLforBackgroundImage2(<String> layername, <XMLItems> items, <String> tagname, <Long[][4]> offsets, <File[]> files, <ObjectStyle> ostyle, <boolean> l<boolean> fit, <Float> width, fit)
           XML要素を探してその範囲の背景に指定のファイルを配置する(終端検索の更新版)。オブジェクトオフセットおよび画像ファイルオブジェクトはページごとに指定できる。配列がページ数に満たなかった場合、その最後のオブジェクトが使われる。オフセットとファイルは別個に指定できる
 Object processXMLforBackgroundImage3(<String> obj, <Document> document)
           XML要素を探してその範囲の背景に指定のファイルを配置する(processRuleSet版)。オブジェクトオフセットおよび画像ファイルオブジェクトはページごとに指定できる。配列がページ数に満たなかった場合、その最後のオブジェクトが使われる。オフセットとファイルは別個に指定できる
 boolean processXMLforBalloon(<Document> document, <XMLItems> items, <String> layername, <String> tagname, <ObjectStyle> ostyle, <ObjectStyle> lstyle, <String> reftagname, <Float> xoffset, <Float> yoffset, <Float> lxoffset, <Float> lyoffset)
           指定のXML要素を探して、新規作成したテキストフレームに移動し、線を引く
 nothing processXMLforBookmarks(<Document> document, <XMLItems> items, <Object> obj)
           見出しdtpインストラクションの箇所に、しおりのためのブックマークを入れる。obj.currentlevel = 1、obj.parentBookmark = app.activeDocumentを明示的に指定すること
 boolean processXMLforCodeBlock(<Document> document, <XMLItems> items, <String> tagname, <Long> boxwidth, <Long[4]> offsets)
           指定のXML要素を探して、新規作成したテキストフレームに移動する
 boolean processXMLforComment(<Document> document, <XMLItems> items, <String> layername, <String> tagname, <ObjectStyle> ostyle, <String> reftagname, <Float> width, <Float> xmargin, <Float> ymargin, <Float> yoffset)
           指定のXML要素を探して、新規作成したテキストフレームに移動する
 boolean processXMLforConvertToTable(<XMLItems> items, <String> tagname, <String> tstyle, <String> hstyle, <String> cstyle)
           XMLの要素のテキストを表にする
 Object processXMLforDecoratedPanel(<Object> obj, document)
           指定のXML要素を探して、指定位置にオブジェクトを貼り付ける
 Object processXMLforExtendObj(<Object> obj, <Document> document)
           XML要素を探して、その中のアイテム(ただ1つのグラフィック系オブジェクトと想定)の縦横幅をXML要素の指定属性の値に変更する。縦または横の幅は属性または属性値がなければ変更されない
 boolean processXMLforFootnote(<Document> document, <XMLItems> items, <String> tagname, <boolean> flag)
           footnote XML要素を探してその内容を脚注化する
 boolean processXMLforHashira(<Document> document, <XMLItems> items, <String> secprefix, <Spread> template, <String> tobira, <String> leftname, <Long> leftlevel, <String> leftnumstylename, <boolean> leftnumonly, <String> leftcontent, <String> rightname, <Long> rightlevel, <String> rightnumstylename, <boolean> rightnumonly, <String> rightcontent)
           XMLインストラクションを検索して<?dtp level="数値" section="文字列" ?>形式のものを発見したら柱とする
 boolean processXMLforHashira2(<Document> document, <XMLItems> items, <Object> obj)
           XMLインストラクションを検索して<?dtp level="数値" section="文字列" ?>形式のものを発見したら柱とする
 boolean processXMLforHashira3(<Document> document, <XMLItems> items, <Object> obj)
           XMLインストラクションを検索して<?dtp level="数値" section="文字列" ?>形式のものを発見したら柱とする
 boolean processXMLforHeaderImage(<Document> document, <XMLItems> items, <String> tagname, <String> pname, <Object> obj, <Long[4]> location, <Long> replaced_top)
           XML要素を探してその内容をオブジェクトテンプレートにコピーし、配置する。テキストフレームを下にずらす
 nothing processXMLforHyperlinks(<Object> obj, <Document> document)
           指定要素に外部ハイパーリンクを付ける
 Nothing processXMLforNextToIcon(<Document> document, <String> xpath, <Object> obj)
           XPathに基づいてアイコン配置を実行する
 boolean processXMLforRenumbering(<XMLItems> items, <String> oltagname, <String> litagname)
           XMLのリスト構造をベースに番号を付け直す
 boolean processXMLforRenumbering2(<XMLItems> items, <String> oltagname, <String> litagname)
           XMLのリスト構造をベースに番号を付け直す
 String[] processXMLforSection(<Document> document, <XMLItems> items, level, <String> sects, <String[]> p2s)
           XMLインストラクションを検索して<?dtp level="数値" section="文字列" >形式のものを発見し、levelが指定の値と同一であれば節名として配列に入れる
 boolean processXMLforSidenote(<Document> document, <XMLItems> items, <String> layername, <String> tagname, <ObjectStyle> ostyle, <String> reftagname, <CharacterStyle> reftagcstyle, <String[4]> decochars, <CharacterStyle> dstyle, <Float> width, <Float> xmargin, <Float> ymargin, <Float> yoffset)
           指定のXML要素を探して、新規作成したテキストフレームに移動する
 Object processXMLforSidenote2(<Object> obj)
           指定のXML要素を探して、新規作成したテキストフレームに移動する
 boolean processXMLforSpecialCharacters(<Document> document, <XMLItems> items)
           XMLインストラクションを検索して<?dtp ...
 boolean processXMLforSpecialCharacters2(<Document> document, <XMLElements> items)
           XMLインストラクションを検索して<?dtp ...
 boolean processXMLforTOC(<Document> document, <XMLItems> items, <Long> level)
           XMLインストラクションを検索して<?dtp level="数値" section="文字列" ?>形式のものを発見したら目次に登録する
 Float pttomm(<Float> pt)
           ポイント値をmm値に変換して返す
 Object[2] putSideMarker(<Document> document, <Spread> master, <String> leftlabel, <Float> leftwidth, <String> rightlabel, <Float> rightwidth)
           指定のlabelを持つオブジェクトをマスターページの左右ツメ見出しとして配置する
 boolean redrawProcessXMLforBalloon(<Document> document, <XMLItems> items, <String> reftagname, <ObjectStyle> lstyle, <Float> xoffset, <Float> yoffset, <Float> lxoffset, <Float> lyoffset)
           指定のXML要素を探して、吹き出しと線の場所を移動する
 boolean redrawProcessXMLforComment(<Document> document, <XMLItems> items, <String> reftagname, <Float> xmargin, <Float> ymargin, <Float> yoffset)
           指定のXML参照要素を探して、コメントの場所を変更する
 boolean redrawProcessXMLforCommentLine(<Document> document, <XMLItems> items, <String> reftagname, <ObjectStyle> lstyle, <Float> yoffset)
           指定のXML参照要素を探して、参照するテキストフレームと参照位置との間に線を引く
 boolean redrawProcessXMLforSidenote(<Document> document, <XMLItems> items, <String> reftagname, <Float> xmargin, <Float> ymargin, <Float> yoffset)
           指定のXML参照要素を探して、側注の場所を変更する
 Object redrawProcessXMLforSidenote2(<Object> obj)
           指定のXML要素を探して、側注の位置を合わせる
 Nothing removeGroupObjectByLabel(<Document> document, <String> name)
           指定のラベルを持つグループを削除する
 Object replaceFootnoteMark(<Object> obj)
           脚注記号を任意のものに変更する
 Object revertFootnoteMark(<Object> obj)
           脚注記号を元に戻す
 Nothing revertMmMode(<Document> document, <Long[2]> unit)
           mmから単位を元に戻す
 Long roman2arabic(<String> s)
           ローマ数字からアラビア数字に変換する
 Long setCharacterStyle(<Document> document, <Object> obj, <String> splitter, <String> cname, <boolean> limit)
           区切り文字が現れるまで文字スタイルを割り当てる
 void setRuby(words, rubystr, rubytype)
          
 Long startBenchMark()
           ベンチマーク用に開始時間を返す
 Long[2] toMmMode(<Document> document)
           mmに単位を変更する
 Nothing treatOverflow(<Document> document, <String> sname)
           テキストフレームからあふれているときに、マスターページを適用したページをオーバーフローがなくなるまで追加する


関数の詳細

__deleteRuleProcessor

void __deleteRuleProcessor(rProcessor)

__makeRuleProcessor

Object __makeRuleProcessor(ruleSet, prefixMappingTable)

__processChildren

void __processChildren(rProcessor)

__processMatchData

void __processMatchData(matchData, rProcessor)

__processRuleSet

void __processRuleSet(root, ruleSet, prefixMappingTable)

__processTree

void __processTree(root, rProcessor)

__skipChildren

void __skipChildren(rProcessor)

addHyperlink

nothing addHyperlink(<Object> obj)

applyImageObjectstyle

Nothing applyImageObjectstyle(<Document> document, <String> tagname, <String> ostyle)

arabic2roman

String arabic2roman(<Long> s)

backGroundImage

Nothing backGroundImage(<String> layername, <Story> story, <Long> startpoint, <Long> endpoint, <Long[][4]> offsetunits, <File[]> files, <ObjectStyle> ostyle, <boolean> l<boolean> fit, <Float> width, fit)

backGroundImage3

Nothing backGroundImage3(<Object> obj)

callScripts

Object callScripts(<String> sarray)

clearBookmarks

nothing clearBookmarks(<Document> document)

createBGProgressBar

Object createBGProgressBar(<Long> maxValue, <Long> width, <String> tag)

endBenchMark

String endBenchMark(<Long> starttime, <String> prefix)

extendObj

Object extendObj(<Object> obj)

extendTextFrame

Nothing extendTextFrame(<Document> document, <String> pname, <Long> maxlines)

findContentFromObjectByStyles

Object[] findContentFromObjectByStyles(<Object> obj, <String[]> pnames, <String> type)

findContentFromPageByStyles

Object[] findContentFromPageByStyles(<Page> page, <String[]> pnames, <String> type)

findMasterSpread

Object[] findMasterSpread(<Object> spreads, <String> search, <String> type)

findStringFromObject

TextFrame[] findStringFromObject(<Object> obj, <String> search)

findStringFromObjectWithGroup

TextFrame[] findStringFromObjectWithGroup(<Object> obj, <String> search)

getBoundsOfPage

Long[4] getBoundsOfPage(<Document> document, <Page> page)

getCellStyleByName

CellStyle getCellStyleByName(<Document> document, <String> name)

getCellStyleByNameFromGroup

CellStyle getCellStyleByNameFromGroup(<CellStyleGroups> egroups, <String> name)

getCellStyles

CellStyle[] getCellStyles(<Document> document)

getCharacterStyleByName

CharacterStyle getCharacterStyleByName(<Document> document, <String> name)

getCharacterStyleByNameFromGroup

CharacterStyle getCharacterStyleByNameFromGroup(<CharacterStyleGroups> cgroups, <String> name)

getCharacterStyles

CharacterStyle[] getCharacterStyles(<Document> document)

getCSPath

String getCSPath()

getCSVersion

Float getCSVersion()

getEndStoryPoint

Long getEndStoryPoint(<XMLElement|XMLItem> element)

getEndStoryPoint2

insertionPoint getEndStoryPoint2(<XMLElement|XMLItem> element)

getFilePath

String getFilePath(<Document> document, <String> filename)

getFrameIdFromPage

Long[] getFrameIdFromPage(<Document> document)

getLastX

Float getLastX(<Line> line)

getMetaInfo

String getMetaInfo(<Document> document, <String> key)

getObjectStyleByName

ObjectStyle getObjectStyleByName(<Document> document, <String> name)

getObjectStyleByNameFromGroup

ObjectStyle getObjectStyleByNameFromGroup(<ObjectStyleGroups> ogroups, <String> name)

getObjectStyles

ObjectStyle[] getObjectStyles(<Document> document)

getPagenumFromSection

String[] getPagenumFromSection(<Document> document)

getParagraphStyleByName

ParagraphStyle getParagraphStyleByName(<Document> document, <String> name)

getParagraphStyleByNameFromGroup

ParagraphStyle getParagraphStyleByNameFromGroup(<ParagraphStyleGroups> pgroups, <String> name)

getParagraphStyles

ParagraphStyle[] getParagraphStyles(<Document> document)

getTableStyleByName

TableStyle getTableStyleByName(<Document> document, <String> name)

getTableStyleByNameFromGroup

TableStyle getTableStyleByNameFromGroup(<TableStyleGroups> tgroups, <String> name)

getTableStyles

TableStyle[] getTableStyles(<Document> document)

getTOC

String[] getTOC(<Document> document, <Long> level)

handleOverwrapSidenotes

Nothing handleOverwrapSidenotes(<Document> document, <Float> ymargin)

insertImageIcon1

Nothing insertImageIcon1(<Document> document, <String[]> pnames)

insertImageIcon2

Nothing insertImageIcon2(<Document> document, <String> oname, <File> file)

insertItemMark

Nothing insertItemMark(<Document> document, <String[]> pnames, <String> prefix, <String> cname, <String> postfix)

insertPrefix

Nothing insertPrefix(<Document> document, <Object> obj, <String> chars, <String> cname, <String> postfix, <boolean> remove)

lineBreak

Boolean lineBreak(<Paragraph> para, <Integer> no, <Float> offset, <String> postfix, <CharacterStyle> bstyle)

lineBreakOfStory

nothing lineBreakOfStory(<Story> story, <Float> offset, <String> postfix, <String[]> styles, <CharacterStyle> bstyle)

loadDaiwariPageFile

Array[] loadDaiwariPageFile()

locateObject

Object locateObject(<Document> document, <Page> page, <Object> obj, <Long[4]> unit)

MakeBlock

Nothing MakeBlock(<Document> document, <String> xpath, <Object> obj)

makeCodeBlock1

Nothing makeCodeBlock1(<Document> document, <String> tagname, <Long> boxwidth, <String> oname, <Long[4]> offsets)

makeCodeBlock2

Nothing makeCodeBlock2(<Document> document)

makeMasterPage

Spread makeMasterPage(<Document> document, <Spread> template, <String> secprefix, <String> leftname, <String> leftcontent, <String> leftnumstylename, <boolean> leftnumonly, <String> rightname, <String> rightcontent, <String> rightnumstylename, <boolean> rightnumonly)

makeMasterPage2

Spread makeMasterPage2(<Document> document, <Object> obj)

makeTobira

Nothing makeTobira(<Document> document, <Spread> obj)

modifyTable

Nothing modifyTable(<Table> table, <Object> obj)

moveFootnoteToSide

Object moveFootnoteToSide(<XMLElement> element, <Object> obj)

placeDecoratedPanel

Object placeDecoratedPanel(<XMLElement> obj)

placeNextToIcon

Nothing placeNextToIcon(<Integer> place, <Page> page, <File> file, <ObjectStyle> ostyle, <String> layername, <Float> bounds, <Float> offset)

placeNextToText

Nothing placeNextToText(<Integer> place, <Page> page, <Object> obj, <Float> bounds)

placeSideNote

Object placeSideNote(<XMLElement> element, <Object> obj)

plusTen

void plusTen(prices)

ProcessPlaceBlock

Nothing ProcessPlaceBlock()

processXMLforBackgroundImage

boolean processXMLforBackgroundImage(<String> layername, <XMLItems> items, <String> tagname, <Long[][4]> offsets, <File[]> files, <ObjectStyle> ostyle, <boolean> l<boolean> fit, <Float> width, fit)

processXMLforBackgroundImage2

boolean processXMLforBackgroundImage2(<String> layername, <XMLItems> items, <String> tagname, <Long[][4]> offsets, <File[]> files, <ObjectStyle> ostyle, <boolean> l<boolean> fit, <Float> width, fit)

processXMLforBackgroundImage3

Object processXMLforBackgroundImage3(<String> obj, <Document> document)

processXMLforBalloon

boolean processXMLforBalloon(<Document> document, <XMLItems> items, <String> layername, <String> tagname, <ObjectStyle> ostyle, <ObjectStyle> lstyle, <String> reftagname, <Float> xoffset, <Float> yoffset, <Float> lxoffset, <Float> lyoffset)

processXMLforBookmarks

nothing processXMLforBookmarks(<Document> document, <XMLItems> items, <Object> obj)

processXMLforCodeBlock

boolean processXMLforCodeBlock(<Document> document, <XMLItems> items, <String> tagname, <Long> boxwidth, <Long[4]> offsets)

processXMLforComment

boolean processXMLforComment(<Document> document, <XMLItems> items, <String> layername, <String> tagname, <ObjectStyle> ostyle, <String> reftagname, <Float> width, <Float> xmargin, <Float> ymargin, <Float> yoffset)

processXMLforConvertToTable

boolean processXMLforConvertToTable(<XMLItems> items, <String> tagname, <String> tstyle, <String> hstyle, <String> cstyle)

processXMLforDecoratedPanel

Object processXMLforDecoratedPanel(<Object> obj, document)

processXMLforExtendObj

Object processXMLforExtendObj(<Object> obj, <Document> document)

processXMLforFootnote

boolean processXMLforFootnote(<Document> document, <XMLItems> items, <String> tagname, <boolean> flag)

processXMLforHashira

boolean processXMLforHashira(<Document> document, <XMLItems> items, <String> secprefix, <Spread> template, <String> tobira, <String> leftname, <Long> leftlevel, <String> leftnumstylename, <boolean> leftnumonly, <String> leftcontent, <String> rightname, <Long> rightlevel, <String> rightnumstylename, <boolean> rightnumonly, <String> rightcontent)

processXMLforHashira2

boolean processXMLforHashira2(<Document> document, <XMLItems> items, <Object> obj)

processXMLforHashira3

boolean processXMLforHashira3(<Document> document, <XMLItems> items, <Object> obj)

processXMLforHeaderImage

boolean processXMLforHeaderImage(<Document> document, <XMLItems> items, <String> tagname, <String> pname, <Object> obj, <Long[4]> location, <Long> replaced_top)

processXMLforHyperlinks

nothing processXMLforHyperlinks(<Object> obj, <Document> document)

processXMLforNextToIcon

Nothing processXMLforNextToIcon(<Document> document, <String> xpath, <Object> obj)

processXMLforRenumbering

boolean processXMLforRenumbering(<XMLItems> items, <String> oltagname, <String> litagname)

processXMLforRenumbering2

boolean processXMLforRenumbering2(<XMLItems> items, <String> oltagname, <String> litagname)

processXMLforSection

String[] processXMLforSection(<Document> document, <XMLItems> items, level, <String> sects, <String[]> p2s)

processXMLforSidenote

boolean processXMLforSidenote(<Document> document, <XMLItems> items, <String> layername, <String> tagname, <ObjectStyle> ostyle, <String> reftagname, <CharacterStyle> reftagcstyle, <String[4]> decochars, <CharacterStyle> dstyle, <Float> width, <Float> xmargin, <Float> ymargin, <Float> yoffset)

processXMLforSidenote2

Object processXMLforSidenote2(<Object> obj)

processXMLforSpecialCharacters

boolean processXMLforSpecialCharacters(<Document> document, <XMLItems> items)

processXMLforSpecialCharacters2

boolean processXMLforSpecialCharacters2(<Document> document, <XMLElements> items)

processXMLforTOC

boolean processXMLforTOC(<Document> document, <XMLItems> items, <Long> level)

pttomm

Float pttomm(<Float> pt)

putSideMarker

Object[2] putSideMarker(<Document> document, <Spread> master, <String> leftlabel, <Float> leftwidth, <String> rightlabel, <Float> rightwidth)

redrawProcessXMLforBalloon

boolean redrawProcessXMLforBalloon(<Document> document, <XMLItems> items, <String> reftagname, <ObjectStyle> lstyle, <Float> xoffset, <Float> yoffset, <Float> lxoffset, <Float> lyoffset)

redrawProcessXMLforComment

boolean redrawProcessXMLforComment(<Document> document, <XMLItems> items, <String> reftagname, <Float> xmargin, <Float> ymargin, <Float> yoffset)

redrawProcessXMLforCommentLine

boolean redrawProcessXMLforCommentLine(<Document> document, <XMLItems> items, <String> reftagname, <ObjectStyle> lstyle, <Float> yoffset)

redrawProcessXMLforSidenote

boolean redrawProcessXMLforSidenote(<Document> document, <XMLItems> items, <String> reftagname, <Float> xmargin, <Float> ymargin, <Float> yoffset)

redrawProcessXMLforSidenote2

Object redrawProcessXMLforSidenote2(<Object> obj)

removeGroupObjectByLabel

Nothing removeGroupObjectByLabel(<Document> document, <String> name)

replaceFootnoteMark

Object replaceFootnoteMark(<Object> obj)

revertFootnoteMark

Object revertFootnoteMark(<Object> obj)

revertMmMode

Nothing revertMmMode(<Document> document, <Long[2]> unit)

roman2arabic

Long roman2arabic(<String> s)

setCharacterStyle

Long setCharacterStyle(<Document> document, <Object> obj, <String> splitter, <String> cname, <boolean> limit)

setRuby

void setRuby(words, rubystr, rubytype)

startBenchMark

Long startBenchMark()

toMmMode

Long[2] toMmMode(<Document> document)

treatOverflow

Nothing treatOverflow(<Document> document, <String> sname)

InDesign Hacking with JavaScript

Copyright 2008-2009 Kenshi Muto
Documentation generated by JSDoc on Mon Jan 30 08:31:20 2012