XMLElement

XML要素?

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

Ver. プロパティ名 説明
Parent Document, XMLElement, XMLItem 親のオブジェクト
ParentStory Story 親のストーリーオブジェクト
Cells Cells セル
Characters Characters 文字
DTDs DTDs DTD
EPSs EPSs EPS
Images Images PSD、TIFF、JPEG、BMP形式の画像
InsertionPoints InsertionPoints 挿入点(文字と文字の間)
Lines Lines テキストの1行
PDFs PDFs PDF
PICTs PICTs 配置されているPICT画像
PageItems PageItems ページ上のオブジェクト
Paragraphs Paragraphs 段落
Stories Stories 文章(一連の文字列)
Tables Tables
TextColumns TextColumns 段組の1段分のテキスト
TextStyleRanges TextStyleRanges テキストのスタイルの連続している部分
Texts Texts テキスト(特定の文字列)
WMFs WMFs 配置されているWMF画像
Words Words 単語
XMLAttributes XMLAttributes XML attributes
XMLComments XMLComments XML comments
XMLElements XMLElements XML elements
XMLInstructions XMLInstructions XML instructions
XMLItems XMLItems XML items

プロパティ

Ver. プロパティ名 R/O 説明
Contents String型, idSpecialCharacters 内容(テキスト)
Id Long型 オブジェクトのID
Index Long型 インデックス
MarkupTag XMLTag, String型 The markup tag object
StoryOffset Long型 The location of the object from the beginning of the story
StoryOffset InsertionPoint The location of the ^Object in the parent story.
XMLContent Text, Story, PageItem, Movie, Sound, Graphic, Table, Cell The text content or page item referred to by the element

メソッド

