Adobe InDesign CS (3.0) Object Model JS: Tables

InDesign CS

Class

Tables

 A collection of tables.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Table add ([to: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Creates a new table.

ParameterTypeDescription
toLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
The location of the new table relative to the reference object or within the container object. (Optional) (default: LocationOptions.UNKNOWN)
referenceCell
Character
InsertionPoint
Line
Paragraph
Story
Table
Text
TextColumn
TextFrame
TextStyleRange
Word
The reference object. Note: Required when the to value specifies before or after. Can accept: Table, TextFrame, Text, Character, Word, Line, Paragraph, TextColumn, InsertionPoint, Story, Cell or TextStyleRange. (Optional)
withPropertiesObjectInitial values for properties of the new Table (Optional)

number count ()
Displays the number of elements in the Table.

Element of

Cell.tables

Character.tables

InsertionPoint.tables

Line.tables

Paragraph.tables

Story.tables

Text.tables

TextColumn.tables

TextFrame.tables

TextStyleRange.tables

Word.tables

Jongware, 27-Jun-2010 v3.0.3dContents :: Index