A cell style
Go to Property Listing | Method Listing
applycellstyle, applycellstyletocells, duplicate, extractLabel, getElements, insertLabel, remove, toSource, toSpecifier
Boolean, FirstBaseline.html#d1e39416, NothingEnum.html#d1e43981, Object, ParagraphStyle.html#d1e185661, String, StrokeStyle.html#d1e136062, Swatch.html#d1e35844, VerticalJustification.html#d1e39500
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the bottom edge border stroke. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Boolean or NothingEnum enumerator. |
||
|
Real (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. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
If true, the bottom edge border stroke will overprint. Can return: Boolean or NothingEnum enumerator. |
||
|
Long |
read/write |
The order in which to draw the bottom edge border stroke. Note: The value must be 1, 2, 3, or 4, with 1 indicating that the stroke is the first stroke drawn, and therefore overlapped by strokes with higher priority. Can return: Long or NothingEnum enumerator. |
|
|
Real |
read/write |
The tint (as a percentage) of the bottom edge border stroke. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The stroke type of the bottom edge. Can return: StrokeStyle or NothingEnum enumerator. |
||
|
Unit |
read/write |
The stroke weight of the bottom edge border stroke. Can return: Unit or NothingEnum enumerator. |
|
|
Unit |
read/write |
The bottom inset of the cell. Can return: Unit or NothingEnum enumerator. |
|
|
read/write |
If true, clips the cell's content to width and height of the cell. Can return: Boolean or NothingEnum enumerator. |
||
|
read/write |
If true, draws the diagonal line in front of cell contents. Can return: Boolean or NothingEnum enumerator. |
||
|
read/write |
The diagonal line color, specified as a swatch. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Swatch or NothingEnum enumerator. |
||
|
read/write |
If true, the stroke gap of the diagonal line will overprint. Note: Not valid when diagonal line stroke type is solid. Can return: Boolean or NothingEnum enumerator. |
||
|
Real |
read/write |
The tint (as a percentage) of the diagonal line stroke gap color. Note: Not valid when diagonal line stroke type is solid. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
If true, the diagonal line stroke will overprint. Can return: Boolean or NothingEnum enumerator. |
||
|
Real (range 0 - 100) |
read/write |
The diagonal line tint (as a percentage). (Range: 0 to 100). Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The diagonal line stroke type. Can return: StrokeStyle or NothingEnum enumerator. |
||
|
Unit |
read/write |
The diagonal line stroke weight. Can return: Unit or NothingEnum enumerator. |
|
|
NothingEnumCanalsoaccept:String |
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the fill of the object. Can return: Swatch or NothingEnum enumerator. Can also accept: String. |
|
|
Real |
read/write |
The tint (as a percentage) of the fill of the object. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The distance between the baseline of the text and the top inset of the cell. Can return: FirstBaseline enumerator or NothingEnum enumerator. |
||
|
Real |
read/write |
The angle of a linear gradient applied to the fill of the object. (Range: -180 to 180). Can return: Real or NothingEnum enumerator. |
|
|
Real |
read/write |
The length (of a linear gradient) or radius (of a radial gradient) applied to the fill of the object. Can return: Real or NothingEnum enumerator. |
|
|
Array of 2 Units |
read/write |
The starting point (in page coordinates) of a gradient applied to the fill of the object, in the format [x, y]. Can return: Array of 2 Units or NothingEnum enumerator. |
|
|
Long |
readonly |
The unique ID of the CellStyle. Can return: Long or NothingEnum enumerator. |
|
|
Long |
readonly |
The index of the CellStyle within its containing object. Can return: Long or NothingEnum enumerator. |
|
|
read/write |
A property that can be set to any string. Can return: String or NothingEnum enumerator. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the left edge border stroke. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Boolean or NothingEnum enumerator. |
||
|
Real (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. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
If true, the left edge border stroke will overprint. Can return: Boolean or NothingEnum enumerator. |
||
|
Long |
read/write |
The order in which to draw the left edge border stroke. Note: The value must be 1, 2, 3, or 4, with 1 indicating that the stroke is the first stroke drawn, and therefore overlapped by strokes with higher priority. Can return: Long or NothingEnum enumerator. |
|
|
Real (range 0 - 100) |
read/write |
The tint (as a percentage) of the left edge border stroke. (Range: 0 to 100). Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The stroke type of the left edge border stroke. Can return: StrokeStyle or NothingEnum enumerator. |
||
|
Unit |
read/write |
The stroke weight of the left edge border stroke. Can return: Unit or NothingEnum enumerator. |
|
|
Unit |
read/write |
The left inset of the cell. Can return: Unit or NothingEnum enumerator. |
|
|
Unit(0-8640points) |
read/write |
The space between the baseline of the text and the top inset of the frame or cell. Can return: Unit (0 - 8640 points) or NothingEnum enumerator. |
|
|
read/write |
The name of the CellStyle. Can return: String or NothingEnum enumerator. |
||
|
read/write |
If true, the fill of the object will overprint. Can return: Boolean or NothingEnum enumerator. |
||
|
NothingEnumCanalsoaccept:String |
read/write |
The paragraph style associated with this cell style. Can return: ParagraphStyle or NothingEnum enumerator. Can also accept: String. |
|
|
Unit |
read/write |
The maximum space that can be added between paragraphs in a cell. Note: Valid only when vertical justification is justified. Can return: Unit or NothingEnum enumerator. |
|
|
readonly |
The parent of the CellStyle (a Application or Document). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The color, specified as a swatch, of the right edge border stroke. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Boolean or NothingEnum enumerator. |
||
|
Real (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. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
If true, the right edge border stroke will overprint. Can return: Boolean or NothingEnum enumerator. |
||
|
Long |
read/write |
The order in which to draw the right edge border stroke. Note: The value must be 1, 2, 3, or 4, with 1 indicating that the stroke is the first stroke drawn, and therefore overlapped by strokes with higher priority. Can return: Long or NothingEnum enumerator. |
|
|
Real (range 0 - 100) |
read/write |
The tint (as a percentage) of the right edge border stroke. (Range: 0 to 100). Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The stroke type of the right edge border stroke. Can return: StrokeStyle or NothingEnum enumerator. |
||
|
Unit |
read/write |
The stroke weight of the right edge border stroke. Can return: Unit or NothingEnum enumerator. |
|
|
Unit |
read/write |
The right inset of the cell. Can return: Unit or NothingEnum enumerator. |
|
|
Real |
read/write |
The rotation angle (in degrees) of the cell, specified as one of the following values: 0, 90, 180, or 270. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the top edge border stroke. Can return: Swatch or NothingEnum enumerator. |
||
|
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. Can return: Swatch or NothingEnum enumerator. |
||
|
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. . Can return: Boolean or NothingEnum enumerator. |
||
|
Real (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. Can return: Real or NothingEnum enumerator. |
|
|
read/write |
If true, the top edge border stroke will overprint. Can return: Boolean or NothingEnum enumerator. |
||
|
Long |
read/write |
The order in which to draw the top edge border stroke. Note: The value must be 1, 2, 3, or 4, with 1 indicating that the stroke is the first stroke drawn. Can return: Long or NothingEnum enumerator. |
|
|
Real (range 0 - 100) |
read/write |
The tint (as a percentage) of the top edge border stroke. (Range: 0 to 100). Can return: Real or NothingEnum enumerator. |
|
|
read/write |
The stroke type of the top edge border stroke. Can return: StrokeStyle or NothingEnum enumerator. |
||
|
Unit |
read/write |
The stroke weight of the top edge border stroke. Can return: Unit or NothingEnum enumerator. |
|
|
Unit |
read/write |
The top inset of the cell. Can return: Unit or NothingEnum enumerator. |
|
|
read/write |
If true, draws a diagonal line starting from the top left. Can return: Boolean or NothingEnum enumerator. |
||
|
read/write |
If true, draws a diagonal line starting from the top right. Can return: Boolean or NothingEnum enumerator. |
||
|
read/write |
The vertical alignment of cell. Can return: VerticalJustification enumerator or NothingEnum enumerator. |
undefined applycellstyle ([removeOverrides:Boolean=Boolean])
Used to apply a cell style to the selected cells
|
Parameter |
Type |
Description |
|---|---|---|
|
removeOverrides |
True to remove overrides, false to keep them (Optional) (default: false) |
undefined applycellstyletocells (to:Array of Varies Cells Columns Rows Tables, [removeOverrides:Boolean=Boolean])
Used to apply a cell style to the specified cells
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
Array of Cells Array of Columns.html#d1e146797 Column.html#d1e145234 |
The cells to apply the style to. Can accept: Array of Cells, Columns, Rows or Tables. |
|
removeOverrides |
True to remove overrides, false to keep them (Optional) (default: false) |
CellStyle duplicate ()
Used to copy a cell style
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.
undefined remove ([replacingWith:String=String])
Delete the cell style object
|
Parameter |
Type |
Description |
|---|---|---|
|
replacingWith |
The cell style to replace the style with (Optional) (default: [None]) |
String toSource ()
Generates a string which, if executed, will return the CellStyle.
String toSpecifier ()
Retrieves the object specifier.
Cell.html#d1e140782.appliedCellStyle