Other styles
createCustomLineStyle
createCustomLineStyle(styleName, style)
Creates the custom line style 'styleName'.
styleName -> name of the custom line style to create
This function takes list of dictionary as parameter for "style". Each dictionary represent one subline within style. Dictionary can have those keys:
Color [optional] -> name of the color to use (string)
Dash [optional] -> type of line to use (integer)
LineEnd [optional] -> type of LineEnd to use (integer)
LineJoin [optional] -> type of LineJoin to use (integer)
Shade [optional] -> opacity of line (integer)
Width [optional] -> width of line (double)
getCellStyle
getCellStyle(row, column, ["name"]) -> string
Returns the named style of the cell at "row", "column" in the table "name". If "name" is not given the currently selected item is used.
May throw ValueError if the cell does not exist.
getCellStyles
getCellStyles() -> list
Return a list of the names of all cell styles in the current document.
getCustomLineStyle
getCustomLineStyle(["name"]) -> string
Returns the styleName of custom line style for the object. If object's "name" is not given the currently selected item is used.
getLineStyle
getLineStyle(["name"]) -> integer (see constants)
Returns the line style of the object "name". If "name" is not given the currently selected item is used. Line style constants are: LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
getLineStyles
getLineStyles() -> list
Return a list of the names of all line styles in the current document.
getTableStyle
getTableStyle(["name"]) -> string
Returns the named style of the table "name". If "name" is not given the currently selected item is used.
getTableStyles
getTableStyles() -> list
Return a list of the names of all table styles in the current document.
setCellStyle
setCellStyle(row, column, style, ["name"])
Sets the named style of the cell at "row", "column" in the table "name" to "style". If "name" is not given the currently selected item is used.
May throw ValueError if the cell does not exist.
setCustomLineStyle
setCustomLineStyle("styleName", ["name"])
Sets the custom line style of the object "name" to "styleName" Argument "styleName" is the name of line style as seen in Style Manager If "name" is not given the currently selected item is used.
setLineStyle
setLineStyle(style, ["name"])
Sets the line style of the object "name" to the style "style". If "name" is not given the currently selected item is used. Argument for this function is number - value from 1 to 37 There are few predefined constants for "style" - LINE_