Ver. メソッド名/パラメータ 戻り値/パラメータの値 説明
ApplyCellStyle セルスタイルを適用
Using String型, CellStyle
[ClearingOverrides] Boolean型 変更されている属性を消去するか
ApplyCharacterStyle 文字スタイルを適用
Using String型, CharacterStyle
ApplyObjectStyle オブジェクトスタイルを適用
Using String型, ObjectStyle
[ClearingOverrides] Boolean型 変更されている属性を消去するか
[ClearingOverridesThroughRootObjectStyle] Boolean型 変更されている属性を消去するか
ApplyParagraphStyle 段落スタイルを適用
Using String型, ParagraphStyle
[ClearingOverrides] Boolean型 変更されている属性を消去するか
ApplyTableStyle 表スタイルを適用
Using String型, TableStyle
[ClearingOverrides] Boolean型 変更されている属性を消去するか
ChangeGrep Objects 正規表現置換
[ReverseOrder] Boolean型 逆順
ChangeText Objects テキストの置換
[ReverseOrder] Boolean型 逆順
ChangeTransliterate Objects 文字種変換の置換
[ReverseOrder] Boolean型 逆順
ConvertElementToTable Table XML elementを表に変換
RowTag XMLTag
CellTag XMLTag
ConvertToAttribute XMLAttribute
[Using] String型
Delete オブジェクトを削除
Duplicate XMLElement 複製。複製されたオブジェクトを返す
EvaluateXPathExpression Objects
Using String型
[PrefixMappingTable] Array(Array( String型, String型 ))
Export 書き出し
Format idExportFormat, String型
idExportFormat
Ver.10進数説明
idEPSType1952400720 EPS
idInCopy1768842084 InCopy story
idInCopyCS2Story1768842104 InCopy CS2 Story
idInCopyCSDocument1702126436 InCopy CSドキュメント (INCD)
idInCopyDocument1702126456 InCopyドキュメント (INCX)
idInCopyMarkup1768123756 InCopy markup
idInDesignInterchange1229871136 InDesign互換
idInDesignMarkup1768189292 InDesign markup
idInDesignSnippet1936617588 InDesignスニペット
idJPG1246775072 JPEG
idPDFType1952403524 Adobe PDF
idPNGFormat1699761735 PNG format
idPackagedXFL1702389356 packaged XFL format
idRTF1381254688 リッチテキスト形式
idSVG1398163232 SVG
idSVGCompressed1398163267 SVG圧縮
idSWF1702066022 SWF format
idTaggedText1416066168 タグ付きテキスト
idTextType1952412773 テキストのみ
idXML1481460768 XML
To String型 ファイル名
[ShowingOptions] Boolean型 オプションのダイアログを表示するかどうか
[Using] PDFExportPreset
Export 書き出し
Format idExportFormat, String型
idExportFormat
Ver.10進数説明
idEPSType1952400720 EPS
idInCopy1768842084 InCopy story
idInCopyCS2Story1768842104 InCopy CS2 Story
idInCopyCSDocument1702126436 InCopy CSドキュメント (INCD)
idInCopyDocument1702126456 InCopyドキュメント (INCX)
idInCopyMarkup1768123756 InCopy markup
idInDesignInterchange1229871136 InDesign互換
idInDesignMarkup1768189292 InDesign markup
idInDesignSnippet1936617588 InDesignスニペット
idJPG1246775072 JPEG
idPDFType1952403524 Adobe PDF
idPNGFormat1699761735 PNG format
idPackagedXFL1702389356 packaged XFL format
idRTF1381254688 リッチテキスト形式
idSVG1398163232 SVG
idSVGCompressed1398163267 SVG圧縮
idSWF1702066022 SWF format
idTaggedText1416066168 タグ付きテキスト
idTextType1952412773 テキストのみ
idXML1481460768 XML
To String型 ファイル名
[ShowingOptions] Boolean型 オプションのダイアログを表示するかどうか
[Using] PDFExportPreset
[VersionComments] String型 コメント
[ForceSave] Boolean型 強制保存
FindGrep Objects 正規表現検索
[ReverseOrder] Boolean型 逆順
FindText Objects テキストの検索
[ReverseOrder] Boolean型 逆順
FindTransliterate Objects 文字種変換の検索
[ReverseOrder] Boolean型 逆順
ImportXML XMLファイルの読み込み
From String型 ファイル名
InsertTextAsContent Text
Using String型, idSpecialCharacters
Position idXMLElementPosition
idXMLElementPosition
Ver.10進数説明
idAfterElement1482778228
idBeforeElement1482843494
idElementEnd1483042404
idElementStart1482844014
Markup
Using Text, Story, PageItem
Markup
Using PageItem, Movie, Sound, Graphic, Story, Text, Table
Move XMLElement
To idLocationOptions
idLocationOptions
Ver.10進数説明
idAfter1634104421
idAtBeginning1650945639 先頭
idAtEnd1701733408 最後
idBefore1650812527
idUnknown1433299822 No location
移動先
[Reference] XMLItem, Text 位置の基準になるオブジェクト
PlaceIntoCopy PageItem
On Spread, Page, MasterSpread
PlacePoint Array(top,left) top,leftはDouble型またはString型
CopyItem PageItem
[RetainExistingFrame] Boolean型
PlaceIntoFrame PageItem
On Spread, Page, MasterSpread
GeometricBounds Array(top,left,bottom,right) top,left,bottom,rightはDouble型またはString型
PlaceIntoInlineCopy PageItem
CopyItem PageItem
[RetainExistingFrame] Boolean型
PlaceIntoInlineFrame PageItem
Dimensions Array(width,height) width, heightはDouble型またはString型
PlaceXML
Using Story, PageItem
PlaceXML
Using Story, PageItem, Graphic, Movie, Sound
Select 選択状態にする
[ExistingSelection] idSelectionOptions
idSelectionOptions
Ver.10進数説明
idAddTo1633969202 追加選択する
idRemoveFrom1919249734 選択から削除する
idReplace1701998700 置き換える
idReplaceWith1919250519 置き換える
既に選択されているものがあった場合
SetContent PageItem
Using String型 フルパス名
[RelativeBasePath] String型
Store Asset ライブラリに追加
Using Library 追加先のライブラリ
Untag
Validate Objects
[MaximumErrors] Long型

コレクションのプロパティ XMLElements

Ver. プロパティ名 R/O 説明
Count Long型 オブジェクト数
Item(Index) Object 既定値、省略可。IndexまたはName(なければLabel)で指定されたオブジェクトを返す

コレクションのメソッド XMLElements

Ver. メソッド名/パラメータ 戻り値/パラメータの値 説明
Add XMLElement 新しいオブジェクトを作成し、それを返す
MarkupTag String型, XMLTag
[XMLContent] Text, Story, PageItem
Add XMLElement 新しいオブジェクトを作成し、それを返す
MarkupTag String型, XMLTag
[XMLContent] Text, Story, PageItem, Movie, Sound, Graphic, Table, Cell
AnyItem Object 各オブジェクトを返す
FirstItem Object 最初のオブジェクトを返す
ItemByID Object IDで指定したオブジェクトを返す
Id Long型 オブジェクトのID
ItemByRange Objects 範囲で指定したオブジェクトを返す
From Object, Long型, String型 範囲の開始
To Object, Long型, String型 範囲の終了
LastItem Object 最後のオブジェクトを返す
MiddleItem Object middle objectを返す
NextItem Object 一つ後のオブジェクトを返す
Obj Object 位置の基準になるオブジェクト
PreviousItem Object 一つ前のオブジェクトを返す
Obj Object 位置の基準になるオブジェクト