cell style

A collection of cell styles.

cell style Properties

Property Type Access Description
applied paragraph style any r/w The paragraph style applied to the text. Can return: paragraph style or nothing. Can also accept: string.
based on any r/w The style that this style is based on. Can return: cell style or string.
bottom edge stroke color any r/w The swatch (color, gradient, tint, or mixed ink) applied to the bottom edge border stroke. Can return: swatch or nothing.
bottom edge stroke gap color any r/w 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 nothing.
bottom edge stroke gap overprint any r/w 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 nothing.
bottom edge stroke gap tint any r/w 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: fixed or nothing.
bottom edge stroke overprint any r/w If true, the bottom edge border stroke will overprint. Can return: boolean or nothing.
bottom edge stroke tint any r/w The tint (as a percentage) of the bottom edge border stroke. Can return: fixed or nothing.
bottom edge stroke type any r/w The stroke type of the bottom edge. Can return: stroke style or nothing. Can also accept: string.
bottom edge stroke weight any r/w The stroke weight of the bottom edge border stroke. Can return: number or string or nothing.
bottom inset any r/w The bottom inset of the cell. Can return: number or string or nothing.
class type read The class descriptor type.
clip content to cell any r/w If true, clips the cell’s content to width and height of the cell. Can return: boolean or nothing.
diagonal line in front any r/w If true, draws the diagonal line in front of cell contents. Can return: boolean or nothing.
diagonal line stroke color any r/w The diagonal line color, specified as a swatch. Can return: swatch or nothing.
diagonal line stroke gap color any r/w 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 nothing.
diagonal line stroke gap overprint any r/w 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 nothing.
diagonal line stroke gap tint any r/w The tint (as a percentage) of the diagonal line stroke gap color. Note: Not valid when diagonal line stroke type is solid. Can return: fixed or nothing.
diagonal line stroke overprint any r/w If true, the diagonal line stroke will overprint. Can return: boolean or nothing.
diagonal line stroke tint any r/w The diagonal line tint (as a percentage). (Range: 0 to 100). Can return: fixed or nothing.
diagonal line stroke type any r/w The stroke type of the diagonal line(s). Can return: stroke style or nothing. Can also accept: string.
diagonal line stroke weight any r/w The diagonal line stroke weight. Can return: number or string or nothing.
fill color any r/w The swatch (color, gradient, tint, or mixed ink) applied to the fill of the object. Can return: swatch or nothing. Can also accept: string.
fill tint any r/w The tint (as a percentage) of the fill of the object. Can return: fixed or nothing.
first baseline offset any r/w The distance between the baseline of the text and the top inset of the cell. Can return: ascent offset/cap height/leading offset/embox height/x height/fixed height or nothing.
gradient fill angle any r/w The angle of a linear gradient applied to the fill of the object. (Range: -180 to 180). Can return: fixed or nothing.
gradient fill length any r/w The length (of a linear gradient) or radius (of a radial gradient) applied to the fill of the object. Can return: fixed or nothing.
gradient fill start any r/w The starting point (in page coordinates) of a gradient applied to the fill of the cell style, in the format [x, y]. Can return: list of 2 numbers or strings or nothing.
id integer read The unique ID of the cell style.
index integer read The index of the cell style within its containing object.
label text r/w A property that can be set to any string.
left edge stroke color any r/w The swatch (color, gradient, tint, or mixed ink) applied to the left edge border stroke. Can return: swatch or nothing.
left edge stroke gap color any r/w 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 nothing.
left edge stroke gap overprint any r/w 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 nothing.
left edge stroke gap tint any r/w 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: fixed or nothing.
left edge stroke overprint any r/w If true, the left edge border stroke will overprint. Can return: boolean or nothing.
left edge stroke tint any r/w The tint (as a percentage) of the left edge border stroke. (Range: 0 to 100). Can return: fixed or nothing.
left edge stroke type any r/w The stroke type of the left edge. Can return: stroke style or nothing. Can also accept: string.
left edge stroke weight any r/w The stroke weight of the left edge border stroke. Can return: number or string or nothing.
left inset any r/w The left inset of the cell. Can return: number or string or nothing.
minimum first baseline offset any r/w The space between the baseline of the text and the top inset of the frame or cell. Can return: number or string (0 – 8640 points) or nothing.
name text r/w The name of the style.
object reference cell style read An object reference for the object.
overprint fill any r/w If true, the fill of the object will overprint. Can return: boolean or nothing.
paragraph spacing limit any r/w The maximum space that can be added between paragraphs in a cell. Note: Valid only when vertical justification is justified. Can return: number or string or nothing.
parent specifier read The parent of the cell style (a document, application or cell style group). Can return: document, application or cell style group.
properties record r/w A property that allows setting of several properties at the same time.
right edge stroke color any r/w The color, specified as a swatch, of the right edge border stroke. Can return: swatch or nothing.
right edge stroke gap color any r/w 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 nothing.
right edge stroke gap overprint any r/w 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 nothing.
right edge stroke gap tint any r/w 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: fixed or nothing.
right edge stroke overprint any r/w If true, the right edge border stroke will overprint. Can return: boolean or nothing.
right edge stroke tint any r/w The tint (as a percentage) of the right edge border stroke. (Range: 0 to 100). Can return: fixed or nothing.
right edge stroke type any r/w The stroke type of the right edge. Can return: stroke style or nothing. Can also accept: string.
right edge stroke weight any r/w The stroke weight of the right edge border stroke. Can return: number or string or nothing.
right inset any r/w The right inset of the cell. Can return: number or string or nothing.
rotation angle any r/w The rotation angle (in degrees) of the cell, specified as one of the following values: 0, 90, 180, or 270. Can return: fixed or nothing.
top edge stroke color any r/w The swatch (color, gradient, tint, or mixed ink) applied to the top edge border stroke. Can return: swatch or nothing.
top edge stroke gap color any r/w 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 nothing.
top edge stroke gap overprint any r/w 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 nothing.
top edge stroke gap tint any r/w 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: fixed or nothing.
top edge stroke overprint any r/w If true, the top edge border stroke will overprint. Can return: boolean or nothing.
top edge stroke tint any r/w The tint (as a percentage) of the top edge border stroke. (Range: 0 to 100). Can return: fixed or nothing.
top edge stroke type any r/w The stroke type of the top edge. Can return: stroke style or nothing. Can also accept: string.
top edge stroke weight any r/w The stroke weight of the top edge border stroke. Can return: number or string or nothing.
top inset any r/w The top inset of the cell. Can return: number or string or nothing.
top left diagonal line any r/w If true, draws a diagonal line starting from the top left. Can return: boolean or nothing.
top right diagonal line any r/w If true, draws a diagonal line starting from the top right. Can return: boolean or nothing.
vertical justification any r/w The vertical alignment of cell. Can return: top align/center align/bottom align/justify align or nothing.

Leave a Comment

Previous post:

Next post: