Skip to content
TREB Docs

SerializeOptions

SerializeOptions interface

options for serializing data

Members
decorated_cellsoptional
boolean
boolean
export cells that have no value, but have a border or background color
export_colorsoptional
boolean
boolean
translate colors to xlsx-friendly values
export_functionsoptional
boolean
boolean
if a function has an export() handler, call that
optimizeoptional
'size' | 'speed'
'size' | 'speed'
optimize for size
rendered_valuesoptional
boolean
boolean
include the rendered/calculated value in export
share_resourcesoptional
boolean
boolean
share resources (images, for now) to prevent writing data URIs more than once
shrinkoptional
boolean
boolean
prune unused rows/columns
tablesoptional
boolean
boolean
include tables. tables will be serialized in the model, so we can drop them from cells. but you can leave them in if that's useful.
Referenced by
EmbeddedSpreadsheet.SerializeDocument
SaveOptions