| Table | |
A table style.
Go to Property Listing | Method Listing
addEventListener, duplicate, extractLabel, getElements, insertLabel, move, remove, removeEventListener, toSource, toSpecifier
Boolean, CellStyle, EventListeners, Events, Number, Object, String, StrokeOrderTypes, StrokeStyle, Swatch, TableStyle,
| Property | Type | Access | Description | 
|---|---|---|---|
| read/write | The style that this style is based on. Can return: TableStyle or String. | ||
| read/write | The cell style of the body region. Can also accept: String. | ||
| read/write | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the bottom border stroke. | ||
| read/write | The gap color, specified as a swatch (color, gradient, tint, or mixed ink), of the bottom border stroke. Note: Valid only when bottom border stroke type is not solid. | ||
| read/write | If true, the gap of the bottom border stroke will overprint. Note: Valid only when bottom border stroke type is not solid. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of the bottom border stroke. (Range: 0 to 100) Note: Valid only when bottom border stroke type is not solid. | |
| read/write | If true, the bottom border stroke will overprint. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the bottom border stroke. (Range: 0 to 100) | |
| read/write | The stroke type of the bottom border. Can also accept: String. | ||
| read/write | The stroke weight of the bottom border stroke. | ||
| read/write | If true, clips the graphic cell's content to width and height of the cell. | ||
| read/write | If true, clips the text cell's content to width and height of the cell. | ||
| read/write | If true, hides alternating row fills. If false, hides alternating column fills. | ||
| read/write | The fill color, specified as a swatch (color, gradient, tint, or mixed ink), of columns in the second alternating fill group. Note: Valid when alternating fills are defined for table columns. | ||
| read/write | The number of columns in the second alternating fills group. Note: Valid when alternating fills are defined for table columns. | ||
| read/write | If true, the columns in the second alternating fills group will overprint. Note: Valid when alternating fills are defined for table columns. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the columns in the second alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table columns. | |
| read/write | The stroke type of columns in the second alternating strokes group. Can also accept: String. | ||
| read/write | The stroke color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the second alternating column strokes group. Note: Valid when end column stroke count is 1 or greater. | ||
| read/write | The number of columns in the second alternating column strokes group. | ||
| read/write | The stroke gap color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the second alternating column strokes group. Note: Valid when end column stroke count is 1 or greater. | ||
| read/write | If true, the gap of the column border stroke in the second alternating column strokes group will overprint. Note: Valid when end column stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of column borders in the second alternating column strokes group. (Range: 0 to 100) Note: Valid when end column stroke count is 1 or greater. | |
| read/write | If true, the column borders in the second alternating column strokes group will overprint. Note: Valid when end column stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of column borders in the second alternating column strokes group. (Range: 0 to 100) Note: Valid when end column stroke count is 1 or greater. | |
| read/write | The stroke weight of column borders in the second alternating column strokes group. Note: Valid when end column stroke count is 1 or greater. | ||
| read/write | The fill color, specified as a swatch (color, gradient, tint, or mixed ink), of rows in the second alternating fills group. Note: Valid when alternating fills are defined for table rows. | ||
| read/write | The number of rows in the second alternating fills group. Note: Valid when alternating fills are defined for table rows. | ||
| read/write | If true, the rows in the second alternating fills group will overprint. Note: Valid when alternating fills are defined for table rows. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the rows in the second alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table rows. | |
| read/write | The stroke color, specified as a swatch (color, gradient, tint, or mixed ink), of row borders in the second alternating row strokes group. Note: Valid when end row stroke count is 1 or greater. | ||
| read/write | The number of rows in the second alternating row strokes group. | ||
| read/write | The gap color, specified as a swatch (color, gradient, tint, or mixed ink), of row borders in the second alternating rows group. Note: Valid when end row stroke count is 1 or greater. | ||
| read/write | If true, the gap of the row borders in the second alternating rows group will overprint. Note: Valid when end row stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of rows in the second alternating strokes group. (Range: 0 to 100) Note: Valid when end row stroke count is 1 or greater and end row stroke type is not solid. | |
| read/write | If true, the rows in the second alternating rows group will overprint. Note: Valid when end row stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the row borders in the second alternating strokes group. (Range: 0 to 100) Note: Valid when end row stroke count is 1 or greater. | |
| read/write | The stroke type of rows in the second alternating strokes group. Can also accept: String. | ||
| read/write | The stroke weight of row borders in the second alternating row strokes group. Note: Valid when end row stroke count is 1 or greater. | ||
| readonly | A collection of event listeners. | ||
| readonly | A collection of events. | ||
| read/write | The cell style of the footer region. Can also accept: String. | ||
| read/write | If true, uses the cell style of the body region for the footer region. | ||
| read/write | The bottom inset of the graphic cell. | ||
| read/write | The left inset of the graphic cell. | ||
| read/write | The right inset of the graphic cell. | ||
| read/write | The top inset of the graphic cell. | ||
| read/write | The cell style of the header region. Can also accept: String. | ||
| read/write | If true, use the cell style of the body region for the header region. | ||
| readonly | The unique ID of the TableStyle. | ||
| readonly | The index of the TableStyle within its containing object. | ||
| readonly | Returns true if the object specifier resolves to valid objects. | ||
| read/write | A property that can be set to any string. | ||
| read/write | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the left border stroke. | ||
| read/write | The gap color, specified as a swatch (color, gradient, tint, or mixed ink), of the left border stroke. Note: Valid only when left border stroke type is not solid. | ||
| read/write | If true, the gap of the left border stroke will overprint. Note: Valid only when left border stroke type is not solid. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of the left border stroke. (Range: 0 to 100) Note: Valid only when left border stroke type is not solid. | |
| read/write | If true, the left border stroke will overprint. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the left border stroke. (Range: 0 to 100) | |
| read/write | The stroke type of the left border. Can also accept: String. | ||
| read/write | The stroke weight of the left border stroke. | ||
| read/write | The cell style of the left column region. Can also accept: String. | ||
| read/write | If true, uses the cell style of the body region for the left column region. | ||
| read/write | The name of the TableStyle. | ||
| readonly | The parent of the TableStyle (a Document, Application or TableStyleGroup). | ||
| read/write | A property that allows setting of several properties at the same time. | ||
| read/write | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the right border stroke. | ||
| read/write | The gap color, specified as a swatch (color, gradient, tint, or mixed ink), of the right border stroke. Note: Valid only when right border stroke type is not solid. | ||
| read/write | If true, the gap color of the right border stroke will overprint. Note: Valid only when right border stroke type is not solid. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of the right border stroke. (Range: 0 to 100) Note: Valid only when right border stroke type is not solid. | |
| read/write | If true, the right border stroke will overprint. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the right border stroke. (Range: 0 to 100) | |
| read/write | The stroke type of the right border. Can also accept: String. | ||
| read/write | The stroke weight of the right border stroke. | ||
| read/write | The cell style of the right column region. Can also accept: String. | ||
| read/write | If true, uses the cell style of the body region for the right column region. | ||
| read/write | The number of columns on the left side of the table to skip before applying the column fill color. Note: Valid when alternating fills are defined for table columns. | ||
| read/write | The number of body rows at the beginning of the table to skip before applying the row fill color. Note: Valid when alternating fills are defined for table rows. | ||
| read/write | The number of columns on the left of the table in which to skip border stroke formatting. Note: Valid when start column stroke count is 1 or greater and/or end column stroke count is 1 or greater. | ||
| read/write | The number of body rows at the beginning of the table in which to skip border stroke formatting. Note: Valid when start row stroke count is 1 or greater and/or end row stroke count is 1 or greater. | ||
| read/write | The number columns on the right side of the table in which to not apply the column fill color. Note: Valid when alternating fills are defined for table columns. | ||
| read/write | The number of body rows at the end of the table in which to not apply the row fill color. Note: Valid when alternating fills are defined for table rows. | ||
| read/write | The number of columns on the right side of the table in which to skip border stroke formatting. Note: Valid when start column stroke count is 1 or greater and/or end column stroke count is 1 or greater. | ||
| read/write | The number of body rows at the end of the table in which to skip border stroke formatting. Note: Valid when start row stroke count is 1 or greater and/or end row stroke count is 1 or greater. | ||
| read/write | The space below the table. | ||
| read/write | The space above the table. | ||
| read/write | The fill color, specified as a swatch (color, gradient, tint, or mixed ink), of columns in the first alternating fills group. Note: Valid when alternating fills are defined for table columns. | ||
| read/write | The number of columns in the first alternating fills group. Note: Valid when alternating fills are defined for table columns. | ||
| read/write | If true, the columns in the first alternating fills group will overprint. Note: Valid when alternating fills are defined for table columns. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the columns in the first alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table columns. | |
| read/write | The stroke color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the first alternating column strokes group. | ||
| read/write | The number of columns in the first alternating column strokes group. | ||
| read/write | The stroke gap color, specified as a swatch (color, gradient, tint, or mixed ink), of column borders in the first alternating column strokes group. Note: Valid when start column stroke count is 1 or greater. | ||
| read/write | If true, the gap of the column borders in the first alternating column strokes group will overprint. Note: Valid when start column stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of column borders in the first alternating column strokes group. (Range: 0 to 100) Note: Valid when start column stroke count is 1 or greater. | |
| read/write | If true, the column borders in the first alternating column strokes group will overprint. Note: Valid when start column stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of column borders in the first alternating column strokes group. (Range: 0 to 100) Note: Valid when start column stroke count is 1 or greater. | |
| read/write | The stroke type of columns in the first alternating strokes group. Can also accept: String. | ||
| read/write | The stroke weight of column borders in the first alternating column strokes group. Note: Valid when start column stroke count is 1 or greater. | ||
| read/write | The fill color, specified as a swatch (color, gradient, tint, or mixed ink), of rows in the first alternating fills group. Note: Valid when alternating fills are defined for table rows. | ||
| read/write | The number of rows in the first alternating fills group. Note: Valid when alternating fills are defined for table rows. | ||
| read/write | If true, the rows in the first alternating fills group will overprint. Note: Valid when alternating fills are defined for table rows. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the rows in the first alternating fills group. (Range: 0 to 100) Note: Valid when alternating fills are defined for table rows. | |
| read/write | The color, specified as a swatch (color, gradient, tint, or mixed ink), of row borders in the first alternating row strokes group. Note: Valid when start row stroke count is 1 or greater. | ||
| read/write | The number of rows in the first alternating row strokes group. | ||
| read/write | The stroke gap color of row borders in the first alternating row strokes group, specified as a swatch (color, gradient, tint, or mixed ink). Note: Valid when start row stroke count is 1 or greater. | ||
| read/write | If true, the gap color of the row border stroke in the first alternating row strokes group will overprint. Note: Valid when start row stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of row borders in the first alternating rows group. (Range: 0 to 100) Note: Valid when start row stroke count is 1 or greater. | |
| read/write | If true, the row borders in the first alternating row strokes group will overprint. Note: Valid when start row stroke count is 1 or greater. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the borders in the first alternating row strokes group. (Range: 0 to 100) Note: Valid when start row stroke count is 1 or greater. | |
| read/write | The stroke type of rows in the first alternating strokes group. Can also accept: String. | ||
| read/write | The stroke weight of row borders in the first alternating row strokes group. Note: Valid when start row stroke count is 1 or greater. | ||
| read/write | The order in which to display row and column strokes at corners. | ||
| read/write | The bottom inset of the text cell. | ||
| read/write | The left inset of the text cell. | ||
| read/write | The right inset of the text cell. | ||
| read/write | The top inset of the text cell. | ||
| read/write | The color, specified as a swatch (color, gradient, tint, or mixed ink), of the table's top border stroke. | ||
| read/write | The gap color, specified as a swatch (color, gradient, tint, or mixed ink), of the table's top border stroke. Note: Valid only when top border stroke type is not solid. | ||
| read/write | If true, the gap of the top border stroke will overprint. Note: Valid only when top border stroke type is not solid. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the gap color of the table's top border stroke. (Range: 0 to 100) Note: Valid only when top border stroke type is not solid. | |
| read/write | If true, the top border strokes will overprint. | ||
| Number (range 0 - 100) | read/write | The tint (as a percentage) of the table's top border stroke. (Range: 0 to 100) | |
| read/write | The stroke type of the top border. Can also accept: String. | ||
| read/write | The stroke weight of the table's top border stroke. | 
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
| Parameter | Type | Description | 
|---|---|---|
| eventType | The event type. | |
| handler | JavaScriptFunction | The event handler. Can accept: File or JavaScript Function. | 
| captures | This parameter is obsolete. (Optional) (default: false) | 
TableStyle duplicate ()
Duplicates the TableStyle.
String extractLabel (key:String)
Gets the label value associated with the specified key.
| Parameter | Type | Description | 
|---|---|---|
| key | The key. | 
TableStyle getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
TableStyle move (to:LocationOptions, reference:Varies CellStyle CellStyleGroup CharacterStyle CharacterStyleGroup Document ParagraphStyle ParagraphStyleGroup TableStyle TableStyleGroup Application)
Moves the style to the specified location.
| Parameter | Type | Description | 
|---|---|---|
| to | The location relative to the reference object or within the containing object. | |
| reference | The reference object. Note: Required when the to parameter specifies before or after. Can accept: ParagraphStyle, ParagraphStyleGroup, CharacterStyle, CharacterStyleGroup, CellStyle, CellStyleGroup, TableStyle, TableStyleGroup, Document or Application. (Optional) | 
undefined remove (replacingWith:TableStyle)
Deletes the style.
| Parameter | Type | Description | 
|---|---|---|
| replacingWith | The style to apply in place of the deleted style. (Optional) | 
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
| Parameter | Type | Description | 
|---|---|---|
| eventType | The registered event type. | |
| handler | JavaScriptFunction | The registered event handler. Can accept: File or JavaScript Function. | 
| captures | This parameter is obsolete. (Optional) (default: false) | 
String toSource ()
Generates a string which, if executed, will return the TableStyle.
String toSpecifier ()
Retrieves the object specifier.
Application.allTableStyles
Document.allTableStyles
TableStyleGroup.allTableStyles
TypefiPaginationPreferences.tableStyle
Event.parent
EventListener.parent
MutationEvent.parent
XMLImportMap.mappedStyle
XMLExportMap.mappedStyle
TableStyle.basedOn
Table.appliedTableStyle