Adds an event listener.
XMLElement
Cell | Character | EPS | Graphic | Image | InsertionPoint | Line | PDF | PICT | PageItem | Paragraph | SVG | Story | Table | Text | TextColumn | TextStyleRange | WMF | Word | XMLAttribute | XMLComment | XMLElement | XMLInstruction | XMLItem
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Cells |
readonly | A collection of table cells. | |
| Characters |
readonly | A collection of characters. | |
| String | SpecialCharacters | read/write | The contents of the text. Can return: String or SpecialCharacters enumerator. | |
| EPSs |
readonly | A collection of EPS files. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Graphics |
readonly | A collection of imported graphics in any graphic file format (vector, metafile, or bitmap). | |
| Number | readonly | The unique ID of the XMLElement. | |
| Images |
readonly | A collection of bitmap images in any bitmap file format (including TIFF, JPEG, or GIF). | |
| Number | readonly | The index of the XMLElement within its containing object. | |
| InsertionPoints |
readonly | A collection of insertion points. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| Lines |
readonly | A collection of lines. | |
| XMLTag | String | read/write | The XML tag applied to the element. Can also accept: String. | |
| PageItems |
readonly | The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. | |
| Paragraphs |
readonly | A collection of paragraphs. | |
| Document | XMLElement | readonly | The parent of the XMLElement (a Document or XMLElement). | |
| Story | readonly | The story that contains the text. | |
| PDFs |
readonly | A collection of PDF files. | |
| PICTs |
readonly | A collection of PICT graphics. | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Stories |
readonly | A collection of stories. | |
| InsertionPoint | readonly | The insertion point before the table in the story containing the table. | |
| SVGs |
readonly | A collection of SVG files. | |
| Tables |
readonly | A collection of tables. | |
| TextColumns |
readonly | A collection of text columns. | |
| TextStyleRanges |
readonly | A collection of text style ranges. | |
| Texts |
readonly | A collection of text objects. | |
| WMFs |
readonly | A collection of WMF graphics. | |
| Words |
readonly | A collection of words. | |
| XMLAttributes |
readonly | A collection of XML attributes. | |
| XMLComments |
readonly | A collection of XML comments. | |
| Graphic | Movie | PageItem | Sound | Story | Table | Text | Cell | readonly | The text content or page item referred to by the element. Can return: Text, Story, PageItem, Movie, Sound, Graphic, Table or Cell. | |
| XMLElements |
readonly | A collection of XML elements. | |
| XMLInstructions |
readonly | A collection of XML instructions. | |
| XMLItems |
readonly | A collection of XML items. |
Methods
Applies a cell style to the table cells associated with the XMLElement.
Applies the specified character style to the text content of the XMLElement.
Applies an object style to the frame associated with the XMLElement.
Applies the specified paragraph style to the text content of the XMLElement.
Applies a table style to the table associated with the XMLElement.
asynchronously exports the object(s) to a file.
Finds text that matches the find what value and replaces the text with the change to value.
Finds text that matches the find what value and replaces the text with the change to value.
Finds text that matches the find character type value and replaces the text with the change character type value.
Converts the content of the XML element to a table.
Converts the XMLElement to an attribute of its parent element.
Duplicates the XMLElement.
Evaluates an XPath expression starting at this XML element in the structure.
Exports the object(s) to a file.
Finds text that matches the find what value.
Finds text that matches the find what value.
Finds text that matches the find character type value.
Resolves the object specifier, creating an array of object references.
Imports the specified XML file into an InDesign document.
Inserts the specified text as content before, in, or after the XML element.
Associates the object with the specified XML element while preserving existing content.
Moves the element to the specified location.
Associates the XML element with a copy of a page item.
Places the XML element into a new rectangular page item. If the XML element was already associated with a page item, that page item is deleted.
Associates an existing page item with the XML element and places it into an inline frame.
Places an XML element into an inline frame.
Places XML content into the story, replacing the existing content.
Deletes the XMLElement.
Removes the event listener.
Selects the object.
Replaces the content of XML element with content imported from a file.
Stores the object in the specified library.
Generates a string which, if executed, will return the XMLElement.
Retrieves the object specifier.
Untags an element.
Validates the element against a DTD.
Object of 28
Properties elsewhere that hold a XMLElement.
Parameter of 82
Method parameters that accept a XMLElement.
Return 17
Methods that return a XMLElement.