A table cell.
Go to Property Listing | Method Listing
convertBulletsAndNumberingToText, createOutlines, extractLabel, getElements, insertLabel, merge, recompose, remove, search, select, split, toSource, toSpecifier, unmerge
Boolean, Buttons, CellStyle, Cells, Characters, Columns, FirstBaseline, FormFields, Graphic, GraphicLines, Groups, InsertionPoints, Lines, Number, Object, Ovals, PageItem, PageItems, Paragraphs, Polygons, Rectangles, RowTypes, Rows, SpecialCharacters, StartParagraph, String, StrokeStyle, Swatch, Tables, TextColumns, TextFrames, TextStyleRanges, Texts, VerticalJustification, Words, XMLItem
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
Lists all graphics contained by the Cell. |
||
|
readonly |
Lists all page items contained by the Cell. |
||
|
read/write |
The cell style applied to the cell. Can also accept: String. |
||
|
readonly |
The XML element associated with the Cell. |
||
|
read/write |
If true, the height of the cell or the cells in the Cell can increase or decrease automatically to fit cell content. Note: Allows cells to grow or shrink to the maximum or minimum height, if specified. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the bottom edge border stroke. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the bottom edge border stroke. Note: Not valid when bottom edge stroke type is solid. |
||
|
read/write |
If true, the gap color of the bottom edge border stroke will overprint. Note: Not valid when bottom edge stroke type is solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the bottom edge border stroke gap color. (Range: 0 to 100) Note: Not valid when bottom edge stroke type is solid. |
|
|
read/write |
If true, the bottom edge border stroke will overprint. |
||
|
read/write |
The tint (as a percentage) of the bottom edge border stroke. |
||
|
read/write |
The stroke type of the bottom edge |
||
|
read/write |
The stroke weight of the bottom edge border stroke. |
||
|
read/write |
The bottom inset of the cell. |
||
|
readonly |
A collection of buttons. |
||
|
readonly |
A collection of table cells. |
||
|
readonly |
A collection of characters. |
||
|
read/write |
If true, clips the cell's content to width and height of the cell. |
||
|
readonly |
The number of columns that the object spans. |
||
|
readonly |
A collection of table columns. |
||
|
NothingEnums NothingEnum SpecialCharactersCanalsoaccept:NothingEnum |
read/write |
The text contents. For rows or columns, when specified as a string, the sting populates each cell in the row or column; when specified as an array, the first value in the array populates the left-most cell in the row or the top-most cell in the column; the next value populates the next cell to the right (for rows) or the next lowest cell (for columns), and so on. Can return: String, SpecialCharacters enumerator or Array of Strings or SpecialCharacters enumerators. Can also accept: NothingEnum enumerator or Array of Strings, SpecialCharacters enumerators or NothingEnum enumerators. |
|
|
read/write |
If true, draws the diagonal line in front of cell contents. |
||
|
read/write |
The diagonal line color, specified as a swatch. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the diagonal line stroke. Note: Not valid when diagonal line stroke type is solid. |
||
|
read/write |
If true, the stroke gap of the diagonal line will overprint. Note: Not valid when diagonal line stroke type is solid. |
||
|
read/write |
The tint (as a percentage) of the diagonal line stroke gap color. Note: Not valid when diagonal line stroke type is solid. |
||
|
read/write |
If true, the diagonal line stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The diagonal line tint (as a percentage). (Range: 0 to 100) |
|
|
read/write |
The diagonal line stroke type. |
||
|
read/write |
The diagonal line stroke weight. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the fill of the object. Can also accept: String. |
||
|
read/write |
The tint (as a percentage) of the fill of the object. |
||
|
read/write |
The distance between the baseline of the text and the top inset of the cell. |
||
|
readonly |
A collection of form fields. |
||
|
read/write |
The angle of a linear gradient applied to the fill of the object. (Range: -180 to 180) |
||
|
read/write |
The length (of a linear gradient) or radius (of a radial gradient) applied to the fill of the object. |
||
|
read/write |
The starting point (in page coordinates) of a gradient applied to the fill of the object, in the format [x, y]. |
||
|
readonly |
A collection of graphic lines. |
||
|
readonly |
A collection of groups. |
||
|
read/write |
The height of the Cell. For a table or column, specifies the sum of the row heights. |
||
|
readonly |
The unique ID of the Cell. |
||
|
readonly |
The index of the Cell within its containing object. |
||
|
read/write |
The color, specified as a swatch, of the inner column border stroke. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the inner column border stroke. Note: Not valid when inner column stroke type is solid. |
||
|
read/write |
If true, the gap color of the inner column border stroke will overprint. Note: Not valid when inner column stroke type is solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the inner column border stroke gap color. (Range: 0 to 100) Note: Not valid when inner column stroke type is solid. |
|
|
read/write |
If true, the inner column border stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the inner column border stroke. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the inner column border stroke. |
||
|
read/write |
The stroke weight of the inner column border stroke. |
||
|
read/write |
The color, specified as a swatch, of the inner row border stroke. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the inner row border stroke. Note: Not valid when inner row stroke type is solid. |
||
|
read/write |
If true, the gap color of the inner row border stroke will overprint. Note: Not valid when inner row stroke type is solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the inner row border stroke. (Range: 0 to 100) Note: Not valid when inner row stroke type is solid. |
|
|
read/write |
If true, the inner row border stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the inner row border stroke. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the inner row |
||
|
read/write |
The stroke weight of the inner row border strokes. |
||
|
readonly |
A collection of insertion points. |
||
|
read/write |
If true, keeps the row with the next row when the table is split across text frames or pages. |
||
|
read/write |
A property that can be set to any string. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the left edge border stroke. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the left edge border stroke. Note: Not valid when left edge stroke type is solid. |
||
|
read/write |
If true, the gap color of the left edge border stroke will overprint. Note: Not valid when left edge stroke type is solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the left edge border stroke gap color. (Range: 0 to 100) Note: Not valid when left edge stroke type is solid. |
|
|
read/write |
If true, the left edge border stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the left edge border stroke. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the left edge border stroke. |
||
|
read/write |
The stroke weight of the left edge border stroke. |
||
|
read/write |
The left inset of the cell. |
||
|
readonly |
A collection of lines. |
||
|
read/write |
The maximum height to which cells in the Cell may grow. Note: The maximum height cannot be exceeded even when auto grow is set to true. Also, the maximum height can affect redistribution. |
||
|
read/write |
The space between the baseline of the text and the top inset of the frame or cell. |
||
|
read/write |
The minimum height of the cells in the Cell. Note: When auto grow is true, cells can automatically grow larger than this amount when content is added. Also, the minimum height can affect redistribution. |
||
|
readonly |
The name of the Cell. |
||
|
readonly |
A collection of ellipses. |
||
|
readonly |
If true, the story has overset text. |
||
|
read/write |
If true, the fill of the object will overprint. |
||
|
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. |
||
|
read/write |
The maximum space that can be added between paragraphs in a cell. Note: Valid only when vertical justification is justified. |
||
|
readonly |
A collection of paragraphs. |
||
|
readonly |
The parent of the Cell (a Cell, Table, Column, Row or XMLElement). |
||
|
readonly |
The parent column of the cell. |
||
|
readonly |
The parent row of the cell. |
||
|
readonly |
A collection of polygons. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
A collection of rectangles. |
||
|
read/write |
The color, specified as a swatch, of the right edge border stroke. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the right edge border stroke. Note: Not valid when right edge stroke type is solid. |
||
|
read/write |
If true, the gap color of the right edge border stroke will overprint. Note: Not valid when right edge stroke type is solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the right edge border stroke gap color. (Range: 0 to 100) Note: Not valid when right edge stroke type is solid. |
|
|
read/write |
If true, the right edge border stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the right edge border stroke. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the right edge border stroke. |
||
|
read/write |
The stroke weight of the right edge border stroke. |
||
|
read/write |
The right inset of the cell. |
||
|
read/write |
The rotation angle (in degrees) of the cell, specified as one of the following values: 0, 90, 180, or 270. |
||
|
readonly |
The number of rows that the object spans. |
||
|
read/write |
The row type. |
||
|
readonly |
A collection of table rows. |
||
|
read/write |
Indicates where to start the row. |
||
|
readonly |
A collection of tables. |
||
|
readonly |
A collection of text columns. |
||
|
readonly |
A collection of text frames. |
||
|
readonly |
A collection of text style ranges. |
||
|
readonly |
A collection of text objects. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the top edge border stroke. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the top edge border stroke. Note: Not valid when top edge stroke type is solid. |
||
|
read/write |
If true, the gap color of the top edge border stroke will overprint. Note: Not valid when top edge stroke type is solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the top edge border stroke gap color. (Range: 0 to 100) Note: Not valid when top edge stroke type is solid. |
|
|
read/write |
If true, the top edge border stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the top edge border stroke. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the top edge border stroke. |
||
|
read/write |
The stroke weight of the top edge border stroke. |
||
|
read/write |
The top inset of the cell. |
||
|
read/write |
If true, draws a diagonal line starting from the top left. |
||
|
read/write |
If true, draws a diagonal line starting from the top right. |
||
|
read/write |
The vertical alignment of cell. |
||
|
read/write |
The width of the Cell. For a table or row, specifies the sum of the column widths. |
||
|
readonly |
A collection of words. |
undefined convertBulletsAndNumberingToText ()
Convert bullets and numbering to text.
PageItem createOutlines ([deleteOriginal:Boolean=Boolean])
Converts text to outlines. Each line of text becomes a polygon object. When the converted text is a single letter that has no internal spaces or detached parts, the polygon contains only a single path. Note: To determine whether a font allows the creation of outlines, see allow outlines.
|
Parameter |
Type |
Description |
|---|---|---|
|
deleteOriginal |
If true, deletes the original text. If false, creates the outlines as separate object(s) on top of the text. (Optional) (default: true) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
Object 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.
Cell merge (with:Varies Cell Row Column)
Merges the cells.
|
Parameter |
Type |
Description |
|---|---|---|
|
with |
The cell(s) to merge with. Can accept: Cell, Row or Column. (Optional) |
undefined recompose ()
Recomposes the text in the Cell.
undefined remove ()
Deletes the Cell.
Text search (for:String, wholeWord:Boolean, caseSensitive:Boolean, replacingWith:String, withFindAttributes:Object, withChangeAttributes:Object)
Look for occurrences of text that matches specific criteria
|
Parameter |
Type |
Description |
|---|---|---|
|
for |
What to look for (Optional) |
|
|
wholeWord |
If true, then disregard text embedded within a larger word (Optional) |
|
|
caseSensitive |
If true, then search only for text that matches case (Optional) |
|
|
replacingWith |
What to replace the found text with, either a string or a special character (Optional) |
|
|
withFindAttributes |
A record of find preference settings to use (Optional) |
|
|
withChangeAttributes |
A record of change preference settings to use (Optional) |
undefined select ([existingSelection:SelectionOptions=SelectionOptions])
Selects the object.
|
Parameter |
Type |
Description |
|---|---|---|
|
existingSelection |
The selection status of the Cell in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
undefined split (using:HorizontalOrVertical)
Splits the cell along the specified axis.
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The direction in which to split the cell. |
String toSource ()
Generates a string which, if executed, will return the Cell.
String toSpecifier ()
Retrieves the object specifier.
Cell unmerge ()
Unmerges all merged cells in the Cell.
Button.parent
Cell.parent
Character.parent
Column.parent
FormField.parent
GraphicLine.parent
Group.parent
InsertionPoint.parent
Line.parent
Oval.parent
PageItem.parent
Paragraph.parent
Polygon.parent
Rectangle.parent
Row.parent
Table.parent
Text.parent
TextColumn.parent
TextFrame.parent
TextStyleRange.parent
Word.parent