Table

A table in a story.

Table Properties

Property Type Access Description
AllGraphics Array of Graphics read All graphics contained by the object.
AllPageItems Array of PageItems read All page items contained by the object.
AlternatingFills idAlternatingFillsTypes enumeration r/w What alternating fills pattern we use.
AssociatedXMLElement XMLItem read The XML element associated with the object.
BodyRowCount Long (1 – 10000) r/w Number of table body rows.
BottomBorderStrokeColor Swatch r/w The color of the table’s bottom border.
BottomBorderStrokeGapColor Swatch r/w The gap color of the table’s bottom border.
BottomBorderStrokeGapOverprint Boolean r/w Whether to overprint the gap of the table’s bottom border.
BottomBorderStrokeGapTint Double r/w The gap tint of the gap color of the table’s bottom border.
BottomBorderStrokeOverprint Boolean r/w Whether to overprint the table’s bottom border.
BottomBorderStrokeTint Double r/w The tint of the color of the table’s bottom border.
BottomBorderStrokeType StrokeStyle r/w The stroke type of the table’s bottom border.
BottomBorderStrokeWeight Unit (Double or String) r/w The stroke weight of the table’s bottom border.
BreakFooters idHeaderFooterBreakTypes enumeration r/w Where to put the footers.
BreakHeaders idHeaderFooterBreakTypes enumeration r/w Where to put the headers.
Buttons Buttons read The buttons contained by the object.
Cells Cells read The cells in the object.
ColumnCount Long (1 – 100) r/w The number of columns.
ColumnFillsPriority Boolean r/w Whether to disaply column alternating fills or row alternating fills.
Columns Columns read All columns in the object.
Contents Array of Strings or idSpecialCharacters enumerators, Array of Strings, idSpecialCharacters enumerators or idNothingEnum enumerators r/w The text contents.
EndColumnFillColor Swatch r/w The fill color of columns in the second alternating fill group.
EndColumnFillCount Long r/w The number of columns in the second alternating fills group.
EndColumnFillOverprint Boolean r/w Whether to overprint the columns in the second alternating fills group.
EndColumnFillTint Double r/w The tint of the color of columns in the second alternating fills group.
EndColumnLineStyle StrokeStyle r/w The stroke type of columns in the second alternating strokes group.
EndColumnStrokeColor Swatch r/w The stroke color of columns in the second alternating strokes group.
EndColumnStrokeCount Long r/w The number of columns in the second alternating strokes group.
EndColumnStrokeGapColor Swatch r/w The stroke gap color of columns in the second alternating strokes group.
EndColumnStrokeGapOverprint Boolean r/w Whether to overprint the gap of the columns in the second alternating strokes group.
EndColumnStrokeGapTint Double r/w The gap tint of the gap color of columns in the second alternating strokes group.
EndColumnStrokeOverprint Boolean r/w Whether to overprint the columns in the second alternating strokes group.
EndColumnStrokeTint Double r/w The tint of the color of columns in the second alternating strokes group.
EndColumnStrokeWeight Unit (Double or String) r/w The stroke weight of columns in the second alternating strokes group.
EndRowFillColor Swatch r/w The fill color of rows in the second alternating fills group.
EndRowFillCount Long r/w The number of rows in the second alternating fills group.
EndRowFillOverprint Boolean r/w Whether to overprint the rows in the second alternating fills group.
EndRowFillTint Double r/w The tint of the color of rows in the second alternating fills group.
EndRowStrokeColor Swatch r/w The stroke color of rows in the second alternating strokes group.
EndRowStrokeCount Long r/w The number of rows in the second alternating strokes group.
EndRowStrokeGapColor Swatch r/w The stroke gap color of rows in the second alternating strokes group.
EndRowStrokeGapOverprint Boolean r/w Whether to overprint the gap of the rows in the second alternating strokes group.
EndRowStrokeGapTint Double r/w The gap tint of the gap color of rows in the second alternating strokes group.
EndRowStrokeOverprint Boolean r/w Whether to overprint the rows in the second alternating strokes group.
EndRowStrokeTint Double r/w The tint of the color of rows in the second alternating strokes group.
EndRowStrokeType StrokeStyle r/w The stroke type of rows in the second alternating strokes group.
EndRowStrokeWeight Unit (Double or String) r/w The stroke weight of rows in the second alternating strokes group.
FooterRowCount Long (0 – 25) r/w Number of table footer rows.
FormFields FormFields read The form fields contained by the object.
GraphicLines GraphicLines read The graphic lines contained by the object.
Groups Groups read The groups contained by the object.
HeaderRowCount Long (0 – 25) r/w Number of table header rows.
Height Unit (Double or String) r/w The height of the object.
Id Long read A unique number identifying the object.
Index Long read Index of the object within its parent object.
Label String r/w A label that can be set to any string.
LeftBorderStrokeColor Swatch r/w The color of the table’s left border.
LeftBorderStrokeGapColor Swatch r/w The gap color of the table’s left border.
LeftBorderStrokeGapOverprint Boolean r/w Whether to overprint the gap of the table’s left border.
LeftBorderStrokeGapTint Double r/w The gap tint of the gap color of the table’s left border.
LeftBorderStrokeOverprint Boolean r/w Whether to overprint the table’s left border.
LeftBorderStrokeTint Double r/w The tint of the color of the table’s left border.
LeftBorderStrokeType StrokeStyle r/w The stroke type of the table’s left border.
LeftBorderStrokeWeight Unit (Double or String) r/w The stroke weight of the table’s left border.
Ovals Ovals read All ovals contained by the object.
PageItems PageItems read The page items contained by the object.
Parent Object read The parent of the object.
Polygons Polygons read The polygons contained by the object.
Rectangles Rectangles read The rectangles contained by the object.
RightBorderStrokeColor Swatch r/w The color of the table’s right border.
RightBorderStrokeGapColor Swatch r/w The gap color of the table’s right border.
RightBorderStrokeGapOverprint Boolean r/w Whether to overprint the gap of the table’s right border.
RightBorderStrokeGapTint Double r/w The gap tint of the color of the table’s right border.
RightBorderStrokeOverprint Boolean r/w Whether to overprint the table’s right border.
RightBorderStrokeTint Double r/w The tint of the color of the table’s right border.
RightBorderStrokeType StrokeStyle r/w The stroke type of the table’s right border.
RightBorderStrokeWeight Unit (Double or String) r/w The stroke weight of the table’s right border.
Rows Rows read The rows contained by the object.
SkipFirstAlternatingFillColumns Long r/w The number of first columns to skip when alternating fills.
SkipFirstAlternatingFillRows Long r/w The number of first rows to skip when alternating fills.
SkipFirstAlternatingStrokeColumns Long r/w The number of first columns to skip when alternating strokes.
SkipFirstAlternatingStrokeRows Long r/w The number of first rows to skip when alternating strokes.
SkipFirstHeader Boolean r/w Whether to skip the first occurrence of the headers.
SkipLastAlternatingFillColumns Long r/w The number of last columns to skip when alternating fills.
SkipLastAlternatingFillRows Long r/w The number of last rows to skip when alternating fills.
SkipLastAlternatingStrokeColumns Long r/w The number of last columns to skip when alternating strokes.
SkipLastAlternatingStrokeRows Long r/w The number of last rows to skip when alternating strokes.
SkipLastFooter Boolean r/w Whether to skip the last occurrence of the footers.
SpaceAfter Unit (Double or String) r/w Paragraph space after.
SpaceBefore Unit (Double or String) r/w Paragraph space before.
StartColumnFillColor Swatch r/w The fill color of columns in the first alternating fills group.
StartColumnFillCount Long r/w The number of columns in the first alternating fills group.
StartColumnFillOverprint Boolean r/w Whether to overprint the columns in the first alternating fills group.
StartColumnFillTint Double r/w The tint of the color of columns in the first alternating fills group.
StartColumnStrokeColor Swatch r/w The stroke color of columns in the first alternating strokes group.
StartColumnStrokeCount Long r/w The number of columns in the first alternating strokes group.
StartColumnStrokeGapColor Swatch r/w The stroke gap color of columns in the first alternating strokes group.
StartColumnStrokeGapOverprint Boolean r/w Whether to overprint the gap of the columns in the first alternating strokes group.
StartColumnStrokeGapTint Double r/w The gap tint of the gap color of columns in the first alternating strokes group.
StartColumnStrokeOverprint Boolean r/w Whether to overprint the columns in the first alternating strokes group.
StartColumnStrokeTint Double r/w The tint of the color of columns in the first alternating strokes group.
StartColumnStrokeType StrokeStyle r/w The stroke type of columns in the first alternating strokes group.
StartColumnStrokeWeight Unit (Double or String) r/w The stroke weight of columns in the first alternating strokes group.
StartRowFillColor Swatch r/w The fill color of rows in the first alternating fills group.
StartRowFillCount Long r/w The number of rows in the first alternating fills group.
StartRowFillOverprint Boolean r/w Whether to overprint the rows in the first alternating fills group.
StartRowFillTint Double r/w The tint of the color of rows in the first alternating fills group.
StartRowStrokeColor Swatch r/w The stroke color of rows in the first alternating strokes group.
StartRowStrokeCount Long r/w The number of rows in the first alternating strokes group.
StartRowStrokeGapColor Swatch r/w The stroke gap color of rows in the first alternating strokes group.
StartRowStrokeGapOverprint Boolean r/w Whether to overprint the gap of the rows in the first alternating strokes group.
StartRowStrokeGapTint Double r/w The gap tint of the gap color of rows in the first alternating strokes group.
StartRowStrokeOverprint Boolean r/w Whether to overprint the rows in the first alternating strokes group.
StartRowStrokeTint Double r/w The tint of the color of rows in the first alternating strokes group.
StartRowStrokeType StrokeStyle r/w The stroke type of rows in the first alternating strokes group.
StartRowStrokeWeight Unit (Double or String) r/w The stroke weight of rows in the first alternating strokes group.
StoryOffset Long read The location of the object from the beginning of the story.
StrokeOrder idStrokeOrderTypes enumeration r/w Whether to draw rows on top, columns on top, best joins, or InDesign 2.0 compatibility.
TextFrames TextFrames read The text frames contained by the object.
TopBorderStrokeColor Swatch r/w The color of the table’s top border.
TopBorderStrokeGapColor Swatch r/w The gap color of the table’s top border.
TopBorderStrokeGapOverprint Boolean r/w Whether to overprint the gap of the table’s top border.
TopBorderStrokeGapTint Double r/w The gap tint of the gap color of the table’s top border.
TopBorderStrokeOverprint Boolean r/w Whether to overprint the table’s top border.
TopBorderStrokeTint Double r/w The tint of the color of the table’s top border.
TopBorderStrokeType StrokeStyle r/w The stroke type of the table’s top border.
TopBorderStrokeWeight Unit (Double or String) r/w The stroke weight of the top border of the table.
Width Unit (Double or String) r/w The width of the object.

Table Methods

Method Returns Description
ConvertBulletsAndNumberingToText Nothing Converts bullets and numbering to text.
ConvertToText Text Convert to text.
CreateOutlines Array of PageItems Create outlines from the text.
Delete Nothing Deletes the object.
ExtractLabel String Gets the content of the label associated with the specified key (name).
InsertLabel Nothing Sets the content of the label associated with the specified key (name), creating the label if it does not already exist.
Recompose Nothing Recomposes the text in the object.
Search Array of Texts Searches for text and returns a list of text objects matching the search string and/or formatting specified by the find preferences. Search can also replace the text and/or formatting. This command corresponds to InDesign’s Find/Change feature.
Select Nothing Selects the object.
Unmerge Array of Cells Unmerge the cells.

Leave a Comment

Previous post:

Next post: